¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace _2DShow |
| | | { |
| | | partial class Form1 |
| | | { |
| | | /// <summary> |
| | | /// å¿
éç设计å¨åéã |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// æ¸
çæææ£å¨ä½¿ç¨çèµæºã |
| | | /// </summary> |
| | | /// <param name="disposing">妿åºéæ¾æç®¡èµæºï¼ä¸º trueï¼å¦å为 falseã</param> |
| | | protected override void Dispose(bool disposing) |
| | | { |
| | | if (disposing && (components != null)) |
| | | { |
| | | components.Dispose(); |
| | | } |
| | | base.Dispose(disposing); |
| | | } |
| | | |
| | | #region Windows çªä½è®¾è®¡å¨çæç代ç |
| | | |
| | | /// <summary> |
| | | /// è®¾è®¡å¨æ¯ææéçæ¹æ³ - ä¸è¦ |
| | | /// 使ç¨ä»£ç ç¼è¾å¨ä¿®æ¹æ¤æ¹æ³çå
容ã |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | this.SuspendLayout(); |
| | | // |
| | | // Form1 |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(964, 593); |
| | | this.Name = "Form1"; |
| | | this.Text = "Form1"; |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace _2DShow |
| | | { |
| | | public partial class Form1 : Form |
| | | { |
| | | public Form1() |
| | | { |
| | | InitializeComponent(); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | | The primary goals of this format is to allow a simple XML format |
| | | that is mostly human readable. The generation and parsing of the |
| | | various data types are done through the TypeConverter classes |
| | | associated with the data types. |
| | | |
| | | Example: |
| | | |
| | | ... ado.net/XML headers & schema ... |
| | | <resheader name="resmimetype">text/microsoft-resx</resheader> |
| | | <resheader name="version">2.0</resheader> |
| | | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
| | | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
| | | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
| | | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
| | | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value>[base64 mime encoded serialized .NET Framework object]</value> |
| | | </data> |
| | | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
| | | <comment>This is a comment</comment> |
| | | </data> |
| | | |
| | | There are any number of "resheader" rows that contain simple |
| | | name/value pairs. |
| | | |
| | | Each data row contains a name, and value. The row also contains a |
| | | type or mimetype. Type corresponds to a .NET class that support |
| | | text/value conversion through the TypeConverter architecture. |
| | | Classes that don't support this are serialized and stored with the |
| | | mimetype set. |
| | | |
| | | The mimetype is used for serialized objects, and tells the |
| | | ResXResourceReader how to depersist the object. This is currently not |
| | | extensible. For a given mimetype the value must be set accordingly: |
| | | |
| | | Note - application/x-microsoft.net.object.binary.base64 is the format |
| | | that the ResXResourceWriter will generate, however the reader can |
| | | read any of the formats listed below. |
| | | |
| | | mimetype: application/x-microsoft.net.object.binary.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.bytearray.base64 |
| | | value : The object must be serialized into a byte array |
| | | : using a System.ComponentModel.TypeConverter |
| | | : and then encoded with base64 encoding. |
| | | --> |
| | | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
| | | <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
| | | <xsd:element name="root" msdata:IsDataSet="true"> |
| | | <xsd:complexType> |
| | | <xsd:choice maxOccurs="unbounded"> |
| | | <xsd:element name="metadata"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" use="required" type="xsd:string" /> |
| | | <xsd:attribute name="type" type="xsd:string" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="assembly"> |
| | | <xsd:complexType> |
| | | <xsd:attribute name="alias" type="xsd:string" /> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="data"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
| | | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="resheader"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:schema> |
| | | <resheader name="resmimetype"> |
| | | <value>text/microsoft-resx</value> |
| | | </resheader> |
| | | <resheader name="version"> |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | </root> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
| | | <PropertyGroup> |
| | | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| | | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| | | <ProjectGuid>{25D1CF45-1E0B-4B07-8E86-FCB95355897F}</ProjectGuid> |
| | | <OutputType>WinExe</OutputType> |
| | | <AppDesignerFolder>Properties</AppDesignerFolder> |
| | | <RootNamespace>_2DShow</RootNamespace> |
| | | <AssemblyName>2DShow</AssemblyName> |
| | | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| | | <FileAlignment>512</FileAlignment> |
| | | </PropertyGroup> |
| | | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| | | <PlatformTarget>AnyCPU</PlatformTarget> |
| | | <DebugSymbols>true</DebugSymbols> |
| | | <DebugType>full</DebugType> |
| | | <Optimize>false</Optimize> |
| | | <OutputPath>bin\Debug\</OutputPath> |
| | | <DefineConstants>DEBUG;TRACE</DefineConstants> |
| | | <ErrorReport>prompt</ErrorReport> |
| | | <WarningLevel>4</WarningLevel> |
| | | </PropertyGroup> |
| | | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| | | <PlatformTarget>AnyCPU</PlatformTarget> |
| | | <DebugType>pdbonly</DebugType> |
| | | <Optimize>true</Optimize> |
| | | <OutputPath>bin\Release\</OutputPath> |
| | | <DefineConstants>TRACE</DefineConstants> |
| | | <ErrorReport>prompt</ErrorReport> |
| | | <WarningLevel>4</WarningLevel> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <Reference Include="System" /> |
| | | <Reference Include="System.Core" /> |
| | | <Reference Include="System.Xml.Linq" /> |
| | | <Reference Include="System.Data.DataSetExtensions" /> |
| | | <Reference Include="Microsoft.CSharp" /> |
| | | <Reference Include="System.Data" /> |
| | | <Reference Include="System.Deployment" /> |
| | | <Reference Include="System.Drawing" /> |
| | | <Reference Include="System.Windows.Forms" /> |
| | | <Reference Include="System.Xml" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <Compile Include="Form1.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="Form1.Designer.cs"> |
| | | <DependentUpon>Form1.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="Program.cs" /> |
| | | <Compile Include="Properties\AssemblyInfo.cs" /> |
| | | <EmbeddedResource Include="Properties\Resources.resx"> |
| | | <Generator>ResXFileCodeGenerator</Generator> |
| | | <LastGenOutput>Resources.Designer.cs</LastGenOutput> |
| | | <SubType>Designer</SubType> |
| | | </EmbeddedResource> |
| | | <Compile Include="Properties\Resources.Designer.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DependentUpon>Resources.resx</DependentUpon> |
| | | </Compile> |
| | | <None Include="Properties\Settings.settings"> |
| | | <Generator>SettingsSingleFileGenerator</Generator> |
| | | <LastGenOutput>Settings.Designer.cs</LastGenOutput> |
| | | </None> |
| | | <Compile Include="Properties\Settings.Designer.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DependentUpon>Settings.settings</DependentUpon> |
| | | <DesignTimeSharedInput>True</DesignTimeSharedInput> |
| | | </Compile> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <None Include="App.config" /> |
| | | </ItemGroup> |
| | | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| | | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| | | Other similar extension points exist, see Microsoft.Common.targets. |
| | | <Target Name="BeforeBuild"> |
| | | </Target> |
| | | <Target Name="AfterBuild"> |
| | | </Target> |
| | | --> |
| | | </Project> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8" ?> |
| | | <configuration> |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> |
| | | </startup> |
| | | </configuration> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace _2DShow |
| | | { |
| | | public class GetRGVInfo |
| | | { |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace _2DShow |
| | | { |
| | | static class Program |
| | | { |
| | | /// <summary> |
| | | /// åºç¨ç¨åºç主å
¥å£ç¹ã |
| | | /// </summary> |
| | | [STAThread] |
| | | static void Main() |
| | | { |
| | | Application.EnableVisualStyles(); |
| | | Application.SetCompatibleTextRenderingDefault(false); |
| | | Application.Run(new Form1()); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System.Reflection; |
| | | using System.Runtime.CompilerServices; |
| | | using System.Runtime.InteropServices; |
| | | |
| | | // æå
³ç¨åºéç常è§ä¿¡æ¯éè¿ä»¥ä¸ |
| | | // ç¹æ§éæ§å¶ãæ´æ¹è¿äºç¹æ§å¼å¯ä¿®æ¹ |
| | | // ä¸ç¨åºéå
³èçä¿¡æ¯ã |
| | | [assembly: AssemblyTitle("2DShow")] |
| | | [assembly: AssemblyDescription("")] |
| | | [assembly: AssemblyConfiguration("")] |
| | | [assembly: AssemblyCompany("")] |
| | | [assembly: AssemblyProduct("2DShow")] |
| | | [assembly: AssemblyCopyright("Copyright © 2021")] |
| | | [assembly: AssemblyTrademark("")] |
| | | [assembly: AssemblyCulture("")] |
| | | |
| | | // å° ComVisible 设置为 false 使æ¤ç¨åºéä¸çç±»å |
| | | // 对 COM ç»ä»¶ä¸å¯è§ã 妿éè¦ä» COM è®¿é®æ¤ç¨åºéä¸çç±»åï¼ |
| | | // åå°è¯¥ç±»åä¸ç ComVisible ç¹æ§è®¾ç½®ä¸º trueã |
| | | [assembly: ComVisible(false)] |
| | | |
| | | // 妿æ¤é¡¹ç®å COM å
¬å¼ï¼åä¸å GUID ç¨äºç±»ååºç ID |
| | | [assembly: Guid("b3063f75-2628-4d7c-a171-23ef0b0acbe1")] |
| | | |
| | | // ç¨åºéççæ¬ä¿¡æ¯ç±ä¸é¢å个å¼ç»æ: |
| | | // |
| | | // ä¸»çæ¬ |
| | | // æ¬¡çæ¬ |
| | | // çæå· |
| | | // ä¿®è®¢å· |
| | | // |
| | | // å¯ä»¥æå®ææè¿äºå¼ï¼ä¹å¯ä»¥ä½¿ç¨âçæå·âåâ修订å·âçé»è®¤å¼ï¼ |
| | | // æ¹æ³æ¯æå¦ä¸æç¤ºä½¿ç¨â*â: |
| | | // [assembly: AssemblyVersion("1.0.*")] |
| | | [assembly: AssemblyVersion("1.0.0.0")] |
| | | [assembly: AssemblyFileVersion("1.0.0.0")] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // æ¤ä»£ç ç±å·¥å
·çæã |
| | | // è¿è¡æ¶çæ¬: 4.0.30319.42000 |
| | | // |
| | | // å¯¹æ¤æä»¶çæ´æ¹å¯è½ä¼å¯¼è´ä¸æ£ç¡®çè¡ä¸ºï¼å¹¶ä¸å¦æ |
| | | // éæ°çæä»£ç ï¼è¿äºæ´æ¹å°ä¸¢å¤±ã |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | namespace _2DShow.Properties |
| | | { |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¸ä¸ªå¼ºç±»åçèµæºç±»ï¼ç¨äºæ¥æ¾æ¬å°åçå符串çã |
| | | /// </summary> |
| | | // æ¤ç±»æ¯ç± StronglyTypedResourceBuilder |
| | | // ç±»éè¿ç±»ä¼¼äº ResGen æ Visual Studio çå·¥å
·èªå¨çæçã |
| | | // è¥è¦æ·»å æç§»é¤æåï¼è¯·ç¼è¾ .ResX æä»¶ï¼ç¶åéæ°è¿è¡ ResGen |
| | | // (以 /str ä½ä¸ºå½ä»¤é项)ï¼æéæ°çæ VS 项ç®ã |
| | | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
| | | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
| | | internal class Resources |
| | | { |
| | | |
| | | private static global::System.Resources.ResourceManager resourceMan; |
| | | |
| | | private static global::System.Globalization.CultureInfo resourceCulture; |
| | | |
| | | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] |
| | | internal Resources() |
| | | { |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è¿åæ¤ç±»ä½¿ç¨çãç¼åç ResourceManager å®ä¾ã |
| | | /// </summary> |
| | | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | internal static global::System.Resources.ResourceManager ResourceManager |
| | | { |
| | | get |
| | | { |
| | | if ((resourceMan == null)) |
| | | { |
| | | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("_2DShow.Properties.Resources", typeof(Resources).Assembly); |
| | | resourceMan = temp; |
| | | } |
| | | return resourceMan; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 为ææèµæºæ¥æ¾éåå½å线ç¨ç CurrentUICulture 屿§ï¼ |
| | | /// æ¹æ³æ¯ä½¿ç¨æ¤å¼ºç±»åèµæºç±»ã |
| | | /// </summary> |
| | | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | internal static global::System.Globalization.CultureInfo Culture |
| | | { |
| | | get |
| | | { |
| | | return resourceCulture; |
| | | } |
| | | set |
| | | { |
| | | resourceCulture = value; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | | The primary goals of this format is to allow a simple XML format |
| | | that is mostly human readable. The generation and parsing of the |
| | | various data types are done through the TypeConverter classes |
| | | associated with the data types. |
| | | |
| | | Example: |
| | | |
| | | ... ado.net/XML headers & schema ... |
| | | <resheader name="resmimetype">text/microsoft-resx</resheader> |
| | | <resheader name="version">2.0</resheader> |
| | | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
| | | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
| | | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
| | | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
| | | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value>[base64 mime encoded serialized .NET Framework object]</value> |
| | | </data> |
| | | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
| | | <comment>This is a comment</comment> |
| | | </data> |
| | | |
| | | There are any number of "resheader" rows that contain simple |
| | | name/value pairs. |
| | | |
| | | Each data row contains a name, and value. The row also contains a |
| | | type or mimetype. Type corresponds to a .NET class that support |
| | | text/value conversion through the TypeConverter architecture. |
| | | Classes that don't support this are serialized and stored with the |
| | | mimetype set. |
| | | |
| | | The mimetype is used for serialized objects, and tells the |
| | | ResXResourceReader how to depersist the object. This is currently not |
| | | extensible. For a given mimetype the value must be set accordingly: |
| | | |
| | | Note - application/x-microsoft.net.object.binary.base64 is the format |
| | | that the ResXResourceWriter will generate, however the reader can |
| | | read any of the formats listed below. |
| | | |
| | | mimetype: application/x-microsoft.net.object.binary.base64 |
| | | value : The object must be serialized with |
| | | : System.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.bytearray.base64 |
| | | value : The object must be serialized into a byte array |
| | | : using a System.ComponentModel.TypeConverter |
| | | : and then encoded with base64 encoding. |
| | | --> |
| | | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
| | | <xsd:element name="root" msdata:IsDataSet="true"> |
| | | <xsd:complexType> |
| | | <xsd:choice maxOccurs="unbounded"> |
| | | <xsd:element name="metadata"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | <xsd:attribute name="type" type="xsd:string" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="assembly"> |
| | | <xsd:complexType> |
| | | <xsd:attribute name="alias" type="xsd:string" /> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="data"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> |
| | | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="resheader"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:schema> |
| | | <resheader name="resmimetype"> |
| | | <value>text/microsoft-resx</value> |
| | | </resheader> |
| | | <resheader name="version"> |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | </root> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // This code was generated by a tool. |
| | | // Runtime Version:4.0.30319.42000 |
| | | // |
| | | // Changes to this file may cause incorrect behavior and will be lost if |
| | | // the code is regenerated. |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | namespace _2DShow.Properties |
| | | { |
| | | |
| | | |
| | | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
| | | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] |
| | | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase |
| | | { |
| | | |
| | | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); |
| | | |
| | | public static Settings Default |
| | | { |
| | | get |
| | | { |
| | | return defaultInstance; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version='1.0' encoding='utf-8'?> |
| | | <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)"> |
| | | <Profiles> |
| | | <Profile Name="(Default)" /> |
| | | </Profiles> |
| | | <Settings /> |
| | | </SettingsFile> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | ALTER TABLE BASE_CONTAINER_VS_ITEM |
| | | ADD CreateTime DateTime -- å建æ¶é´ |
| | | |
| | | ALTER TABLE BASE_CONTAINER_VS_ITEM |
| | | ADD UpdateUserId int -- ä¿®æ¹äººID |
| | | |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD OrderStatusId int -- 订åç¶æID |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD IsSatisfyAudit bit -- æ¯å¦æ»¡è¶³å®¡æ ¸æ¡ä»¶ |
| | | |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD AllFinishedNum int -- æ»å®å·¥æ° |
| | | |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD CheckRemark nvarchar(100) -- å®¡æ ¸çç± |
| | | |
| | | |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD CreateTime DateTime -- å建æ¶é´ |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD UpdateUserId int -- ä¿®æ¹äººID |
| | | |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD CheckTime DateTime -- å®¡æ ¸æ¶é´ |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD CheckResult nvarchar(50) -- å®¡æ ¸ç»æ |
| | | |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD SendTime DateTime -- æäº¤å®¡æ ¸æ¶é´ |
| | | |
| | | |
| | | ALTER TABLE SYS_USER |
| | | ADD IsWeldingAuditGroup bit -- æ¯å¦æ¯ çè£
å®¡æ ¸ç» |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD SENDERID int -- |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD CHECKERID int -- |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD UNLINENUM int -- |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD CLASSNO int -- |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD STATUS int -- |
| | | ALTER TABLE ORDER_INORDER |
| | | ADD CHECKERID int -- |
| | | |
| | | ALTER TABLE TASK_RECORD |
| | | ADD INORDERID int -- |
| | | |
| | | |
| | | ALTER TABLE BASE_CONTAINER_VS_ITEM |
| | | ADD OperationRemark nvarchar(200) -- æä½è¯´æ ãEditby shaocx,2023-01-10ã |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /** |
| | | ** éç¾å表 è§å¾ |
| | | **/ |
| | | IF EXISTS(SELECT 1 FROM sys.views WHERE name='View_ORDER_INORDER') |
| | | DROP VIEW View_ORDER_INORDER |
| | | GO |
| | | CREATE VIEW View_ORDER_INORDER |
| | | AS |
| | | |
| | | SELECT dbo.ORDER_INORDER.CREATORID,dbo.ORDER_INORDER.ID AS id, dbo.ORDER_INORDER.INORDERCODE AS inOrderCode, |
| | | dbo.ORDER_INORDER.ORDERTYPE AS orderType, |
| | | dbo.ORDER_INORDER.ORDERSTATUS AS orderStatus, |
| | | dbo.ORDER_INORDER.OrderStatusId AS OrderStatusId, |
| | | dbo.ORDER_INORDER.TOTALNUM AS totalNum, dbo.ORDER_INORDER.DONENUM AS DoneNum, |
| | | dbo.ORDER_INORDER.UNLINENUM AS unLineNum, dbo.ORDER_INORDER.TOTALWEIGHT AS totalWeight, |
| | | dbo.ORDER_INORDER.UPDATETIME AS updateTime, dbo.ORDER_INORDER.ISFINISH AS isFinish, |
| | | dbo.ORDER_INORDER.DOTIME AS doTime, dbo.BASE_ITEM.ITEMNAME AS itemName, |
| | | dbo.BASE_ITEM.ITEMDES AS itemDes, dbo.BASE_ITEM.WEIGHT AS itemWeight, |
| | | dbo.BASE_ITEM.ITEMTYPE AS itemTYpe, dbo.BASE_ITEM.PRICE AS price, dbo.ORDER_INORDER.ENABLE AS enable, |
| | | dbo.BASE_ITEM.CREATELINE AS createLine, SYS_USER_1.USERNAME AS createName, |
| | | dbo.ORDER_INORDER.CLASSNO AS classNo, dbo.ORDER_INORDER.STATUS AS status, |
| | | dbo.SYS_USER.USERNAME AS checkerName, SYS_USER_2.USERNAME AS senderName, |
| | | dbo.ORDER_INORDER.allFinishedNum,dbo.ORDER_INORDER.CheckTime,dbo.ORDER_INORDER.CheckResult |
| | | ,dbo.ORDER_INORDER.CheckRemark ,dbo.ORDER_INORDER.SendTime,dbo.ORDER_INORDER.CHECKERID,dbo.ORDER_INORDER.createTime, |
| | | SYS_USER_Update.USERNAME AS updateName |
| | | FROM dbo.ORDER_INORDER LEFT JOIN |
| | | dbo.SYS_USER AS SYS_USER_2 ON dbo.ORDER_INORDER.SENDERID = SYS_USER_2.ID LEFT JOIN |
| | | dbo.SYS_USER ON dbo.ORDER_INORDER.CHECKERID = dbo.SYS_USER.ID LEFT OUTER JOIN |
| | | dbo.SYS_USER AS SYS_USER_1 ON dbo.ORDER_INORDER.CREATORID = SYS_USER_1.ID LEFT OUTER JOIN |
| | | dbo.BASE_ITEM ON dbo.ORDER_INORDER.ITEMID = dbo.BASE_ITEM.ID |
| | | LEFT OUTER JOIN |
| | | dbo.SYS_USER AS SYS_USER_Update ON dbo.ORDER_INORDER.UpdateUserId = SYS_USER_Update.ID |
| | | |
| | | |
| | | GO |
| | | |
| | | |
| | | |
| | | /** |
| | | ** ç¨æ·å表 è§å¾ |
| | | **/ |
| | | IF EXISTS(SELECT 1 FROM sys.views WHERE name='View_SYS_USER') |
| | | DROP VIEW View_SYS_USER |
| | | GO |
| | | CREATE VIEW View_SYS_USER |
| | | AS |
| | | |
| | | SELECT dbo.SYS_USER.ID AS id, dbo.SYS_USER.USERNAME AS userName, |
| | | dbo.SYS_USER.USERTRUENAME AS userTrueName, dbo.SYS_USER.PASSWORD AS passWord, |
| | | dbo.SYS_ROLE.ROLENAME AS roleName, dbo.SYS_USER.ENABLE AS enable, |
| | | dbo.SYS_USER.UPDATETIME AS updateTime, dbo.SYS_DEPT.DEPTNAME AS deptName, |
| | | SYS_USER_1.USERNAME AS createName,dbo.SYS_USER.IsWeldingAuditGroup |
| | | FROM dbo.SYS_DEPT RIGHT OUTER JOIN |
| | | dbo.SYS_USER AS SYS_USER_1 RIGHT OUTER JOIN |
| | | dbo.SYS_USER ON SYS_USER_1.ID = dbo.SYS_USER.CREATORID ON |
| | | dbo.SYS_DEPT.ID = dbo.SYS_USER.DEPTID LEFT OUTER JOIN |
| | | dbo.SYS_ROLE LEFT OUTER JOIN |
| | | dbo.SYS_USER_VS_ROLE ON dbo.SYS_ROLE.ID = dbo.SYS_USER_VS_ROLE.ROLEID ON |
| | | dbo.SYS_USER.ID = dbo.SYS_USER_VS_ROLE.USERID |
| | | |
| | | |
| | | GO |
| | | |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* 表 ORDER_INORDER 建ç«å¯ä¸æ§ç´¢å¼*/ |
| | | IF EXISTS(select 1 from sysindexes where id=object_id('ORDER_INORDER') and name='ORDER_INORDER_idx1') |
| | | DROP INDEX ORDER_INORDER_idx1 ON ORDER_INORDER |
| | | CREATE UNIQUE INDEX |
| | | ORDER_INORDER_idx1 ON ORDER_INORDER(INORDERCODE) |
| | | GO |
¶Ô±ÈÐÂÎļþ |
| | |
| | | |
| | | DELETE [WB20005QingQi-WMS].[dbo].[SYS_PERMISSION] WHERE [PERMISSION]='å
¥åº-å®å·¥åè¾å
¥'; |
| | | GO |
| | | |
| | | INSERT INTO [WB20005QingQi-WMS].[dbo].[SYS_PERMISSION] ( |
| | | [PERMISSION], |
| | | [ENABLE], |
| | | [BUTTONNAME], |
| | | [FATHERPERMISSIONID], |
| | | [PERMISSIONLEVEL], |
| | | [ISBUTTON], |
| | | [PATH], |
| | | [ICON], |
| | | [TYPE], |
| | | [DEC] |
| | | ) |
| | | VALUES |
| | | ( |
| | | N'å
¥åº-å®å·¥åè¾å
¥', |
| | | '1', |
| | | NULL, |
| | | '10', |
| | | '2', |
| | | '0', |
| | | N'/inbound/purchase/input_finished_product', |
| | | NULL, |
| | | '1', |
| | | NULL |
| | | ); |
| | | |
| | | |
| | | DELETE [WB20005QingQi-WMS].[dbo].[SYS_PERMISSION] WHERE [PERMISSION]='å
¥åº-çè£
确认'; |
| | | GO |
| | | INSERT INTO [WB20005QingQi-WMS].[dbo].[SYS_PERMISSION] ( |
| | | [PERMISSION], |
| | | [ENABLE], |
| | | [BUTTONNAME], |
| | | [FATHERPERMISSIONID], |
| | | [PERMISSIONLEVEL], |
| | | [ISBUTTON], |
| | | [PATH], |
| | | [ICON], |
| | | [TYPE], |
| | | [DEC] |
| | | ) |
| | | VALUES |
| | | ( |
| | | N'å
¥åº-çè£
确认', |
| | | '1', |
| | | NULL, |
| | | '10', |
| | | '2', |
| | | '0', |
| | | N'/inbound/purchase/confirm_welding', |
| | | NULL, |
| | | '1', |
| | | NULL |
| | | ); |
| | | |
| | | |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <configuration> |
| | | <configSections> |
| | | <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <section name="DeviceWCS.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
| | | </sectionGroup> |
| | | <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> |
| | | <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
| | | </configSections> |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> |
| | | </startup> |
| | | <applicationSettings> |
| | | <DeviceWCS.Properties.Settings> |
| | | <setting name="DeviceWCS_rgvSRM_RgvService" serializeAs="String"> |
| | | <value>http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/</value> |
| | | </setting> |
| | | <setting name="DeviceWCS_srmSER_SrmService" serializeAs="String"> |
| | | <value>http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/</value> |
| | | </setting> |
| | | <setting name="DeviceWCS_tranSRM_SrmTranService" serializeAs="String"> |
| | | <value>http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/</value> |
| | | </setting> |
| | | </DeviceWCS.Properties.Settings> |
| | | </applicationSettings> |
| | | <entityFramework> |
| | | <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> |
| | | <parameters> |
| | | <parameter value="mssqllocaldb" /> |
| | | </parameters> |
| | | </defaultConnectionFactory> |
| | | <providers> |
| | | <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> |
| | | </providers> |
| | | </entityFramework> |
| | | <connectionStrings> |
| | | <add name="Model1" connectionString="data source=PC-S22016\SQLEXPRESS;initial catalog=1102;persist security info=True;user id=sa;password=123456;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" /> |
| | | </connectionStrings> |
| | | </configuration> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
| | | <PropertyGroup> |
| | | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| | | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| | | <ProjectGuid>{123874E4-8724-4831-854D-D834377AFD88}</ProjectGuid> |
| | | <OutputType>WinExe</OutputType> |
| | | <AppDesignerFolder>Properties</AppDesignerFolder> |
| | | <RootNamespace>DeviceWCS</RootNamespace> |
| | | <AssemblyName>DeviceWCS</AssemblyName> |
| | | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| | | <FileAlignment>512</FileAlignment> |
| | | </PropertyGroup> |
| | | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| | | <PlatformTarget>AnyCPU</PlatformTarget> |
| | | <DebugSymbols>true</DebugSymbols> |
| | | <DebugType>full</DebugType> |
| | | <Optimize>false</Optimize> |
| | | <OutputPath>bin\Debug\</OutputPath> |
| | | <DefineConstants>DEBUG;TRACE</DefineConstants> |
| | | <ErrorReport>prompt</ErrorReport> |
| | | <WarningLevel>4</WarningLevel> |
| | | <UseVSHostingProcess>true</UseVSHostingProcess> |
| | | </PropertyGroup> |
| | | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| | | <PlatformTarget>AnyCPU</PlatformTarget> |
| | | <DebugType>pdbonly</DebugType> |
| | | <Optimize>true</Optimize> |
| | | <OutputPath>bin\Release\</OutputPath> |
| | | <DefineConstants>TRACE</DefineConstants> |
| | | <ErrorReport>prompt</ErrorReport> |
| | | <WarningLevel>4</WarningLevel> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <Reference Include="EntityFramework"> |
| | | <HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="EntityFramework.SqlServer"> |
| | | <HintPath>..\packages\EntityFramework.6.1.3\lib\net45\EntityFramework.SqlServer.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\..\qingdaoyiqi\QingQiDemon\iWareSda_QQJF\DLL\Newtonsoft.Json.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="Seagull.BarTender.Print, Version=10.1.4.1, Culture=neutral, PublicKeyToken=109ff779a1b4cbc7, processorArchitecture=x86"> |
| | | <SpecificVersion>False</SpecificVersion> |
| | | <HintPath>..\packages\BarTender\Seagull.BarTender.Print.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="System" /> |
| | | <Reference Include="System.ComponentModel.DataAnnotations" /> |
| | | <Reference Include="System.Core" /> |
| | | <Reference Include="System.EnterpriseServices" /> |
| | | <Reference Include="System.Runtime.Serialization" /> |
| | | <Reference Include="System.Security" /> |
| | | <Reference Include="System.Web.Services" /> |
| | | <Reference Include="System.Xml.Linq" /> |
| | | <Reference Include="System.Data.DataSetExtensions" /> |
| | | <Reference Include="Microsoft.CSharp" /> |
| | | <Reference Include="System.Data" /> |
| | | <Reference Include="System.Deployment" /> |
| | | <Reference Include="System.Drawing" /> |
| | | <Reference Include="System.Windows.Forms" /> |
| | | <Reference Include="System.Xml" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <Compile Include="EDM\Base_ProductPosition.cs" /> |
| | | <Compile Include="EDM\Model.cs" /> |
| | | <Compile Include="EDM\Purchase_Order.cs" /> |
| | | <Compile Include="Form1.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="Form1.Designer.cs"> |
| | | <DependentUpon>Form1.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="FormUpdate.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="FormUpdate.Designer.cs"> |
| | | <DependentUpon>FormUpdate.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="Program.cs" /> |
| | | <Compile Include="Properties\AssemblyInfo.cs" /> |
| | | <Compile Include="rgvINFO.cs" /> |
| | | <Compile Include="srmInfo.cs" /> |
| | | <Compile Include="taskCommon.cs" /> |
| | | <Compile Include="tranInfo.cs" /> |
| | | <Compile Include="Web References\rgvSRM\Reference.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DesignTime>True</DesignTime> |
| | | <DependentUpon>Reference.map</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="Web References\srmSER\Reference.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DesignTime>True</DesignTime> |
| | | <DependentUpon>Reference.map</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="Web References\tranSRM\Reference.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DesignTime>True</DesignTime> |
| | | <DependentUpon>Reference.map</DependentUpon> |
| | | </Compile> |
| | | <EmbeddedResource Include="Form1.resx"> |
| | | <DependentUpon>Form1.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="FormUpdate.resx"> |
| | | <DependentUpon>FormUpdate.cs</DependentUpon> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="Properties\Resources.resx"> |
| | | <Generator>ResXFileCodeGenerator</Generator> |
| | | <LastGenOutput>Resources.Designer.cs</LastGenOutput> |
| | | <SubType>Designer</SubType> |
| | | </EmbeddedResource> |
| | | <Compile Include="Properties\Resources.Designer.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DependentUpon>Resources.resx</DependentUpon> |
| | | </Compile> |
| | | <None Include="packages.config" /> |
| | | <None Include="Properties\Settings.settings"> |
| | | <Generator>SettingsSingleFileGenerator</Generator> |
| | | <LastGenOutput>Settings.Designer.cs</LastGenOutput> |
| | | </None> |
| | | <Compile Include="Properties\Settings.Designer.cs"> |
| | | <AutoGen>True</AutoGen> |
| | | <DependentUpon>Settings.settings</DependentUpon> |
| | | <DesignTimeSharedInput>True</DesignTimeSharedInput> |
| | | </Compile> |
| | | <None Include="Web References\rgvSRM\Reference.map"> |
| | | <Generator>MSDiscoCodeGenerator</Generator> |
| | | <LastGenOutput>Reference.cs</LastGenOutput> |
| | | </None> |
| | | <None Include="Web References\rgvSRM\RgvService.wsdl" /> |
| | | <None Include="Web References\srmSER\item.xsd"> |
| | | <SubType>Designer</SubType> |
| | | </None> |
| | | <None Include="Web References\srmSER\Reference.map"> |
| | | <Generator>MSDiscoCodeGenerator</Generator> |
| | | <LastGenOutput>Reference.cs</LastGenOutput> |
| | | </None> |
| | | <None Include="Web References\srmSER\SrmService.wsdl" /> |
| | | <None Include="Web References\tranSRM\item.xsd"> |
| | | <SubType>Designer</SubType> |
| | | </None> |
| | | <None Include="Web References\tranSRM\Reference.map"> |
| | | <Generator>MSDiscoCodeGenerator</Generator> |
| | | <LastGenOutput>Reference.cs</LastGenOutput> |
| | | </None> |
| | | <None Include="Web References\tranSRM\SrmTranService.wsdl" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <None Include="App.config" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <WCFMetadata Include="Service References\" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <WebReferences Include="Web References\" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <WebReferenceUrl Include="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/"> |
| | | <UrlBehavior>Dynamic</UrlBehavior> |
| | | <RelPath>Web References\rgvSRM\</RelPath> |
| | | <UpdateFromURL>http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/</UpdateFromURL> |
| | | <ServiceLocationURL> |
| | | </ServiceLocationURL> |
| | | <CachedDynamicPropName> |
| | | </CachedDynamicPropName> |
| | | <CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName> |
| | | <CachedSettingsPropName>DeviceWCS_rgvSRM_RgvService</CachedSettingsPropName> |
| | | </WebReferenceUrl> |
| | | <WebReferenceUrl Include="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/"> |
| | | <UrlBehavior>Dynamic</UrlBehavior> |
| | | <RelPath>Web References\srmSER\</RelPath> |
| | | <UpdateFromURL>http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/</UpdateFromURL> |
| | | <ServiceLocationURL> |
| | | </ServiceLocationURL> |
| | | <CachedDynamicPropName> |
| | | </CachedDynamicPropName> |
| | | <CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName> |
| | | <CachedSettingsPropName>DeviceWCS_srmSER_SrmService</CachedSettingsPropName> |
| | | </WebReferenceUrl> |
| | | <WebReferenceUrl Include="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/"> |
| | | <UrlBehavior>Dynamic</UrlBehavior> |
| | | <RelPath>Web References\tranSRM\</RelPath> |
| | | <UpdateFromURL>http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/</UpdateFromURL> |
| | | <ServiceLocationURL> |
| | | </ServiceLocationURL> |
| | | <CachedDynamicPropName> |
| | | </CachedDynamicPropName> |
| | | <CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName> |
| | | <CachedSettingsPropName>DeviceWCS_tranSRM_SrmTranService</CachedSettingsPropName> |
| | | </WebReferenceUrl> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <None Include="Web References\srmSER\item.disco" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <None Include="Web References\rgvSRM\item.disco" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <None Include="Web References\tranSRM\item.disco" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <ProjectReference Include="..\EnumType\EnumType.csproj"> |
| | | <Project>{50c2ccc5-0055-49c2-b2f6-b9ce452bc726}</Project> |
| | | <Name>EnumType</Name> |
| | | </ProjectReference> |
| | | <ProjectReference Include="..\IWareDataAccess\IWareDataAccess.csproj"> |
| | | <Project>{56f658b5-5384-414e-8fae-a78c8ee256e8}</Project> |
| | | <Name>IWareDataAccess</Name> |
| | | </ProjectReference> |
| | | </ItemGroup> |
| | | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| | | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| | | Other similar extension points exist, see Microsoft.Common.targets. |
| | | <Target Name="BeforeBuild"> |
| | | </Target> |
| | | <Target Name="AfterBuild"> |
| | | </Target> |
| | | --> |
| | | </Project> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace DeviceWCS.EDM |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class Base_ProductPosition |
| | | { |
| | | [Key] |
| | | public long ProductPosition_Id { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string ClassName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string BillCode { get; set; } |
| | | |
| | | public int Storage_Id { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string StorageName { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string PositionName { get; set; } |
| | | |
| | | public long Product_Id { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string ProductCode { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(500)] |
| | | public string ProductName { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(300)] |
| | | public string ProductModel { get; set; } |
| | | |
| | | public decimal? ProductStorage { get; set; } |
| | | |
| | | public decimal? OrignStorage { get; set; } |
| | | |
| | | public DateTime InStorageDate { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlateType { get; set; } |
| | | |
| | | public int Consignor_Id { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string ConsignorCode { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(150)] |
| | | public string ConsignorName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string SingleSignCode { get; set; } |
| | | |
| | | public decimal? DynamicWeight { get; set; } |
| | | |
| | | public int MainID { get; set; } |
| | | |
| | | public int DetailID { get; set; } |
| | | |
| | | public int? Provider_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProviderCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProviderShortName { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? PurchasePrice { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? PurchaseMoney { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? Rate { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? RatePrice { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? RateMoney { get; set; } |
| | | |
| | | public string ProductSpec { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? AvgPrice { get; set; } |
| | | |
| | | public string Remark { get; set; } |
| | | |
| | | public int? CreateID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Creator { get; set; } |
| | | |
| | | public DateTime? CreateDate { get; set; } |
| | | |
| | | public int? ModifyID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Modifier { get; set; } |
| | | |
| | | public DateTime? ModifyDate { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DeleteBy { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string EnterCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OrderCode { get; set; } |
| | | |
| | | public int Class_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string BatchNumber { get; set; } |
| | | |
| | | public DateTime? ProduceDate { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlateCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string RelationCode { get; set; } |
| | | |
| | | public int? ShelfLifeDay { get; set; } |
| | | |
| | | public DateTime? ShelfLifeDate { get; set; } |
| | | |
| | | public int? ValidShelfLifeDay { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string StorageStatus { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProductAttribute { get; set; } |
| | | |
| | | [StringLength(150)] |
| | | public string DeclareNo { get; set; } |
| | | |
| | | public DateTime? LimitDate { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string AreaCode { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField01 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField02 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField03 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField04 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField05 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField06 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField07 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField08 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField09 { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ExtendField10 { get; set; } |
| | | |
| | | public decimal? Weight { get; set; } |
| | | |
| | | public decimal? TotalWeight { get; set; } |
| | | |
| | | public decimal? TotalWeightOrign { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OriginPlace { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ContainerNo { get; set; } |
| | | |
| | | public string ExpandFields { get; set; } |
| | | |
| | | public string DetailExpandFields { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PartStatus { get; set; } |
| | | |
| | | public int? PlatUser_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlatUserCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlatUserName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlatCorpName { get; set; } |
| | | |
| | | public int UserProduct_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string UserProductCode { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string UserProductAlias { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlateTypeCode { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace DeviceWCS.EDM |
| | | { |
| | | using System; |
| | | using System.Data.Entity; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | |
| | | public partial class Model : DbContext |
| | | { |
| | | public Model() |
| | | : base("name=Model1") |
| | | { |
| | | } |
| | | |
| | | public virtual DbSet<Base_ProductPosition> Base_ProductPosition { get; set; } |
| | | public virtual DbSet<Purchase_Order> Purchase_Order { get; set; } |
| | | |
| | | protected override void OnModelCreating(DbModelBuilder modelBuilder) |
| | | { |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.ProductStorage) |
| | | .HasPrecision(14, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.OrignStorage) |
| | | .HasPrecision(14, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.DynamicWeight) |
| | | .HasPrecision(14, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.PurchasePrice) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.PurchaseMoney) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.Rate) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.RatePrice) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.RateMoney) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.AvgPrice) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.Weight) |
| | | .HasPrecision(18, 5); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.TotalWeight) |
| | | .HasPrecision(18, 5); |
| | | |
| | | modelBuilder.Entity<Base_ProductPosition>() |
| | | .Property(e => e.TotalWeightOrign) |
| | | .HasPrecision(18, 5); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.CorpURL) |
| | | .IsUnicode(false); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.TotalQuantity) |
| | | .HasPrecision(14, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.TotalMoney) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.TotalPaidMoney) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.SurplusTotal) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.ExpressFee) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.Rate) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.TotalRateMoney) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.Refund) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.TaxAmountTotal) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.TotalWeight) |
| | | .HasPrecision(18, 5); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.TotalPaid) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.Unpaid) |
| | | .HasPrecision(19, 4); |
| | | |
| | | modelBuilder.Entity<Purchase_Order>() |
| | | .Property(e => e.DynamicWeight) |
| | | .HasPrecision(14, 4); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace DeviceWCS.EDM |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class Purchase_Order |
| | | { |
| | | [Key] |
| | | public int Order_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OrderCode { get; set; } |
| | | |
| | | public int Storage_Id { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string StorageName { get; set; } |
| | | |
| | | public int? User_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string UserTrueName { get; set; } |
| | | |
| | | public int? Dept_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DeptName { get; set; } |
| | | |
| | | public DateTime? ApplyDate { get; set; } |
| | | |
| | | public DateTime? ArrivedDate { get; set; } |
| | | |
| | | public int? Provider_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProviderCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProviderShortName { get; set; } |
| | | |
| | | [StringLength(200)] |
| | | public string CorpURL { get; set; } |
| | | |
| | | public decimal? TotalQuantity { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? TotalMoney { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? TotalPaidMoney { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? SurplusTotal { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? ExpressFee { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? Rate { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? TotalRateMoney { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProductionStatus { get; set; } |
| | | |
| | | public byte? StatusID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string StatusText { get; set; } |
| | | |
| | | public byte? ReturnStatusID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ReturnStatusText { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Auditor { get; set; } |
| | | |
| | | public byte? Auditing { get; set; } |
| | | |
| | | public DateTime? AuditDate { get; set; } |
| | | |
| | | public string AuditRemark { get; set; } |
| | | |
| | | [StringLength(250)] |
| | | public string TrackingNumber { get; set; } |
| | | |
| | | public byte? Enable { get; set; } |
| | | |
| | | public string Remark { get; set; } |
| | | |
| | | public int? CreateID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Creator { get; set; } |
| | | |
| | | public DateTime? CreateDate { get; set; } |
| | | |
| | | public int? ModifyID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Modifier { get; set; } |
| | | |
| | | public DateTime? ModifyDate { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? Refund { get; set; } |
| | | |
| | | public int Consignor_Id { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string ConsignorCode { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(150)] |
| | | public string ConsignorName { get; set; } |
| | | |
| | | public byte? IsChecking { get; set; } |
| | | |
| | | public int? IsArrivalProcess { get; set; } |
| | | |
| | | public byte? FinStatusID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string FinStatusText { get; set; } |
| | | |
| | | [StringLength(32)] |
| | | public string ExternalNo { get; set; } |
| | | |
| | | [StringLength(32)] |
| | | public string ExternalNo2 { get; set; } |
| | | |
| | | public long? SourceId { get; set; } |
| | | |
| | | public byte? IsCiqDeclare { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OrderType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ReturnOrderCode { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? TaxAmountTotal { get; set; } |
| | | |
| | | public decimal? TotalWeight { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ContainerNo { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string FeeItem_Ids { get; set; } |
| | | |
| | | public string ExpandFields { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? TotalPaid { get; set; } |
| | | |
| | | [Column(TypeName = "money")] |
| | | public decimal? Unpaid { get; set; } |
| | | |
| | | public int? PlatUser_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlatUserCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlatUserName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlatCorpName { get; set; } |
| | | |
| | | public int UserProduct_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string UserProductCode { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string UserProductAlias { get; set; } |
| | | |
| | | public int? Plate_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlateCode { get; set; } |
| | | |
| | | public int? ProductionLine_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProductionLineCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProductionLineName { get; set; } |
| | | |
| | | public int? Printing { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PartStatus { get; set; } |
| | | |
| | | public decimal? DynamicWeight { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string RelationDrivers { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlateName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string RepairType { get; set; } |
| | | |
| | | public int? PlateType_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PlateType { get; set; } |
| | | |
| | | public byte? OverRun { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PositionName { get; set; } |
| | | |
| | | public byte? IsOverWeight { get; set; } |
| | | |
| | | public int? packingQuantity { get; set; } |
| | | |
| | | public byte? isPassWeight { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace DeviceWCS |
| | | { |
| | | partial class Form1 |
| | | { |
| | | /// <summary> |
| | | /// å¿
éç设计å¨åéã |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// æ¸
çæææ£å¨ä½¿ç¨çèµæºã |
| | | /// </summary> |
| | | /// <param name="disposing">妿åºéæ¾æç®¡èµæºï¼ä¸º trueï¼å¦å为 falseã</param> |
| | | protected override void Dispose(bool disposing) |
| | | { |
| | | if (disposing && (components != null)) |
| | | { |
| | | components.Dispose(); |
| | | } |
| | | base.Dispose(disposing); |
| | | } |
| | | |
| | | #region Windows çªä½è®¾è®¡å¨çæç代ç |
| | | |
| | | /// <summary> |
| | | /// è®¾è®¡å¨æ¯ææéçæ¹æ³ - ä¸è¦ |
| | | /// 使ç¨ä»£ç ç¼è¾å¨ä¿®æ¹æ¤æ¹æ³çå
容ã |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); |
| | | this.tabControl1 = new System.Windows.Forms.TabControl(); |
| | | this.tabPage1 = new System.Windows.Forms.TabPage(); |
| | | this.label60 = new System.Windows.Forms.Label(); |
| | | this.button22 = new System.Windows.Forms.Button(); |
| | | this.textBox11 = new System.Windows.Forms.TextBox(); |
| | | this.button19 = new System.Windows.Forms.Button(); |
| | | this.button17 = new System.Windows.Forms.Button(); |
| | | this.label54 = new System.Windows.Forms.Label(); |
| | | this.label9 = new System.Windows.Forms.Label(); |
| | | this.button4 = new System.Windows.Forms.Button(); |
| | | this.button5 = new System.Windows.Forms.Button(); |
| | | this.button3 = new System.Windows.Forms.Button(); |
| | | this.button2 = new System.Windows.Forms.Button(); |
| | | this.button1 = new System.Windows.Forms.Button(); |
| | | this.textBox1 = new System.Windows.Forms.TextBox(); |
| | | this.label8 = new System.Windows.Forms.Label(); |
| | | this.label7 = new System.Windows.Forms.Label(); |
| | | this.label6 = new System.Windows.Forms.Label(); |
| | | this.label5 = new System.Windows.Forms.Label(); |
| | | this.label18 = new System.Windows.Forms.Label(); |
| | | this.label17 = new System.Windows.Forms.Label(); |
| | | this.label29 = new System.Windows.Forms.Label(); |
| | | this.label16 = new System.Windows.Forms.Label(); |
| | | this.label15 = new System.Windows.Forms.Label(); |
| | | this.label14 = new System.Windows.Forms.Label(); |
| | | this.label13 = new System.Windows.Forms.Label(); |
| | | this.label12 = new System.Windows.Forms.Label(); |
| | | this.label11 = new System.Windows.Forms.Label(); |
| | | this.label19 = new System.Windows.Forms.Label(); |
| | | this.label10 = new System.Windows.Forms.Label(); |
| | | this.label4 = new System.Windows.Forms.Label(); |
| | | this.label3 = new System.Windows.Forms.Label(); |
| | | this.comboBox4 = new System.Windows.Forms.ComboBox(); |
| | | this.comboBox2 = new System.Windows.Forms.ComboBox(); |
| | | this.comboBox3 = new System.Windows.Forms.ComboBox(); |
| | | this.comboBox1 = new System.Windows.Forms.ComboBox(); |
| | | this.label2 = new System.Windows.Forms.Label(); |
| | | this.textBox3 = new System.Windows.Forms.TextBox(); |
| | | this.textBox2 = new System.Windows.Forms.TextBox(); |
| | | this.tabPage2 = new System.Windows.Forms.TabPage(); |
| | | this.label58 = new System.Windows.Forms.Label(); |
| | | this.comboBox8 = new System.Windows.Forms.ComboBox(); |
| | | this.button16 = new System.Windows.Forms.Button(); |
| | | this.label57 = new System.Windows.Forms.Label(); |
| | | this.button15 = new System.Windows.Forms.Button(); |
| | | this.button11 = new System.Windows.Forms.Button(); |
| | | this.comboBox7 = new System.Windows.Forms.ComboBox(); |
| | | this.label1 = new System.Windows.Forms.Label(); |
| | | this.label25 = new System.Windows.Forms.Label(); |
| | | this.label26 = new System.Windows.Forms.Label(); |
| | | this.label53 = new System.Windows.Forms.Label(); |
| | | this.label28 = new System.Windows.Forms.Label(); |
| | | this.label27 = new System.Windows.Forms.Label(); |
| | | this.label30 = new System.Windows.Forms.Label(); |
| | | this.label31 = new System.Windows.Forms.Label(); |
| | | this.label32 = new System.Windows.Forms.Label(); |
| | | this.label33 = new System.Windows.Forms.Label(); |
| | | this.label34 = new System.Windows.Forms.Label(); |
| | | this.label35 = new System.Windows.Forms.Label(); |
| | | this.button7 = new System.Windows.Forms.Button(); |
| | | this.button8 = new System.Windows.Forms.Button(); |
| | | this.button10 = new System.Windows.Forms.Button(); |
| | | this.textBox6 = new System.Windows.Forms.TextBox(); |
| | | this.textBox5 = new System.Windows.Forms.TextBox(); |
| | | this.comboBox6 = new System.Windows.Forms.ComboBox(); |
| | | this.button6 = new System.Windows.Forms.Button(); |
| | | this.textBox4 = new System.Windows.Forms.TextBox(); |
| | | this.comboBox5 = new System.Windows.Forms.ComboBox(); |
| | | this.label24 = new System.Windows.Forms.Label(); |
| | | this.label23 = new System.Windows.Forms.Label(); |
| | | this.label22 = new System.Windows.Forms.Label(); |
| | | this.label21 = new System.Windows.Forms.Label(); |
| | | this.label20 = new System.Windows.Forms.Label(); |
| | | this.tabPage3 = new System.Windows.Forms.TabPage(); |
| | | this.cbDir = new System.Windows.Forms.ComboBox(); |
| | | this.button21 = new System.Windows.Forms.Button(); |
| | | this.label59 = new System.Windows.Forms.Label(); |
| | | this.button20 = new System.Windows.Forms.Button(); |
| | | this.button18 = new System.Windows.Forms.Button(); |
| | | this.label56 = new System.Windows.Forms.Label(); |
| | | this.label55 = new System.Windows.Forms.Label(); |
| | | this.button12 = new System.Windows.Forms.Button(); |
| | | this.button13 = new System.Windows.Forms.Button(); |
| | | this.button14 = new System.Windows.Forms.Button(); |
| | | this.label41 = new System.Windows.Forms.Label(); |
| | | this.label42 = new System.Windows.Forms.Label(); |
| | | this.label43 = new System.Windows.Forms.Label(); |
| | | this.label44 = new System.Windows.Forms.Label(); |
| | | this.label45 = new System.Windows.Forms.Label(); |
| | | this.label46 = new System.Windows.Forms.Label(); |
| | | this.label47 = new System.Windows.Forms.Label(); |
| | | this.label48 = new System.Windows.Forms.Label(); |
| | | this.label52 = new System.Windows.Forms.Label(); |
| | | this.label49 = new System.Windows.Forms.Label(); |
| | | this.label50 = new System.Windows.Forms.Label(); |
| | | this.label51 = new System.Windows.Forms.Label(); |
| | | this.button9 = new System.Windows.Forms.Button(); |
| | | this.textBox10 = new System.Windows.Forms.TextBox(); |
| | | this.textBox7 = new System.Windows.Forms.TextBox(); |
| | | this.label36 = new System.Windows.Forms.Label(); |
| | | this.label37 = new System.Windows.Forms.Label(); |
| | | this.label38 = new System.Windows.Forms.Label(); |
| | | this.label40 = new System.Windows.Forms.Label(); |
| | | this.label39 = new System.Windows.Forms.Label(); |
| | | this.comboBox9 = new System.Windows.Forms.ComboBox(); |
| | | this.textBox8 = new System.Windows.Forms.TextBox(); |
| | | this.textBox9 = new System.Windows.Forms.TextBox(); |
| | | this.tabPage4 = new System.Windows.Forms.TabPage(); |
| | | this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
| | | this.dGVQuery = new System.Windows.Forms.DataGridView(); |
| | | this.id = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.device = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.deviceNum = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.sourcePlace = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.toPlace = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.isReleased = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.hasFinished = new System.Windows.Forms.DataGridViewTextBoxColumn(); |
| | | this.label61 = new System.Windows.Forms.Label(); |
| | | this.tbTaskId = new System.Windows.Forms.TextBox(); |
| | | this.btnSearch = new System.Windows.Forms.Button(); |
| | | this.button23 = new System.Windows.Forms.Button(); |
| | | this.tabControl1.SuspendLayout(); |
| | | this.tabPage1.SuspendLayout(); |
| | | this.tabPage2.SuspendLayout(); |
| | | this.tabPage3.SuspendLayout(); |
| | | this.tabPage4.SuspendLayout(); |
| | | this.tableLayoutPanel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.dGVQuery)).BeginInit(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // tabControl1 |
| | | // |
| | | this.tabControl1.Controls.Add(this.tabPage1); |
| | | this.tabControl1.Controls.Add(this.tabPage2); |
| | | this.tabControl1.Controls.Add(this.tabPage3); |
| | | this.tabControl1.Controls.Add(this.tabPage4); |
| | | this.tabControl1.Location = new System.Drawing.Point(3, 4); |
| | | this.tabControl1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tabControl1.Name = "tabControl1"; |
| | | this.tabControl1.SelectedIndex = 0; |
| | | this.tabControl1.Size = new System.Drawing.Size(984, 680); |
| | | this.tabControl1.TabIndex = 4; |
| | | // |
| | | // tabPage1 |
| | | // |
| | | this.tabPage1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; |
| | | this.tabPage1.Controls.Add(this.label60); |
| | | this.tabPage1.Controls.Add(this.button22); |
| | | this.tabPage1.Controls.Add(this.textBox11); |
| | | this.tabPage1.Controls.Add(this.button19); |
| | | this.tabPage1.Controls.Add(this.button17); |
| | | this.tabPage1.Controls.Add(this.label54); |
| | | this.tabPage1.Controls.Add(this.label9); |
| | | this.tabPage1.Controls.Add(this.button4); |
| | | this.tabPage1.Controls.Add(this.button5); |
| | | this.tabPage1.Controls.Add(this.button3); |
| | | this.tabPage1.Controls.Add(this.button2); |
| | | this.tabPage1.Controls.Add(this.button1); |
| | | this.tabPage1.Controls.Add(this.textBox1); |
| | | this.tabPage1.Controls.Add(this.label8); |
| | | this.tabPage1.Controls.Add(this.label7); |
| | | this.tabPage1.Controls.Add(this.label6); |
| | | this.tabPage1.Controls.Add(this.label5); |
| | | this.tabPage1.Controls.Add(this.label18); |
| | | this.tabPage1.Controls.Add(this.label17); |
| | | this.tabPage1.Controls.Add(this.label29); |
| | | this.tabPage1.Controls.Add(this.label16); |
| | | this.tabPage1.Controls.Add(this.label15); |
| | | this.tabPage1.Controls.Add(this.label14); |
| | | this.tabPage1.Controls.Add(this.label13); |
| | | this.tabPage1.Controls.Add(this.label12); |
| | | this.tabPage1.Controls.Add(this.label11); |
| | | this.tabPage1.Controls.Add(this.label19); |
| | | this.tabPage1.Controls.Add(this.label10); |
| | | this.tabPage1.Controls.Add(this.label4); |
| | | this.tabPage1.Controls.Add(this.label3); |
| | | this.tabPage1.Controls.Add(this.comboBox4); |
| | | this.tabPage1.Controls.Add(this.comboBox2); |
| | | this.tabPage1.Controls.Add(this.comboBox3); |
| | | this.tabPage1.Controls.Add(this.comboBox1); |
| | | this.tabPage1.Controls.Add(this.label2); |
| | | this.tabPage1.Controls.Add(this.textBox3); |
| | | this.tabPage1.Controls.Add(this.textBox2); |
| | | this.tabPage1.Location = new System.Drawing.Point(4, 25); |
| | | this.tabPage1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tabPage1.Name = "tabPage1"; |
| | | this.tabPage1.Padding = new System.Windows.Forms.Padding(4); |
| | | this.tabPage1.Size = new System.Drawing.Size(976, 651); |
| | | this.tabPage1.TabIndex = 0; |
| | | this.tabPage1.Text = "å åæº"; |
| | | this.tabPage1.UseVisualStyleBackColor = true; |
| | | // |
| | | // label60 |
| | | // |
| | | this.label60.AutoSize = true; |
| | | this.label60.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label60.Location = new System.Drawing.Point(436, 520); |
| | | this.label60.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label60.Name = "label60"; |
| | | this.label60.Size = new System.Drawing.Size(255, 27); |
| | | this.label60.TabIndex = 35; |
| | | this.label60.Text = "å
³èå é¤çä»»å¡å·ï¼"; |
| | | // |
| | | // button22 |
| | | // |
| | | this.button22.BackColor = System.Drawing.Color.Plum; |
| | | this.button22.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button22.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button22.Location = new System.Drawing.Point(11, 469); |
| | | this.button22.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button22.Name = "button22"; |
| | | this.button22.Size = new System.Drawing.Size(351, 38); |
| | | this.button22.TabIndex = 34; |
| | | this.button22.Text = "忢ä¼å:å
³é"; |
| | | this.button22.UseVisualStyleBackColor = false; |
| | | this.button22.Visible = false; |
| | | this.button22.Click += new System.EventHandler(this.button22_Click); |
| | | // |
| | | // textBox11 |
| | | // |
| | | this.textBox11.Location = new System.Drawing.Point(441, 559); |
| | | this.textBox11.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox11.Name = "textBox11"; |
| | | this.textBox11.Size = new System.Drawing.Size(252, 25); |
| | | this.textBox11.TabIndex = 33; |
| | | // |
| | | // button19 |
| | | // |
| | | this.button19.BackColor = System.Drawing.Color.Plum; |
| | | this.button19.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button19.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button19.Location = new System.Drawing.Point(11, 520); |
| | | this.button19.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button19.Name = "button19"; |
| | | this.button19.Size = new System.Drawing.Size(351, 38); |
| | | this.button19.TabIndex = 32; |
| | | this.button19.Text = "å é¤å
³èä»»å¡"; |
| | | this.button19.UseVisualStyleBackColor = false; |
| | | this.button19.Click += new System.EventHandler(this.button19_Click); |
| | | // |
| | | // button17 |
| | | // |
| | | this.button17.BackColor = System.Drawing.Color.Plum; |
| | | this.button17.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button17.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button17.Location = new System.Drawing.Point(7, 600); |
| | | this.button17.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button17.Name = "button17"; |
| | | this.button17.Size = new System.Drawing.Size(351, 38); |
| | | this.button17.TabIndex = 31; |
| | | this.button17.Text = "å é¤å
³èä»»å¡"; |
| | | this.button17.UseVisualStyleBackColor = false; |
| | | this.button17.Visible = false; |
| | | this.button17.Click += new System.EventHandler(this.button17_Click); |
| | | // |
| | | // label54 |
| | | // |
| | | this.label54.AutoSize = true; |
| | | this.label54.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label54.Location = new System.Drawing.Point(436, 466); |
| | | this.label54.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label54.Name = "label54"; |
| | | this.label54.Size = new System.Drawing.Size(201, 27); |
| | | this.label54.TabIndex = 19; |
| | | this.label54.Text = "任塿¯å¦å®æï¼"; |
| | | // |
| | | // label9 |
| | | // |
| | | this.label9.Font = new System.Drawing.Font("å®ä½", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label9.Location = new System.Drawing.Point(404, 8); |
| | | this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label9.Name = "label9"; |
| | | this.label9.Size = new System.Drawing.Size(465, 34); |
| | | this.label9.TabIndex = 4; |
| | | this.label9.Text = "ä»»å¡åéè¿å:"; |
| | | // |
| | | // button4 |
| | | // |
| | | this.button4.BackColor = System.Drawing.Color.Plum; |
| | | this.button4.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button4.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button4.Location = new System.Drawing.Point(189, 424); |
| | | this.button4.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button4.Name = "button4"; |
| | | this.button4.Size = new System.Drawing.Size(172, 38); |
| | | this.button4.TabIndex = 3; |
| | | this.button4.Text = "å é¤ä»»å¡"; |
| | | this.button4.UseVisualStyleBackColor = false; |
| | | this.button4.Click += new System.EventHandler(this.button4_Click); |
| | | // |
| | | // button5 |
| | | // |
| | | this.button5.BackColor = System.Drawing.Color.DarkKhaki; |
| | | this.button5.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button5.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button5.Location = new System.Drawing.Point(7, 372); |
| | | this.button5.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button5.Name = "button5"; |
| | | this.button5.Size = new System.Drawing.Size(352, 38); |
| | | this.button5.TabIndex = 3; |
| | | this.button5.Text = "è§£é¤æ¥è¦"; |
| | | this.button5.UseVisualStyleBackColor = false; |
| | | this.button5.Click += new System.EventHandler(this.button5_Click); |
| | | // |
| | | // button3 |
| | | // |
| | | this.button3.BackColor = System.Drawing.Color.Plum; |
| | | this.button3.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button3.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button3.Location = new System.Drawing.Point(11, 424); |
| | | this.button3.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button3.Name = "button3"; |
| | | this.button3.Size = new System.Drawing.Size(155, 38); |
| | | this.button3.TabIndex = 3; |
| | | this.button3.Text = "æ¥å"; |
| | | this.button3.UseVisualStyleBackColor = false; |
| | | this.button3.Click += new System.EventHandler(this.button3_Click); |
| | | // |
| | | // button2 |
| | | // |
| | | this.button2.BackColor = System.Drawing.Color.DodgerBlue; |
| | | this.button2.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button2.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button2.Location = new System.Drawing.Point(8, 316); |
| | | this.button2.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button2.Name = "button2"; |
| | | this.button2.Size = new System.Drawing.Size(353, 38); |
| | | this.button2.TabIndex = 3; |
| | | this.button2.Text = "ä»»å¡ç¡®è®¤"; |
| | | this.button2.UseVisualStyleBackColor = false; |
| | | this.button2.Click += new System.EventHandler(this.button2_Click); |
| | | // |
| | | // button1 |
| | | // |
| | | this.button1.BackColor = System.Drawing.Color.MediumAquamarine; |
| | | this.button1.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button1.Location = new System.Drawing.Point(8, 264); |
| | | this.button1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button1.Name = "button1"; |
| | | this.button1.Size = new System.Drawing.Size(353, 38); |
| | | this.button1.TabIndex = 3; |
| | | this.button1.Text = "åé"; |
| | | this.button1.UseVisualStyleBackColor = false; |
| | | this.button1.Click += new System.EventHandler(this.button1_Click); |
| | | // |
| | | // textBox1 |
| | | // |
| | | this.textBox1.Location = new System.Drawing.Point(145, 55); |
| | | this.textBox1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox1.Name = "textBox1"; |
| | | this.textBox1.Size = new System.Drawing.Size(215, 25); |
| | | this.textBox1.TabIndex = 0; |
| | | this.textBox1.Text = "1111"; |
| | | // |
| | | // label8 |
| | | // |
| | | this.label8.AutoSize = true; |
| | | this.label8.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label8.Location = new System.Drawing.Point(0, 220); |
| | | this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label8.Name = "label8"; |
| | | this.label8.Size = new System.Drawing.Size(134, 27); |
| | | this.label8.TabIndex = 1; |
| | | this.label8.Text = "æçç±»å:"; |
| | | // |
| | | // label7 |
| | | // |
| | | this.label7.AutoSize = true; |
| | | this.label7.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label7.Location = new System.Drawing.Point(27, 136); |
| | | this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label7.Name = "label7"; |
| | | this.label7.Size = new System.Drawing.Size(107, 27); |
| | | this.label7.TabIndex = 1; |
| | | this.label7.Text = "ç®æ ä½:"; |
| | | // |
| | | // label6 |
| | | // |
| | | this.label6.AutoSize = true; |
| | | this.label6.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label6.Location = new System.Drawing.Point(28, 96); |
| | | this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label6.Name = "label6"; |
| | | this.label6.Size = new System.Drawing.Size(107, 27); |
| | | this.label6.TabIndex = 1; |
| | | this.label6.Text = "èµ·å§ä½:"; |
| | | // |
| | | // label5 |
| | | // |
| | | this.label5.AutoSize = true; |
| | | this.label5.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label5.Location = new System.Drawing.Point(27, 55); |
| | | this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label5.Name = "label5"; |
| | | this.label5.Size = new System.Drawing.Size(107, 27); |
| | | this.label5.TabIndex = 1; |
| | | this.label5.Text = "ä»»å¡å·:"; |
| | | // |
| | | // label18 |
| | | // |
| | | this.label18.AutoSize = true; |
| | | this.label18.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label18.Location = new System.Drawing.Point(492, 226); |
| | | this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label18.Name = "label18"; |
| | | this.label18.Size = new System.Drawing.Size(80, 27); |
| | | this.label18.TabIndex = 1; |
| | | this.label18.Text = "ç¶æ:"; |
| | | // |
| | | // label17 |
| | | // |
| | | this.label17.AutoSize = true; |
| | | this.label17.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label17.Location = new System.Drawing.Point(408, 192); |
| | | this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label17.Name = "label17"; |
| | | this.label17.Size = new System.Drawing.Size(161, 27); |
| | | this.label17.TabIndex = 1; |
| | | this.label17.Text = "ç³»ç»ä»»å¡å·:"; |
| | | // |
| | | // label29 |
| | | // |
| | | this.label29.AutoSize = true; |
| | | this.label29.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label29.Location = new System.Drawing.Point(436, 436); |
| | | this.label29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label29.Name = "label29"; |
| | | this.label29.Size = new System.Drawing.Size(134, 27); |
| | | this.label29.TabIndex = 1; |
| | | this.label29.Text = "æ¥è¦å
容:"; |
| | | // |
| | | // label16 |
| | | // |
| | | this.label16.AutoSize = true; |
| | | this.label16.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label16.Location = new System.Drawing.Point(436, 401); |
| | | this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label16.Name = "label16"; |
| | | this.label16.Size = new System.Drawing.Size(134, 27); |
| | | this.label16.TabIndex = 1; |
| | | this.label16.Text = "è´§åä½ç½®:"; |
| | | // |
| | | // label15 |
| | | // |
| | | this.label15.AutoSize = true; |
| | | this.label15.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label15.Location = new System.Drawing.Point(464, 366); |
| | | this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label15.Name = "label15"; |
| | | this.label15.Size = new System.Drawing.Size(107, 27); |
| | | this.label15.TabIndex = 1; |
| | | this.label15.Text = "å½åå±:"; |
| | | // |
| | | // label14 |
| | | // |
| | | this.label14.AutoSize = true; |
| | | this.label14.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label14.Location = new System.Drawing.Point(464, 331); |
| | | this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label14.Name = "label14"; |
| | | this.label14.Size = new System.Drawing.Size(107, 27); |
| | | this.label14.TabIndex = 1; |
| | | this.label14.Text = "å½åå:"; |
| | | // |
| | | // label13 |
| | | // |
| | | this.label13.AutoSize = true; |
| | | this.label13.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label13.Location = new System.Drawing.Point(436, 296); |
| | | this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label13.Name = "label13"; |
| | | this.label13.Size = new System.Drawing.Size(134, 27); |
| | | this.label13.TabIndex = 1; |
| | | this.label13.Text = "æ¯å¦æè´§:"; |
| | | // |
| | | // label12 |
| | | // |
| | | this.label12.AutoSize = true; |
| | | this.label12.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label12.Location = new System.Drawing.Point(436, 261); |
| | | this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label12.Name = "label12"; |
| | | this.label12.Size = new System.Drawing.Size(134, 27); |
| | | this.label12.TabIndex = 1; |
| | | this.label12.Text = "æ¯å¦æ¥è¦:"; |
| | | // |
| | | // label11 |
| | | // |
| | | this.label11.AutoSize = true; |
| | | this.label11.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label11.Location = new System.Drawing.Point(492, 156); |
| | | this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label11.Name = "label11"; |
| | | this.label11.Size = new System.Drawing.Size(80, 27); |
| | | this.label11.TabIndex = 1; |
| | | this.label11.Text = "模å¼:"; |
| | | // |
| | | // label19 |
| | | // |
| | | this.label19.AutoSize = true; |
| | | this.label19.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label19.Location = new System.Drawing.Point(436, 86); |
| | | this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label19.Name = "label19"; |
| | | this.label19.Size = new System.Drawing.Size(134, 27); |
| | | this.label19.TabIndex = 1; |
| | | this.label19.Text = "å åæºå:"; |
| | | // |
| | | // label10 |
| | | // |
| | | this.label10.AutoSize = true; |
| | | this.label10.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label10.Location = new System.Drawing.Point(492, 121); |
| | | this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label10.Name = "label10"; |
| | | this.label10.Size = new System.Drawing.Size(80, 27); |
| | | this.label10.TabIndex = 1; |
| | | this.label10.Text = "å¿è·³:"; |
| | | // |
| | | // label4 |
| | | // |
| | | this.label4.AutoSize = true; |
| | | this.label4.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label4.Location = new System.Drawing.Point(53, 15); |
| | | this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label4.Name = "label4"; |
| | | this.label4.Size = new System.Drawing.Size(81, 27); |
| | | this.label4.TabIndex = 1; |
| | | this.label4.Text = "IDå·:"; |
| | | // |
| | | // label3 |
| | | // |
| | | this.label3.AutoSize = true; |
| | | this.label3.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label3.Location = new System.Drawing.Point(-1, 174); |
| | | this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label3.Name = "label3"; |
| | | this.label3.Size = new System.Drawing.Size(134, 27); |
| | | this.label3.TabIndex = 1; |
| | | this.label3.Text = "æ§è¡æ¹å¼:"; |
| | | // |
| | | // comboBox4 |
| | | // |
| | | this.comboBox4.Cursor = System.Windows.Forms.Cursors.Default; |
| | | this.comboBox4.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox4.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox4.Items.AddRange(new object[] { |
| | | "ä¸å·å åæº", |
| | | "äºå·å åæº", |
| | | "ä¸å·å åæº", |
| | | "åå·å åæº", |
| | | "äºå·å åæº", |
| | | "å
å·å åæº", |
| | | "ä¸å·å åæº", |
| | | "å
«å·å åæº", |
| | | "ä¹å·å åæº"}); |
| | | this.comboBox4.Location = new System.Drawing.Point(497, 48); |
| | | this.comboBox4.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox4.Name = "comboBox4"; |
| | | this.comboBox4.Size = new System.Drawing.Size(160, 28); |
| | | this.comboBox4.TabIndex = 2; |
| | | this.comboBox4.Text = "ä¸å·å åæº"; |
| | | this.comboBox4.SelectedIndexChanged += new System.EventHandler(this.comboBox4_SelectedIndexChanged); |
| | | // |
| | | // comboBox2 |
| | | // |
| | | this.comboBox2.AutoCompleteCustomSource.AddRange(new string[] { |
| | | "ç"}); |
| | | this.comboBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox2.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox2.FormattingEnabled = true; |
| | | this.comboBox2.Items.AddRange(new object[] { |
| | | "ä¸å·å åæº", |
| | | "äºå·å åæº", |
| | | "ä¸å·å åæº", |
| | | "åå·å åæº", |
| | | "äºå·å åæº", |
| | | "å
å·å åæº", |
| | | "ä¸å·å åæº", |
| | | "å
«å·å åæº", |
| | | "ä¹å·å åæº"}); |
| | | this.comboBox2.Location = new System.Drawing.Point(145, 15); |
| | | this.comboBox2.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox2.Name = "comboBox2"; |
| | | this.comboBox2.Size = new System.Drawing.Size(215, 28); |
| | | this.comboBox2.TabIndex = 2; |
| | | this.comboBox2.Text = "ä¸å·å åæº"; |
| | | this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectionChangeCommitted); |
| | | // |
| | | // comboBox3 |
| | | // |
| | | this.comboBox3.AutoCompleteCustomSource.AddRange(new string[] { |
| | | "ç"}); |
| | | this.comboBox3.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox3.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox3.FormattingEnabled = true; |
| | | this.comboBox3.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.comboBox3.Items.AddRange(new object[] { |
| | | "1-2710*1310*2000", |
| | | "2-2710*1310*1000", |
| | | "3-2600*1400*1000", |
| | | "4-2500*(1800-2000)*1200", |
| | | "5-2500*(1500-1600)*1000", |
| | | "6-2500*1310*2100", |
| | | "7-2200*1400*1000", |
| | | "8-1650*1310*2100", |
| | | "9-1200*1310*1000", |
| | | "10-2500*(1800-2000)*1000", |
| | | "11-2500*(1700-1800)*1000", |
| | | "12-2500*(1600-1700)*1000", |
| | | "13-2500*(1500-1600)*1000"}); |
| | | this.comboBox3.Location = new System.Drawing.Point(147, 216); |
| | | this.comboBox3.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox3.Name = "comboBox3"; |
| | | this.comboBox3.Size = new System.Drawing.Size(213, 28); |
| | | this.comboBox3.TabIndex = 2; |
| | | this.comboBox3.Text = "1-2710*1310*2000"; |
| | | // |
| | | // comboBox1 |
| | | // |
| | | this.comboBox1.AutoCompleteCustomSource.AddRange(new string[] { |
| | | "ç"}); |
| | | this.comboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox1.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox1.FormattingEnabled = true; |
| | | this.comboBox1.Items.AddRange(new object[] { |
| | | "æ¬è¿", |
| | | "ç§»å¨", |
| | | "åæ¾"}); |
| | | this.comboBox1.Location = new System.Drawing.Point(145, 174); |
| | | this.comboBox1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox1.Name = "comboBox1"; |
| | | this.comboBox1.Size = new System.Drawing.Size(215, 28); |
| | | this.comboBox1.TabIndex = 2; |
| | | this.comboBox1.Text = "æ¬è¿"; |
| | | this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); |
| | | // |
| | | // label2 |
| | | // |
| | | this.label2.AutoSize = true; |
| | | this.label2.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label2.Location = new System.Drawing.Point(667, 48); |
| | | this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label2.Name = "label2"; |
| | | this.label2.Size = new System.Drawing.Size(66, 27); |
| | | this.label2.TabIndex = 1; |
| | | this.label2.Text = "ç¶æ"; |
| | | // |
| | | // textBox3 |
| | | // |
| | | this.textBox3.Location = new System.Drawing.Point(145, 136); |
| | | this.textBox3.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox3.Name = "textBox3"; |
| | | this.textBox3.Size = new System.Drawing.Size(215, 25); |
| | | this.textBox3.TabIndex = 0; |
| | | this.textBox3.Text = "01-01-01"; |
| | | // |
| | | // textBox2 |
| | | // |
| | | this.textBox2.Location = new System.Drawing.Point(145, 96); |
| | | this.textBox2.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox2.Name = "textBox2"; |
| | | this.textBox2.Size = new System.Drawing.Size(215, 25); |
| | | this.textBox2.TabIndex = 0; |
| | | this.textBox2.Text = "01-01-01"; |
| | | // |
| | | // tabPage2 |
| | | // |
| | | this.tabPage2.Controls.Add(this.label58); |
| | | this.tabPage2.Controls.Add(this.comboBox8); |
| | | this.tabPage2.Controls.Add(this.button16); |
| | | this.tabPage2.Controls.Add(this.label57); |
| | | this.tabPage2.Controls.Add(this.button15); |
| | | this.tabPage2.Controls.Add(this.button23); |
| | | this.tabPage2.Controls.Add(this.button11); |
| | | this.tabPage2.Controls.Add(this.comboBox7); |
| | | this.tabPage2.Controls.Add(this.label1); |
| | | this.tabPage2.Controls.Add(this.label25); |
| | | this.tabPage2.Controls.Add(this.label26); |
| | | this.tabPage2.Controls.Add(this.label53); |
| | | this.tabPage2.Controls.Add(this.label28); |
| | | this.tabPage2.Controls.Add(this.label27); |
| | | this.tabPage2.Controls.Add(this.label30); |
| | | this.tabPage2.Controls.Add(this.label31); |
| | | this.tabPage2.Controls.Add(this.label32); |
| | | this.tabPage2.Controls.Add(this.label33); |
| | | this.tabPage2.Controls.Add(this.label34); |
| | | this.tabPage2.Controls.Add(this.label35); |
| | | this.tabPage2.Controls.Add(this.button7); |
| | | this.tabPage2.Controls.Add(this.button8); |
| | | this.tabPage2.Controls.Add(this.button10); |
| | | this.tabPage2.Controls.Add(this.textBox6); |
| | | this.tabPage2.Controls.Add(this.textBox5); |
| | | this.tabPage2.Controls.Add(this.comboBox6); |
| | | this.tabPage2.Controls.Add(this.button6); |
| | | this.tabPage2.Controls.Add(this.textBox4); |
| | | this.tabPage2.Controls.Add(this.comboBox5); |
| | | this.tabPage2.Controls.Add(this.label24); |
| | | this.tabPage2.Controls.Add(this.label23); |
| | | this.tabPage2.Controls.Add(this.label22); |
| | | this.tabPage2.Controls.Add(this.label21); |
| | | this.tabPage2.Controls.Add(this.label20); |
| | | this.tabPage2.Cursor = System.Windows.Forms.Cursors.Default; |
| | | this.tabPage2.Location = new System.Drawing.Point(4, 25); |
| | | this.tabPage2.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tabPage2.Name = "tabPage2"; |
| | | this.tabPage2.Padding = new System.Windows.Forms.Padding(4); |
| | | this.tabPage2.Size = new System.Drawing.Size(976, 651); |
| | | this.tabPage2.TabIndex = 1; |
| | | this.tabPage2.Text = "RGV"; |
| | | this.tabPage2.UseVisualStyleBackColor = true; |
| | | // |
| | | // label58 |
| | | // |
| | | this.label58.AutoSize = true; |
| | | this.label58.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label58.Location = new System.Drawing.Point(12, 222); |
| | | this.label58.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label58.Name = "label58"; |
| | | this.label58.Size = new System.Drawing.Size(134, 27); |
| | | this.label58.TabIndex = 31; |
| | | this.label58.Text = "æçç±»å:"; |
| | | // |
| | | // comboBox8 |
| | | // |
| | | this.comboBox8.AutoCompleteCustomSource.AddRange(new string[] { |
| | | "ç"}); |
| | | this.comboBox8.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox8.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox8.FormattingEnabled = true; |
| | | this.comboBox8.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.comboBox8.Items.AddRange(new object[] { |
| | | "1-2710*1310*2000", |
| | | "2-2710*1310*1000", |
| | | "3-2600*1400*1000", |
| | | "4-2500*(1800-2000)*1200", |
| | | "5-2500*(1500-1600)*1000", |
| | | "6-2500*1310*2100", |
| | | "7-2200*1400*1000", |
| | | "8-1650*1310*2100", |
| | | "9-1200*1310*1000", |
| | | "10-2500*(1800-2000)*1000", |
| | | "11-2500*(1700-1800)*1000", |
| | | "12-2500*(1600-1700)*1000", |
| | | "13-2500*(1500-1600)*1000"}); |
| | | this.comboBox8.Location = new System.Drawing.Point(157, 219); |
| | | this.comboBox8.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox8.Name = "comboBox8"; |
| | | this.comboBox8.Size = new System.Drawing.Size(213, 28); |
| | | this.comboBox8.TabIndex = 32; |
| | | this.comboBox8.Text = "1-2710*1310*2000"; |
| | | // |
| | | // button16 |
| | | // |
| | | this.button16.BackColor = System.Drawing.Color.Plum; |
| | | this.button16.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button16.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button16.Location = new System.Drawing.Point(19, 553); |
| | | this.button16.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button16.Name = "button16"; |
| | | this.button16.Size = new System.Drawing.Size(351, 38); |
| | | this.button16.TabIndex = 30; |
| | | this.button16.Text = "å é¤å
³èä»»å¡"; |
| | | this.button16.UseVisualStyleBackColor = false; |
| | | this.button16.Visible = false; |
| | | this.button16.Click += new System.EventHandler(this.button16_Click); |
| | | // |
| | | // label57 |
| | | // |
| | | this.label57.AutoSize = true; |
| | | this.label57.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label57.Location = new System.Drawing.Point(437, 510); |
| | | this.label57.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label57.Name = "label57"; |
| | | this.label57.Size = new System.Drawing.Size(135, 27); |
| | | this.label57.TabIndex = 29; |
| | | this.label57.Text = "RGVå¯ç¨ï¼"; |
| | | // |
| | | // button15 |
| | | // |
| | | this.button15.BackColor = System.Drawing.Color.Lime; |
| | | this.button15.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button15.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button15.Location = new System.Drawing.Point(19, 504); |
| | | this.button15.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button15.Name = "button15"; |
| | | this.button15.Size = new System.Drawing.Size(353, 38); |
| | | this.button15.TabIndex = 28; |
| | | this.button15.Text = "ç¦ç¨/å¯ç¨"; |
| | | this.button15.UseVisualStyleBackColor = false; |
| | | this.button15.Click += new System.EventHandler(this.button15_Click_1); |
| | | // |
| | | // button11 |
| | | // |
| | | this.button11.BackColor = System.Drawing.Color.Red; |
| | | this.button11.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button11.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button11.Location = new System.Drawing.Point(19, 455); |
| | | this.button11.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button11.Name = "button11"; |
| | | this.button11.Size = new System.Drawing.Size(351, 38); |
| | | this.button11.TabIndex = 27; |
| | | this.button11.Text = "æ¥å"; |
| | | this.button11.UseVisualStyleBackColor = false; |
| | | this.button11.Click += new System.EventHandler(this.button11_Click); |
| | | // |
| | | // comboBox7 |
| | | // |
| | | this.comboBox7.AutoCompleteCustomSource.AddRange(new string[] { |
| | | "ç"}); |
| | | this.comboBox7.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox7.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox7.FormattingEnabled = true; |
| | | this.comboBox7.Items.AddRange(new object[] { |
| | | "ä¸å·RGV", |
| | | "äºå·RGV", |
| | | "ä¸å·RGV", |
| | | "åå·RGV"}); |
| | | this.comboBox7.Location = new System.Drawing.Point(496, 50); |
| | | this.comboBox7.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox7.Name = "comboBox7"; |
| | | this.comboBox7.Size = new System.Drawing.Size(112, 28); |
| | | this.comboBox7.TabIndex = 26; |
| | | this.comboBox7.Text = "ä¸å·RGV"; |
| | | this.comboBox7.SelectedIndexChanged += new System.EventHandler(this.comboBox7_SelectedIndexChanged); |
| | | // |
| | | // label1 |
| | | // |
| | | this.label1.Font = new System.Drawing.Font("å®ä½", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label1.Location = new System.Drawing.Point(405, 12); |
| | | this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label1.Name = "label1"; |
| | | this.label1.Size = new System.Drawing.Size(465, 34); |
| | | this.label1.TabIndex = 25; |
| | | this.label1.Text = "ä»»å¡åéè¿å:"; |
| | | // |
| | | // label25 |
| | | // |
| | | this.label25.AutoSize = true; |
| | | this.label25.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label25.Location = new System.Drawing.Point(493, 265); |
| | | this.label25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label25.Name = "label25"; |
| | | this.label25.Size = new System.Drawing.Size(80, 27); |
| | | this.label25.TabIndex = 13; |
| | | this.label25.Text = "ç¶æ:"; |
| | | // |
| | | // label26 |
| | | // |
| | | this.label26.AutoSize = true; |
| | | this.label26.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label26.Location = new System.Drawing.Point(409, 222); |
| | | this.label26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label26.Name = "label26"; |
| | | this.label26.Size = new System.Drawing.Size(161, 27); |
| | | this.label26.TabIndex = 14; |
| | | this.label26.Text = "ç³»ç»ä»»å¡å·:"; |
| | | // |
| | | // label53 |
| | | // |
| | | this.label53.AutoSize = true; |
| | | this.label53.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label53.Location = new System.Drawing.Point(437, 471); |
| | | this.label53.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label53.Name = "label53"; |
| | | this.label53.Size = new System.Drawing.Size(201, 27); |
| | | this.label53.TabIndex = 18; |
| | | this.label53.Text = "任塿¯å¦å®æï¼"; |
| | | // |
| | | // label28 |
| | | // |
| | | this.label28.AutoSize = true; |
| | | this.label28.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label28.Location = new System.Drawing.Point(437, 435); |
| | | this.label28.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label28.Name = "label28"; |
| | | this.label28.Size = new System.Drawing.Size(134, 27); |
| | | this.label28.TabIndex = 18; |
| | | this.label28.Text = "æ¥è¦å
容:"; |
| | | // |
| | | // label27 |
| | | // |
| | | this.label27.AutoSize = true; |
| | | this.label27.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label27.Location = new System.Drawing.Point(437, 392); |
| | | this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label27.Name = "label27"; |
| | | this.label27.Size = new System.Drawing.Size(134, 27); |
| | | this.label27.TabIndex = 18; |
| | | this.label27.Text = "å½åä½ç½®:"; |
| | | // |
| | | // label30 |
| | | // |
| | | this.label30.AutoSize = true; |
| | | this.label30.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label30.Location = new System.Drawing.Point(437, 350); |
| | | this.label30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label30.Name = "label30"; |
| | | this.label30.Size = new System.Drawing.Size(134, 27); |
| | | this.label30.TabIndex = 18; |
| | | this.label30.Text = "æ¯å¦æè´§:"; |
| | | // |
| | | // label31 |
| | | // |
| | | this.label31.AutoSize = true; |
| | | this.label31.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label31.Location = new System.Drawing.Point(437, 308); |
| | | this.label31.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label31.Name = "label31"; |
| | | this.label31.Size = new System.Drawing.Size(134, 27); |
| | | this.label31.TabIndex = 19; |
| | | this.label31.Text = "æ¯å¦æ¥è¦:"; |
| | | // |
| | | // label32 |
| | | // |
| | | this.label32.AutoSize = true; |
| | | this.label32.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label32.Location = new System.Drawing.Point(493, 180); |
| | | this.label32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label32.Name = "label32"; |
| | | this.label32.Size = new System.Drawing.Size(80, 27); |
| | | this.label32.TabIndex = 20; |
| | | this.label32.Text = "模å¼:"; |
| | | // |
| | | // label33 |
| | | // |
| | | this.label33.AutoSize = true; |
| | | this.label33.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label33.Location = new System.Drawing.Point(477, 95); |
| | | this.label33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label33.Name = "label33"; |
| | | this.label33.Size = new System.Drawing.Size(95, 27); |
| | | this.label33.TabIndex = 21; |
| | | this.label33.Text = "RGVå:"; |
| | | // |
| | | // label34 |
| | | // |
| | | this.label34.AutoSize = true; |
| | | this.label34.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label34.Location = new System.Drawing.Point(493, 138); |
| | | this.label34.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label34.Name = "label34"; |
| | | this.label34.Size = new System.Drawing.Size(80, 27); |
| | | this.label34.TabIndex = 22; |
| | | this.label34.Text = "å¿è·³:"; |
| | | // |
| | | // label35 |
| | | // |
| | | this.label35.AutoSize = true; |
| | | this.label35.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label35.Location = new System.Drawing.Point(617, 52); |
| | | this.label35.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label35.Name = "label35"; |
| | | this.label35.Size = new System.Drawing.Size(66, 27); |
| | | this.label35.TabIndex = 23; |
| | | this.label35.Text = "ç¶æ"; |
| | | // |
| | | // button7 |
| | | // |
| | | this.button7.BackColor = System.Drawing.Color.Plum; |
| | | this.button7.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button7.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button7.Location = new System.Drawing.Point(19, 406); |
| | | this.button7.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button7.Name = "button7"; |
| | | this.button7.Size = new System.Drawing.Size(351, 38); |
| | | this.button7.TabIndex = 9; |
| | | this.button7.Text = "å é¤ä»»å¡"; |
| | | this.button7.UseVisualStyleBackColor = false; |
| | | this.button7.Click += new System.EventHandler(this.button7_Click); |
| | | // |
| | | // button8 |
| | | // |
| | | this.button8.BackColor = System.Drawing.Color.DarkKhaki; |
| | | this.button8.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button8.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button8.Location = new System.Drawing.Point(19, 357); |
| | | this.button8.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button8.Name = "button8"; |
| | | this.button8.Size = new System.Drawing.Size(352, 38); |
| | | this.button8.TabIndex = 10; |
| | | this.button8.Text = "è§£é¤æ¥è¦"; |
| | | this.button8.UseVisualStyleBackColor = false; |
| | | this.button8.Click += new System.EventHandler(this.button8_Click); |
| | | // |
| | | // button10 |
| | | // |
| | | this.button10.BackColor = System.Drawing.Color.DodgerBlue; |
| | | this.button10.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button10.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button10.Location = new System.Drawing.Point(19, 308); |
| | | this.button10.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button10.Name = "button10"; |
| | | this.button10.Size = new System.Drawing.Size(353, 38); |
| | | this.button10.TabIndex = 12; |
| | | this.button10.Text = "ä»»å¡ç¡®è®¤"; |
| | | this.button10.UseVisualStyleBackColor = false; |
| | | this.button10.Click += new System.EventHandler(this.button10_Click); |
| | | // |
| | | // textBox6 |
| | | // |
| | | this.textBox6.Location = new System.Drawing.Point(145, 139); |
| | | this.textBox6.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox6.Name = "textBox6"; |
| | | this.textBox6.Size = new System.Drawing.Size(137, 25); |
| | | this.textBox6.TabIndex = 8; |
| | | this.textBox6.Text = "2"; |
| | | // |
| | | // textBox5 |
| | | // |
| | | this.textBox5.Location = new System.Drawing.Point(145, 98); |
| | | this.textBox5.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox5.Name = "textBox5"; |
| | | this.textBox5.Size = new System.Drawing.Size(137, 25); |
| | | this.textBox5.TabIndex = 7; |
| | | this.textBox5.Text = "1"; |
| | | // |
| | | // comboBox6 |
| | | // |
| | | this.comboBox6.AutoCompleteCustomSource.AddRange(new string[] { |
| | | "ç"}); |
| | | this.comboBox6.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox6.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox6.FormattingEnabled = true; |
| | | this.comboBox6.Items.AddRange(new object[] { |
| | | "æ¬è¿", |
| | | "ç§»å¨"}); |
| | | this.comboBox6.Location = new System.Drawing.Point(156, 182); |
| | | this.comboBox6.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox6.Name = "comboBox6"; |
| | | this.comboBox6.Size = new System.Drawing.Size(137, 28); |
| | | this.comboBox6.TabIndex = 6; |
| | | this.comboBox6.Text = "æ¬è¿"; |
| | | this.comboBox6.SelectedIndexChanged += new System.EventHandler(this.comboBox6_SelectedIndexChanged); |
| | | // |
| | | // button6 |
| | | // |
| | | this.button6.BackColor = System.Drawing.Color.MediumAquamarine; |
| | | this.button6.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button6.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button6.Location = new System.Drawing.Point(19, 259); |
| | | this.button6.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button6.Name = "button6"; |
| | | this.button6.Size = new System.Drawing.Size(353, 38); |
| | | this.button6.TabIndex = 5; |
| | | this.button6.Text = "åé"; |
| | | this.button6.UseVisualStyleBackColor = false; |
| | | this.button6.Click += new System.EventHandler(this.button6_Click); |
| | | // |
| | | // textBox4 |
| | | // |
| | | this.textBox4.Location = new System.Drawing.Point(145, 55); |
| | | this.textBox4.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox4.Name = "textBox4"; |
| | | this.textBox4.Size = new System.Drawing.Size(137, 25); |
| | | this.textBox4.TabIndex = 4; |
| | | this.textBox4.Text = "1111"; |
| | | // |
| | | // comboBox5 |
| | | // |
| | | this.comboBox5.AutoCompleteCustomSource.AddRange(new string[] { |
| | | "ç"}); |
| | | this.comboBox5.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox5.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox5.FormattingEnabled = true; |
| | | this.comboBox5.Items.AddRange(new object[] { |
| | | "ä¸å·RGV", |
| | | "äºå·RGV", |
| | | "ä¸å·RGV", |
| | | "åå·RGV"}); |
| | | this.comboBox5.Location = new System.Drawing.Point(141, 18); |
| | | this.comboBox5.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox5.Name = "comboBox5"; |
| | | this.comboBox5.Size = new System.Drawing.Size(137, 28); |
| | | this.comboBox5.TabIndex = 3; |
| | | this.comboBox5.Text = "ä¸å·RGV"; |
| | | this.comboBox5.SelectedIndexChanged += new System.EventHandler(this.comboBox5_SelectedIndexChanged); |
| | | // |
| | | // label24 |
| | | // |
| | | this.label24.AutoSize = true; |
| | | this.label24.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label24.Location = new System.Drawing.Point(8, 186); |
| | | this.label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label24.Name = "label24"; |
| | | this.label24.Size = new System.Drawing.Size(134, 27); |
| | | this.label24.TabIndex = 2; |
| | | this.label24.Text = "ä»»å¡ç±»å:"; |
| | | // |
| | | // label23 |
| | | // |
| | | this.label23.AutoSize = true; |
| | | this.label23.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label23.Location = new System.Drawing.Point(8, 140); |
| | | this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label23.Name = "label23"; |
| | | this.label23.Size = new System.Drawing.Size(107, 27); |
| | | this.label23.TabIndex = 2; |
| | | this.label23.Text = "ç®æ ä½:"; |
| | | // |
| | | // label22 |
| | | // |
| | | this.label22.AutoSize = true; |
| | | this.label22.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label22.Location = new System.Drawing.Point(8, 98); |
| | | this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label22.Name = "label22"; |
| | | this.label22.Size = new System.Drawing.Size(107, 27); |
| | | this.label22.TabIndex = 2; |
| | | this.label22.Text = "èµ·å§ä½:"; |
| | | // |
| | | // label21 |
| | | // |
| | | this.label21.AutoSize = true; |
| | | this.label21.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label21.Location = new System.Drawing.Point(8, 55); |
| | | this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label21.Name = "label21"; |
| | | this.label21.Size = new System.Drawing.Size(107, 27); |
| | | this.label21.TabIndex = 2; |
| | | this.label21.Text = "ä»»å¡å·:"; |
| | | // |
| | | // label20 |
| | | // |
| | | this.label20.AutoSize = true; |
| | | this.label20.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label20.Location = new System.Drawing.Point(8, 21); |
| | | this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label20.Name = "label20"; |
| | | this.label20.Size = new System.Drawing.Size(81, 27); |
| | | this.label20.TabIndex = 2; |
| | | this.label20.Text = "IDå·:"; |
| | | // |
| | | // tabPage3 |
| | | // |
| | | this.tabPage3.Controls.Add(this.cbDir); |
| | | this.tabPage3.Controls.Add(this.button21); |
| | | this.tabPage3.Controls.Add(this.label59); |
| | | this.tabPage3.Controls.Add(this.button20); |
| | | this.tabPage3.Controls.Add(this.button18); |
| | | this.tabPage3.Controls.Add(this.label56); |
| | | this.tabPage3.Controls.Add(this.label55); |
| | | this.tabPage3.Controls.Add(this.button12); |
| | | this.tabPage3.Controls.Add(this.button13); |
| | | this.tabPage3.Controls.Add(this.button14); |
| | | this.tabPage3.Controls.Add(this.label41); |
| | | this.tabPage3.Controls.Add(this.label42); |
| | | this.tabPage3.Controls.Add(this.label43); |
| | | this.tabPage3.Controls.Add(this.label44); |
| | | this.tabPage3.Controls.Add(this.label45); |
| | | this.tabPage3.Controls.Add(this.label46); |
| | | this.tabPage3.Controls.Add(this.label47); |
| | | this.tabPage3.Controls.Add(this.label48); |
| | | this.tabPage3.Controls.Add(this.label52); |
| | | this.tabPage3.Controls.Add(this.label49); |
| | | this.tabPage3.Controls.Add(this.label50); |
| | | this.tabPage3.Controls.Add(this.label51); |
| | | this.tabPage3.Controls.Add(this.button9); |
| | | this.tabPage3.Controls.Add(this.textBox10); |
| | | this.tabPage3.Controls.Add(this.textBox7); |
| | | this.tabPage3.Controls.Add(this.label36); |
| | | this.tabPage3.Controls.Add(this.label37); |
| | | this.tabPage3.Controls.Add(this.label38); |
| | | this.tabPage3.Controls.Add(this.label40); |
| | | this.tabPage3.Controls.Add(this.label39); |
| | | this.tabPage3.Controls.Add(this.comboBox9); |
| | | this.tabPage3.Controls.Add(this.textBox8); |
| | | this.tabPage3.Controls.Add(this.textBox9); |
| | | this.tabPage3.Location = new System.Drawing.Point(4, 25); |
| | | this.tabPage3.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tabPage3.Name = "tabPage3"; |
| | | this.tabPage3.Padding = new System.Windows.Forms.Padding(4); |
| | | this.tabPage3.Size = new System.Drawing.Size(976, 651); |
| | | this.tabPage3.TabIndex = 2; |
| | | this.tabPage3.Text = "è¾é线"; |
| | | this.tabPage3.UseVisualStyleBackColor = true; |
| | | // |
| | | // cbDir |
| | | // |
| | | this.cbDir.FormattingEnabled = true; |
| | | this.cbDir.Items.AddRange(new object[] { |
| | | "ä¸ï¼å²å", |
| | | "西ï¼çè£
"}); |
| | | this.cbDir.Location = new System.Drawing.Point(296, 548); |
| | | this.cbDir.Margin = new System.Windows.Forms.Padding(4); |
| | | this.cbDir.Name = "cbDir"; |
| | | this.cbDir.Size = new System.Drawing.Size(87, 23); |
| | | this.cbDir.TabIndex = 48; |
| | | // |
| | | // button21 |
| | | // |
| | | this.button21.BackColor = System.Drawing.Color.Lime; |
| | | this.button21.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button21.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button21.Location = new System.Drawing.Point(21, 486); |
| | | this.button21.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button21.Name = "button21"; |
| | | this.button21.Size = new System.Drawing.Size(171, 75); |
| | | this.button21.TabIndex = 47; |
| | | this.button21.Text = "ä¸è½¬å°è§£é¤å ç¨"; |
| | | this.button21.UseVisualStyleBackColor = false; |
| | | this.button21.Click += new System.EventHandler(this.button21_Click); |
| | | // |
| | | // label59 |
| | | // |
| | | this.label59.AutoSize = true; |
| | | this.label59.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label59.Location = new System.Drawing.Point(205, 546); |
| | | this.label59.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label59.Name = "label59"; |
| | | this.label59.Size = new System.Drawing.Size(94, 27); |
| | | this.label59.TabIndex = 46; |
| | | this.label59.Text = "ä¸/西:"; |
| | | // |
| | | // button20 |
| | | // |
| | | this.button20.BackColor = System.Drawing.Color.Lime; |
| | | this.button20.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button20.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button20.Location = new System.Drawing.Point(213, 486); |
| | | this.button20.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button20.Name = "button20"; |
| | | this.button20.Size = new System.Drawing.Size(171, 51); |
| | | this.button20.TabIndex = 44; |
| | | this.button20.Text = "è§£éè¾é线"; |
| | | this.button20.UseVisualStyleBackColor = false; |
| | | this.button20.Click += new System.EventHandler(this.button20_Click); |
| | | // |
| | | // button18 |
| | | // |
| | | this.button18.BackColor = System.Drawing.Color.Plum; |
| | | this.button18.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button18.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button18.Location = new System.Drawing.Point(20, 602); |
| | | this.button18.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button18.Name = "button18"; |
| | | this.button18.Size = new System.Drawing.Size(351, 38); |
| | | this.button18.TabIndex = 43; |
| | | this.button18.Text = "å é¤å
³èä»»å¡"; |
| | | this.button18.UseVisualStyleBackColor = false; |
| | | this.button18.Visible = false; |
| | | this.button18.Click += new System.EventHandler(this.button18_Click); |
| | | // |
| | | // label56 |
| | | // |
| | | this.label56.AutoSize = true; |
| | | this.label56.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label56.Location = new System.Drawing.Point(436, 500); |
| | | this.label56.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label56.Name = "label56"; |
| | | this.label56.Size = new System.Drawing.Size(188, 27); |
| | | this.label56.TabIndex = 42; |
| | | this.label56.Text = "å
许ä¸åä»»å¡:"; |
| | | // |
| | | // label55 |
| | | // |
| | | this.label55.AutoSize = true; |
| | | this.label55.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label55.Location = new System.Drawing.Point(436, 470); |
| | | this.label55.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label55.Name = "label55"; |
| | | this.label55.Size = new System.Drawing.Size(80, 27); |
| | | this.label55.TabIndex = 41; |
| | | this.label55.Text = "æ¡ç :"; |
| | | // |
| | | // button12 |
| | | // |
| | | this.button12.BackColor = System.Drawing.Color.Red; |
| | | this.button12.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button12.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button12.Location = new System.Drawing.Point(21, 441); |
| | | this.button12.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button12.Name = "button12"; |
| | | this.button12.Size = new System.Drawing.Size(351, 38); |
| | | this.button12.TabIndex = 40; |
| | | this.button12.Text = "æ¥å"; |
| | | this.button12.UseVisualStyleBackColor = false; |
| | | this.button12.Click += new System.EventHandler(this.button12_Click); |
| | | // |
| | | // button13 |
| | | // |
| | | this.button13.BackColor = System.Drawing.Color.Plum; |
| | | this.button13.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button13.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button13.Location = new System.Drawing.Point(20, 390); |
| | | this.button13.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button13.Name = "button13"; |
| | | this.button13.Size = new System.Drawing.Size(351, 38); |
| | | this.button13.TabIndex = 38; |
| | | this.button13.Text = "å é¤ä»»å¡"; |
| | | this.button13.UseVisualStyleBackColor = false; |
| | | this.button13.Click += new System.EventHandler(this.button13_Click); |
| | | // |
| | | // button14 |
| | | // |
| | | this.button14.BackColor = System.Drawing.Color.DarkKhaki; |
| | | this.button14.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button14.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button14.Location = new System.Drawing.Point(19, 329); |
| | | this.button14.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button14.Name = "button14"; |
| | | this.button14.Size = new System.Drawing.Size(352, 38); |
| | | this.button14.TabIndex = 39; |
| | | this.button14.Text = "è§£é¤æ¥è¦"; |
| | | this.button14.UseVisualStyleBackColor = false; |
| | | this.button14.Click += new System.EventHandler(this.button14_Click); |
| | | // |
| | | // label41 |
| | | // |
| | | this.label41.Font = new System.Drawing.Font("å®ä½", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label41.Location = new System.Drawing.Point(404, 14); |
| | | this.label41.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label41.Name = "label41"; |
| | | this.label41.Size = new System.Drawing.Size(465, 34); |
| | | this.label41.TabIndex = 37; |
| | | this.label41.Text = "ä»»å¡åéè¿å:"; |
| | | // |
| | | // label42 |
| | | // |
| | | this.label42.AutoSize = true; |
| | | this.label42.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label42.Location = new System.Drawing.Point(492, 266); |
| | | this.label42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label42.Name = "label42"; |
| | | this.label42.Size = new System.Drawing.Size(80, 27); |
| | | this.label42.TabIndex = 27; |
| | | this.label42.Text = "ç¶æ:"; |
| | | // |
| | | // label43 |
| | | // |
| | | this.label43.AutoSize = true; |
| | | this.label43.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label43.Location = new System.Drawing.Point(403, 222); |
| | | this.label43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label43.Name = "label43"; |
| | | this.label43.Size = new System.Drawing.Size(161, 27); |
| | | this.label43.TabIndex = 28; |
| | | this.label43.Text = "ç³»ç»ä»»å¡å·:"; |
| | | // |
| | | // label44 |
| | | // |
| | | this.label44.AutoSize = true; |
| | | this.label44.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label44.Location = new System.Drawing.Point(436, 436); |
| | | this.label44.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label44.Name = "label44"; |
| | | this.label44.Size = new System.Drawing.Size(134, 27); |
| | | this.label44.TabIndex = 29; |
| | | this.label44.Text = "å¤å½¢æ£æµ:"; |
| | | // |
| | | // label45 |
| | | // |
| | | this.label45.AutoSize = true; |
| | | this.label45.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label45.Location = new System.Drawing.Point(436, 394); |
| | | this.label45.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label45.Name = "label45"; |
| | | this.label45.Size = new System.Drawing.Size(134, 27); |
| | | this.label45.TabIndex = 30; |
| | | this.label45.Text = "è´§ç©éé:"; |
| | | // |
| | | // label46 |
| | | // |
| | | this.label46.AutoSize = true; |
| | | this.label46.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label46.Location = new System.Drawing.Point(436, 351); |
| | | this.label46.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label46.Name = "label46"; |
| | | this.label46.Size = new System.Drawing.Size(134, 27); |
| | | this.label46.TabIndex = 31; |
| | | this.label46.Text = "æ¯å¦æè´§:"; |
| | | // |
| | | // label47 |
| | | // |
| | | this.label47.AutoSize = true; |
| | | this.label47.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label47.Location = new System.Drawing.Point(436, 309); |
| | | this.label47.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label47.Name = "label47"; |
| | | this.label47.Size = new System.Drawing.Size(107, 27); |
| | | this.label47.TabIndex = 32; |
| | | this.label47.Text = "æ¥è¦å·:"; |
| | | // |
| | | // label48 |
| | | // |
| | | this.label48.AutoSize = true; |
| | | this.label48.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label48.Location = new System.Drawing.Point(492, 181); |
| | | this.label48.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label48.Name = "label48"; |
| | | this.label48.Size = new System.Drawing.Size(80, 27); |
| | | this.label48.TabIndex = 33; |
| | | this.label48.Text = "模å¼:"; |
| | | // |
| | | // label52 |
| | | // |
| | | this.label52.AutoSize = true; |
| | | this.label52.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label52.Location = new System.Drawing.Point(404, 51); |
| | | this.label52.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label52.Name = "label52"; |
| | | this.label52.Size = new System.Drawing.Size(188, 27); |
| | | this.label52.TabIndex = 34; |
| | | this.label52.Text = "è¾é线设å¤å·:"; |
| | | // |
| | | // label49 |
| | | // |
| | | this.label49.AutoSize = true; |
| | | this.label49.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label49.Location = new System.Drawing.Point(403, 96); |
| | | this.label49.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label49.Name = "label49"; |
| | | this.label49.Size = new System.Drawing.Size(161, 27); |
| | | this.label49.TabIndex = 34; |
| | | this.label49.Text = "è¾é线ç¼å·:"; |
| | | // |
| | | // label50 |
| | | // |
| | | this.label50.AutoSize = true; |
| | | this.label50.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label50.Location = new System.Drawing.Point(492, 139); |
| | | this.label50.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label50.Name = "label50"; |
| | | this.label50.Size = new System.Drawing.Size(80, 27); |
| | | this.label50.TabIndex = 35; |
| | | this.label50.Text = "å¿è·³:"; |
| | | // |
| | | // label51 |
| | | // |
| | | this.label51.AutoSize = true; |
| | | this.label51.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label51.Location = new System.Drawing.Point(679, 51); |
| | | this.label51.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label51.Name = "label51"; |
| | | this.label51.Size = new System.Drawing.Size(66, 27); |
| | | this.label51.TabIndex = 36; |
| | | this.label51.Text = "ç¶æ"; |
| | | // |
| | | // button9 |
| | | // |
| | | this.button9.BackColor = System.Drawing.Color.MediumAquamarine; |
| | | this.button9.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button9.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button9.Location = new System.Drawing.Point(19, 271); |
| | | this.button9.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button9.Name = "button9"; |
| | | this.button9.Size = new System.Drawing.Size(353, 38); |
| | | this.button9.TabIndex = 16; |
| | | this.button9.Text = "åé"; |
| | | this.button9.UseVisualStyleBackColor = false; |
| | | this.button9.Click += new System.EventHandler(this.button9_Click); |
| | | // |
| | | // textBox10 |
| | | // |
| | | this.textBox10.Location = new System.Drawing.Point(603, 51); |
| | | this.textBox10.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox10.Name = "textBox10"; |
| | | this.textBox10.Size = new System.Drawing.Size(75, 25); |
| | | this.textBox10.TabIndex = 4; |
| | | this.textBox10.Text = "1"; |
| | | this.textBox10.TextChanged += new System.EventHandler(this.textBox10_TextChanged); |
| | | // |
| | | // textBox7 |
| | | // |
| | | this.textBox7.Location = new System.Drawing.Point(157, 58); |
| | | this.textBox7.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox7.Name = "textBox7"; |
| | | this.textBox7.Size = new System.Drawing.Size(215, 25); |
| | | this.textBox7.TabIndex = 4; |
| | | this.textBox7.Text = "1111"; |
| | | // |
| | | // label36 |
| | | // |
| | | this.label36.AutoSize = true; |
| | | this.label36.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label36.Location = new System.Drawing.Point(13, 215); |
| | | this.label36.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label36.Name = "label36"; |
| | | this.label36.Size = new System.Drawing.Size(134, 27); |
| | | this.label36.TabIndex = 7; |
| | | this.label36.Text = "æçç±»å:"; |
| | | // |
| | | // label37 |
| | | // |
| | | this.label37.AutoSize = true; |
| | | this.label37.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label37.Location = new System.Drawing.Point(37, 162); |
| | | this.label37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label37.Name = "label37"; |
| | | this.label37.Size = new System.Drawing.Size(107, 27); |
| | | this.label37.TabIndex = 8; |
| | | this.label37.Text = "ç®æ ä½:"; |
| | | // |
| | | // label38 |
| | | // |
| | | this.label38.AutoSize = true; |
| | | this.label38.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label38.Location = new System.Drawing.Point(39, 110); |
| | | this.label38.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label38.Name = "label38"; |
| | | this.label38.Size = new System.Drawing.Size(107, 27); |
| | | this.label38.TabIndex = 9; |
| | | this.label38.Text = "èµ·å§ä½:"; |
| | | // |
| | | // label40 |
| | | // |
| | | this.label40.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label40.Location = new System.Drawing.Point(15, 572); |
| | | this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label40.Name = "label40"; |
| | | this.label40.Size = new System.Drawing.Size(805, 26); |
| | | this.label40.TabIndex = 10; |
| | | this.label40.Text = "ä¿¡æ¯æç¤º:"; |
| | | // |
| | | // label39 |
| | | // |
| | | this.label39.AutoSize = true; |
| | | this.label39.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label39.Location = new System.Drawing.Point(37, 58); |
| | | this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label39.Name = "label39"; |
| | | this.label39.Size = new System.Drawing.Size(107, 27); |
| | | this.label39.TabIndex = 10; |
| | | this.label39.Text = "ä»»å¡å·:"; |
| | | // |
| | | // comboBox9 |
| | | // |
| | | this.comboBox9.AutoCompleteCustomSource.AddRange(new string[] { |
| | | "ç"}); |
| | | this.comboBox9.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |
| | | this.comboBox9.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.comboBox9.FormattingEnabled = true; |
| | | this.comboBox9.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.comboBox9.Items.AddRange(new object[] { |
| | | "1-2710*1310*2000", |
| | | "2-2710*1310*1000", |
| | | "3-2600*1400*1000", |
| | | "4-2500*(1800-2000)*1200", |
| | | "5-2500*(1500-1600)*1000", |
| | | "6-2500*1310*2100", |
| | | "7-2200*1400*1000", |
| | | "8-1650*1310*2100", |
| | | "9-1200*1310*1000", |
| | | "10-2500*(1800-2000)*1000", |
| | | "11-2500*(1700-1800)*1000", |
| | | "12-2500*(1600-1700)*1000", |
| | | "13-2500*(1500-1600)*1000"}); |
| | | this.comboBox9.Location = new System.Drawing.Point(159, 211); |
| | | this.comboBox9.Margin = new System.Windows.Forms.Padding(4); |
| | | this.comboBox9.Name = "comboBox9"; |
| | | this.comboBox9.Size = new System.Drawing.Size(213, 28); |
| | | this.comboBox9.TabIndex = 14; |
| | | this.comboBox9.Text = "1-2710*1310*2000"; |
| | | // |
| | | // textBox8 |
| | | // |
| | | this.textBox8.Location = new System.Drawing.Point(157, 162); |
| | | this.textBox8.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox8.Name = "textBox8"; |
| | | this.textBox8.Size = new System.Drawing.Size(215, 25); |
| | | this.textBox8.TabIndex = 5; |
| | | this.textBox8.Text = "2"; |
| | | // |
| | | // textBox9 |
| | | // |
| | | this.textBox9.Location = new System.Drawing.Point(157, 110); |
| | | this.textBox9.Margin = new System.Windows.Forms.Padding(4); |
| | | this.textBox9.Name = "textBox9"; |
| | | this.textBox9.Size = new System.Drawing.Size(215, 25); |
| | | this.textBox9.TabIndex = 6; |
| | | this.textBox9.Text = "1"; |
| | | // |
| | | // tabPage4 |
| | | // |
| | | this.tabPage4.Controls.Add(this.tableLayoutPanel1); |
| | | this.tabPage4.Location = new System.Drawing.Point(4, 25); |
| | | this.tabPage4.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tabPage4.Name = "tabPage4"; |
| | | this.tabPage4.Padding = new System.Windows.Forms.Padding(4); |
| | | this.tabPage4.Size = new System.Drawing.Size(976, 651); |
| | | this.tabPage4.TabIndex = 3; |
| | | this.tabPage4.Text = "ä»»å¡è¯¦æ
"; |
| | | this.tabPage4.UseVisualStyleBackColor = true; |
| | | // |
| | | // tableLayoutPanel1 |
| | | // |
| | | this.tableLayoutPanel1.ColumnCount = 3; |
| | | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F)); |
| | | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
| | | this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); |
| | | this.tableLayoutPanel1.Controls.Add(this.dGVQuery, 0, 1); |
| | | this.tableLayoutPanel1.Controls.Add(this.label61, 0, 0); |
| | | this.tableLayoutPanel1.Controls.Add(this.tbTaskId, 1, 0); |
| | | this.tableLayoutPanel1.Controls.Add(this.btnSearch, 2, 0); |
| | | this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4); |
| | | this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tableLayoutPanel1.Name = "tableLayoutPanel1"; |
| | | this.tableLayoutPanel1.RowCount = 3; |
| | | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.570313F)); |
| | | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 90.42969F)); |
| | | this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F)); |
| | | this.tableLayoutPanel1.Size = new System.Drawing.Size(968, 643); |
| | | this.tableLayoutPanel1.TabIndex = 0; |
| | | // |
| | | // dGVQuery |
| | | // |
| | | this.dGVQuery.AllowUserToAddRows = false; |
| | | this.dGVQuery.AllowUserToDeleteRows = false; |
| | | this.dGVQuery.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; |
| | | this.dGVQuery.BackgroundColor = System.Drawing.Color.White; |
| | | this.dGVQuery.BorderStyle = System.Windows.Forms.BorderStyle.None; |
| | | dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.Color.Maroon; |
| | | dataGridViewCellStyle1.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
| | | dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dGVQuery.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; |
| | | this.dGVQuery.ColumnHeadersHeight = 30; |
| | | this.dGVQuery.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
| | | this.id, |
| | | this.device, |
| | | this.deviceNum, |
| | | this.sourcePlace, |
| | | this.toPlace, |
| | | this.isReleased, |
| | | this.hasFinished}); |
| | | this.tableLayoutPanel1.SetColumnSpan(this.dGVQuery, 3); |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle2.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle2.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; |
| | | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.DeepSkyBlue; |
| | | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.dGVQuery.DefaultCellStyle = dataGridViewCellStyle2; |
| | | this.dGVQuery.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.dGVQuery.EnableHeadersVisualStyles = false; |
| | | this.dGVQuery.GridColor = System.Drawing.SystemColors.Control; |
| | | this.dGVQuery.Location = new System.Drawing.Point(4, 63); |
| | | this.dGVQuery.Margin = new System.Windows.Forms.Padding(4); |
| | | this.dGVQuery.MultiSelect = false; |
| | | this.dGVQuery.Name = "dGVQuery"; |
| | | dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle3.BackColor = System.Drawing.Color.White; |
| | | dataGridViewCellStyle3.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Maroon; |
| | | dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
| | | dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; |
| | | this.dGVQuery.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; |
| | | this.dGVQuery.RowHeadersWidth = 30; |
| | | dataGridViewCellStyle4.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.dGVQuery.RowsDefaultCellStyle = dataGridViewCellStyle4; |
| | | this.dGVQuery.RowTemplate.Height = 23; |
| | | this.dGVQuery.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; |
| | | this.dGVQuery.Size = new System.Drawing.Size(960, 550); |
| | | this.dGVQuery.TabIndex = 8; |
| | | // |
| | | // id |
| | | // |
| | | this.id.DataPropertyName = "id"; |
| | | this.id.HeaderText = "ä»»å¡å·"; |
| | | this.id.MinimumWidth = 6; |
| | | this.id.Name = "id"; |
| | | // |
| | | // device |
| | | // |
| | | this.device.DataPropertyName = "device"; |
| | | this.device.HeaderText = "设å¤"; |
| | | this.device.MinimumWidth = 6; |
| | | this.device.Name = "device"; |
| | | // |
| | | // deviceNum |
| | | // |
| | | this.deviceNum.DataPropertyName = "deviceNum"; |
| | | this.deviceNum.HeaderText = "设å¤ç¼å·"; |
| | | this.deviceNum.MinimumWidth = 6; |
| | | this.deviceNum.Name = "deviceNum"; |
| | | // |
| | | // sourcePlace |
| | | // |
| | | this.sourcePlace.DataPropertyName = "sourcePlace"; |
| | | this.sourcePlace.HeaderText = "èµ·å§ä½"; |
| | | this.sourcePlace.MinimumWidth = 6; |
| | | this.sourcePlace.Name = "sourcePlace"; |
| | | // |
| | | // toPlace |
| | | // |
| | | this.toPlace.DataPropertyName = "toPlace"; |
| | | this.toPlace.HeaderText = "ç®æ ä½"; |
| | | this.toPlace.MinimumWidth = 6; |
| | | this.toPlace.Name = "toPlace"; |
| | | // |
| | | // isReleased |
| | | // |
| | | this.isReleased.DataPropertyName = "isReleased"; |
| | | this.isReleased.HeaderText = "å·²ä¸å"; |
| | | this.isReleased.MinimumWidth = 6; |
| | | this.isReleased.Name = "isReleased"; |
| | | // |
| | | // hasFinished |
| | | // |
| | | this.hasFinished.DataPropertyName = "hasFinished"; |
| | | this.hasFinished.HeaderText = "已宿"; |
| | | this.hasFinished.MinimumWidth = 6; |
| | | this.hasFinished.Name = "hasFinished"; |
| | | // |
| | | // label61 |
| | | // |
| | | this.label61.AutoSize = true; |
| | | this.label61.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.label61.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label61.Location = new System.Drawing.Point(4, 0); |
| | | this.label61.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label61.Name = "label61"; |
| | | this.label61.Size = new System.Drawing.Size(282, 59); |
| | | this.label61.TabIndex = 0; |
| | | this.label61.Text = "ç³»ç»ä»»å¡å·ï¼"; |
| | | this.label61.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; |
| | | // |
| | | // tbTaskId |
| | | // |
| | | this.tbTaskId.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.tbTaskId.Font = new System.Drawing.Font("å®ä½", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.tbTaskId.Location = new System.Drawing.Point(294, 4); |
| | | this.tbTaskId.Margin = new System.Windows.Forms.Padding(4); |
| | | this.tbTaskId.Name = "tbTaskId"; |
| | | this.tbTaskId.Size = new System.Drawing.Size(476, 49); |
| | | this.tbTaskId.TabIndex = 1; |
| | | // |
| | | // btnSearch |
| | | // |
| | | this.btnSearch.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.btnSearch.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.btnSearch.Location = new System.Drawing.Point(778, 4); |
| | | this.btnSearch.Margin = new System.Windows.Forms.Padding(4); |
| | | this.btnSearch.Name = "btnSearch"; |
| | | this.btnSearch.Size = new System.Drawing.Size(186, 51); |
| | | this.btnSearch.TabIndex = 9; |
| | | this.btnSearch.Text = "æ¥è¯¢"; |
| | | this.btnSearch.UseVisualStyleBackColor = true; |
| | | this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); |
| | | // |
| | | // button23 |
| | | // |
| | | this.button23.BackColor = System.Drawing.Color.Red; |
| | | this.button23.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.button23.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; |
| | | this.button23.Location = new System.Drawing.Point(19, 602); |
| | | this.button23.Margin = new System.Windows.Forms.Padding(4); |
| | | this.button23.Name = "button23"; |
| | | this.button23.Size = new System.Drawing.Size(351, 38); |
| | | this.button23.TabIndex = 27; |
| | | this.button23.Text = "ä»»å¡éå"; |
| | | this.button23.UseVisualStyleBackColor = false; |
| | | this.button23.Click += new System.EventHandler(this.button23_Click); |
| | | // |
| | | // Form1 |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(1003, 699); |
| | | this.Controls.Add(this.tabControl1); |
| | | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |
| | | this.Margin = new System.Windows.Forms.Padding(4); |
| | | this.Name = "Form1"; |
| | | this.Text = "伿¬æºè½WCS"; |
| | | this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed); |
| | | this.tabControl1.ResumeLayout(false); |
| | | this.tabPage1.ResumeLayout(false); |
| | | this.tabPage1.PerformLayout(); |
| | | this.tabPage2.ResumeLayout(false); |
| | | this.tabPage2.PerformLayout(); |
| | | this.tabPage3.ResumeLayout(false); |
| | | this.tabPage3.PerformLayout(); |
| | | this.tabPage4.ResumeLayout(false); |
| | | this.tableLayoutPanel1.ResumeLayout(false); |
| | | this.tableLayoutPanel1.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.dGVQuery)).EndInit(); |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private System.Windows.Forms.TabControl tabControl1; |
| | | private System.Windows.Forms.TabPage tabPage2; |
| | | private System.Windows.Forms.TabPage tabPage3; |
| | | private System.Windows.Forms.TabPage tabPage1; |
| | | private System.Windows.Forms.Label label9; |
| | | private System.Windows.Forms.Button button4; |
| | | private System.Windows.Forms.Button button5; |
| | | private System.Windows.Forms.Button button3; |
| | | private System.Windows.Forms.Button button2; |
| | | private System.Windows.Forms.Button button1; |
| | | private System.Windows.Forms.TextBox textBox1; |
| | | private System.Windows.Forms.Label label8; |
| | | private System.Windows.Forms.Label label7; |
| | | private System.Windows.Forms.Label label6; |
| | | private System.Windows.Forms.Label label5; |
| | | private System.Windows.Forms.Label label18; |
| | | private System.Windows.Forms.Label label17; |
| | | private System.Windows.Forms.Label label16; |
| | | private System.Windows.Forms.Label label15; |
| | | private System.Windows.Forms.Label label14; |
| | | private System.Windows.Forms.Label label13; |
| | | private System.Windows.Forms.Label label12; |
| | | private System.Windows.Forms.Label label11; |
| | | private System.Windows.Forms.Label label10; |
| | | private System.Windows.Forms.Label label4; |
| | | private System.Windows.Forms.Label label3; |
| | | private System.Windows.Forms.ComboBox comboBox4; |
| | | private System.Windows.Forms.ComboBox comboBox2; |
| | | private System.Windows.Forms.ComboBox comboBox3; |
| | | private System.Windows.Forms.ComboBox comboBox1; |
| | | private System.Windows.Forms.Label label2; |
| | | private System.Windows.Forms.TextBox textBox3; |
| | | private System.Windows.Forms.TextBox textBox2; |
| | | private System.Windows.Forms.Label label19; |
| | | private System.Windows.Forms.TextBox textBox4; |
| | | private System.Windows.Forms.ComboBox comboBox5; |
| | | private System.Windows.Forms.Label label24; |
| | | private System.Windows.Forms.Label label23; |
| | | private System.Windows.Forms.Label label22; |
| | | private System.Windows.Forms.Label label21; |
| | | private System.Windows.Forms.Label label20; |
| | | private System.Windows.Forms.Label label1; |
| | | private System.Windows.Forms.Label label25; |
| | | private System.Windows.Forms.Label label26; |
| | | private System.Windows.Forms.Label label30; |
| | | private System.Windows.Forms.Label label31; |
| | | private System.Windows.Forms.Label label32; |
| | | private System.Windows.Forms.Label label33; |
| | | private System.Windows.Forms.Label label34; |
| | | private System.Windows.Forms.Label label35; |
| | | private System.Windows.Forms.Button button7; |
| | | private System.Windows.Forms.Button button8; |
| | | private System.Windows.Forms.Button button10; |
| | | private System.Windows.Forms.TextBox textBox6; |
| | | private System.Windows.Forms.TextBox textBox5; |
| | | private System.Windows.Forms.ComboBox comboBox6; |
| | | private System.Windows.Forms.Button button6; |
| | | private System.Windows.Forms.ComboBox comboBox7; |
| | | private System.Windows.Forms.Label label29; |
| | | private System.Windows.Forms.Label label28; |
| | | private System.Windows.Forms.Label label27; |
| | | private System.Windows.Forms.Button button9; |
| | | private System.Windows.Forms.TextBox textBox7; |
| | | private System.Windows.Forms.Label label36; |
| | | private System.Windows.Forms.Label label37; |
| | | private System.Windows.Forms.Label label38; |
| | | private System.Windows.Forms.Label label39; |
| | | private System.Windows.Forms.ComboBox comboBox9; |
| | | private System.Windows.Forms.TextBox textBox8; |
| | | private System.Windows.Forms.TextBox textBox9; |
| | | private System.Windows.Forms.Label label40; |
| | | private System.Windows.Forms.Label label41; |
| | | private System.Windows.Forms.Label label42; |
| | | private System.Windows.Forms.Label label43; |
| | | private System.Windows.Forms.Label label44; |
| | | private System.Windows.Forms.Label label45; |
| | | private System.Windows.Forms.Label label46; |
| | | private System.Windows.Forms.Label label47; |
| | | private System.Windows.Forms.Label label48; |
| | | private System.Windows.Forms.Label label52; |
| | | private System.Windows.Forms.Label label49; |
| | | private System.Windows.Forms.Label label50; |
| | | private System.Windows.Forms.Label label51; |
| | | private System.Windows.Forms.TextBox textBox10; |
| | | private System.Windows.Forms.Label label53; |
| | | private System.Windows.Forms.Label label54; |
| | | private System.Windows.Forms.Button button11; |
| | | private System.Windows.Forms.Button button12; |
| | | private System.Windows.Forms.Button button13; |
| | | private System.Windows.Forms.Button button14; |
| | | private System.Windows.Forms.Label label55; |
| | | private System.Windows.Forms.Label label56; |
| | | private System.Windows.Forms.Button button15; |
| | | private System.Windows.Forms.Label label57; |
| | | private System.Windows.Forms.Button button16; |
| | | private System.Windows.Forms.Button button17; |
| | | private System.Windows.Forms.Button button18; |
| | | private System.Windows.Forms.Label label58; |
| | | private System.Windows.Forms.ComboBox comboBox8; |
| | | private System.Windows.Forms.TextBox textBox11; |
| | | private System.Windows.Forms.Button button19; |
| | | private System.Windows.Forms.Button button20; |
| | | private System.Windows.Forms.Label label59; |
| | | private System.Windows.Forms.Button button21; |
| | | private System.Windows.Forms.Button button22; |
| | | private System.Windows.Forms.ComboBox cbDir; |
| | | private System.Windows.Forms.Label label60; |
| | | private System.Windows.Forms.TabPage tabPage4; |
| | | private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; |
| | | private System.Windows.Forms.Label label61; |
| | | private System.Windows.Forms.TextBox tbTaskId; |
| | | private System.Windows.Forms.DataGridView dGVQuery; |
| | | private System.Windows.Forms.Button btnSearch; |
| | | private System.Windows.Forms.DataGridViewTextBoxColumn id; |
| | | private System.Windows.Forms.DataGridViewTextBoxColumn device; |
| | | private System.Windows.Forms.DataGridViewTextBoxColumn deviceNum; |
| | | private System.Windows.Forms.DataGridViewTextBoxColumn sourcePlace; |
| | | private System.Windows.Forms.DataGridViewTextBoxColumn toPlace; |
| | | private System.Windows.Forms.DataGridViewTextBoxColumn isReleased; |
| | | private System.Windows.Forms.DataGridViewTextBoxColumn hasFinished; |
| | | private System.Windows.Forms.Button button23; |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Threading; |
| | | using System.Windows.Forms; |
| | | using Newtonsoft.Json; |
| | | using EnumType; |
| | | using IWareDataAccess.EF; |
| | | using Seagull.BarTender.Print; |
| | | using System.IO; |
| | | |
| | | namespace DeviceWCS |
| | | { |
| | | public partial class Form1 : Form |
| | | { |
| | | srmSER.SrmService srmOPC = new srmSER.SrmService(); |
| | | rgvSRM.RgvService rgvOPC = new rgvSRM.RgvService(); |
| | | tranSRM.SrmTranService tranOPC = new tranSRM.SrmTranService(); |
| | | srmInfo SrmInfo = new srmInfo(); |
| | | rgvINFO Rgvinfo = new rgvINFO(); |
| | | tranInfo TranInfo = new tranInfo(); |
| | | int srmNO = 1; |
| | | int rgvNO = 1; |
| | | int tranNO = 1; |
| | | |
| | | //static Engine btEngine = new Engine(); |
| | | //LabelFormatDocument btFormatEu = btEngine.Documents.Open(Path.Combine(@"F:\", "EUPrint.btw"));//è¿éæ¯Bartender软件çæçæ¨¡æ¿æä»¶ï¼ä½ éè¦å
ææ¨¡æ¿æä»¶å好ã |
| | | //LabelFormatDocument btFormatIs = btEngine.Documents.Open(Path.Combine(@"F:\", "IsOkPrint.btw"));//è¿éæ¯Bartender软件çæçæ¨¡æ¿æä»¶ï¼ä½ éè¦å
ææ¨¡æ¿æä»¶å好ã |
| | | public Form1() |
| | | { |
| | | InitializeComponent(); |
| | | this.dGVQuery.AutoGenerateColumns = false; |
| | | |
| | | Control.CheckForIllegalCrossThreadCalls = false; |
| | | Thread thsrm = new Thread(srmInfo); |
| | | thsrm.Start(); |
| | | Thread thrgv = new Thread(rgvinfo); |
| | | thrgv.Start(); |
| | | Thread thtran = new Thread(traninfo); |
| | | thtran.Start(); |
| | | |
| | | //Thread thprint = new Thread(thprintinfo); |
| | | // thprint.Start(); |
| | | |
| | | } |
| | | |
| | | //private void thprintinfo(object obj) |
| | | //{ |
| | | // while (true) |
| | | // { |
| | | // using (Model md = new Model()) |
| | | // { |
| | | // var printinfo = md.BASE_PRINT.OrderBy(x => x.CREATETIME).FirstOrDefault(x=>x.STATE==0); |
| | | // int type = printinfo.TYPE; |
| | | // LabelFormatDocument btFormat; |
| | | // if (type == 1) |
| | | // { |
| | | |
| | | // btFormat = btFormatEu; |
| | | // } |
| | | // else |
| | | // { |
| | | // btFormat = btFormatIs; |
| | | // } |
| | | |
| | | // btEngine.Start(); |
| | | // btFormat.PrintSetup.PrinterName = printinfo.PRINTDEVNAME;// "80mmThermalPrinter";//æå°æºåç§° |
| | | // btFormat.PrintSetup.IdenticalCopiesOfLabel = 1; //æå°ä»½æ° |
| | | // Messages messages; |
| | | // int waitout = 1000; // 10ç§ è¶
æ¶ |
| | | |
| | | // if (type == 1) |
| | | // { |
| | | // btFormat.SubStrings["ItemNum"].Value = printinfo.ITEMNUM;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // btFormat.SubStrings["ItemTypeNum"].Value = printinfo.ITEMTYPENUM;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // btFormat.SubStrings["CVIQRCode"].Value = printinfo.CVIQRCODE;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // } |
| | | // else |
| | | // { |
| | | // btFormat.SubStrings["Num"].Value = printinfo.NUM;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // btFormat.SubStrings["ItemCode"].Value = printinfo.ITEMCODE;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // btFormat.SubStrings["ItemName"].Value = printinfo.ITEMNAME;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // btFormat.SubStrings["ProductLine"].Value = printinfo.BACKUP1;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // } |
| | | // btFormat.SubStrings["CVICode"].Value = printinfo.CVICODE;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // btFormat.SubStrings["IsOk"].Value = printinfo.ISOK; ;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | |
| | | // btFormat.SubStrings["CreateTime"].Value = ((DateTime)printinfo.CREATETIME).ToString("yyyy-MM-dd");//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // Result nResult1 = btFormat.Print("æ ç¾æå°è½¯ä»¶", waitout, out messages); |
| | | // btFormat.PrintSetup.Cache.FlushInterval = CacheFlushInterval.Daily; |
| | | // Resolution rl = new Resolution(300, 300); |
| | | // //string name = DateTime.Now.ToLongDateString(); |
| | | // // btFormat.ExportImageToFile(@"F:\"+"name.png", ImageType.PNG, ColorDepth.Mono, rl, OverwriteOptions.Overwrite); |
| | | // btFormat.Close(SaveOptions.DoNotSaveChanges);//ä¸ä¿å对æå¼æ¨¡æ¿çä¿®æ¹ |
| | | // btEngine.Stop(); |
| | | |
| | | // if (nResult1.ToString() == "Success" || nResult1.ToString() == "0") |
| | | // { |
| | | // printinfo.STATE=1; |
| | | // } |
| | | // md.SaveChanges(); |
| | | // } |
| | | // Thread.Sleep(1000); |
| | | // } |
| | | //} |
| | | #region æä¸¾ |
| | | |
| | | /// <summary>å åæºå· |
| | | /// |
| | | /// </summary> |
| | | public enum srmid |
| | | { |
| | | ä¸å·å åæº = 1, |
| | | äºå·å åæº = 2, |
| | | ä¸å·å åæº = 3, |
| | | åå·å åæº = 4, |
| | | äºå·å åæº = 5, |
| | | å
å·å åæº = 6, |
| | | ä¸å·å åæº = 7, |
| | | å
«å·å åæº = 8, |
| | | ä¹å·å åæº = 9 |
| | | } |
| | | |
| | | /// <summary>å åæºå½ä»¤ |
| | | /// |
| | | /// </summary> |
| | | public enum command |
| | | { |
| | | æ¬è¿ = 1, |
| | | åæ¾ = 2, |
| | | ç§»å¨ = 3 |
| | | } |
| | | |
| | | /// <summary>å åæºæ¨¡å¼ |
| | | /// |
| | | /// </summary> |
| | | public enum srmMode |
| | | { |
| | | èªå¨æ¨¡å¼ = 1, |
| | | æå¨æ¨¡å¼ = 2, |
| | | åèªå¨æ¨¡å¼ = 3, |
| | | ç»´ä¿®æ¨¡å¼ = 4, |
| | | å
³æºæ¨¡å¼ = 0 |
| | | } |
| | | |
| | | /// <summary>å åæºç¶æ |
| | | /// |
| | | /// </summary> |
| | | public enum srmState |
| | | { |
| | | ç©ºé² = 0, |
| | | åè´§å®ä½ä¸ = 1, |
| | | 请æ±åè´§ = 2, |
| | | åè´§ä¸ = 3, |
| | | åè´§å®ææ¾è´§å®ä½ä¸ = 4, |
| | | è¯·æ±æ¾è´§ = 5, |
| | | æ¾è´§ä¸ = 6, |
| | | ç»´ä¿® = 98, |
| | | æ¥è¦ = 99 |
| | | } |
| | | |
| | | /// <summary>è´§åä½ç½® |
| | | /// |
| | | /// </summary> |
| | | public enum liftPosition |
| | | { |
| | | è´§ååä½ = 0, |
| | | è´§åå¨å·¦ä¾§ = 1, |
| | | è´§åå¨å³ä¾§ = 2 |
| | | } |
| | | /// <summary>RGVidæä¸¾ |
| | | /// |
| | | /// </summary> |
| | | public enum rgvid |
| | | { |
| | | ä¸å·RGV = 1, |
| | | äºå·RGV = 2, |
| | | ä¸å·RGV = 3, |
| | | åå·RGV = 4 |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | |
| | | /// <summary>èªå¨éæ©ä»»å¡å· |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void comboBox2_SelectionChangeCommitted(object sender, EventArgs e) |
| | | { |
| | | int a = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | textBox1.Text = (a * 1111).ToString(); |
| | | } |
| | | /// <summary>ä¼åæ¾ç¤º |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) |
| | | { |
| | | if (comboBox1.Text == "åæ¾" || comboBox1.Text == "ç§»å¨") |
| | | { |
| | | textBox2.Enabled = false; |
| | | //comboBox3.Enabled = false; |
| | | } |
| | | else |
| | | { |
| | | textBox2.Enabled = true; |
| | | comboBox3.Enabled = true; |
| | | } |
| | | } |
| | | |
| | | /// <summary>åéå åæºä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button1_Click(object sender, EventArgs e) |
| | | { |
| | | try |
| | | { |
| | | if (comboBox1.Text == "æ¬è¿") |
| | | { |
| | | int id = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | int taskid = int.Parse(textBox1.Text); |
| | | int pallet = int.Parse(comboBox3.Text.Split('-')[0]); |
| | | int result = srmOPC.SendSrmTask(id, taskid, textBox2.Text, textBox3.Text, pallet, 1); |
| | | #region 夿è¿åå¼ |
| | | if (result == 1) |
| | | { |
| | | label9.Text = id + "å·å åæºæ¬è¿æååé"; |
| | | label9.ForeColor = Color.Green; |
| | | } |
| | | else if (result == 2) |
| | | { |
| | | label9.Text = id + "å·å åæºæ¬è¿ä»»å¡åæ°é误!!!!!!!!1"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | else |
| | | { |
| | | label9.Text = id + "å·å åæºæ¬è¿åé失败!!!!!!!!1"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | #endregion |
| | | } |
| | | |
| | | else |
| | | { |
| | | int id = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | int taskid = int.Parse(textBox1.Text); |
| | | int comm = (int)Enum.Parse(typeof(command), comboBox1.Text); |
| | | int pallet = int.Parse(comboBox3.Text.Split('-')[0]); |
| | | int result = srmOPC.SendSrmMove(id, taskid, textBox3.Text, comm, pallet, 1); |
| | | #region 夿è¿åå¼ |
| | | if (result == 1) |
| | | { |
| | | label9.Text = id + "å·å åæºåæ¾æç§»å¨æååé"; |
| | | label9.ForeColor = Color.Green; |
| | | } |
| | | else if (result == 2) |
| | | { |
| | | label9.Text = id + "å·å åæºåæ¾æç§»å¨ä»»å¡åæ°é误!!!!!!!!1"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | else |
| | | { |
| | | label9.Text = id + "å·å åæºåæ¾æç§»å¨ä»»å¡åé失败!!!!!!!!1"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | | catch (Exception) |
| | | { |
| | | label9.Text = "å åæºåæ¾æç§»å¨ä»»å¡åéå¼å¸¸!!!!!!!!1"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | /// <summary>ç¡®è®¤ä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button2_Click(object sender, EventArgs e) |
| | | { |
| | | try |
| | | { |
| | | int id = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | int result = srmOPC.SendSrmTaskFinishConfirm(id); |
| | | if (result == 1) |
| | | { |
| | | label9.Text = id + "å·å åæºç¡®è®¤ä»»å¡åéæå"; |
| | | label9.ForeColor = Color.Green; |
| | | } |
| | | else |
| | | { |
| | | label9.Text = id + "å·å åæºç¡®è®¤ä»»å¡åé失败"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | catch (Exception) |
| | | { |
| | | |
| | | label9.Text = "å åæºç¡®è®¤ä»»å¡åéå¼å¸¸"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | |
| | | |
| | | } |
| | | /// <summary>å åæºè§£é¤æ¥è¦ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button5_Click(object sender, EventArgs e) |
| | | { |
| | | try |
| | | { |
| | | int id = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | srmOPC.SrmRlsAlert(id); |
| | | } |
| | | catch (Exception) |
| | | { |
| | | label9.Text = "å åæºè§£é¤æ¥è¦åéå¼å¸¸"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | |
| | | |
| | | } |
| | | /// <summary>å é¤ä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button4_Click(object sender, EventArgs e) |
| | | { |
| | | try |
| | | { |
| | | int id = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | int result = srmOPC.SendSrmDelete(id); |
| | | if (result == 1) |
| | | { |
| | | label9.Text = id + "å·å åæºå é¤ä»»å¡åéæå"; |
| | | label9.ForeColor = Color.Green; |
| | | } |
| | | else |
| | | { |
| | | label9.Text = id + "å·å åæºå é¤ä»»å¡åé失败"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | catch (Exception) |
| | | { |
| | | |
| | | label9.Text = "å åæºå é¤ä»»å¡åéå¼å¸¸"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | MessageBox.Show("å·²åç¬å 餿¤å åæºä»»å¡"); |
| | | } |
| | | /// <summary>æ¥åä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button3_Click(object sender, EventArgs e) |
| | | { |
| | | try |
| | | { |
| | | int id = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | int result = srmOPC.SendSrmEStop(id); |
| | | if (result == 1) |
| | | { |
| | | label9.Text = id + "å·å åæºæ¥åä»»å¡åéæå"; |
| | | label9.ForeColor = Color.Green; |
| | | } |
| | | else |
| | | { |
| | | label9.Text = id + "å·å åæºæ¥åä»»å¡åé失败"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | catch (Exception) |
| | | { |
| | | |
| | | label9.Text = "å åæºæ¥åä»»å¡åéå¼å¸¸"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | |
| | | /// <summary>读åå åæºç¶æ |
| | | /// |
| | | /// </summary> |
| | | public void srmInfo() |
| | | { |
| | | while (true) |
| | | { |
| | | try |
| | | { |
| | | Thread.Sleep(1000); |
| | | // var ff =srmOPC.GetSrmInfo(srmNO); |
| | | SrmInfo = JsonConvert.DeserializeObject<srmInfo>(srmOPC.GetSrmInfo(srmNO)); |
| | | label10.Text = "å¿è·³:" + SrmInfo.RhandShake; |
| | | label11.Text = "模å¼:" + Enum.GetName(typeof(srmMode), SrmInfo.Rmode); |
| | | label18.Text = "ç¶æ:" + Enum.GetName(typeof(srmState), SrmInfo.Rstate); |
| | | label19.Text = "å åæºå:" + SrmInfo.SrmName; |
| | | label17.Text = "ç³»ç»ä»»å¡å·:" + SrmInfo.RtaskNO + " 设å¤ä»»å¡å·:" + SrmInfo.RDevicetaskNO; |
| | | label12.Text = "æ¯å¦æ¥è¦:" + (SrmInfo.Ralarm == 1 ? "æ¥è¦ç¶æ" : "ç¶ææ£å¸¸"); |
| | | label13.Text = "æ¯å¦æè´§:" + (SrmInfo.RliftFull == 1 ? "è´§åä¸æè´§" : "è´§å䏿 è´§"); |
| | | label14.Text = "å½åå:" + SrmInfo.Rposx + "å"; |
| | | label15.Text = "å½åå±:" + SrmInfo.Rposy + "å±"; |
| | | label16.Text = "è´§åä½ç½®:" + Enum.GetName(typeof(liftPosition), SrmInfo.Rposz); |
| | | label29.Text = "æ¥è¦å
容:" + Enum.GetName(typeof(ESrmAlarm), SrmInfo.RalarmNumber); |
| | | |
| | | label54.Text = "任塿¯å¦å®æï¼" + SrmInfo.RtaskFinish; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | label19.Text = "å åæºå:" + SrmInfo.SrmName + "产çå¼å¸¸" + ex; |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | |
| | | /// <summary>éæ©è®¾å¤ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void comboBox4_SelectedIndexChanged(object sender, EventArgs e) |
| | | { |
| | | srmNO = (int)Enum.Parse(typeof(srmid), comboBox4.Text); |
| | | } |
| | | |
| | | /// <summary>åéRGVä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button6_Click(object sender, EventArgs e) |
| | | { |
| | | int rgvID = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | int pallet = int.Parse(comboBox8.Text.Split('-')[0]); |
| | | int result = rgvOPC.SendRgvTask(rgvID, rgvID * 1111, Convert.ToInt32(textBox5.Text), Convert.ToInt32(textBox6.Text), (comboBox6.Text == "æ¬è¿" ? 1 : 2), pallet, 1); |
| | | if (result == 1) |
| | | { |
| | | label1.Text = rgvID + "å·RGVä»»å¡åéæå"; |
| | | label1.ForeColor = Color.Green; |
| | | } |
| | | else |
| | | { |
| | | label1.Text = rgvID + "å·RGVä»»å¡åé失败"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | |
| | | } |
| | | |
| | | /// <summary>èªå¨è®¾ç½®ä»»å¡å· |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void comboBox5_SelectedIndexChanged(object sender, EventArgs e) |
| | | { |
| | | int a = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | textBox4.Text = (a * 1111).ToString(); |
| | | } |
| | | |
| | | /// <summary>ä¼åæ¾ç¤º |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void comboBox6_SelectedIndexChanged(object sender, EventArgs e) |
| | | { |
| | | |
| | | } |
| | | |
| | | /// <summary>RGVç¡®è®¤ä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button10_Click(object sender, EventArgs e) |
| | | { |
| | | int rgvID = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | bool isok = rgvOPC.SendRgvFinishConfirm(rgvID); |
| | | if (isok) |
| | | { |
| | | label1.Text = rgvID + "å·RGVä»»å¡ç¡®è®¤æå"; |
| | | label1.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label1.Text = rgvID + "å·RGVä»»å¡ç¡®è®¤å¤±è´¥"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | |
| | | /// <summary>RGVè§£è¦ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button8_Click(object sender, EventArgs e) |
| | | { |
| | | int rgvID = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | int result = rgvOPC.SendRgvRlsAlert(rgvID); |
| | | if (result == 1) |
| | | { |
| | | label1.Text = rgvID + "å·RGVè§£è¦æå"; |
| | | label1.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label1.Text = rgvID + "å·RGVè§£è¦å¤±è´¥"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | /// <summary>å é¤RGVä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button7_Click(object sender, EventArgs e) |
| | | { |
| | | int rgvID = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | int result = rgvOPC.SendRgvDelete(rgvID); |
| | | if (result == 1) |
| | | { |
| | | label1.Text = rgvID + "å·RGVå é¤ä»»å¡æå"; |
| | | label1.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label1.Text = rgvID + "å·RGVå é¤ä»»å¡å¤±è´¥"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | /// <summary>éæ©RGVä¿¡æ¯å±ç¤º |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void comboBox7_SelectedIndexChanged(object sender, EventArgs e) |
| | | { |
| | | rgvNO = (int)Enum.Parse(typeof(rgvid), comboBox7.Text); |
| | | } |
| | | /// <summary>è·åRGVä¿¡æ¯ |
| | | /// |
| | | /// </summary> |
| | | public void rgvinfo() |
| | | { |
| | | while (true) |
| | | { |
| | | try |
| | | { |
| | | Thread.Sleep(1000); |
| | | Rgvinfo = JsonConvert.DeserializeObject<rgvINFO>(rgvOPC.GetRgvInfo(rgvNO)); |
| | | label33.Text = "RGVå:" + Rgvinfo.RgvName; |
| | | label34.Text = "å¿è·³:" + Rgvinfo.handShake; |
| | | label32.Text = "模å¼:" + (Rgvinfo.onLine == 3 ? "èªå¨" : "éèªå¨"); |
| | | label25.Text = "ç¶æ:" + Rgvinfo.state; |
| | | label26.Text = "ç³»ç»ä»»å¡å·:" + Rgvinfo.taskId + " 设å¤ä»»å¡å·:" + Rgvinfo.deviceTaskId; |
| | | label31.Text = "æ¯å¦æ¥è¦:" + (Rgvinfo.ararm == 1 ? "æ¥è¦ç¶æ" : "ç¶ææ£å¸¸"); |
| | | label30.Text = "æ¯å¦æè´§:" + (Rgvinfo.loaded == 1 ? "RGVæè´§" : "RGVæ è´§"); |
| | | label27.Text = "rgvå½åä½ç½®:" + Rgvinfo.pos; |
| | | label28.Text = "æ¥è¦ä»£ç :" + Enum.GetName(typeof(ESrgvAlarm), Rgvinfo.alarmCode); |
| | | label53.Text = "任塿¯å¦å®æ:" + Rgvinfo.taskFinish; |
| | | label57.Text = "RGVå¯ç¨:" + Rgvinfo.useful; |
| | | |
| | | } |
| | | catch (Exception) |
| | | { |
| | | label33.Text = "RGVå:" + Rgvinfo.RgvName + "å¼å¸¸"; |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | /// <summary>åéè¾éçº¿ä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button9_Click(object sender, EventArgs e) |
| | | { |
| | | try |
| | | { |
| | | int pallet = int.Parse(comboBox9.Text.Split('-')[0]); |
| | | int result = tranOPC.SendGoodsReady(Convert.ToInt32(textBox9.Text), Convert.ToInt32(textBox8.Text), Convert.ToInt32(textBox7.Text), 1); |
| | | if (result == 1) |
| | | { |
| | | label40.Text = "ä¿¡æ¯æç¤º:è¾é线任å¡åéæå"; |
| | | label40.ForeColor = Color.Green; |
| | | } |
| | | } |
| | | catch (Exception) |
| | | { |
| | | label40.Text = "ä¿¡æ¯æç¤º:è¾é线任å¡åéå¼å¸¸"; |
| | | label40.ForeColor = Color.Red; |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | /// <summary>è·åè¾éçº¿ä¿¡æ¯ |
| | | /// |
| | | /// </summary> |
| | | public void traninfo() |
| | | { |
| | | while (true) |
| | | { |
| | | try |
| | | { |
| | | Thread.Sleep(1000); |
| | | TranInfo = JsonConvert.DeserializeObject<tranInfo>(tranOPC.GetSrmConveyorStationInfo(tranNO)); |
| | | label49.Text = "è¾é线ç¼å·:" + TranInfo.stationNo; |
| | | label50.Text = "å¿è·³:" + TranInfo.handShake; |
| | | label48.Text = "模å¼:" + (TranInfo.auto == true ? "èªå¨" : "éèªå¨"); |
| | | label42.Text = "æ
é:" + TranInfo.err; |
| | | label43.Text = "ç³»ç»ä»»å¡å·:" + TranInfo.taskId + " 设å¤ä»»å¡å·:" + TranInfo.deviceTaskId; |
| | | label47.Text = "æ¥è¦å·:" + Enum.GetName(typeof(ETranAlarm), TranInfo.errId); |
| | | label46.Text = "æ¯å¦æè´§:" + (TranInfo.goods == true ? "æè´§" : "æ è´§"); |
| | | label45.Text = "è´§ç©éé:" + TranInfo.weihgt; |
| | | |
| | | label44.Text = "å¤å½¢æ£æµ:" + (tranOPC.IsPassed(tranNO) == 0 ? "å°ä½æ£å¸¸" : "䏿£å¸¸"); |
| | | //label44.Text = "å¤å½¢æ£æµ:" + (TranInfo.shapeCheck == 3 ? "å°ä½æ£å¸¸" : "䏿£å¸¸"); |
| | | label55.Text = "æ¡ç ï¼" + TranInfo.Code; |
| | | label56.Text = "å
许ä¸åä»»å¡:" + TranInfo.TaskSendAllow; |
| | | //è·åå
¥å£æ¯å¦ææ°è´§(æµè¯) |
| | | //tranOPC.HasTranGoods(); |
| | | //tranOPC.ClearTranGoods(61); |
| | | } |
| | | catch (Exception) |
| | | { |
| | | label33.Text = "RGVå:" + Rgvinfo.RgvName + "å¼å¸¸"; |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | |
| | | /// <summary>çªå£å
³é |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void Form1_FormClosed(object sender, FormClosedEventArgs e) |
| | | { |
| | | Environment.Exit(0); |
| | | } |
| | | /// <summary>è¾é线设å¤éæ© |
| | | /// |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void textBox10_TextChanged(object sender, EventArgs e) |
| | | { |
| | | try |
| | | { |
| | | tranNO = Convert.ToInt32(textBox10.Text); |
| | | } |
| | | catch |
| | | { |
| | | |
| | | } |
| | | } |
| | | |
| | | private void button11_Click(object sender, EventArgs e) |
| | | { |
| | | int rgvID = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | int result = rgvOPC.SendRgvStop(rgvID); |
| | | if (result == 1) |
| | | { |
| | | label1.Text = rgvID + "å·RGVæ¥åæå"; |
| | | label1.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label1.Text = rgvID + "å·RGVæ¥å失败"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | |
| | | private void button14_Click(object sender, EventArgs e) |
| | | { |
| | | int tranid = int.Parse(textBox10.Text); |
| | | int result = tranOPC.SendTranReset(tranid); |
| | | if (result == 1) |
| | | { |
| | | label40.Text = tranid + "å·è¾éçº¿è§£è¦æå"; |
| | | label40.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label40.Text = tranid + "å·è¾é线解è¦å¤±è´¥"; |
| | | label40.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | |
| | | private void button13_Click(object sender, EventArgs e) |
| | | { |
| | | int tranid = int.Parse(textBox10.Text); |
| | | int result = tranOPC.SendTranDelete(tranid); |
| | | if (result == 1) |
| | | { |
| | | label40.Text = tranid + "å·è¾é线å 餿å"; |
| | | label40.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label40.Text = tranid + "å·è¾é线å é¤å¤±è´¥"; |
| | | label40.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | |
| | | private void button12_Click(object sender, EventArgs e) |
| | | { |
| | | int tranid = int.Parse(textBox10.Text); |
| | | int result = tranOPC.SendTranStop(tranid); |
| | | if (result == 1) |
| | | { |
| | | label40.Text = tranid + "å·è¾é线æ¥åæå"; |
| | | label40.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label40.Text = tranid + "å·è¾é线æ¥å失败"; |
| | | label40.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | |
| | | private void button15_Click_1(object sender, EventArgs e) |
| | | { |
| | | int rgvID = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | bool result = rgvOPC.ChangeUseful(rgvID); |
| | | if (result) |
| | | { |
| | | label1.Text = rgvID + "å·RGV忢æå"; |
| | | label1.ForeColor = Color.Lime; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label1.Text = rgvID + "å·RGVåæ¢å¤±è´¥"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å é¤å
³èä»»å¡ |
| | | /// </summary> |
| | | /// <param name="sender"></param> |
| | | /// <param name="e"></param> |
| | | private void button16_Click(object sender, EventArgs e) |
| | | { |
| | | //int rgvID = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | //int result = rgvOPC.SendRgvDeleteAll(rgvID); |
| | | //if (result == 1) |
| | | //{ |
| | | // label1.Text = rgvID + "å·RGVå é¤ä»»å¡æå"; |
| | | // label1.ForeColor = Color.Green; |
| | | |
| | | //} |
| | | //else |
| | | //{ |
| | | // label1.Text = rgvID + "å·RGVå é¤ä»»å¡å¤±è´¥"; |
| | | // label1.ForeColor = Color.Red; |
| | | //} |
| | | |
| | | } |
| | | |
| | | private void button17_Click(object sender, EventArgs e) |
| | | { |
| | | int id = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | int result = srmOPC.SendSrmDelete(id); |
| | | if (result == 1) |
| | | { |
| | | label9.Text = id + "å·å åæºå é¤ä»»å¡æå"; |
| | | label9.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else |
| | | { |
| | | label9.Text = id + "å·å åæºå é¤ä»»å¡å¤±è´¥"; |
| | | label9.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | |
| | | private void button18_Click(object sender, EventArgs e) |
| | | { |
| | | int tranid = int.Parse(textBox10.Text); |
| | | int result = tranOPC.SendTranDelete(tranid); |
| | | if (result == 1) |
| | | { |
| | | label40.Text = tranid + "å·è¾é线å é¤ä»»å¡æå"; |
| | | label40.ForeColor = Color.Green; |
| | | |
| | | } |
| | | else if (result == 0) |
| | | { |
| | | label40.Text = tranid + "å·è¾é线å é¤ä»»å¡å¤±è´¥"; |
| | | label40.ForeColor = Color.Red; |
| | | } |
| | | else if (result == 2) |
| | | { |
| | | label40.Text = tranid + "å·è¾é线å é¤ä»»å¡å¤±è´¥ï¼ç¼å·æ ¡éªå¤±è´¥ï¼å¯è½å
¶å®çº¿ç¨è®¿é®ä¸ï¼ï¼è¯·éå"; |
| | | label40.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | |
| | | private void button19_Click(object sender, EventArgs e) |
| | | { |
| | | int[] srmid; |
| | | int[] rgvid; |
| | | int[] tranid; |
| | | int dir = 0; |
| | | string[] place; |
| | | int mainid = int.Parse(textBox11.Text); |
| | | string containerName = textBox11.Text.Trim(); |
| | | if (srmOPC.DeleteMainTask(mainid, out tranid, out rgvid, out srmid, out place, out dir)) |
| | | //if (srmOPC.DeleteMainTaskByContainerName(containerName, out tranid, out rgvid, out srmid, out place,out dir)) |
| | | { |
| | | string text = ""; |
| | | foreach (var i in place) |
| | | { |
| | | text = i + " "; |
| | | } |
| | | MessageBox.Show("æ¿åº" + text); |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("å é¤å¤±è´¥ï¼æªä¿®æ¹æ°æ®"); |
| | | } |
| | | |
| | | if (!tranOPC.UnlockTran(dir)) |
| | | { |
| | | if (dir == 1) |
| | | { |
| | | MessageBox.Show("è¾é线解é失败ï¼è¯·å¼è³å®å
¨ä½åæå¨è§£éï¼ä¸"); |
| | | } |
| | | else if (dir == 0) |
| | | { |
| | | MessageBox.Show("è¾é线解é失败ï¼è¯·å¼è³å®å
¨ä½åæå¨è§£éï¼è¥¿"); |
| | | } |
| | | } |
| | | } |
| | | |
| | | private void button20_Click(object sender, EventArgs e) |
| | | { |
| | | int dir = 2; |
| | | if (cbDir.Text == "ä¸ï¼å²å") |
| | | { |
| | | dir = 1; |
| | | } |
| | | else if (cbDir.Text == "西ï¼çè£
") |
| | | { |
| | | dir = 0; |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("è¯·éæ©ä¸æè
西"); |
| | | } |
| | | bool result = tranOPC.UnlockTran(dir); |
| | | if (result) |
| | | { |
| | | MessageBox.Show("è§£éæå"); |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("æªä¿®æ¹ä¸æ¡æ°æ®ï¼è¯·æ£æ¥RGVæ¯å¦å¼è³å®å
¨ä½,å¯è½åå§æ°æ®å³å¯ç¨"); |
| | | } |
| | | } |
| | | |
| | | private void button21_Click(object sender, EventArgs e) |
| | | { |
| | | int dir = 2; |
| | | if (cbDir.Text == "ä¸ï¼å²å") |
| | | { |
| | | dir = 1; |
| | | } |
| | | else if (cbDir.Text == "西ï¼çè£
") |
| | | { |
| | | dir = 0; |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("è¯·éæ©ä¸æè
西"); |
| | | } |
| | | bool result = tranOPC.UnFullTran(dir); |
| | | if (result) |
| | | { |
| | | MessageBox.Show("è§£å ç¨æå"); |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("æªä¿®æ¹ä¸æ¡æ°æ®ï¼å¯è½åå§æ°æ®å³å¯ç¨"); |
| | | } |
| | | } |
| | | |
| | | private void button22_Click(object sender, EventArgs e) |
| | | { |
| | | int id = (int)Enum.Parse(typeof(srmid), comboBox2.Text); |
| | | bool open = srmOPC.UseAutoMove(id); |
| | | if (open) |
| | | { |
| | | button22.Text = "忢ä¼å:å¼å¯"; |
| | | } |
| | | else |
| | | { |
| | | button22.Text = "忢ä¼å:å
³é"; |
| | | } |
| | | } |
| | | |
| | | private void btnSearch_Click(object sender, EventArgs e) |
| | | { |
| | | int taskid = 0; |
| | | bool result = int.TryParse(tbTaskId.Text.Trim(), out taskid); |
| | | if (result) |
| | | { |
| | | List<taskCommon> taskViewList = new List<taskCommon>(); |
| | | using (Model edm = new Model()) |
| | | { |
| | | TASK_TASK task = edm.TASK_TASK.FirstOrDefault(x => x.ID == taskid); |
| | | if (task.TASKTYPE == 2) |
| | | { |
| | | foreach (var i in task.SrmTask) |
| | | { |
| | | taskCommon taskCommon = new taskCommon(); |
| | | taskCommon.id = i.ID; |
| | | taskCommon.device = "å åæº"; |
| | | taskCommon.deviceNum = i.USESRMID; |
| | | taskCommon.sourcePlace = i.SOURCEPLACE; |
| | | taskCommon.toPlace = i.TOPLACE; |
| | | taskCommon.isReleased = i.ISRELEASED == 1 ? "æ¯" : "å¦"; |
| | | taskCommon.hasFinished = i.HASFINISHED == 1 ? "æ¯" : "å¦"; |
| | | taskViewList.Add(taskCommon); |
| | | } |
| | | foreach (var i in task.RgvTask.OrderBy(x => x.ID)) |
| | | { |
| | | taskCommon taskCommon = new taskCommon(); |
| | | taskCommon.id = i.ID; |
| | | taskCommon.device = "RGV"; |
| | | taskCommon.deviceNum = i.USERGVID; |
| | | taskCommon.sourcePlace = i.SOURCEPLACE.ToString(); |
| | | taskCommon.toPlace = i.TOPLACE.ToString(); |
| | | taskCommon.isReleased = i.ISRELEASED == 1 ? "æ¯" : "å¦"; |
| | | taskCommon.hasFinished = i.HASFINISHED == 1 ? "æ¯" : "å¦"; |
| | | taskViewList.Add(taskCommon); |
| | | } |
| | | //foreach (var i in task.TranTasks) |
| | | //{ |
| | | // taskCommon taskCommon = new taskCommon(); |
| | | // taskCommon.id = i.ID; |
| | | // taskCommon.device = "è¾é线"; |
| | | // taskCommon.deviceNum = i.SOURCEPLACE; |
| | | // taskCommon.sourcePlace = i.SOURCEPLACE.ToString(); |
| | | // taskCommon.toPlace = i.TOPLACE.ToString(); |
| | | // taskCommon.isReleased = i.ISRELEASED == 1 ? "æ¯" : "å¦"; |
| | | // taskCommon.hasFinished = i.HASFINISHED == 1 ? "æ¯" : "å¦"; |
| | | // taskViewList.Add(taskCommon); |
| | | //} |
| | | } |
| | | else if (task.TASKTYPE == 1) |
| | | { |
| | | foreach (var i in task.TranTask) |
| | | { |
| | | taskCommon taskCommon = new taskCommon(); |
| | | taskCommon.id = i.ID; |
| | | taskCommon.device = "è¾é线"; |
| | | taskCommon.deviceNum = i.SOURCEPLACE; |
| | | taskCommon.sourcePlace = i.SOURCEPLACE.ToString(); |
| | | taskCommon.toPlace = i.TOPLACE.ToString(); |
| | | taskCommon.isReleased = i.ISRELEASED == 1 ? "æ¯" : "å¦"; |
| | | taskCommon.hasFinished = i.HASFINISHED == 1 ? "æ¯" : "å¦"; |
| | | taskViewList.Add(taskCommon); |
| | | } |
| | | foreach (var i in task.RgvTask.OrderBy(x => x.ID)) |
| | | { |
| | | taskCommon taskCommon = new taskCommon(); |
| | | taskCommon.id = i.ID; |
| | | taskCommon.device = "RGV"; |
| | | taskCommon.deviceNum = i.USERGVID; |
| | | taskCommon.sourcePlace = i.SOURCEPLACE.ToString(); |
| | | taskCommon.toPlace = i.TOPLACE.ToString(); |
| | | taskCommon.isReleased = i.ISRELEASED == 1 ? "æ¯" : "å¦"; |
| | | taskCommon.hasFinished = i.HASFINISHED == 1 ? "æ¯" : "å¦"; |
| | | taskViewList.Add(taskCommon); |
| | | } |
| | | foreach (var i in task.SrmTask) |
| | | { |
| | | taskCommon taskCommon = new taskCommon(); |
| | | taskCommon.id = i.ID; |
| | | taskCommon.device = "å åæº"; |
| | | taskCommon.deviceNum = i.USESRMID; |
| | | taskCommon.sourcePlace = i.SOURCEPLACE; |
| | | taskCommon.toPlace = i.TOPLACE; |
| | | taskCommon.isReleased = i.ISRELEASED == 1 ? "æ¯" : "å¦"; |
| | | taskCommon.hasFinished = i.HASFINISHED == 1 ? "æ¯" : "å¦"; |
| | | taskViewList.Add(taskCommon); |
| | | } |
| | | } |
| | | else if (task.TASKTYPE == 3) |
| | | { |
| | | foreach (var i in task.SrmTask) |
| | | { |
| | | taskCommon taskCommon = new taskCommon(); |
| | | taskCommon.id = i.ID; |
| | | taskCommon.device = "å åæº"; |
| | | taskCommon.deviceNum = i.USESRMID; |
| | | taskCommon.sourcePlace = i.SOURCEPLACE; |
| | | taskCommon.toPlace = i.TOPLACE; |
| | | taskCommon.isReleased = i.ISRELEASED == 1 ? "æ¯" : "å¦"; |
| | | taskCommon.hasFinished = i.HASFINISHED == 1 ? "æ¯" : "å¦"; |
| | | taskViewList.Add(taskCommon); |
| | | } |
| | | |
| | | } |
| | | |
| | | dGVQuery.DataSource = taskViewList; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | dGVQuery.DataSource = null; |
| | | MessageBox.Show("è¾å
¥æ£ç¡®æ ¼å¼ä»»å¡å·"); |
| | | } |
| | | } |
| | | |
| | | private void button23_Click(object sender, EventArgs e) |
| | | { |
| | | int rgvID = (int)Enum.Parse(typeof(rgvid), comboBox5.Text); |
| | | if (!rgvOPC.IsRgvReady(rgvID)) |
| | | { |
| | | label1.Text = rgvID + "å·RGV设å¤ç¶æä¸ç©ºé²ï¼ä¸å
许éåä»»å¡"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | RgvTask rgvTask = null; |
| | | int palletType = 0; |
| | | using (Model edm = new Model()) |
| | | { |
| | | rgvTask = edm.RgvTask.AsNoTracking().OrderByDescending(u => u.ID).FirstOrDefault(x => x.ISRELEASED == 1 && x.HASFINISHED == 0 && x.USERGVID == rgvID); |
| | | if (rgvTask != null) |
| | | { |
| | | if (rgvTask.TASK_TASK.TASKSTATUS != "任塿§è¡ä¸") |
| | | { |
| | | label1.Text = rgvID + "å·RGV没æéè¦éåçä»»å¡"; |
| | | label1.ForeColor = Color.Red; |
| | | return; |
| | | } |
| | | try |
| | | { |
| | | palletType = rgvTask.TASK_TASK.BASE_CONTAINER.BASE_PALLET.PALLETCODE ?? 0; |
| | | } |
| | | catch |
| | | { |
| | | label1.Text = rgvID + "å·å¨å
·ç±»å转æ¢å¼å¸¸"; |
| | | label1.ForeColor = Color.Red; |
| | | return; |
| | | } |
| | | } |
| | | |
| | | } |
| | | if (rgvTask != null) |
| | | { |
| | | //int result = rgvOPC.SendRgvTask(rgvID, rgvID * 1111, Convert.ToInt32(textBox5.Text), Convert.ToInt32(textBox6.Text), (comboBox6.Text == "æ¬è¿" ? 1 : 2), pallet, 1); |
| | | int result = rgvOPC.SendRgvTask(rgvTask.USERGVID, (rgvTask.ID % 32767) + 1, rgvTask.SOURCEPLACE, rgvTask.TOPLACE, rgvTask.TASKTYPE, palletType, (rgvTask.FASTHERTASKID % 32767) + 1); |
| | | |
| | | if (result == 1) |
| | | { |
| | | label1.Text = rgvID + "å·RGVä»»å¡åéæå"; |
| | | label1.ForeColor = Color.Green; |
| | | } |
| | | else |
| | | { |
| | | label1.Text = rgvID + "å·RGVä»»å¡åé失败"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | label1.Text = rgvID + "å·RGV没æéè¦éåçä»»å¡"; |
| | | label1.ForeColor = Color.Red; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | | The primary goals of this format is to allow a simple XML format |
| | | that is mostly human readable. The generation and parsing of the |
| | | various data types are done through the TypeConverter classes |
| | | associated with the data types. |
| | | |
| | | Example: |
| | | |
| | | ... ado.net/XML headers & schema ... |
| | | <resheader name="resmimetype">text/microsoft-resx</resheader> |
| | | <resheader name="version">2.0</resheader> |
| | | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
| | | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
| | | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
| | | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
| | | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value>[base64 mime encoded serialized .NET Framework object]</value> |
| | | </data> |
| | | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
| | | <comment>This is a comment</comment> |
| | | </data> |
| | | |
| | | There are any number of "resheader" rows that contain simple |
| | | name/value pairs. |
| | | |
| | | Each data row contains a name, and value. The row also contains a |
| | | type or mimetype. Type corresponds to a .NET class that support |
| | | text/value conversion through the TypeConverter architecture. |
| | | Classes that don't support this are serialized and stored with the |
| | | mimetype set. |
| | | |
| | | The mimetype is used for serialized objects, and tells the |
| | | ResXResourceReader how to depersist the object. This is currently not |
| | | extensible. For a given mimetype the value must be set accordingly: |
| | | |
| | | Note - application/x-microsoft.net.object.binary.base64 is the format |
| | | that the ResXResourceWriter will generate, however the reader can |
| | | read any of the formats listed below. |
| | | |
| | | mimetype: application/x-microsoft.net.object.binary.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.bytearray.base64 |
| | | value : The object must be serialized into a byte array |
| | | : using a System.ComponentModel.TypeConverter |
| | | : and then encoded with base64 encoding. |
| | | --> |
| | | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
| | | <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
| | | <xsd:element name="root" msdata:IsDataSet="true"> |
| | | <xsd:complexType> |
| | | <xsd:choice maxOccurs="unbounded"> |
| | | <xsd:element name="metadata"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" use="required" type="xsd:string" /> |
| | | <xsd:attribute name="type" type="xsd:string" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="assembly"> |
| | | <xsd:complexType> |
| | | <xsd:attribute name="alias" type="xsd:string" /> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="data"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
| | | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="resheader"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:schema> |
| | | <resheader name="resmimetype"> |
| | | <value>text/microsoft-resx</value> |
| | | </resheader> |
| | | <resheader name="version"> |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <metadata name="id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>True</value> |
| | | </metadata> |
| | | <metadata name="device.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>True</value> |
| | | </metadata> |
| | | <metadata name="deviceNum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>True</value> |
| | | </metadata> |
| | | <metadata name="sourcePlace.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>True</value> |
| | | </metadata> |
| | | <metadata name="toPlace.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>True</value> |
| | | </metadata> |
| | | <metadata name="isReleased.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>True</value> |
| | | </metadata> |
| | | <metadata name="hasFinished.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>True</value> |
| | | </metadata> |
| | | <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
| | | <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAAAAAAAAAAAAAAAAAAAAA |
| | | AAD///////////7+/v/+/v7//////////////////v7+/7HP9v/F3Pj//v////////////////////// |
| | | ///////////////////////////////////s9Pv/oMX0//3+/v////////////////////////////// |
| | | ///////////////////+//7/yd73//7+/v/////////////////+/v7/frDz/5e/9f/+/v7///////// |
| | | /////////////////////////////////////////////+/2/P8wf+3/9fn9//////////////////// |
| | | //////////////////////////////3+/v9Pkuz//P3+//////////////////7+/v+Ds/P/lb71//j7 |
| | | /f/U5Pn/7fX8//7+/v///////v7+//7+/v/+/v7//f7+//v9/v/+/v7/+/39/zmE7f/0+f3//v7+//7+ |
| | | /v/+/v7//v7+//7+/v/+/v7//v7+/////////////f7+/0qQ7v/3+v3//v7+//7+/v/+/v7//v7+/4i2 |
| | | 8/+LuPH/eazw/1OV7/9Jj+7/+Pv9//7+///9/v7/vNb2//n8/f/K3/f/O4bt/3as8v+lyPX/N4Tu/6rL |
| | | 9f+pyvb/q8z1//j7/f/J3vj/b6fy/6jK9f/8/v7//v7+///////+/v7/V5ju/+/1/P/L3/j/pcj1/9jn |
| | | +f/7/f3/irj0/5/F9f/9/v7/+/39/1GV7//J3vf//v7+/9vp+P8sfu//dKnx/6LH8/8yge3/LX/u/y1+ |
| | | 7/8sfu//LH7v/yx+7/8tfu//gbLy/zeE7v8sfu//LX7v/4+68//9/v7///////////9jn/D/4u75/1CT |
| | | 7v8uf+7/LH7v/z6I7/82hO//TJHw/3Co8v9qpfL/N4Tv/2Ce8P/8/v3/2+n4/1eZ8P8wgO7/UpXv/9vr |
| | | +f/l8Pv/wNj3/zWE7v+ixvX/xNv4/9bn+P87h+//LH7u/y5/7v9zqfL/vNb3//z9/f///////////2uk |
| | | 8P/Y5/n/8vj8/+31+/+91vb/krz0/0+T8P8/iu//WJjw/1mZ8P9wp/L/i7jz//z+/f/9/v7/+/39/9fn |
| | | +v9ZmfD/SpDv/+Dt+v/9/v3/QYvu/+rz/P/7/f3/ea3y/y1+7/9Sle//y9/4//3+/v///////v7+//// |
| | | ///+/v7/aqTv/83g9//8/v3/dKrx/1yb8f+LuPP/aqTy/2mk8f+z0Pb/n8T1/8nf+P/9/v7//v7+//// |
| | | /////////v7+//f7/P+EtPL/Rozv/9/s+f9Ci+//4+/6/4W08v8yge//lr/0//j7/f/+/v7//v7+//// |
| | | /////////v7+//L4/P9Pku//wNn3//3+/f+vz/b/hbTz/1SW8P8wgO7/LX7u/y5+7f88h+7/aKLw//z9 |
| | | /f////////////7//v/+/v7//v7+//3+/f+ixvT/Ro3v/zSC7/9gnfD/S5Dv/9Lk+f/+/v7///////// |
| | | ///////////////////n8fr/S5Dv/yx/7v9upvH/7vX7/2qk8P93q/L/psn1/3is8v9Slu//vdj2/7PR |
| | | 9/+hxvX/6fL7//7//v///////v7+/8Xc9/+Es/P/yt/4//X6/P+uzvX/Ln/u/2ei8f/v9vv//f7+//7+ |
| | | /v/+/v7//v7+//7+/v/+/v7//v7+/4+68v8tfu7/LH7u/yx+7/96rvH/XZvv/zeF7f8tfu7/LH7v/y1+ |
| | | 7v8tfu//LH7v/y1+7/9kn+7//f7+///////+/v7/irjz/yx+7v8tfu//M4Lu/0yS7/8vgO//YZ/w/3Cn |
| | | 8v9nofH/VJfw/1+c8P/2+v3//v7+////////////+/39/97r+v+tzfb/cKjx/2Cd7//9/v7/+vz9/+bx |
| | | +/+CsvL/QIrv/8DZ9//H3fn/3Or6/+rz+//9/v7///////7+/v+81vb/jbrz/4a18/9tpvH/Wprw/y+A |
| | | 7/86hu7/PIfu/zqG7v9Gju//ZKDw/9zp+v/+/v7////////////+/v7//v7+//7+/v/9/v3/+/z9//7+ |
| | | /v/+/v7//v7+/+Xv+//I3vj//f79//7+/v/+/v7//v7+//7+/v///v7//v7+//7+/f/+/v3//v7+//7+ |
| | | /v/+/v7/i7jx//H3/P/9/v7//P7+//7+/v/+/v7//v7+//7+/v///////////62NT/+ccCD/nHAg/5xw |
| | | IP+ccCD/nHAg/5xwIP+ccCD/nHAg/5xwH/+ccCD/nHAg/5xwIP+ccCD/nHAg/5xwIP+ccCD/nHAg/5xw |
| | | IP+ccCD/nHAg/5xwIP+ccCD/nHAg/5xwIP+ccCD/nHAg/5xwIP+ccCD/nHAh/5twIf+qikz/qIQ//5Vk |
| | | Df+VZA3/lWQN/5VkDf+VZA3/lWQN/5VkDf+VZA3/lWQN/5VkDf+VZA3/lWQN/5VkDf+VZA3/lWQN/5Vk |
| | | Df+VZA3/lWQN/5VkDf+VZA3/lWQN/5VkDf+VZA3/lWQN/5VkDf+VZA3/lWQN/5VkDf+VZQz/lGQM/6WB |
| | | PP+ng0D/lGQN/5RkDf+UZA3/lGQN/5RkDf+UZA3/lGQN/5RkDf+UZA3/lGQN/5RkDf+UZA3/lGQN/5Rk |
| | | Df+UZA3/lGQN/5RkDf+UZA3/lGQN/5RkDf+UZA3/lGQN/5RkDf+UZA3/lGQN/5RkDf+UZA3/lGQN/5Rk |
| | | Df+UZA3/pYE8//Tv6P/x7OP/8ezj//Hs4//x7OP/8ezj//Hs4//x7OP/8ezj//Hs4//x7OP/8ezj//Hs |
| | | 4//x7OP/8ezj//Hs4//x7OP/8ezj//Hs4//x7OP/8ezj//Hs4//x7OP/8ezj//Hs4//x7OP/8ezj//Hs |
| | | 4//x7OP/8ezj//Hs4//z7+j/+Pv9/6nK9P+cwvT/nML0/5nB9f+YwfX/lr/1/5S+9P+UvvT/krz0/5K8 |
| | | 8/+SvPP/kLvy/4+68v+PuvL/jrry/4u48/+LuPP/i7jz/4u48/+LuPP/i7jz/4u48/+LuPP/i7jz/4u4 |
| | | 9P+LuPT/jbny/4+68v+TvPP/ncP1/+30+/+Jt/L/LH7v/y1+7v8tfu7/LX7v/yx+7/8sf+7/LH7u/yx+ |
| | | 7/8tfu7/LX7v/y1+7/8tfu//LX7v/y1+7/8tfu//LH7v/yx+7/8sfu//LH7v/yx+7/8sfu//LH7v/yx+ |
| | | 7/8sfu//LH7v/yx+7/8sfu//LH7v/yx+7/8sfu//e67y/1ub8P8tfu//LH7v/yx/7/8sf+//LH/v/yx/ |
| | | 7/8sf+//LH/v/yx/7/8sf+//LH/v/yx/7/8sf+//LH/v/yx/7/8sf+//LH/v/yx/7/8sf+//LH/v/yx/ |
| | | 7/8sf+//LH/v/yx/7/8sf+//LH/v/yx/7/8sf+//LH7v/y1+7v9Vl+3/WZnw/3mu8f/U5fr/1OX6/9Tl |
| | | +v/U5fr/1OX6/9Tl+v/U5fr/1OX6/9Tl+v/U5fr/1OX6/9Tl+v/U5fr/1OX6/9Tl+v/U5fr/1OX6/9Tl |
| | | +v/U5fr/1OX6/9Tl+v/U5fr/1OX6/9Tl+v/U5fr/1OX6/9Tl+v/U5fn/cqnx/1SX7f9XmO//Ro7u/2mj |
| | | 8P+OuvH/aqPw/2Og8f+BsvH/fa/x/2Og8f96rvD/jrrx/4668f+OuvH/grLx/3Kp8P+OuvH/jrrx/4y5 |
| | | 8f9vp/D/ZKDx/4Cx8f+OuvH/jrrx/4668f98r/H/d6vx/32v8P9koPH/baXw/4258f9Eje7/VJft/1eY |
| | | 7/8tf+7/Z6Lx//3+/f9qpPH/LX7u/97r+v/C2vj/LX7v/57E9f/q8vz/zeH5/83h+f+gxfT/c6ry//P4 |
| | | +//N4fn/2Of6/+vz+/9EjO//udT3/+Pu+v/N4fn/zeH5/4u49P+MufT/qcr2/yx+7/+myPX/9vv9/zCA |
| | | 7f9Ul+3/V5jv/y1+7v+YwPT/9vr8/6DF9f9EjO//8/j8/+/2/P8wgO7/nsT2/6nL9v8tfu//LX7v/y1+ |
| | | 7/90qfL/0uT2/y1+7/8tfu//3+z4/3Oq8f+51fj/jbnz/y1+7/8tfu//LH7v/4y59P+qyvb/VZfw//X5 |
| | | /P/2+/3/MIDt/1SX7f9XmO//LH7u/8je9/+lyPP/1eb5/3mt8v+40/b/5fD6/1OW8P+exPb/4Oz7/7XR |
| | | 9v+10ff/ZKDw/3Sp8v/x9vv/w9v3/9Dj+P/T5Pj/O4fu/7nV+P/V5vj/tdH3/7TR9v9Sle//jLn0/6zL |
| | | 9f/M4fj/nMLz//X6/f8wgO3/VJft/1eY7/8yge3/8vn8/1CT7v/t9fv/wdj1/4S08/+61ff/hLTz/57E |
| | | 9v/E2/j/b6fy/2+n8v9Ij+//dKry/9zq+P9kn/D/e67y/+bw+v8yge7/udX3/7HP9f9vp/L/b6fy/z+J |
| | | 7/+MufT/6/P7/9vp+f9Biu7/9vr9/zCA7f9Ul+3/Wpvw/1qa8P/r9Pv/Ln/u/77Y9//8/f3/UpXv/466 |
| | | 9P+10vf/ncT1/83g+P+GtfP/hrXy/2Sg8f9zqvL/5O/4/4e18/+cwvT/8vj7/zaE7v+51ff/vdf2/4a1 |
| | | 8v+GtfL/WJnw/4y59f/7/f3/ZqHx/zuH7//2+v3/MIDt/1SX7f9bmvD/WZrw/4Oz8v8tfu//ZqHx/5nB |
| | | 9P8vgO7/T5Pw/4q48/9qo/H/nsP1/53D9f+ew/X/c6nx/1OW8P+dw/X/ncP1/5rB9f9cm/D/LX7u/3mt |
| | | 8v+dw/X/ncP1/53D9f9koPH/YZ7x/4e28/8tfu7/NIPu/5nB9P8uf+7/VJft/1ua8P8tfu//LX/v/y1/ |
| | | 7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/ |
| | | 7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LH7u/y1/7/8tf+//LX/v/yx+7/9Ul+3/W5rw/y1+ |
| | | 7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/ |
| | | 7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LX/v/y1/7/8tf+//LH7u/1SX |
| | | 7f9koPH/LX7u/yx/7/8tfu//LX7v/y1+7/8tfu//LX7v/y1+7/8tfu//LX7v/y1+7/8tfu//LX7v/y1+ |
| | | 7/8tfu//LX7v/y1+7/8tfu//LX7v/y1+7/8tfu//LX7v/y1+7/8tfu//LX7v/y1+7/8tfu//LX7v/y1+ |
| | | 7/8sfu//XJvu/8ne9/9Ulu7/UJTv/1CU7/9QlO//UJTv/1CU7/9QlO//UJTv/1CU7/9QlO//UJTv/1CU |
| | | 7/9QlO//UJTv/1CU7/9QlO//UJTv/1CU7/9QlO//UJTv/1CU7/9QlO//UJTv/1CU7/9QlO//UJTv/1CU |
| | | 7/9QlO//UJTv/1SX7//F3Pf/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= |
| | | </value> |
| | | </data> |
| | | </root> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace DeviceWCS |
| | | { |
| | | partial class FormUpdate |
| | | { |
| | | /// <summary> |
| | | /// Required designer variable. |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// Clean up any resources being used. |
| | | /// </summary> |
| | | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
| | | protected override void Dispose(bool disposing) |
| | | { |
| | | if (disposing && (components != null)) |
| | | { |
| | | components.Dispose(); |
| | | } |
| | | base.Dispose(disposing); |
| | | } |
| | | |
| | | #region Windows Form Designer generated code |
| | | |
| | | /// <summary> |
| | | /// Required method for Designer support - do not modify |
| | | /// the contents of this method with the code editor. |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | this.textBox1 = new System.Windows.Forms.TextBox(); |
| | | this.button1 = new System.Windows.Forms.Button(); |
| | | this.button2 = new System.Windows.Forms.Button(); |
| | | this.button3 = new System.Windows.Forms.Button(); |
| | | this.textBox2 = new System.Windows.Forms.TextBox(); |
| | | this.textBox3 = new System.Windows.Forms.TextBox(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // textBox1 |
| | | // |
| | | this.textBox1.Location = new System.Drawing.Point(50, 87); |
| | | this.textBox1.Name = "textBox1"; |
| | | this.textBox1.Size = new System.Drawing.Size(100, 21); |
| | | this.textBox1.TabIndex = 0; |
| | | // |
| | | // button1 |
| | | // |
| | | this.button1.Location = new System.Drawing.Point(180, 87); |
| | | this.button1.Name = "button1"; |
| | | this.button1.Size = new System.Drawing.Size(75, 23); |
| | | this.button1.TabIndex = 1; |
| | | this.button1.Text = "å é¤åºå"; |
| | | this.button1.UseVisualStyleBackColor = true; |
| | | this.button1.Click += new System.EventHandler(this.button1_Click); |
| | | // |
| | | // button2 |
| | | // |
| | | this.button2.Location = new System.Drawing.Point(180, 139); |
| | | this.button2.Name = "button2"; |
| | | this.button2.Size = new System.Drawing.Size(75, 23); |
| | | this.button2.TabIndex = 2; |
| | | this.button2.Text = "ä¿®æ¹åæ®"; |
| | | this.button2.UseVisualStyleBackColor = true; |
| | | this.button2.Click += new System.EventHandler(this.button2_Click); |
| | | // |
| | | // button3 |
| | | // |
| | | this.button3.Location = new System.Drawing.Point(180, 198); |
| | | this.button3.Name = "button3"; |
| | | this.button3.Size = new System.Drawing.Size(75, 23); |
| | | this.button3.TabIndex = 3; |
| | | this.button3.Text = "å é¤åæ®"; |
| | | this.button3.UseVisualStyleBackColor = true; |
| | | this.button3.Click += new System.EventHandler(this.button3_Click); |
| | | // |
| | | // textBox2 |
| | | // |
| | | this.textBox2.Location = new System.Drawing.Point(50, 141); |
| | | this.textBox2.Name = "textBox2"; |
| | | this.textBox2.Size = new System.Drawing.Size(100, 21); |
| | | this.textBox2.TabIndex = 4; |
| | | // |
| | | // textBox3 |
| | | // |
| | | this.textBox3.Location = new System.Drawing.Point(50, 198); |
| | | this.textBox3.Name = "textBox3"; |
| | | this.textBox3.Size = new System.Drawing.Size(100, 21); |
| | | this.textBox3.TabIndex = 5; |
| | | // |
| | | // FormUpdate |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(284, 261); |
| | | this.Controls.Add(this.textBox3); |
| | | this.Controls.Add(this.textBox2); |
| | | this.Controls.Add(this.button3); |
| | | this.Controls.Add(this.button2); |
| | | this.Controls.Add(this.textBox1); |
| | | this.Controls.Add(this.button1); |
| | | this.Name = "FormUpdate"; |
| | | this.Text = "FormUpdate"; |
| | | this.ResumeLayout(false); |
| | | this.PerformLayout(); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private System.Windows.Forms.TextBox textBox1; |
| | | private System.Windows.Forms.Button button1; |
| | | private System.Windows.Forms.Button button2; |
| | | private System.Windows.Forms.Button button3; |
| | | private System.Windows.Forms.TextBox textBox2; |
| | | private System.Windows.Forms.TextBox textBox3; |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using DeviceWCS.EDM; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace DeviceWCS |
| | | { |
| | | public partial class FormUpdate : Form |
| | | { |
| | | public FormUpdate() |
| | | { |
| | | InitializeComponent(); |
| | | } |
| | | |
| | | private void button1_Click(object sender, EventArgs e) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | int id=int.Parse(textBox1.Text); |
| | | Base_ProductPosition pp = edm.Base_ProductPosition.FirstOrDefault(x => x.ProductPosition_Id == id); |
| | | pp.ProductStorage = 0; |
| | | edm.SaveChanges(); |
| | | } |
| | | } |
| | | |
| | | private void button2_Click(object sender, EventArgs e) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | int id = int.Parse(textBox2.Text); |
| | | Purchase_Order po = edm.Purchase_Order.FirstOrDefault(x => x.Order_Id == id); |
| | | po.StatusText = "æ°å»º"; |
| | | edm.SaveChanges(); |
| | | } |
| | | } |
| | | |
| | | private void button3_Click(object sender, EventArgs e) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | int id = int.Parse(textBox3.Text); |
| | | Purchase_Order po = edm.Purchase_Order.FirstOrDefault(x => x.Order_Id == id); |
| | | edm.Purchase_Order.Remove(po); |
| | | edm.SaveChanges(); |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | | The primary goals of this format is to allow a simple XML format |
| | | that is mostly human readable. The generation and parsing of the |
| | | various data types are done through the TypeConverter classes |
| | | associated with the data types. |
| | | |
| | | Example: |
| | | |
| | | ... ado.net/XML headers & schema ... |
| | | <resheader name="resmimetype">text/microsoft-resx</resheader> |
| | | <resheader name="version">2.0</resheader> |
| | | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
| | | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
| | | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
| | | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
| | | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value>[base64 mime encoded serialized .NET Framework object]</value> |
| | | </data> |
| | | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
| | | <comment>This is a comment</comment> |
| | | </data> |
| | | |
| | | There are any number of "resheader" rows that contain simple |
| | | name/value pairs. |
| | | |
| | | Each data row contains a name, and value. The row also contains a |
| | | type or mimetype. Type corresponds to a .NET class that support |
| | | text/value conversion through the TypeConverter architecture. |
| | | Classes that don't support this are serialized and stored with the |
| | | mimetype set. |
| | | |
| | | The mimetype is used for serialized objects, and tells the |
| | | ResXResourceReader how to depersist the object. This is currently not |
| | | extensible. For a given mimetype the value must be set accordingly: |
| | | |
| | | Note - application/x-microsoft.net.object.binary.base64 is the format |
| | | that the ResXResourceWriter will generate, however the reader can |
| | | read any of the formats listed below. |
| | | |
| | | mimetype: application/x-microsoft.net.object.binary.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.bytearray.base64 |
| | | value : The object must be serialized into a byte array |
| | | : using a System.ComponentModel.TypeConverter |
| | | : and then encoded with base64 encoding. |
| | | --> |
| | | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
| | | <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
| | | <xsd:element name="root" msdata:IsDataSet="true"> |
| | | <xsd:complexType> |
| | | <xsd:choice maxOccurs="unbounded"> |
| | | <xsd:element name="metadata"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" use="required" type="xsd:string" /> |
| | | <xsd:attribute name="type" type="xsd:string" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="assembly"> |
| | | <xsd:complexType> |
| | | <xsd:attribute name="alias" type="xsd:string" /> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="data"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
| | | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="resheader"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:schema> |
| | | <resheader name="resmimetype"> |
| | | <value>text/microsoft-resx</value> |
| | | </resheader> |
| | | <resheader name="version"> |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | </root> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Threading; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace DeviceWCS |
| | | { |
| | | static class Program |
| | | { |
| | | /// <summary> |
| | | /// åºç¨ç¨åºç主å
¥å£ç¹ã |
| | | /// </summary> |
| | | [STAThread] |
| | | static void Main() |
| | | { |
| | | Application.EnableVisualStyles(); |
| | | Application.SetCompatibleTextRenderingDefault(false); |
| | | |
| | | bool result; |
| | | Mutex MyMutex = new Mutex(true, "QQJF_DeviceWCS", out result); |
| | | if (result) |
| | | { |
| | | Application.Run(new Form1()); |
| | | } |
| | | else |
| | | { |
| | | //ç¨åºå·²ç»å¯å¨ |
| | | MessageBox.Show("WCSç¨åºå·²å¯å¨"); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System.Reflection; |
| | | using System.Runtime.CompilerServices; |
| | | using System.Runtime.InteropServices; |
| | | |
| | | // æå
³ç¨åºéç常è§ä¿¡æ¯éè¿ä»¥ä¸ |
| | | // ç¹æ§éæ§å¶ãæ´æ¹è¿äºç¹æ§å¼å¯ä¿®æ¹ |
| | | // ä¸ç¨åºéå
³èçä¿¡æ¯ã |
| | | [assembly: AssemblyTitle("DeviceWCS")] |
| | | [assembly: AssemblyDescription("")] |
| | | [assembly: AssemblyConfiguration("")] |
| | | [assembly: AssemblyCompany("Microsoft")] |
| | | [assembly: AssemblyProduct("DeviceWCS")] |
| | | [assembly: AssemblyCopyright("Copyright © Microsoft 2020")] |
| | | [assembly: AssemblyTrademark("")] |
| | | [assembly: AssemblyCulture("")] |
| | | |
| | | // å° ComVisible 设置为 false 使æ¤ç¨åºéä¸çç±»å |
| | | // 对 COM ç»ä»¶ä¸å¯è§ã 妿éè¦ä» COM è®¿é®æ¤ç¨åºéä¸çç±»åï¼ |
| | | // åå°è¯¥ç±»åä¸ç ComVisible ç¹æ§è®¾ç½®ä¸º trueã |
| | | [assembly: ComVisible(false)] |
| | | |
| | | // 妿æ¤é¡¹ç®å COM å
¬å¼ï¼åä¸å GUID ç¨äºç±»ååºç ID |
| | | [assembly: Guid("02db5aa8-0912-4252-b170-03a0082f9a20")] |
| | | |
| | | // ç¨åºéççæ¬ä¿¡æ¯ç±ä¸é¢å个å¼ç»æ: |
| | | // |
| | | // ä¸»çæ¬ |
| | | // æ¬¡çæ¬ |
| | | // çæå· |
| | | // ä¿®è®¢å· |
| | | // |
| | | // å¯ä»¥æå®ææè¿äºå¼ï¼ä¹å¯ä»¥ä½¿ç¨âçæå·âåâ修订å·âçé»è®¤å¼ï¼ |
| | | // æ¹æ³æ¯æå¦ä¸æç¤ºä½¿ç¨â*â: |
| | | // [assembly: AssemblyVersion("1.0.*")] |
| | | [assembly: AssemblyVersion("1.0.0.0")] |
| | | [assembly: AssemblyFileVersion("1.0.0.0")] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // æ¤ä»£ç ç±å·¥å
·çæã |
| | | // è¿è¡æ¶çæ¬: 4.0.30319.42000 |
| | | // |
| | | // å¯¹æ¤æä»¶çæ´æ¹å¯è½ä¼å¯¼è´ä¸æ£ç¡®çè¡ä¸ºï¼å¹¶ä¸å¦æ |
| | | // éæ°çæä»£ç ï¼è¿äºæ´æ¹å°ä¸¢å¤±ã |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | namespace DeviceWCS.Properties |
| | | { |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¸ä¸ªå¼ºç±»åçèµæºç±»ï¼ç¨äºæ¥æ¾æ¬å°åçå符串çã |
| | | /// </summary> |
| | | // æ¤ç±»æ¯ç± StronglyTypedResourceBuilder |
| | | // ç±»éè¿ç±»ä¼¼äº ResGen æ Visual Studio çå·¥å
·èªå¨çæçã |
| | | // è¥è¦æ·»å æç§»é¤æåï¼è¯·ç¼è¾ .ResX æä»¶ï¼ç¶åéæ°è¿è¡ ResGen |
| | | // (以 /str ä½ä¸ºå½ä»¤é项)ï¼æéæ°çæ VS 项ç®ã |
| | | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
| | | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
| | | internal class Resources |
| | | { |
| | | |
| | | private static global::System.Resources.ResourceManager resourceMan; |
| | | |
| | | private static global::System.Globalization.CultureInfo resourceCulture; |
| | | |
| | | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] |
| | | internal Resources() |
| | | { |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è¿åæ¤ç±»ä½¿ç¨çãç¼åç ResourceManager å®ä¾ã |
| | | /// </summary> |
| | | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | internal static global::System.Resources.ResourceManager ResourceManager |
| | | { |
| | | get |
| | | { |
| | | if ((resourceMan == null)) |
| | | { |
| | | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DeviceWCS.Properties.Resources", typeof(Resources).Assembly); |
| | | resourceMan = temp; |
| | | } |
| | | return resourceMan; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 为ææèµæºæ¥æ¾éåå½å线ç¨ç CurrentUICulture 屿§ï¼ |
| | | /// æ¹æ³æ¯ä½¿ç¨æ¤å¼ºç±»åèµæºç±»ã |
| | | /// </summary> |
| | | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] |
| | | internal static global::System.Globalization.CultureInfo Culture |
| | | { |
| | | get |
| | | { |
| | | return resourceCulture; |
| | | } |
| | | set |
| | | { |
| | | resourceCulture = value; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | | The primary goals of this format is to allow a simple XML format |
| | | that is mostly human readable. The generation and parsing of the |
| | | various data types are done through the TypeConverter classes |
| | | associated with the data types. |
| | | |
| | | Example: |
| | | |
| | | ... ado.net/XML headers & schema ... |
| | | <resheader name="resmimetype">text/microsoft-resx</resheader> |
| | | <resheader name="version">2.0</resheader> |
| | | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
| | | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
| | | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
| | | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
| | | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value>[base64 mime encoded serialized .NET Framework object]</value> |
| | | </data> |
| | | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
| | | <comment>This is a comment</comment> |
| | | </data> |
| | | |
| | | There are any number of "resheader" rows that contain simple |
| | | name/value pairs. |
| | | |
| | | Each data row contains a name, and value. The row also contains a |
| | | type or mimetype. Type corresponds to a .NET class that support |
| | | text/value conversion through the TypeConverter architecture. |
| | | Classes that don't support this are serialized and stored with the |
| | | mimetype set. |
| | | |
| | | The mimetype is used for serialized objects, and tells the |
| | | ResXResourceReader how to depersist the object. This is currently not |
| | | extensible. For a given mimetype the value must be set accordingly: |
| | | |
| | | Note - application/x-microsoft.net.object.binary.base64 is the format |
| | | that the ResXResourceWriter will generate, however the reader can |
| | | read any of the formats listed below. |
| | | |
| | | mimetype: application/x-microsoft.net.object.binary.base64 |
| | | value : The object must be serialized with |
| | | : System.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.bytearray.base64 |
| | | value : The object must be serialized into a byte array |
| | | : using a System.ComponentModel.TypeConverter |
| | | : and then encoded with base64 encoding. |
| | | --> |
| | | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
| | | <xsd:element name="root" msdata:IsDataSet="true"> |
| | | <xsd:complexType> |
| | | <xsd:choice maxOccurs="unbounded"> |
| | | <xsd:element name="metadata"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | <xsd:attribute name="type" type="xsd:string" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="assembly"> |
| | | <xsd:complexType> |
| | | <xsd:attribute name="alias" type="xsd:string" /> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="data"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" /> |
| | | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="resheader"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:schema> |
| | | <resheader name="resmimetype"> |
| | | <value>text/microsoft-resx</value> |
| | | </resheader> |
| | | <resheader name="version"> |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | </root> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // æ¤ä»£ç ç±å·¥å
·çæã |
| | | // è¿è¡æ¶çæ¬:4.0.30319.42000 |
| | | // |
| | | // å¯¹æ¤æä»¶çæ´æ¹å¯è½ä¼å¯¼è´ä¸æ£ç¡®çè¡ä¸ºï¼å¹¶ä¸å¦æ |
| | | // éæ°çæä»£ç ï¼è¿äºæ´æ¹å°ä¼ä¸¢å¤±ã |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | namespace DeviceWCS.Properties { |
| | | |
| | | |
| | | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
| | | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] |
| | | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { |
| | | |
| | | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); |
| | | |
| | | public static Settings Default { |
| | | get { |
| | | return defaultInstance; |
| | | } |
| | | } |
| | | |
| | | [global::System.Configuration.ApplicationScopedSettingAttribute()] |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
| | | [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] |
| | | [global::System.Configuration.DefaultSettingValueAttribute("http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvServi" + |
| | | "ce/")] |
| | | public string DeviceWCS_rgvSRM_RgvService { |
| | | get { |
| | | return ((string)(this["DeviceWCS_rgvSRM_RgvService"])); |
| | | } |
| | | } |
| | | |
| | | [global::System.Configuration.ApplicationScopedSettingAttribute()] |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
| | | [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] |
| | | [global::System.Configuration.DefaultSettingValueAttribute("http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/")] |
| | | public string DeviceWCS_srmSER_SrmService { |
| | | get { |
| | | return ((string)(this["DeviceWCS_srmSER_SrmService"])); |
| | | } |
| | | } |
| | | |
| | | [global::System.Configuration.ApplicationScopedSettingAttribute()] |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
| | | [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] |
| | | [global::System.Configuration.DefaultSettingValueAttribute("http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/" + |
| | | "SrmTranService/")] |
| | | public string DeviceWCS_tranSRM_SrmTranService { |
| | | get { |
| | | return ((string)(this["DeviceWCS_tranSRM_SrmTranService"])); |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version='1.0' encoding='utf-8'?> |
| | | <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="DeviceWCS.Properties" GeneratedClassName="Settings"> |
| | | <Profiles /> |
| | | <Settings> |
| | | <Setting Name="DeviceWCS_rgvSRM_RgvService" Type="(Web Service URL)" Scope="Application"> |
| | | <Value Profile="(Default)">http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/</Value> |
| | | </Setting> |
| | | <Setting Name="DeviceWCS_srmSER_SrmService" Type="(Web Service URL)" Scope="Application"> |
| | | <Value Profile="(Default)">http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/</Value> |
| | | </Setting> |
| | | <Setting Name="DeviceWCS_tranSRM_SrmTranService" Type="(Web Service URL)" Scope="Application"> |
| | | <Value Profile="(Default)">http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/</Value> |
| | | </Setting> |
| | | </Settings> |
| | | </SettingsFile> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // æ¤ä»£ç ç±å·¥å
·çæã |
| | | // è¿è¡æ¶çæ¬:4.0.30319.42000 |
| | | // |
| | | // å¯¹æ¤æä»¶çæ´æ¹å¯è½ä¼å¯¼è´ä¸æ£ç¡®çè¡ä¸ºï¼å¹¶ä¸å¦æ |
| | | // éæ°çæä»£ç ï¼è¿äºæ´æ¹å°ä¼ä¸¢å¤±ã |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | // |
| | | // æ¤æºä»£ç æ¯ç± Microsoft.VSDesigner 4.0.30319.42000 çèªå¨çæã |
| | | // |
| | | #pragma warning disable 1591 |
| | | |
| | | namespace DeviceWCS.rgvSRM { |
| | | using System; |
| | | using System.Web.Services; |
| | | using System.Diagnostics; |
| | | using System.Web.Services.Protocols; |
| | | using System.Xml.Serialization; |
| | | using System.ComponentModel; |
| | | |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | [System.Web.Services.WebServiceBindingAttribute(Name="BasicHttpBinding_IRgvService", Namespace="http://tempuri.org/")] |
| | | public partial class RgvService : System.Web.Services.Protocols.SoapHttpClientProtocol { |
| | | |
| | | private System.Threading.SendOrPostCallback SendRgvTaskOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendRgvDeleteOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendRgvRlsAlertOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendRgvFinishConfirmOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback GetRgvInfoOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback IsTaskFinishOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendRgvStopOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback IsRgvReadyOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback FinishTaskOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback GetRgvPosationOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback ChangeUsefulOperationCompleted; |
| | | |
| | | private bool useDefaultCredentialsSetExplicitly; |
| | | |
| | | /// <remarks/> |
| | | public RgvService() { |
| | | this.Url = global::DeviceWCS.Properties.Settings.Default.DeviceWCS_rgvSRM_RgvService; |
| | | if ((this.IsLocalFileSystemWebService(this.Url) == true)) { |
| | | this.UseDefaultCredentials = true; |
| | | this.useDefaultCredentialsSetExplicitly = false; |
| | | } |
| | | else { |
| | | this.useDefaultCredentialsSetExplicitly = true; |
| | | } |
| | | } |
| | | |
| | | public new string Url { |
| | | get { |
| | | return base.Url; |
| | | } |
| | | set { |
| | | if ((((this.IsLocalFileSystemWebService(base.Url) == true) |
| | | && (this.useDefaultCredentialsSetExplicitly == false)) |
| | | && (this.IsLocalFileSystemWebService(value) == false))) { |
| | | base.UseDefaultCredentials = false; |
| | | } |
| | | base.Url = value; |
| | | } |
| | | } |
| | | |
| | | public new bool UseDefaultCredentials { |
| | | get { |
| | | return base.UseDefaultCredentials; |
| | | } |
| | | set { |
| | | base.UseDefaultCredentials = value; |
| | | this.useDefaultCredentialsSetExplicitly = true; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public event SendRgvTaskCompletedEventHandler SendRgvTaskCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendRgvDeleteCompletedEventHandler SendRgvDeleteCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendRgvRlsAlertCompletedEventHandler SendRgvRlsAlertCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendRgvFinishConfirmCompletedEventHandler SendRgvFinishConfirmCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event GetRgvInfoCompletedEventHandler GetRgvInfoCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event IsTaskFinishCompletedEventHandler IsTaskFinishCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendRgvStopCompletedEventHandler SendRgvStopCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event IsRgvReadyCompletedEventHandler IsRgvReadyCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event FinishTaskCompletedEventHandler FinishTaskCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event GetRgvPosationCompletedEventHandler GetRgvPosationCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event ChangeUsefulCompletedEventHandler ChangeUsefulCompleted; |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/SendRgvTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendRgvTask(int deviceId, int taskId, int sourcePlace, int toPlace, int taskType, int palletType, int fatherid) { |
| | | object[] results = this.Invoke("SendRgvTask", new object[] { |
| | | deviceId, |
| | | taskId, |
| | | sourcePlace, |
| | | toPlace, |
| | | taskType, |
| | | palletType, |
| | | fatherid}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvTaskAsync(int deviceId, int taskId, int sourcePlace, int toPlace, int taskType, int palletType, int fatherid) { |
| | | this.SendRgvTaskAsync(deviceId, taskId, sourcePlace, toPlace, taskType, palletType, fatherid, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvTaskAsync(int deviceId, int taskId, int sourcePlace, int toPlace, int taskType, int palletType, int fatherid, object userState) { |
| | | if ((this.SendRgvTaskOperationCompleted == null)) { |
| | | this.SendRgvTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendRgvTaskOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendRgvTask", new object[] { |
| | | deviceId, |
| | | taskId, |
| | | sourcePlace, |
| | | toPlace, |
| | | taskType, |
| | | palletType, |
| | | fatherid}, this.SendRgvTaskOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendRgvTaskOperationCompleted(object arg) { |
| | | if ((this.SendRgvTaskCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendRgvTaskCompleted(this, new SendRgvTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/SendRgvDelete", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendRgvDelete(int rgvId) { |
| | | object[] results = this.Invoke("SendRgvDelete", new object[] { |
| | | rgvId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvDeleteAsync(int rgvId) { |
| | | this.SendRgvDeleteAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvDeleteAsync(int rgvId, object userState) { |
| | | if ((this.SendRgvDeleteOperationCompleted == null)) { |
| | | this.SendRgvDeleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendRgvDeleteOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendRgvDelete", new object[] { |
| | | rgvId}, this.SendRgvDeleteOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendRgvDeleteOperationCompleted(object arg) { |
| | | if ((this.SendRgvDeleteCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendRgvDeleteCompleted(this, new SendRgvDeleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/SendRgvRlsAlert", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendRgvRlsAlert(int rgvId) { |
| | | object[] results = this.Invoke("SendRgvRlsAlert", new object[] { |
| | | rgvId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvRlsAlertAsync(int rgvId) { |
| | | this.SendRgvRlsAlertAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvRlsAlertAsync(int rgvId, object userState) { |
| | | if ((this.SendRgvRlsAlertOperationCompleted == null)) { |
| | | this.SendRgvRlsAlertOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendRgvRlsAlertOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendRgvRlsAlert", new object[] { |
| | | rgvId}, this.SendRgvRlsAlertOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendRgvRlsAlertOperationCompleted(object arg) { |
| | | if ((this.SendRgvRlsAlertCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendRgvRlsAlertCompleted(this, new SendRgvRlsAlertCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/SendRgvFinishConfirm", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool SendRgvFinishConfirm(int rgvId) { |
| | | object[] results = this.Invoke("SendRgvFinishConfirm", new object[] { |
| | | rgvId}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvFinishConfirmAsync(int rgvId) { |
| | | this.SendRgvFinishConfirmAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvFinishConfirmAsync(int rgvId, object userState) { |
| | | if ((this.SendRgvFinishConfirmOperationCompleted == null)) { |
| | | this.SendRgvFinishConfirmOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendRgvFinishConfirmOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendRgvFinishConfirm", new object[] { |
| | | rgvId}, this.SendRgvFinishConfirmOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendRgvFinishConfirmOperationCompleted(object arg) { |
| | | if ((this.SendRgvFinishConfirmCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendRgvFinishConfirmCompleted(this, new SendRgvFinishConfirmCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/GetRgvInfo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public string GetRgvInfo(int rgvId) { |
| | | object[] results = this.Invoke("GetRgvInfo", new object[] { |
| | | rgvId}); |
| | | return ((string)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetRgvInfoAsync(int rgvId) { |
| | | this.GetRgvInfoAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetRgvInfoAsync(int rgvId, object userState) { |
| | | if ((this.GetRgvInfoOperationCompleted == null)) { |
| | | this.GetRgvInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRgvInfoOperationCompleted); |
| | | } |
| | | this.InvokeAsync("GetRgvInfo", new object[] { |
| | | rgvId}, this.GetRgvInfoOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnGetRgvInfoOperationCompleted(object arg) { |
| | | if ((this.GetRgvInfoCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.GetRgvInfoCompleted(this, new GetRgvInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/IsTaskFinish", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool IsTaskFinish(int rgvId) { |
| | | object[] results = this.Invoke("IsTaskFinish", new object[] { |
| | | rgvId}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsTaskFinishAsync(int rgvId) { |
| | | this.IsTaskFinishAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsTaskFinishAsync(int rgvId, object userState) { |
| | | if ((this.IsTaskFinishOperationCompleted == null)) { |
| | | this.IsTaskFinishOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsTaskFinishOperationCompleted); |
| | | } |
| | | this.InvokeAsync("IsTaskFinish", new object[] { |
| | | rgvId}, this.IsTaskFinishOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnIsTaskFinishOperationCompleted(object arg) { |
| | | if ((this.IsTaskFinishCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.IsTaskFinishCompleted(this, new IsTaskFinishCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/SendRgvStop", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendRgvStop(int rgvId) { |
| | | object[] results = this.Invoke("SendRgvStop", new object[] { |
| | | rgvId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvStopAsync(int rgvId) { |
| | | this.SendRgvStopAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendRgvStopAsync(int rgvId, object userState) { |
| | | if ((this.SendRgvStopOperationCompleted == null)) { |
| | | this.SendRgvStopOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendRgvStopOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendRgvStop", new object[] { |
| | | rgvId}, this.SendRgvStopOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendRgvStopOperationCompleted(object arg) { |
| | | if ((this.SendRgvStopCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendRgvStopCompleted(this, new SendRgvStopCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/IsRgvReady", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool IsRgvReady(int rgvId) { |
| | | object[] results = this.Invoke("IsRgvReady", new object[] { |
| | | rgvId}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsRgvReadyAsync(int rgvId) { |
| | | this.IsRgvReadyAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsRgvReadyAsync(int rgvId, object userState) { |
| | | if ((this.IsRgvReadyOperationCompleted == null)) { |
| | | this.IsRgvReadyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsRgvReadyOperationCompleted); |
| | | } |
| | | this.InvokeAsync("IsRgvReady", new object[] { |
| | | rgvId}, this.IsRgvReadyOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnIsRgvReadyOperationCompleted(object arg) { |
| | | if ((this.IsRgvReadyCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.IsRgvReadyCompleted(this, new IsRgvReadyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/FinishTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int FinishTask(int rgvId) { |
| | | object[] results = this.Invoke("FinishTask", new object[] { |
| | | rgvId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void FinishTaskAsync(int rgvId) { |
| | | this.FinishTaskAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void FinishTaskAsync(int rgvId, object userState) { |
| | | if ((this.FinishTaskOperationCompleted == null)) { |
| | | this.FinishTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFinishTaskOperationCompleted); |
| | | } |
| | | this.InvokeAsync("FinishTask", new object[] { |
| | | rgvId}, this.FinishTaskOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnFinishTaskOperationCompleted(object arg) { |
| | | if ((this.FinishTaskCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.FinishTaskCompleted(this, new FinishTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/GetRgvPosation", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public long GetRgvPosation(int rgvId) { |
| | | object[] results = this.Invoke("GetRgvPosation", new object[] { |
| | | rgvId}); |
| | | return ((long)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetRgvPosationAsync(int rgvId) { |
| | | this.GetRgvPosationAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetRgvPosationAsync(int rgvId, object userState) { |
| | | if ((this.GetRgvPosationOperationCompleted == null)) { |
| | | this.GetRgvPosationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRgvPosationOperationCompleted); |
| | | } |
| | | this.InvokeAsync("GetRgvPosation", new object[] { |
| | | rgvId}, this.GetRgvPosationOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnGetRgvPosationOperationCompleted(object arg) { |
| | | if ((this.GetRgvPosationCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.GetRgvPosationCompleted(this, new GetRgvPosationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/IRgvService/ChangeUseful", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool ChangeUseful(int rgvId) { |
| | | object[] results = this.Invoke("ChangeUseful", new object[] { |
| | | rgvId}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void ChangeUsefulAsync(int rgvId) { |
| | | this.ChangeUsefulAsync(rgvId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void ChangeUsefulAsync(int rgvId, object userState) { |
| | | if ((this.ChangeUsefulOperationCompleted == null)) { |
| | | this.ChangeUsefulOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeUsefulOperationCompleted); |
| | | } |
| | | this.InvokeAsync("ChangeUseful", new object[] { |
| | | rgvId}, this.ChangeUsefulOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnChangeUsefulOperationCompleted(object arg) { |
| | | if ((this.ChangeUsefulCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.ChangeUsefulCompleted(this, new ChangeUsefulCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public new void CancelAsync(object userState) { |
| | | base.CancelAsync(userState); |
| | | } |
| | | |
| | | private bool IsLocalFileSystemWebService(string url) { |
| | | if (((url == null) |
| | | || (url == string.Empty))) { |
| | | return false; |
| | | } |
| | | System.Uri wsUri = new System.Uri(url); |
| | | if (((wsUri.Port >= 1024) |
| | | && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendRgvTaskCompletedEventHandler(object sender, SendRgvTaskCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendRgvTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendRgvTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendRgvDeleteCompletedEventHandler(object sender, SendRgvDeleteCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendRgvDeleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendRgvDeleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendRgvRlsAlertCompletedEventHandler(object sender, SendRgvRlsAlertCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendRgvRlsAlertCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendRgvRlsAlertCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendRgvFinishConfirmCompletedEventHandler(object sender, SendRgvFinishConfirmCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendRgvFinishConfirmCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendRgvFinishConfirmCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void GetRgvInfoCompletedEventHandler(object sender, GetRgvInfoCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class GetRgvInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal GetRgvInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((string)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void IsTaskFinishCompletedEventHandler(object sender, IsTaskFinishCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class IsTaskFinishCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal IsTaskFinishCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendRgvStopCompletedEventHandler(object sender, SendRgvStopCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendRgvStopCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendRgvStopCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void IsRgvReadyCompletedEventHandler(object sender, IsRgvReadyCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class IsRgvReadyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal IsRgvReadyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void FinishTaskCompletedEventHandler(object sender, FinishTaskCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class FinishTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal FinishTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void GetRgvPosationCompletedEventHandler(object sender, GetRgvPosationCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class GetRgvPosationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal GetRgvPosationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public long Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((long)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void ChangeUsefulCompletedEventHandler(object sender, ChangeUsefulCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class ChangeUsefulCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal ChangeUsefulCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | #pragma warning restore 1591 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
| | | <Results> |
| | | <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/?disco" filename="item.disco" /> |
| | | <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/?wsdl" filename="RgvService.wsdl" /> |
| | | </Results> |
| | | </DiscoveryClientResultsFile> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="RgvService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> |
| | | <wsdl:types> |
| | | <xsd:schema targetNamespace="http://tempuri.org/Imports"> |
| | | <xsd:import namespace="http://www.w3.org/2001/XMLSchema" /> |
| | | </xsd:schema> |
| | | </wsdl:types> |
| | | <wsdl:message name="IRgvService_SendRgvTask_InputMessage"> |
| | | <wsdl:part name="deviceId" type="xsd:int" /> |
| | | <wsdl:part name="taskId" type="xsd:int" /> |
| | | <wsdl:part name="sourcePlace" type="xsd:int" /> |
| | | <wsdl:part name="toPlace" type="xsd:int" /> |
| | | <wsdl:part name="taskType" type="xsd:int" /> |
| | | <wsdl:part name="palletType" type="xsd:int" /> |
| | | <wsdl:part name="fatherid" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvTask_OutputMessage"> |
| | | <wsdl:part name="SendRgvTaskResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvDelete_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvDelete_OutputMessage"> |
| | | <wsdl:part name="SendRgvDeleteResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvRlsAlert_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvRlsAlert_OutputMessage"> |
| | | <wsdl:part name="SendRgvRlsAlertResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvFinishConfirm_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvFinishConfirm_OutputMessage"> |
| | | <wsdl:part name="SendRgvFinishConfirmResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_GetRgvInfo_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_GetRgvInfo_OutputMessage"> |
| | | <wsdl:part name="GetRgvInfoResult" type="xsd:string" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_IsTaskFinish_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_IsTaskFinish_OutputMessage"> |
| | | <wsdl:part name="IsTaskFinishResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvStop_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_SendRgvStop_OutputMessage"> |
| | | <wsdl:part name="SendRgvStopResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_IsRgvReady_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_IsRgvReady_OutputMessage"> |
| | | <wsdl:part name="IsRgvReadyResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_FinishTask_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_FinishTask_OutputMessage"> |
| | | <wsdl:part name="FinishTaskResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_GetRgvPosation_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_GetRgvPosation_OutputMessage"> |
| | | <wsdl:part name="GetRgvPosationResult" type="xsd:long" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_ChangeUseful_InputMessage"> |
| | | <wsdl:part name="rgvId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="IRgvService_ChangeUseful_OutputMessage"> |
| | | <wsdl:part name="ChangeUsefulResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:portType name="IRgvService"> |
| | | <wsdl:operation name="SendRgvTask" parameterOrder="deviceId taskId sourcePlace toPlace taskType palletType fatherid"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/SendRgvTask" message="tns:IRgvService_SendRgvTask_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/SendRgvTaskResponse" message="tns:IRgvService_SendRgvTask_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendRgvDelete" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/SendRgvDelete" message="tns:IRgvService_SendRgvDelete_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/SendRgvDeleteResponse" message="tns:IRgvService_SendRgvDelete_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendRgvRlsAlert" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/SendRgvRlsAlert" message="tns:IRgvService_SendRgvRlsAlert_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/SendRgvRlsAlertResponse" message="tns:IRgvService_SendRgvRlsAlert_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendRgvFinishConfirm" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/SendRgvFinishConfirm" message="tns:IRgvService_SendRgvFinishConfirm_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/SendRgvFinishConfirmResponse" message="tns:IRgvService_SendRgvFinishConfirm_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetRgvInfo" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/GetRgvInfo" message="tns:IRgvService_GetRgvInfo_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/GetRgvInfoResponse" message="tns:IRgvService_GetRgvInfo_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsTaskFinish" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/IsTaskFinish" message="tns:IRgvService_IsTaskFinish_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/IsTaskFinishResponse" message="tns:IRgvService_IsTaskFinish_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendRgvStop" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/SendRgvStop" message="tns:IRgvService_SendRgvStop_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/SendRgvStopResponse" message="tns:IRgvService_SendRgvStop_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsRgvReady" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/IsRgvReady" message="tns:IRgvService_IsRgvReady_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/IsRgvReadyResponse" message="tns:IRgvService_IsRgvReady_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="FinishTask" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/FinishTask" message="tns:IRgvService_FinishTask_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/FinishTaskResponse" message="tns:IRgvService_FinishTask_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetRgvPosation" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/GetRgvPosation" message="tns:IRgvService_GetRgvPosation_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/GetRgvPosationResponse" message="tns:IRgvService_GetRgvPosation_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="ChangeUseful" parameterOrder="rgvId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/IRgvService/ChangeUseful" message="tns:IRgvService_ChangeUseful_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/IRgvService/ChangeUsefulResponse" message="tns:IRgvService_ChangeUseful_OutputMessage" /> |
| | | </wsdl:operation> |
| | | </wsdl:portType> |
| | | <wsdl:binding name="BasicHttpBinding_IRgvService" type="tns:IRgvService"> |
| | | <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> |
| | | <wsdl:operation name="SendRgvTask"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/SendRgvTask" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendRgvDelete"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/SendRgvDelete" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendRgvRlsAlert"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/SendRgvRlsAlert" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendRgvFinishConfirm"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/SendRgvFinishConfirm" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetRgvInfo"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/GetRgvInfo" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsTaskFinish"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/IsTaskFinish" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendRgvStop"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/SendRgvStop" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsRgvReady"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/IsRgvReady" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="FinishTask"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/FinishTask" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetRgvPosation"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/GetRgvPosation" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="ChangeUseful"> |
| | | <soap:operation soapAction="http://tempuri.org/IRgvService/ChangeUseful" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | </wsdl:binding> |
| | | <wsdl:service name="RgvService"> |
| | | <wsdl:port name="BasicHttpBinding_IRgvService" binding="tns:BasicHttpBinding_IRgvService"> |
| | | <soap:address location="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/" /> |
| | | </wsdl:port> |
| | | </wsdl:service> |
| | | </wsdl:definitions> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> |
| | | <contractRef ref="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/?wsdl" docRef="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.RGV.RgvService/RgvService/" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> |
| | | </discovery> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // æ¤ä»£ç ç±å·¥å
·çæã |
| | | // è¿è¡æ¶çæ¬:4.0.30319.42000 |
| | | // |
| | | // å¯¹æ¤æä»¶çæ´æ¹å¯è½ä¼å¯¼è´ä¸æ£ç¡®çè¡ä¸ºï¼å¹¶ä¸å¦æ |
| | | // éæ°çæä»£ç ï¼è¿äºæ´æ¹å°ä¼ä¸¢å¤±ã |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | // |
| | | // æ¤æºä»£ç æ¯ç± Microsoft.VSDesigner 4.0.30319.42000 çèªå¨çæã |
| | | // |
| | | #pragma warning disable 1591 |
| | | |
| | | namespace DeviceWCS.srmSER { |
| | | using System; |
| | | using System.Web.Services; |
| | | using System.Diagnostics; |
| | | using System.Web.Services.Protocols; |
| | | using System.Xml.Serialization; |
| | | using System.ComponentModel; |
| | | |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | [System.Web.Services.WebServiceBindingAttribute(Name="BasicHttpBinding_ISrmService", Namespace="http://tempuri.org/")] |
| | | public partial class SrmService : System.Web.Services.Protocols.SoapHttpClientProtocol { |
| | | |
| | | private System.Threading.SendOrPostCallback GetSrmInfoOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendSrmDeleteOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendSrmTaskFinishConfirmOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendSrmEStopOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendSrmMoveOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendSrmTaskOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SrmRlsAlertOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback IsTaskFinishOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback IsReadyOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback FinishTaskOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback DeleteMainTaskOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback DeleteMainTaskByContainerNameOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback IsNotAlarmOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback UseAutoMoveOperationCompleted; |
| | | |
| | | private bool useDefaultCredentialsSetExplicitly; |
| | | |
| | | /// <remarks/> |
| | | public SrmService() { |
| | | this.Url = global::DeviceWCS.Properties.Settings.Default.DeviceWCS_srmSER_SrmService; |
| | | if ((this.IsLocalFileSystemWebService(this.Url) == true)) { |
| | | this.UseDefaultCredentials = true; |
| | | this.useDefaultCredentialsSetExplicitly = false; |
| | | } |
| | | else { |
| | | this.useDefaultCredentialsSetExplicitly = true; |
| | | } |
| | | } |
| | | |
| | | public new string Url { |
| | | get { |
| | | return base.Url; |
| | | } |
| | | set { |
| | | if ((((this.IsLocalFileSystemWebService(base.Url) == true) |
| | | && (this.useDefaultCredentialsSetExplicitly == false)) |
| | | && (this.IsLocalFileSystemWebService(value) == false))) { |
| | | base.UseDefaultCredentials = false; |
| | | } |
| | | base.Url = value; |
| | | } |
| | | } |
| | | |
| | | public new bool UseDefaultCredentials { |
| | | get { |
| | | return base.UseDefaultCredentials; |
| | | } |
| | | set { |
| | | base.UseDefaultCredentials = value; |
| | | this.useDefaultCredentialsSetExplicitly = true; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public event GetSrmInfoCompletedEventHandler GetSrmInfoCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendSrmDeleteCompletedEventHandler SendSrmDeleteCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendSrmTaskFinishConfirmCompletedEventHandler SendSrmTaskFinishConfirmCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendSrmEStopCompletedEventHandler SendSrmEStopCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendSrmMoveCompletedEventHandler SendSrmMoveCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendSrmTaskCompletedEventHandler SendSrmTaskCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SrmRlsAlertCompletedEventHandler SrmRlsAlertCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event IsTaskFinishCompletedEventHandler IsTaskFinishCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event IsReadyCompletedEventHandler IsReadyCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event FinishTaskCompletedEventHandler FinishTaskCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event DeleteMainTaskCompletedEventHandler DeleteMainTaskCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event DeleteMainTaskByContainerNameCompletedEventHandler DeleteMainTaskByContainerNameCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event IsNotAlarmCompletedEventHandler IsNotAlarmCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event UseAutoMoveCompletedEventHandler UseAutoMoveCompleted; |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/GetSrmInfo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public string GetSrmInfo(int srmId) { |
| | | object[] results = this.Invoke("GetSrmInfo", new object[] { |
| | | srmId}); |
| | | return ((string)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetSrmInfoAsync(int srmId) { |
| | | this.GetSrmInfoAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetSrmInfoAsync(int srmId, object userState) { |
| | | if ((this.GetSrmInfoOperationCompleted == null)) { |
| | | this.GetSrmInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSrmInfoOperationCompleted); |
| | | } |
| | | this.InvokeAsync("GetSrmInfo", new object[] { |
| | | srmId}, this.GetSrmInfoOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnGetSrmInfoOperationCompleted(object arg) { |
| | | if ((this.GetSrmInfoCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.GetSrmInfoCompleted(this, new GetSrmInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmDelete", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendSrmDelete(int srmId) { |
| | | object[] results = this.Invoke("SendSrmDelete", new object[] { |
| | | srmId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmDeleteAsync(int srmId) { |
| | | this.SendSrmDeleteAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmDeleteAsync(int srmId, object userState) { |
| | | if ((this.SendSrmDeleteOperationCompleted == null)) { |
| | | this.SendSrmDeleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmDeleteOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendSrmDelete", new object[] { |
| | | srmId}, this.SendSrmDeleteOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendSrmDeleteOperationCompleted(object arg) { |
| | | if ((this.SendSrmDeleteCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendSrmDeleteCompleted(this, new SendSrmDeleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmTaskFinishConfirm", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendSrmTaskFinishConfirm(int srmId) { |
| | | object[] results = this.Invoke("SendSrmTaskFinishConfirm", new object[] { |
| | | srmId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmTaskFinishConfirmAsync(int srmId) { |
| | | this.SendSrmTaskFinishConfirmAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmTaskFinishConfirmAsync(int srmId, object userState) { |
| | | if ((this.SendSrmTaskFinishConfirmOperationCompleted == null)) { |
| | | this.SendSrmTaskFinishConfirmOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmTaskFinishConfirmOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendSrmTaskFinishConfirm", new object[] { |
| | | srmId}, this.SendSrmTaskFinishConfirmOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendSrmTaskFinishConfirmOperationCompleted(object arg) { |
| | | if ((this.SendSrmTaskFinishConfirmCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendSrmTaskFinishConfirmCompleted(this, new SendSrmTaskFinishConfirmCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmEStop", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendSrmEStop(int srmId) { |
| | | object[] results = this.Invoke("SendSrmEStop", new object[] { |
| | | srmId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmEStopAsync(int srmId) { |
| | | this.SendSrmEStopAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmEStopAsync(int srmId, object userState) { |
| | | if ((this.SendSrmEStopOperationCompleted == null)) { |
| | | this.SendSrmEStopOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmEStopOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendSrmEStop", new object[] { |
| | | srmId}, this.SendSrmEStopOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendSrmEStopOperationCompleted(object arg) { |
| | | if ((this.SendSrmEStopCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendSrmEStopCompleted(this, new SendSrmEStopCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmMove", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendSrmMove(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather) { |
| | | object[] results = this.Invoke("SendSrmMove", new object[] { |
| | | srmId, |
| | | taskId, |
| | | toPlace, |
| | | command, |
| | | palletType, |
| | | taskFather}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmMoveAsync(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather) { |
| | | this.SendSrmMoveAsync(srmId, taskId, toPlace, command, palletType, taskFather, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmMoveAsync(int srmId, int taskId, string toPlace, int command, int palletType, int taskFather, object userState) { |
| | | if ((this.SendSrmMoveOperationCompleted == null)) { |
| | | this.SendSrmMoveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmMoveOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendSrmMove", new object[] { |
| | | srmId, |
| | | taskId, |
| | | toPlace, |
| | | command, |
| | | palletType, |
| | | taskFather}, this.SendSrmMoveOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendSrmMoveOperationCompleted(object arg) { |
| | | if ((this.SendSrmMoveCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendSrmMoveCompleted(this, new SendSrmMoveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SendSrmTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendSrmTask(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather) { |
| | | object[] results = this.Invoke("SendSrmTask", new object[] { |
| | | srmId, |
| | | taskId, |
| | | sourcePlace, |
| | | toPlace, |
| | | pallet, |
| | | taskFather}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmTaskAsync(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather) { |
| | | this.SendSrmTaskAsync(srmId, taskId, sourcePlace, toPlace, pallet, taskFather, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendSrmTaskAsync(int srmId, int taskId, string sourcePlace, string toPlace, int pallet, int taskFather, object userState) { |
| | | if ((this.SendSrmTaskOperationCompleted == null)) { |
| | | this.SendSrmTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendSrmTaskOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendSrmTask", new object[] { |
| | | srmId, |
| | | taskId, |
| | | sourcePlace, |
| | | toPlace, |
| | | pallet, |
| | | taskFather}, this.SendSrmTaskOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendSrmTaskOperationCompleted(object arg) { |
| | | if ((this.SendSrmTaskCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendSrmTaskCompleted(this, new SendSrmTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/SrmRlsAlert", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public void SrmRlsAlert(int srmId) { |
| | | this.Invoke("SrmRlsAlert", new object[] { |
| | | srmId}); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SrmRlsAlertAsync(int srmId) { |
| | | this.SrmRlsAlertAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SrmRlsAlertAsync(int srmId, object userState) { |
| | | if ((this.SrmRlsAlertOperationCompleted == null)) { |
| | | this.SrmRlsAlertOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSrmRlsAlertOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SrmRlsAlert", new object[] { |
| | | srmId}, this.SrmRlsAlertOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSrmRlsAlertOperationCompleted(object arg) { |
| | | if ((this.SrmRlsAlertCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SrmRlsAlertCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/IsTaskFinish", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int IsTaskFinish(int srmId) { |
| | | object[] results = this.Invoke("IsTaskFinish", new object[] { |
| | | srmId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsTaskFinishAsync(int srmId) { |
| | | this.IsTaskFinishAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsTaskFinishAsync(int srmId, object userState) { |
| | | if ((this.IsTaskFinishOperationCompleted == null)) { |
| | | this.IsTaskFinishOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsTaskFinishOperationCompleted); |
| | | } |
| | | this.InvokeAsync("IsTaskFinish", new object[] { |
| | | srmId}, this.IsTaskFinishOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnIsTaskFinishOperationCompleted(object arg) { |
| | | if ((this.IsTaskFinishCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.IsTaskFinishCompleted(this, new IsTaskFinishCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/IsReady", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool IsReady(int srmId) { |
| | | object[] results = this.Invoke("IsReady", new object[] { |
| | | srmId}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsReadyAsync(int srmId) { |
| | | this.IsReadyAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsReadyAsync(int srmId, object userState) { |
| | | if ((this.IsReadyOperationCompleted == null)) { |
| | | this.IsReadyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsReadyOperationCompleted); |
| | | } |
| | | this.InvokeAsync("IsReady", new object[] { |
| | | srmId}, this.IsReadyOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnIsReadyOperationCompleted(object arg) { |
| | | if ((this.IsReadyCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.IsReadyCompleted(this, new IsReadyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/FinishTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int FinishTask(int srmId) { |
| | | object[] results = this.Invoke("FinishTask", new object[] { |
| | | srmId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void FinishTaskAsync(int srmId) { |
| | | this.FinishTaskAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void FinishTaskAsync(int srmId, object userState) { |
| | | if ((this.FinishTaskOperationCompleted == null)) { |
| | | this.FinishTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFinishTaskOperationCompleted); |
| | | } |
| | | this.InvokeAsync("FinishTask", new object[] { |
| | | srmId}, this.FinishTaskOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnFinishTaskOperationCompleted(object arg) { |
| | | if ((this.FinishTaskCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.FinishTaskCompleted(this, new FinishTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/DeleteMainTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool DeleteMainTask(int id, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] tranDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] rgvDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] srmDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/")] out string[] placeList, out int dir) { |
| | | object[] results = this.Invoke("DeleteMainTask", new object[] { |
| | | id}); |
| | | tranDoingId = ((int[])(results[1])); |
| | | rgvDoingId = ((int[])(results[2])); |
| | | srmDoingId = ((int[])(results[3])); |
| | | placeList = ((string[])(results[4])); |
| | | dir = ((int)(results[5])); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void DeleteMainTaskAsync(int id) { |
| | | this.DeleteMainTaskAsync(id, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void DeleteMainTaskAsync(int id, object userState) { |
| | | if ((this.DeleteMainTaskOperationCompleted == null)) { |
| | | this.DeleteMainTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteMainTaskOperationCompleted); |
| | | } |
| | | this.InvokeAsync("DeleteMainTask", new object[] { |
| | | id}, this.DeleteMainTaskOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnDeleteMainTaskOperationCompleted(object arg) { |
| | | if ((this.DeleteMainTaskCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.DeleteMainTaskCompleted(this, new DeleteMainTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/DeleteMainTaskByContainerName", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool DeleteMainTaskByContainerName(string containerName, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] tranDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] rgvDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] out int[] srmDoingId, [System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/")] out string[] placeList, out int dir) { |
| | | object[] results = this.Invoke("DeleteMainTaskByContainerName", new object[] { |
| | | containerName}); |
| | | tranDoingId = ((int[])(results[1])); |
| | | rgvDoingId = ((int[])(results[2])); |
| | | srmDoingId = ((int[])(results[3])); |
| | | placeList = ((string[])(results[4])); |
| | | dir = ((int)(results[5])); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void DeleteMainTaskByContainerNameAsync(string containerName) { |
| | | this.DeleteMainTaskByContainerNameAsync(containerName, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void DeleteMainTaskByContainerNameAsync(string containerName, object userState) { |
| | | if ((this.DeleteMainTaskByContainerNameOperationCompleted == null)) { |
| | | this.DeleteMainTaskByContainerNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteMainTaskByContainerNameOperationCompleted); |
| | | } |
| | | this.InvokeAsync("DeleteMainTaskByContainerName", new object[] { |
| | | containerName}, this.DeleteMainTaskByContainerNameOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnDeleteMainTaskByContainerNameOperationCompleted(object arg) { |
| | | if ((this.DeleteMainTaskByContainerNameCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.DeleteMainTaskByContainerNameCompleted(this, new DeleteMainTaskByContainerNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/IsNotAlarm", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool IsNotAlarm(int srmId) { |
| | | object[] results = this.Invoke("IsNotAlarm", new object[] { |
| | | srmId}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsNotAlarmAsync(int srmId) { |
| | | this.IsNotAlarmAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsNotAlarmAsync(int srmId, object userState) { |
| | | if ((this.IsNotAlarmOperationCompleted == null)) { |
| | | this.IsNotAlarmOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsNotAlarmOperationCompleted); |
| | | } |
| | | this.InvokeAsync("IsNotAlarm", new object[] { |
| | | srmId}, this.IsNotAlarmOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnIsNotAlarmOperationCompleted(object arg) { |
| | | if ((this.IsNotAlarmCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.IsNotAlarmCompleted(this, new IsNotAlarmCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmService/UseAutoMove", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool UseAutoMove(int srmId) { |
| | | object[] results = this.Invoke("UseAutoMove", new object[] { |
| | | srmId}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void UseAutoMoveAsync(int srmId) { |
| | | this.UseAutoMoveAsync(srmId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void UseAutoMoveAsync(int srmId, object userState) { |
| | | if ((this.UseAutoMoveOperationCompleted == null)) { |
| | | this.UseAutoMoveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUseAutoMoveOperationCompleted); |
| | | } |
| | | this.InvokeAsync("UseAutoMove", new object[] { |
| | | srmId}, this.UseAutoMoveOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnUseAutoMoveOperationCompleted(object arg) { |
| | | if ((this.UseAutoMoveCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.UseAutoMoveCompleted(this, new UseAutoMoveCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public new void CancelAsync(object userState) { |
| | | base.CancelAsync(userState); |
| | | } |
| | | |
| | | private bool IsLocalFileSystemWebService(string url) { |
| | | if (((url == null) |
| | | || (url == string.Empty))) { |
| | | return false; |
| | | } |
| | | System.Uri wsUri = new System.Uri(url); |
| | | if (((wsUri.Port >= 1024) |
| | | && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void GetSrmInfoCompletedEventHandler(object sender, GetSrmInfoCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class GetSrmInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal GetSrmInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((string)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendSrmDeleteCompletedEventHandler(object sender, SendSrmDeleteCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendSrmDeleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendSrmDeleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendSrmTaskFinishConfirmCompletedEventHandler(object sender, SendSrmTaskFinishConfirmCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendSrmTaskFinishConfirmCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendSrmTaskFinishConfirmCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendSrmEStopCompletedEventHandler(object sender, SendSrmEStopCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendSrmEStopCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendSrmEStopCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendSrmMoveCompletedEventHandler(object sender, SendSrmMoveCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendSrmMoveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendSrmMoveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendSrmTaskCompletedEventHandler(object sender, SendSrmTaskCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendSrmTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendSrmTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SrmRlsAlertCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void IsTaskFinishCompletedEventHandler(object sender, IsTaskFinishCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class IsTaskFinishCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal IsTaskFinishCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void IsReadyCompletedEventHandler(object sender, IsReadyCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class IsReadyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal IsReadyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void FinishTaskCompletedEventHandler(object sender, FinishTaskCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class FinishTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal FinishTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void DeleteMainTaskCompletedEventHandler(object sender, DeleteMainTaskCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class DeleteMainTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal DeleteMainTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int[] tranDoingId { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int[])(this.results[1])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int[] rgvDoingId { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int[])(this.results[2])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int[] srmDoingId { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int[])(this.results[3])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string[] placeList { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((string[])(this.results[4])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int dir { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[5])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void DeleteMainTaskByContainerNameCompletedEventHandler(object sender, DeleteMainTaskByContainerNameCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class DeleteMainTaskByContainerNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal DeleteMainTaskByContainerNameCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int[] tranDoingId { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int[])(this.results[1])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int[] rgvDoingId { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int[])(this.results[2])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int[] srmDoingId { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int[])(this.results[3])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string[] placeList { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((string[])(this.results[4])); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int dir { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[5])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void IsNotAlarmCompletedEventHandler(object sender, IsNotAlarmCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class IsNotAlarmCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal IsNotAlarmCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void UseAutoMoveCompletedEventHandler(object sender, UseAutoMoveCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class UseAutoMoveCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal UseAutoMoveCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | #pragma warning restore 1591 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
| | | <Results> |
| | | <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/?disco" filename="item.disco" /> |
| | | <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/?wsdl" filename="SrmService.wsdl" /> |
| | | <DiscoveryClientResult referenceType="System.Web.Services.Discovery.SchemaReference" url="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/?xsd=xsd0" filename="item.xsd" /> |
| | | </Results> |
| | | </DiscoveryClientResultsFile> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SrmService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> |
| | | <wsdl:types> |
| | | <xsd:schema targetNamespace="http://tempuri.org/Imports"> |
| | | <xsd:import namespace="http://www.w3.org/2001/XMLSchema" /> |
| | | <xsd:import schemaLocation="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/?xsd=xsd0" namespace="http://tempuri.org/" /> |
| | | </xsd:schema> |
| | | </wsdl:types> |
| | | <wsdl:message name="ISrmService_GetSrmInfo_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_GetSrmInfo_OutputMessage"> |
| | | <wsdl:part name="GetSrmInfoResult" type="xsd:string" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmDelete_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmDelete_OutputMessage"> |
| | | <wsdl:part name="SendSrmDeleteResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmTaskFinishConfirm_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmTaskFinishConfirm_OutputMessage"> |
| | | <wsdl:part name="SendSrmTaskFinishConfirmResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmEStop_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmEStop_OutputMessage"> |
| | | <wsdl:part name="SendSrmEStopResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmMove_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | <wsdl:part name="taskId" type="xsd:int" /> |
| | | <wsdl:part name="toPlace" type="xsd:string" /> |
| | | <wsdl:part name="command" type="xsd:int" /> |
| | | <wsdl:part name="palletType" type="xsd:int" /> |
| | | <wsdl:part name="taskFather" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmMove_OutputMessage"> |
| | | <wsdl:part name="SendSrmMoveResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmTask_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | <wsdl:part name="taskId" type="xsd:int" /> |
| | | <wsdl:part name="sourcePlace" type="xsd:string" /> |
| | | <wsdl:part name="toPlace" type="xsd:string" /> |
| | | <wsdl:part name="pallet" type="xsd:int" /> |
| | | <wsdl:part name="taskFather" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SendSrmTask_OutputMessage"> |
| | | <wsdl:part name="SendSrmTaskResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SrmRlsAlert_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_SrmRlsAlert_OutputMessage" /> |
| | | <wsdl:message name="ISrmService_IsTaskFinish_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_IsTaskFinish_OutputMessage"> |
| | | <wsdl:part name="IsTaskFinishResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_IsReady_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_IsReady_OutputMessage"> |
| | | <wsdl:part name="IsReadyResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_FinishTask_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_FinishTask_OutputMessage"> |
| | | <wsdl:part name="FinishTaskResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_DeleteMainTask_InputMessage"> |
| | | <wsdl:part name="id" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_DeleteMainTask_OutputMessage"> |
| | | <wsdl:part name="DeleteMainTaskResult" type="xsd:boolean" /> |
| | | <wsdl:part name="tranDoingId" type="tns:ArrayOfInt" /> |
| | | <wsdl:part name="rgvDoingId" type="tns:ArrayOfInt" /> |
| | | <wsdl:part name="srmDoingId" type="tns:ArrayOfInt" /> |
| | | <wsdl:part name="placeList" type="tns:ArrayOfString" /> |
| | | <wsdl:part name="dir" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_DeleteMainTaskByContainerName_InputMessage"> |
| | | <wsdl:part name="containerName" type="xsd:string" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_DeleteMainTaskByContainerName_OutputMessage"> |
| | | <wsdl:part name="DeleteMainTaskByContainerNameResult" type="xsd:boolean" /> |
| | | <wsdl:part name="tranDoingId" type="tns:ArrayOfInt" /> |
| | | <wsdl:part name="rgvDoingId" type="tns:ArrayOfInt" /> |
| | | <wsdl:part name="srmDoingId" type="tns:ArrayOfInt" /> |
| | | <wsdl:part name="placeList" type="tns:ArrayOfString" /> |
| | | <wsdl:part name="dir" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_IsNotAlarm_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_IsNotAlarm_OutputMessage"> |
| | | <wsdl:part name="IsNotAlarmResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_UseAutoMove_InputMessage"> |
| | | <wsdl:part name="srmId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmService_UseAutoMove_OutputMessage"> |
| | | <wsdl:part name="UseAutoMoveResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:portType name="ISrmService"> |
| | | <wsdl:operation name="GetSrmInfo" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/GetSrmInfo" message="tns:ISrmService_GetSrmInfo_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/GetSrmInfoResponse" message="tns:ISrmService_GetSrmInfo_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmDelete" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/SendSrmDelete" message="tns:ISrmService_SendSrmDelete_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/SendSrmDeleteResponse" message="tns:ISrmService_SendSrmDelete_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmTaskFinishConfirm" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirm" message="tns:ISrmService_SendSrmTaskFinishConfirm_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirmResponse" message="tns:ISrmService_SendSrmTaskFinishConfirm_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmEStop" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/SendSrmEStop" message="tns:ISrmService_SendSrmEStop_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/SendSrmEStopResponse" message="tns:ISrmService_SendSrmEStop_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmMove" parameterOrder="srmId taskId toPlace command palletType taskFather"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/SendSrmMove" message="tns:ISrmService_SendSrmMove_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/SendSrmMoveResponse" message="tns:ISrmService_SendSrmMove_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmTask" parameterOrder="srmId taskId sourcePlace toPlace pallet taskFather"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/SendSrmTask" message="tns:ISrmService_SendSrmTask_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/SendSrmTaskResponse" message="tns:ISrmService_SendSrmTask_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SrmRlsAlert" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/SrmRlsAlert" message="tns:ISrmService_SrmRlsAlert_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/SrmRlsAlertResponse" message="tns:ISrmService_SrmRlsAlert_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsTaskFinish" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/IsTaskFinish" message="tns:ISrmService_IsTaskFinish_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/IsTaskFinishResponse" message="tns:ISrmService_IsTaskFinish_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsReady" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/IsReady" message="tns:ISrmService_IsReady_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/IsReadyResponse" message="tns:ISrmService_IsReady_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="FinishTask" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/FinishTask" message="tns:ISrmService_FinishTask_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/FinishTaskResponse" message="tns:ISrmService_FinishTask_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="DeleteMainTask" parameterOrder="id tranDoingId rgvDoingId srmDoingId placeList dir"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/DeleteMainTask" message="tns:ISrmService_DeleteMainTask_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/DeleteMainTaskResponse" message="tns:ISrmService_DeleteMainTask_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="DeleteMainTaskByContainerName" parameterOrder="containerName tranDoingId rgvDoingId srmDoingId placeList dir"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/DeleteMainTaskByContainerName" message="tns:ISrmService_DeleteMainTaskByContainerName_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/DeleteMainTaskByContainerNameResponse" message="tns:ISrmService_DeleteMainTaskByContainerName_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsNotAlarm" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/IsNotAlarm" message="tns:ISrmService_IsNotAlarm_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/IsNotAlarmResponse" message="tns:ISrmService_IsNotAlarm_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="UseAutoMove" parameterOrder="srmId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmService/UseAutoMove" message="tns:ISrmService_UseAutoMove_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmService/UseAutoMoveResponse" message="tns:ISrmService_UseAutoMove_OutputMessage" /> |
| | | </wsdl:operation> |
| | | </wsdl:portType> |
| | | <wsdl:binding name="BasicHttpBinding_ISrmService" type="tns:ISrmService"> |
| | | <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> |
| | | <wsdl:operation name="GetSrmInfo"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/GetSrmInfo" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmDelete"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/SendSrmDelete" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmTaskFinishConfirm"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/SendSrmTaskFinishConfirm" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmEStop"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/SendSrmEStop" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmMove"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/SendSrmMove" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendSrmTask"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/SendSrmTask" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SrmRlsAlert"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/SrmRlsAlert" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsTaskFinish"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/IsTaskFinish" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsReady"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/IsReady" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="FinishTask"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/FinishTask" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="DeleteMainTask"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/DeleteMainTask" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="DeleteMainTaskByContainerName"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/DeleteMainTaskByContainerName" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsNotAlarm"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/IsNotAlarm" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="UseAutoMove"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmService/UseAutoMove" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | </wsdl:binding> |
| | | <wsdl:service name="SrmService"> |
| | | <wsdl:port name="BasicHttpBinding_ISrmService" binding="tns:BasicHttpBinding_ISrmService"> |
| | | <soap:address location="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/" /> |
| | | </wsdl:port> |
| | | </wsdl:service> |
| | | </wsdl:definitions> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> |
| | | <contractRef ref="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/?wsdl" docRef="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SrmService/SrmService/" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> |
| | | </discovery> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| | | <xs:complexType name="ArrayOfInt"> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | <xs:complexType name="ArrayOfString"> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:schema> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | //------------------------------------------------------------------------------ |
| | | // <auto-generated> |
| | | // æ¤ä»£ç ç±å·¥å
·çæã |
| | | // è¿è¡æ¶çæ¬:4.0.30319.42000 |
| | | // |
| | | // å¯¹æ¤æä»¶çæ´æ¹å¯è½ä¼å¯¼è´ä¸æ£ç¡®çè¡ä¸ºï¼å¹¶ä¸å¦æ |
| | | // éæ°çæä»£ç ï¼è¿äºæ´æ¹å°ä¼ä¸¢å¤±ã |
| | | // </auto-generated> |
| | | //------------------------------------------------------------------------------ |
| | | |
| | | // |
| | | // æ¤æºä»£ç æ¯ç± Microsoft.VSDesigner 4.0.30319.42000 çèªå¨çæã |
| | | // |
| | | #pragma warning disable 1591 |
| | | |
| | | namespace DeviceWCS.tranSRM { |
| | | using System; |
| | | using System.Web.Services; |
| | | using System.Diagnostics; |
| | | using System.Web.Services.Protocols; |
| | | using System.Xml.Serialization; |
| | | using System.ComponentModel; |
| | | |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | [System.Web.Services.WebServiceBindingAttribute(Name="BasicHttpBinding_ISrmTranService", Namespace="http://tempuri.org/")] |
| | | public partial class SrmTranService : System.Web.Services.Protocols.SoapHttpClientProtocol { |
| | | |
| | | private System.Threading.SendOrPostCallback HasTranGoodsOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback ErrorTranGoodsOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback GetSrmConveyorStationInfoOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendGoodsSizeOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendGoodsReadyOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendWeightOkOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback GetGoodsWeightOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback GetGoodsBarcodeOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback IsPassedOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendTranStopOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendTranDeleteOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendTranResetOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback ClearTranGoodsOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback FinishTaskOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback SendGoodsTypeOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback UnlockTranOperationCompleted; |
| | | |
| | | private System.Threading.SendOrPostCallback UnFullTranOperationCompleted; |
| | | |
| | | private bool useDefaultCredentialsSetExplicitly; |
| | | |
| | | /// <remarks/> |
| | | public SrmTranService() { |
| | | this.Url = global::DeviceWCS.Properties.Settings.Default.DeviceWCS_tranSRM_SrmTranService; |
| | | if ((this.IsLocalFileSystemWebService(this.Url) == true)) { |
| | | this.UseDefaultCredentials = true; |
| | | this.useDefaultCredentialsSetExplicitly = false; |
| | | } |
| | | else { |
| | | this.useDefaultCredentialsSetExplicitly = true; |
| | | } |
| | | } |
| | | |
| | | public new string Url { |
| | | get { |
| | | return base.Url; |
| | | } |
| | | set { |
| | | if ((((this.IsLocalFileSystemWebService(base.Url) == true) |
| | | && (this.useDefaultCredentialsSetExplicitly == false)) |
| | | && (this.IsLocalFileSystemWebService(value) == false))) { |
| | | base.UseDefaultCredentials = false; |
| | | } |
| | | base.Url = value; |
| | | } |
| | | } |
| | | |
| | | public new bool UseDefaultCredentials { |
| | | get { |
| | | return base.UseDefaultCredentials; |
| | | } |
| | | set { |
| | | base.UseDefaultCredentials = value; |
| | | this.useDefaultCredentialsSetExplicitly = true; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public event HasTranGoodsCompletedEventHandler HasTranGoodsCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event ErrorTranGoodsCompletedEventHandler ErrorTranGoodsCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event GetSrmConveyorStationInfoCompletedEventHandler GetSrmConveyorStationInfoCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendGoodsSizeCompletedEventHandler SendGoodsSizeCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendGoodsReadyCompletedEventHandler SendGoodsReadyCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendWeightOkCompletedEventHandler SendWeightOkCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event GetGoodsWeightCompletedEventHandler GetGoodsWeightCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event GetGoodsBarcodeCompletedEventHandler GetGoodsBarcodeCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event IsPassedCompletedEventHandler IsPassedCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendTranStopCompletedEventHandler SendTranStopCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendTranDeleteCompletedEventHandler SendTranDeleteCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendTranResetCompletedEventHandler SendTranResetCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event ClearTranGoodsCompletedEventHandler ClearTranGoodsCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event FinishTaskCompletedEventHandler FinishTaskCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event SendGoodsTypeCompletedEventHandler SendGoodsTypeCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event UnlockTranCompletedEventHandler UnlockTranCompleted; |
| | | |
| | | /// <remarks/> |
| | | public event UnFullTranCompletedEventHandler UnFullTranCompleted; |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/HasTranGoods", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | [return: System.Xml.Serialization.XmlArrayAttribute()] |
| | | [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] |
| | | public int[] HasTranGoods() { |
| | | object[] results = this.Invoke("HasTranGoods", new object[0]); |
| | | return ((int[])(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void HasTranGoodsAsync() { |
| | | this.HasTranGoodsAsync(null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void HasTranGoodsAsync(object userState) { |
| | | if ((this.HasTranGoodsOperationCompleted == null)) { |
| | | this.HasTranGoodsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnHasTranGoodsOperationCompleted); |
| | | } |
| | | this.InvokeAsync("HasTranGoods", new object[0], this.HasTranGoodsOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnHasTranGoodsOperationCompleted(object arg) { |
| | | if ((this.HasTranGoodsCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.HasTranGoodsCompleted(this, new HasTranGoodsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/ErrorTranGoods", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | [return: System.Xml.Serialization.XmlArrayAttribute()] |
| | | [return: System.Xml.Serialization.XmlArrayItemAttribute(Namespace="http://tempuri.org/", IsNullable=false)] |
| | | public int[] ErrorTranGoods() { |
| | | object[] results = this.Invoke("ErrorTranGoods", new object[0]); |
| | | return ((int[])(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void ErrorTranGoodsAsync() { |
| | | this.ErrorTranGoodsAsync(null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void ErrorTranGoodsAsync(object userState) { |
| | | if ((this.ErrorTranGoodsOperationCompleted == null)) { |
| | | this.ErrorTranGoodsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnErrorTranGoodsOperationCompleted); |
| | | } |
| | | this.InvokeAsync("ErrorTranGoods", new object[0], this.ErrorTranGoodsOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnErrorTranGoodsOperationCompleted(object arg) { |
| | | if ((this.ErrorTranGoodsCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.ErrorTranGoodsCompleted(this, new ErrorTranGoodsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/GetSrmConveyorStationInfo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public string GetSrmConveyorStationInfo(int transPlaceId) { |
| | | object[] results = this.Invoke("GetSrmConveyorStationInfo", new object[] { |
| | | transPlaceId}); |
| | | return ((string)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetSrmConveyorStationInfoAsync(int transPlaceId) { |
| | | this.GetSrmConveyorStationInfoAsync(transPlaceId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetSrmConveyorStationInfoAsync(int transPlaceId, object userState) { |
| | | if ((this.GetSrmConveyorStationInfoOperationCompleted == null)) { |
| | | this.GetSrmConveyorStationInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSrmConveyorStationInfoOperationCompleted); |
| | | } |
| | | this.InvokeAsync("GetSrmConveyorStationInfo", new object[] { |
| | | transPlaceId}, this.GetSrmConveyorStationInfoOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnGetSrmConveyorStationInfoOperationCompleted(object arg) { |
| | | if ((this.GetSrmConveyorStationInfoCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.GetSrmConveyorStationInfoCompleted(this, new GetSrmConveyorStationInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/SendGoodsSize", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool SendGoodsSize(int transId, double length, double width, double height) { |
| | | object[] results = this.Invoke("SendGoodsSize", new object[] { |
| | | transId, |
| | | length, |
| | | width, |
| | | height}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendGoodsSizeAsync(int transId, double length, double width, double height) { |
| | | this.SendGoodsSizeAsync(transId, length, width, height, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendGoodsSizeAsync(int transId, double length, double width, double height, object userState) { |
| | | if ((this.SendGoodsSizeOperationCompleted == null)) { |
| | | this.SendGoodsSizeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendGoodsSizeOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendGoodsSize", new object[] { |
| | | transId, |
| | | length, |
| | | width, |
| | | height}, this.SendGoodsSizeOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendGoodsSizeOperationCompleted(object arg) { |
| | | if ((this.SendGoodsSizeCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendGoodsSizeCompleted(this, new SendGoodsSizeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/SendGoodsReady", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendGoodsReady(int startId, int endId, int taskId, int fatherid) { |
| | | object[] results = this.Invoke("SendGoodsReady", new object[] { |
| | | startId, |
| | | endId, |
| | | taskId, |
| | | fatherid}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendGoodsReadyAsync(int startId, int endId, int taskId, int fatherid) { |
| | | this.SendGoodsReadyAsync(startId, endId, taskId, fatherid, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendGoodsReadyAsync(int startId, int endId, int taskId, int fatherid, object userState) { |
| | | if ((this.SendGoodsReadyOperationCompleted == null)) { |
| | | this.SendGoodsReadyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendGoodsReadyOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendGoodsReady", new object[] { |
| | | startId, |
| | | endId, |
| | | taskId, |
| | | fatherid}, this.SendGoodsReadyOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendGoodsReadyOperationCompleted(object arg) { |
| | | if ((this.SendGoodsReadyCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendGoodsReadyCompleted(this, new SendGoodsReadyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/SendWeightOk", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool SendWeightOk(int transId, bool isOk) { |
| | | object[] results = this.Invoke("SendWeightOk", new object[] { |
| | | transId, |
| | | isOk}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendWeightOkAsync(int transId, bool isOk) { |
| | | this.SendWeightOkAsync(transId, isOk, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendWeightOkAsync(int transId, bool isOk, object userState) { |
| | | if ((this.SendWeightOkOperationCompleted == null)) { |
| | | this.SendWeightOkOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendWeightOkOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendWeightOk", new object[] { |
| | | transId, |
| | | isOk}, this.SendWeightOkOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendWeightOkOperationCompleted(object arg) { |
| | | if ((this.SendWeightOkCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendWeightOkCompleted(this, new SendWeightOkCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/GetGoodsWeight", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public string GetGoodsWeight(int transId) { |
| | | object[] results = this.Invoke("GetGoodsWeight", new object[] { |
| | | transId}); |
| | | return ((string)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetGoodsWeightAsync(int transId) { |
| | | this.GetGoodsWeightAsync(transId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetGoodsWeightAsync(int transId, object userState) { |
| | | if ((this.GetGoodsWeightOperationCompleted == null)) { |
| | | this.GetGoodsWeightOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGoodsWeightOperationCompleted); |
| | | } |
| | | this.InvokeAsync("GetGoodsWeight", new object[] { |
| | | transId}, this.GetGoodsWeightOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnGetGoodsWeightOperationCompleted(object arg) { |
| | | if ((this.GetGoodsWeightCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.GetGoodsWeightCompleted(this, new GetGoodsWeightCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/GetGoodsBarcode", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public string GetGoodsBarcode(int transId) { |
| | | object[] results = this.Invoke("GetGoodsBarcode", new object[] { |
| | | transId}); |
| | | return ((string)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetGoodsBarcodeAsync(int transId) { |
| | | this.GetGoodsBarcodeAsync(transId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void GetGoodsBarcodeAsync(int transId, object userState) { |
| | | if ((this.GetGoodsBarcodeOperationCompleted == null)) { |
| | | this.GetGoodsBarcodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetGoodsBarcodeOperationCompleted); |
| | | } |
| | | this.InvokeAsync("GetGoodsBarcode", new object[] { |
| | | transId}, this.GetGoodsBarcodeOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnGetGoodsBarcodeOperationCompleted(object arg) { |
| | | if ((this.GetGoodsBarcodeCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.GetGoodsBarcodeCompleted(this, new GetGoodsBarcodeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/IsPassed", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int IsPassed(int transId) { |
| | | object[] results = this.Invoke("IsPassed", new object[] { |
| | | transId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsPassedAsync(int transId) { |
| | | this.IsPassedAsync(transId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void IsPassedAsync(int transId, object userState) { |
| | | if ((this.IsPassedOperationCompleted == null)) { |
| | | this.IsPassedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIsPassedOperationCompleted); |
| | | } |
| | | this.InvokeAsync("IsPassed", new object[] { |
| | | transId}, this.IsPassedOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnIsPassedOperationCompleted(object arg) { |
| | | if ((this.IsPassedCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.IsPassedCompleted(this, new IsPassedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/SendTranStop", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendTranStop(int transId) { |
| | | object[] results = this.Invoke("SendTranStop", new object[] { |
| | | transId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendTranStopAsync(int transId) { |
| | | this.SendTranStopAsync(transId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendTranStopAsync(int transId, object userState) { |
| | | if ((this.SendTranStopOperationCompleted == null)) { |
| | | this.SendTranStopOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendTranStopOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendTranStop", new object[] { |
| | | transId}, this.SendTranStopOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendTranStopOperationCompleted(object arg) { |
| | | if ((this.SendTranStopCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendTranStopCompleted(this, new SendTranStopCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/SendTranDelete", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendTranDelete(int transId) { |
| | | object[] results = this.Invoke("SendTranDelete", new object[] { |
| | | transId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendTranDeleteAsync(int transId) { |
| | | this.SendTranDeleteAsync(transId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendTranDeleteAsync(int transId, object userState) { |
| | | if ((this.SendTranDeleteOperationCompleted == null)) { |
| | | this.SendTranDeleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendTranDeleteOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendTranDelete", new object[] { |
| | | transId}, this.SendTranDeleteOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendTranDeleteOperationCompleted(object arg) { |
| | | if ((this.SendTranDeleteCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendTranDeleteCompleted(this, new SendTranDeleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/SendTranReset", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int SendTranReset(int transId) { |
| | | object[] results = this.Invoke("SendTranReset", new object[] { |
| | | transId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendTranResetAsync(int transId) { |
| | | this.SendTranResetAsync(transId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendTranResetAsync(int transId, object userState) { |
| | | if ((this.SendTranResetOperationCompleted == null)) { |
| | | this.SendTranResetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendTranResetOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendTranReset", new object[] { |
| | | transId}, this.SendTranResetOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendTranResetOperationCompleted(object arg) { |
| | | if ((this.SendTranResetCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendTranResetCompleted(this, new SendTranResetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/ClearTranGoods", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool ClearTranGoods(int transId) { |
| | | object[] results = this.Invoke("ClearTranGoods", new object[] { |
| | | transId}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void ClearTranGoodsAsync(int transId) { |
| | | this.ClearTranGoodsAsync(transId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void ClearTranGoodsAsync(int transId, object userState) { |
| | | if ((this.ClearTranGoodsOperationCompleted == null)) { |
| | | this.ClearTranGoodsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnClearTranGoodsOperationCompleted); |
| | | } |
| | | this.InvokeAsync("ClearTranGoods", new object[] { |
| | | transId}, this.ClearTranGoodsOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnClearTranGoodsOperationCompleted(object arg) { |
| | | if ((this.ClearTranGoodsCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.ClearTranGoodsCompleted(this, new ClearTranGoodsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/FinishTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public int FinishTask(int transId) { |
| | | object[] results = this.Invoke("FinishTask", new object[] { |
| | | transId}); |
| | | return ((int)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void FinishTaskAsync(int transId) { |
| | | this.FinishTaskAsync(transId, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void FinishTaskAsync(int transId, object userState) { |
| | | if ((this.FinishTaskOperationCompleted == null)) { |
| | | this.FinishTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFinishTaskOperationCompleted); |
| | | } |
| | | this.InvokeAsync("FinishTask", new object[] { |
| | | transId}, this.FinishTaskOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnFinishTaskOperationCompleted(object arg) { |
| | | if ((this.FinishTaskCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.FinishTaskCompleted(this, new FinishTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/SendGoodsType", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool SendGoodsType(int transId, int palletType) { |
| | | object[] results = this.Invoke("SendGoodsType", new object[] { |
| | | transId, |
| | | palletType}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendGoodsTypeAsync(int transId, int palletType) { |
| | | this.SendGoodsTypeAsync(transId, palletType, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void SendGoodsTypeAsync(int transId, int palletType, object userState) { |
| | | if ((this.SendGoodsTypeOperationCompleted == null)) { |
| | | this.SendGoodsTypeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendGoodsTypeOperationCompleted); |
| | | } |
| | | this.InvokeAsync("SendGoodsType", new object[] { |
| | | transId, |
| | | palletType}, this.SendGoodsTypeOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnSendGoodsTypeOperationCompleted(object arg) { |
| | | if ((this.SendGoodsTypeCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.SendGoodsTypeCompleted(this, new SendGoodsTypeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/UnlockTran", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool UnlockTran(int east) { |
| | | object[] results = this.Invoke("UnlockTran", new object[] { |
| | | east}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void UnlockTranAsync(int east) { |
| | | this.UnlockTranAsync(east, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void UnlockTranAsync(int east, object userState) { |
| | | if ((this.UnlockTranOperationCompleted == null)) { |
| | | this.UnlockTranOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUnlockTranOperationCompleted); |
| | | } |
| | | this.InvokeAsync("UnlockTran", new object[] { |
| | | east}, this.UnlockTranOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnUnlockTranOperationCompleted(object arg) { |
| | | if ((this.UnlockTranCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.UnlockTranCompleted(this, new UnlockTranCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://tempuri.org/ISrmTranService/UnFullTran", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal)] |
| | | public bool UnFullTran(int east) { |
| | | object[] results = this.Invoke("UnFullTran", new object[] { |
| | | east}); |
| | | return ((bool)(results[0])); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void UnFullTranAsync(int east) { |
| | | this.UnFullTranAsync(east, null); |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public void UnFullTranAsync(int east, object userState) { |
| | | if ((this.UnFullTranOperationCompleted == null)) { |
| | | this.UnFullTranOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUnFullTranOperationCompleted); |
| | | } |
| | | this.InvokeAsync("UnFullTran", new object[] { |
| | | east}, this.UnFullTranOperationCompleted, userState); |
| | | } |
| | | |
| | | private void OnUnFullTranOperationCompleted(object arg) { |
| | | if ((this.UnFullTranCompleted != null)) { |
| | | System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); |
| | | this.UnFullTranCompleted(this, new UnFullTranCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public new void CancelAsync(object userState) { |
| | | base.CancelAsync(userState); |
| | | } |
| | | |
| | | private bool IsLocalFileSystemWebService(string url) { |
| | | if (((url == null) |
| | | || (url == string.Empty))) { |
| | | return false; |
| | | } |
| | | System.Uri wsUri = new System.Uri(url); |
| | | if (((wsUri.Port >= 1024) |
| | | && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void HasTranGoodsCompletedEventHandler(object sender, HasTranGoodsCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class HasTranGoodsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal HasTranGoodsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int[] Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int[])(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void ErrorTranGoodsCompletedEventHandler(object sender, ErrorTranGoodsCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class ErrorTranGoodsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal ErrorTranGoodsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int[] Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int[])(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void GetSrmConveyorStationInfoCompletedEventHandler(object sender, GetSrmConveyorStationInfoCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class GetSrmConveyorStationInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal GetSrmConveyorStationInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((string)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendGoodsSizeCompletedEventHandler(object sender, SendGoodsSizeCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendGoodsSizeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendGoodsSizeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendGoodsReadyCompletedEventHandler(object sender, SendGoodsReadyCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendGoodsReadyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendGoodsReadyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendWeightOkCompletedEventHandler(object sender, SendWeightOkCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendWeightOkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendWeightOkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void GetGoodsWeightCompletedEventHandler(object sender, GetGoodsWeightCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class GetGoodsWeightCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal GetGoodsWeightCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((string)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void GetGoodsBarcodeCompletedEventHandler(object sender, GetGoodsBarcodeCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class GetGoodsBarcodeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal GetGoodsBarcodeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public string Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((string)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void IsPassedCompletedEventHandler(object sender, IsPassedCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class IsPassedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal IsPassedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendTranStopCompletedEventHandler(object sender, SendTranStopCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendTranStopCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendTranStopCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendTranDeleteCompletedEventHandler(object sender, SendTranDeleteCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendTranDeleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendTranDeleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendTranResetCompletedEventHandler(object sender, SendTranResetCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendTranResetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendTranResetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void ClearTranGoodsCompletedEventHandler(object sender, ClearTranGoodsCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class ClearTranGoodsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal ClearTranGoodsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void FinishTaskCompletedEventHandler(object sender, FinishTaskCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class FinishTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal FinishTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public int Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((int)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void SendGoodsTypeCompletedEventHandler(object sender, SendGoodsTypeCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class SendGoodsTypeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal SendGoodsTypeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void UnlockTranCompletedEventHandler(object sender, UnlockTranCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class UnlockTranCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal UnlockTranCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | public delegate void UnFullTranCompletedEventHandler(object sender, UnFullTranCompletedEventArgs e); |
| | | |
| | | /// <remarks/> |
| | | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")] |
| | | [System.Diagnostics.DebuggerStepThroughAttribute()] |
| | | [System.ComponentModel.DesignerCategoryAttribute("code")] |
| | | public partial class UnFullTranCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { |
| | | |
| | | private object[] results; |
| | | |
| | | internal UnFullTranCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : |
| | | base(exception, cancelled, userState) { |
| | | this.results = results; |
| | | } |
| | | |
| | | /// <remarks/> |
| | | public bool Result { |
| | | get { |
| | | this.RaiseExceptionIfNecessary(); |
| | | return ((bool)(this.results[0])); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | #pragma warning restore 1591 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
| | | <Results> |
| | | <DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/?disco" filename="item.disco" /> |
| | | <DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/?wsdl" filename="SrmTranService.wsdl" /> |
| | | <DiscoveryClientResult referenceType="System.Web.Services.Discovery.SchemaReference" url="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/?xsd=xsd0" filename="item.xsd" /> |
| | | </Results> |
| | | </DiscoveryClientResultsFile> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SrmTranService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> |
| | | <wsdl:types> |
| | | <xsd:schema targetNamespace="http://tempuri.org/Imports"> |
| | | <xsd:import schemaLocation="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/?xsd=xsd0" namespace="http://tempuri.org/" /> |
| | | <xsd:import namespace="http://www.w3.org/2001/XMLSchema" /> |
| | | </xsd:schema> |
| | | </wsdl:types> |
| | | <wsdl:message name="ISrmTranService_HasTranGoods_InputMessage" /> |
| | | <wsdl:message name="ISrmTranService_HasTranGoods_OutputMessage"> |
| | | <wsdl:part name="HasTranGoodsResult" type="tns:ArrayOfInt" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_ErrorTranGoods_InputMessage" /> |
| | | <wsdl:message name="ISrmTranService_ErrorTranGoods_OutputMessage"> |
| | | <wsdl:part name="ErrorTranGoodsResult" type="tns:ArrayOfInt" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_GetSrmConveyorStationInfo_InputMessage"> |
| | | <wsdl:part name="transPlaceId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_GetSrmConveyorStationInfo_OutputMessage"> |
| | | <wsdl:part name="GetSrmConveyorStationInfoResult" type="xsd:string" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendGoodsSize_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | <wsdl:part name="length" type="xsd:double" /> |
| | | <wsdl:part name="width" type="xsd:double" /> |
| | | <wsdl:part name="height" type="xsd:double" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendGoodsSize_OutputMessage"> |
| | | <wsdl:part name="SendGoodsSizeResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendGoodsReady_InputMessage"> |
| | | <wsdl:part name="startId" type="xsd:int" /> |
| | | <wsdl:part name="endId" type="xsd:int" /> |
| | | <wsdl:part name="taskId" type="xsd:int" /> |
| | | <wsdl:part name="fatherid" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendGoodsReady_OutputMessage"> |
| | | <wsdl:part name="SendGoodsReadyResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendWeightOk_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | <wsdl:part name="isOk" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendWeightOk_OutputMessage"> |
| | | <wsdl:part name="SendWeightOkResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_GetGoodsWeight_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_GetGoodsWeight_OutputMessage"> |
| | | <wsdl:part name="GetGoodsWeightResult" type="xsd:string" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_GetGoodsBarcode_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_GetGoodsBarcode_OutputMessage"> |
| | | <wsdl:part name="GetGoodsBarcodeResult" type="xsd:string" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_IsPassed_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_IsPassed_OutputMessage"> |
| | | <wsdl:part name="IsPassedResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendTranStop_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendTranStop_OutputMessage"> |
| | | <wsdl:part name="SendTranStopResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendTranDelete_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendTranDelete_OutputMessage"> |
| | | <wsdl:part name="SendTranDeleteResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendTranReset_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendTranReset_OutputMessage"> |
| | | <wsdl:part name="SendTranResetResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_ClearTranGoods_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_ClearTranGoods_OutputMessage"> |
| | | <wsdl:part name="ClearTranGoodsResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_FinishTask_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_FinishTask_OutputMessage"> |
| | | <wsdl:part name="FinishTaskResult" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendGoodsType_InputMessage"> |
| | | <wsdl:part name="transId" type="xsd:int" /> |
| | | <wsdl:part name="palletType" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_SendGoodsType_OutputMessage"> |
| | | <wsdl:part name="SendGoodsTypeResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_UnlockTran_InputMessage"> |
| | | <wsdl:part name="east" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_UnlockTran_OutputMessage"> |
| | | <wsdl:part name="UnlockTranResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_UnFullTran_InputMessage"> |
| | | <wsdl:part name="east" type="xsd:int" /> |
| | | </wsdl:message> |
| | | <wsdl:message name="ISrmTranService_UnFullTran_OutputMessage"> |
| | | <wsdl:part name="UnFullTranResult" type="xsd:boolean" /> |
| | | </wsdl:message> |
| | | <wsdl:portType name="ISrmTranService"> |
| | | <wsdl:operation name="HasTranGoods"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/HasTranGoods" message="tns:ISrmTranService_HasTranGoods_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/HasTranGoodsResponse" message="tns:ISrmTranService_HasTranGoods_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="ErrorTranGoods"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/ErrorTranGoods" message="tns:ISrmTranService_ErrorTranGoods_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/ErrorTranGoodsResponse" message="tns:ISrmTranService_ErrorTranGoods_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetSrmConveyorStationInfo" parameterOrder="transPlaceId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/GetSrmConveyorStationInfo" message="tns:ISrmTranService_GetSrmConveyorStationInfo_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/GetSrmConveyorStationInfoResponse" message="tns:ISrmTranService_GetSrmConveyorStationInfo_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendGoodsSize" parameterOrder="transId length width height"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/SendGoodsSize" message="tns:ISrmTranService_SendGoodsSize_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/SendGoodsSizeResponse" message="tns:ISrmTranService_SendGoodsSize_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendGoodsReady" parameterOrder="startId endId taskId fatherid"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/SendGoodsReady" message="tns:ISrmTranService_SendGoodsReady_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/SendGoodsReadyResponse" message="tns:ISrmTranService_SendGoodsReady_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendWeightOk" parameterOrder="transId isOk"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/SendWeightOk" message="tns:ISrmTranService_SendWeightOk_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/SendWeightOkResponse" message="tns:ISrmTranService_SendWeightOk_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetGoodsWeight" parameterOrder="transId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/GetGoodsWeight" message="tns:ISrmTranService_GetGoodsWeight_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/GetGoodsWeightResponse" message="tns:ISrmTranService_GetGoodsWeight_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetGoodsBarcode" parameterOrder="transId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/GetGoodsBarcode" message="tns:ISrmTranService_GetGoodsBarcode_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/GetGoodsBarcodeResponse" message="tns:ISrmTranService_GetGoodsBarcode_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsPassed" parameterOrder="transId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/IsPassed" message="tns:ISrmTranService_IsPassed_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/IsPassedResponse" message="tns:ISrmTranService_IsPassed_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendTranStop" parameterOrder="transId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/SendTranStop" message="tns:ISrmTranService_SendTranStop_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/SendTranStopResponse" message="tns:ISrmTranService_SendTranStop_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendTranDelete" parameterOrder="transId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/SendTranDelete" message="tns:ISrmTranService_SendTranDelete_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/SendTranDeleteResponse" message="tns:ISrmTranService_SendTranDelete_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendTranReset" parameterOrder="transId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/SendTranReset" message="tns:ISrmTranService_SendTranReset_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/SendTranResetResponse" message="tns:ISrmTranService_SendTranReset_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="ClearTranGoods" parameterOrder="transId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/ClearTranGoods" message="tns:ISrmTranService_ClearTranGoods_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/ClearTranGoodsResponse" message="tns:ISrmTranService_ClearTranGoods_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="FinishTask" parameterOrder="transId"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/FinishTask" message="tns:ISrmTranService_FinishTask_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/FinishTaskResponse" message="tns:ISrmTranService_FinishTask_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendGoodsType" parameterOrder="transId palletType"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/SendGoodsType" message="tns:ISrmTranService_SendGoodsType_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/SendGoodsTypeResponse" message="tns:ISrmTranService_SendGoodsType_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="UnlockTran" parameterOrder="east"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/UnlockTran" message="tns:ISrmTranService_UnlockTran_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/UnlockTranResponse" message="tns:ISrmTranService_UnlockTran_OutputMessage" /> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="UnFullTran" parameterOrder="east"> |
| | | <wsdl:input wsaw:Action="http://tempuri.org/ISrmTranService/UnFullTran" message="tns:ISrmTranService_UnFullTran_InputMessage" /> |
| | | <wsdl:output wsaw:Action="http://tempuri.org/ISrmTranService/UnFullTranResponse" message="tns:ISrmTranService_UnFullTran_OutputMessage" /> |
| | | </wsdl:operation> |
| | | </wsdl:portType> |
| | | <wsdl:binding name="BasicHttpBinding_ISrmTranService" type="tns:ISrmTranService"> |
| | | <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" /> |
| | | <wsdl:operation name="HasTranGoods"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/HasTranGoods" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="ErrorTranGoods"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/ErrorTranGoods" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetSrmConveyorStationInfo"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/GetSrmConveyorStationInfo" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendGoodsSize"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/SendGoodsSize" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendGoodsReady"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/SendGoodsReady" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendWeightOk"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/SendWeightOk" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetGoodsWeight"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/GetGoodsWeight" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="GetGoodsBarcode"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/GetGoodsBarcode" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="IsPassed"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/IsPassed" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendTranStop"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/SendTranStop" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendTranDelete"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/SendTranDelete" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendTranReset"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/SendTranReset" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="ClearTranGoods"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/ClearTranGoods" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="FinishTask"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/FinishTask" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="SendGoodsType"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/SendGoodsType" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="UnlockTran"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/UnlockTran" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | <wsdl:operation name="UnFullTran"> |
| | | <soap:operation soapAction="http://tempuri.org/ISrmTranService/UnFullTran" style="rpc" /> |
| | | <wsdl:input> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:input> |
| | | <wsdl:output> |
| | | <soap:body use="literal" namespace="http://tempuri.org/" /> |
| | | </wsdl:output> |
| | | </wsdl:operation> |
| | | </wsdl:binding> |
| | | <wsdl:service name="SrmTranService"> |
| | | <wsdl:port name="BasicHttpBinding_ISrmTranService" binding="tns:BasicHttpBinding_ISrmTranService"> |
| | | <soap:address location="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/" /> |
| | | </wsdl:port> |
| | | </wsdl:service> |
| | | </wsdl:definitions> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/"> |
| | | <contractRef ref="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/?wsdl" docRef="http://localhost:8733/Design_Time_Addresses/iWareSda_QQJF.SRMTRAN.SrmTranService/SrmTranService/" xmlns="http://schemas.xmlsoap.org/disco/scl/" /> |
| | | </discovery> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| | | <xs:complexType name="ArrayOfInt"> |
| | | <xs:sequence> |
| | | <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" /> |
| | | </xs:sequence> |
| | | </xs:complexType> |
| | | </xs:schema> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <packages> |
| | | <package id="EntityFramework" version="6.1.3" targetFramework="net45" /> |
| | | <package id="EntityFramework.zh-Hans" version="6.1.3" targetFramework="net45" /> |
| | | </packages> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace DeviceWCS |
| | | { |
| | | class rgvINFO |
| | | { |
| | | |
| | | /// <summary>rgvåç§° |
| | | /// |
| | | /// </summary> |
| | | public string RgvName { get; set; } |
| | | /// <summary>RGVç¼å· |
| | | /// |
| | | /// </summary> |
| | | public int Rgvid { get; set; } |
| | | |
| | | /// <summary>åè´§å®æ |
| | | /// |
| | | /// </summary> |
| | | public int getFinish { get; set; } |
| | | |
| | | /// <summary>æ¾è´§å®æ |
| | | /// |
| | | /// </summary> |
| | | public int putFinish { get; set; } |
| | | |
| | | /// <summary>èæºæ¨¡å¼ |
| | | /// |
| | | /// </summary> |
| | | public int onLine { get; set; } |
| | | |
| | | /// <summary>æ¯å¦æ¥è¦ |
| | | /// |
| | | /// </summary> |
| | | public int ararm { get; set; } |
| | | |
| | | /// <summary>ä»»å¡å®æ |
| | | /// |
| | | /// </summary> |
| | | public int taskFinish { get; set; } |
| | | |
| | | /// <summary>æ¯å¦æè´§ |
| | | /// |
| | | /// </summary> |
| | | public int loaded { get; set; } |
| | | |
| | | /// <summary>æ¥è¦ä»£ç |
| | | /// |
| | | /// </summary> |
| | | |
| | | public int alarmCode { get; set; } |
| | | |
| | | /// <summary>è¿è¡ç¶æ |
| | | /// |
| | | /// </summary> |
| | | public int state { get; set; } |
| | | |
| | | /// <summary>å½åä½ç½® |
| | | /// |
| | | /// </summary> |
| | | public int pos { get; set; } |
| | | |
| | | /// <summary>ä»»å¡ID |
| | | /// |
| | | /// </summary> |
| | | public int taskId { get; set; } |
| | | |
| | | /// <summary>ä»»å¡ID |
| | | /// |
| | | /// </summary> |
| | | public int deviceTaskId { get; set; } |
| | | |
| | | /// <summary>rgvå¿è·³ |
| | | /// |
| | | /// </summary> |
| | | public int handShake { get; set; } |
| | | |
| | | /// <summary> |
| | | /// RGVå¯ç¨ |
| | | /// </summary> |
| | | public bool useful { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace DeviceWCS |
| | | { |
| | | class srmInfo |
| | | { |
| | | /// <summary>å åæºåç§° |
| | | /// |
| | | /// </summary> |
| | | public string SrmName { get; set; } |
| | | |
| | | /// <summary>设å¤ç¼å· |
| | | /// |
| | | /// </summary> |
| | | public int DeviceId { get; set; } |
| | | /// <summary>å åæºå¿è·³ï¼1-10000ï¼ |
| | | /// |
| | | /// </summary> |
| | | public int RhandShake { get; set; } |
| | | /// <summary>å åæºæ¨¡å¼ |
| | | /// 1èªå¨æ¨¡å¼ |
| | | /// 2æå¨æ¨¡å¼ |
| | | /// 3åèªå¨æ¨¡å¼ |
| | | /// 4ç»´ä¿®æ¨¡å¼ |
| | | /// 0å
³æº |
| | | /// </summary> |
| | | public int Rmode { get; set; } |
| | | /// <summary>弿¯1å åæºæ¯æ¥è¦ç¶æ |
| | | /// |
| | | /// </summary> |
| | | public int Ralarm { get; set; } |
| | | /// <summary>弿¯1表示å åæºæè´§ |
| | | /// |
| | | /// </summary> |
| | | public int RliftFull { get; set; } |
| | | /// <summary>å åæºå½ååå· |
| | | /// |
| | | /// </summary> |
| | | public int Rposx { get; set; } |
| | | /// <summary>å åæºå½åå±å· |
| | | /// |
| | | /// </summary> |
| | | public int Rposy { get; set; } |
| | | /// <summary>å åæºå½åè´§åä½ç½® |
| | | /// 0 è´§ååä½ |
| | | /// 1 è´§åå¨å·¦ä¾§ |
| | | /// 2 è´§åå¨å³ä¾§ |
| | | /// </summary> |
| | | public int Rposz { get; set; } |
| | | /// <summary>å åæºå½åååæ |
| | | /// |
| | | /// </summary> |
| | | public long Rposxmm { get; set; } |
| | | /// <summary>å åæºå½åå±åæ |
| | | /// |
| | | /// </summary> |
| | | public long Rposymm { get; set; } |
| | | /// <summary>å åæºå½åè´§ååæ |
| | | /// |
| | | /// </summary> |
| | | public long Rposzmm { get; set; } |
| | | /// <summary>弿¯1 è¡¨ç¤ºå®æåè´§ä¿¡å· |
| | | /// |
| | | /// </summary> |
| | | public int RpickFinish { get; set; } |
| | | /// <summary>弿¯1 è¡¨ç¤ºå®ææ¾è´§ä¿¡å· |
| | | /// |
| | | /// </summary> |
| | | public int RdeliveryFinish { get; set; } |
| | | /// <summary>弿¯1表示任å¡å®æ |
| | | /// |
| | | /// </summary> |
| | | public int RtaskFinish { get; set; } |
| | | /// <summary>æ¥è¦ä»£ç |
| | | /// |
| | | /// </summary> |
| | | public int RalarmNumber { get; set; } |
| | | /// <summary>å åæºç¶æ |
| | | /// 0ç©ºé² |
| | | /// 1åè´§å®ä½ä¸ |
| | | /// 2请æ±åè´§ |
| | | /// 3åè´§ä¸ |
| | | /// 4åè´§å®ææ¾è´§å®ä½ä¸ |
| | | /// 5è¯·æ±æ¾è´§ |
| | | /// 6æ¾è´§ä¸ |
| | | /// 98ç»´ä¿®ä¸ |
| | | /// 99æ¥è¦ |
| | | /// </summary> |
| | | public int Rstate { get; set; } |
| | | /// <summary>å åæºå½åå··é |
| | | /// |
| | | /// </summary> |
| | | public int Ractuallane { get; set; } |
| | | /// <summary>å åæºå½åä»»å¡å· |
| | | /// |
| | | /// </summary> |
| | | public int RtaskNO { get; set; } |
| | | /// <summary>å åæºå½å设å¤ä»»å¡å· |
| | | /// |
| | | /// </summary> |
| | | public int RDevicetaskNO { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace DeviceWCS |
| | | { |
| | | public class taskCommon |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | public string sourcePlace { get; set; } |
| | | |
| | | public string toPlace { get; set; } |
| | | |
| | | public string isReleased { get; set; } |
| | | |
| | | public string hasFinished { get; set; } |
| | | |
| | | public string device { get; set; } |
| | | |
| | | public int deviceNum { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace DeviceWCS |
| | | { |
| | | class tranInfo |
| | | { |
| | | /// <summary>è¾é线ç«ç¹å |
| | | /// |
| | | /// </summary> |
| | | public string TranName { get; set; } |
| | | |
| | | /// <summary>è¾é线ç«ç¹å· |
| | | /// |
| | | /// </summary> |
| | | public int stationNo { get; set; } |
| | | /// <summary>ä»»å¡ID |
| | | /// |
| | | /// </summary> |
| | | public int taskId { get; set; } |
| | | /// <summary>ä»»å¡ID |
| | | /// |
| | | /// </summary> |
| | | public int deviceTaskId { get; set; } |
| | | |
| | | /// <summary>å½åç®æ å°å |
| | | /// |
| | | /// </summary> |
| | | public int endStation { get; set; } |
| | | /// <summary>èªå¨æ¨¡å¼ trueæ¯èªå¨ falseéèªå¨ |
| | | /// |
| | | /// </summary> |
| | | public bool auto { get; set; } |
| | | |
| | | /// <summary>æ
éç¶æ |
| | | /// |
| | | /// </summary> |
| | | public bool err { get; set; } |
| | | /// <summary>空é²ç¶æ |
| | | /// |
| | | /// </summary> |
| | | public bool wait { get; set; } |
| | | /// <summary>å
çµ1ç¶æ |
| | | /// |
| | | /// </summary> |
| | | public bool PH1 { get; set; } |
| | | /// <summary>å
çµ2ç¶æ |
| | | /// |
| | | /// </summary> |
| | | public bool PH2 { get; set; } |
| | | /// <summary>é«ä½ |
| | | /// |
| | | /// </summary> |
| | | public bool PRH { get; set; } |
| | | /// <summary>ä½ä½ |
| | | /// |
| | | /// </summary> |
| | | public bool PRL { get; set; } |
| | | /// <summary>æ¯å¦æè´§ |
| | | /// |
| | | /// </summary> |
| | | public bool goods { get; set; } |
| | | /// <summary>æ¥è¦å· |
| | | /// 1ï¼è¿è¡è¶
æ¶æ¥è¦ï¼2ï¼æ°´å¹³åé¢å¨æ¥è¦ï¼3:é©¬è¾¾ä¿æ¤å¨æ¥è¦ï¼ |
| | | /// 4ï¼æ¥åæ¥è¦ï¼5ï¼å·¦è¶
宽ï¼6ï¼å³è¶
宽ï¼7ï¼è¶
é« |
| | | /// </summary> |
| | | public int errId { get; set; } |
| | | /// <summary>è´§ç©éé |
| | | /// |
| | | /// </summary> |
| | | public double weihgt { get; set; } |
| | | /// <summary>å¿è·³ |
| | | /// |
| | | /// </summary> |
| | | public int handShake { get; set; } |
| | | /// <summary>å¤åºæ£æµ |
| | | /// 0没æå°ä½,1å°ä½ä¸æ£å¸¸,2å°ä½æ£å¸¸ |
| | | /// </summary> |
| | | public int shapeCheck { get; set; } |
| | | |
| | | /// <summary>æ¡ç |
| | | /// |
| | | /// </summary> |
| | | public string Code { get; set; } |
| | | |
| | | |
| | | /// <summary>å
许ä¸åä»»å¡ |
| | | /// |
| | | /// </summary> |
| | | public bool TaskSendAllow { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | public enum EDeviceId |
| | | { |
| | | ä¸å·å åæº = 1, |
| | | äºå·å åæº = 2, |
| | | ä¸å·å åæº = 3, |
| | | åå·å åæº = 4, |
| | | äºå·å åæº = 5, |
| | | å
å·å åæº = 6, |
| | | ä¸å·å åæº = 7, |
| | | å
«å·å åæº = 8, |
| | | ä¹å·å åæº = 9, |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | public enum ESrgvAlarm |
| | | { |
| | | æ æ
é=0, |
| | | æ§å¶ææ¥åæä¸ = 1, |
| | | 西侧è¾é线M1æM2æ§å¶ææ¥åæä¸=2, |
| | | å½ååºå£è¾é线çå
¥å£ä¿æ¤å
çµè¢«æ¡=3, |
| | | ç¸åºä¿æ¤å¨å¼å¸¸=4, |
| | | åå·æäºå·å®å
¨é¨è¢«æå¼=5, |
| | | å¤ç¨1=6, |
| | | å¤ç¨2=7, |
| | | ä¸ä½æºä¸åæ¥åå½ä»¤=8, |
| | | |
| | | è¡èµ°åè¿æ¹åè¡ç¨å¼å
³è§¦å=17, |
| | | å¤ç¨3=18, |
| | | è¡èµ°çµæºé©¬ä¿å¼å¸¸=19, |
| | | è¡èµ°åé¢å¨æ
é=20, |
| | | è¡èµ°è®¾å®ä½ç½®å¼ä¸å¨æ£å¸¸èå´å
=21, |
| | | è¡èµ°å®é
ä½ç½®å¼ä¸å¨æ£å¸¸èå´å
=22, |
| | | è¡èµ°åå失败=23, |
| | | è¡èµ°æ¡ç æµè·è®¾å¤æ¥è¦=24, |
| | | è¡èµ°è¿è¡è¶
æ¶=25, |
| | | è¡èµ°æä»¤æ§è¡è¶
æ¶=26, |
| | | è¡èµ°é²ææ¥è¦è§¦å=27, |
| | | è¡èµ°åéæ¹åéç¢æ¢æµä¿æ¤è§¦å=28, |
| | | |
| | | è¾éçµæºé©¬ä¿å¼å¸¸=50, |
| | | è¾éåé¢å¨æ
é=51, |
| | | å¤ç¨4=52, |
| | | å¤ç¨5=53, |
| | | è¾éè¿è¡è¶
æ¶=54, |
| | | |
| | | åè´§åè½½è´§å°æè´§=62, |
| | | åè´§å®æåè´§ç©ä¸¢å¤±=63, |
| | | æ¾è´§å®æå载货å°è¿æè´§ç©=64, |
| | | |
| | | 载货å°å·¦è¶
宽=85, |
| | | 载货å°å³è¶
宽=86, |
| | | |
| | | 红å¤é讯æ
é=102, |
| | | |
| | | ä»»å¡å°åé误=113, |
| | | ç¸åä»»å¡å·å¤æ¬¡ä¸å=114, |
| | | |
| | | RGV没æå
许åè´§ä¿¡å·=117, |
| | | RGV没æå
许æ¾è´§ä¿¡å·=118 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | public enum ESrmAlarm |
| | | { |
| | | //20201127 æç¿ å½å¨å
¬å¸æ´æ° |
| | | åè´§å åæºæè´§ = 101, |
| | | æ¾è´§å åæºæ è´§ = 102, |
| | | è¡èµ°å®ä½å¼å¸¸ = 103, |
| | | åéå®ä½å¼å¸¸ = 104, |
| | | è´§åå®ä½å¼å¸¸ = 105, |
| | | è´§åç¼ç 卿°æ®å¼å¸¸ = 106, |
| | | è´§ååä½å¼å
³å¼å¸¸ = 107, |
| | | å·¦åè¶
宽 = 108, |
| | | å³è¶
é« = 109, |
| | | å³åå¡ = 110, |
| | | èµ·åè¶
æ¶ = 111, |
| | | è½åè¶
æ¶ = 112, |
| | | è´§ååç©å¼å¸¸ = 113, |
| | | è¡èµ°åé坻忰æ®å¼å¸¸ = 114, |
| | | è´§å坻忰æ®å¼å¸¸ = 115, |
| | | è´§åè¿è¡è¶
æ¶ = 116, |
| | | è¡èµ°æ¿å
æ°æ®å¼å¸¸ = 201, |
| | | åéæ°æ®å¼å¸¸ææºæ¢°å¡é» = 202, |
| | | è´§å1æ°æ®å¼å¸¸ææºæ¢°å¡é» = 203, |
| | | 夹紧è£
置触å = 204, |
| | | è¶
éä¿æ¤è§¦å = 206, |
| | | è¡èµ°æé触å = 207, |
| | | åéæé触å = 208, |
| | | æé¨æ¥å触å = 209, |
| | | é维修模å¼è°æ´æªå½ä½è¯·å½ä½ = 210, |
| | | ç¸åºç»§çµå¨è§¦å = 211, |
| | | å®å
¨ç»§çµå¨å¼å¸¸ = 212, |
| | | è´§å1ç»å¯¹å¼ç¼ç 卿°æ®å¼å¸¸ = 213, |
| | | å¤é¨æ¥å触å = 214, |
| | | å¤é¨æå¨è§¦å = 215, |
| | | è¡èµ°åé¢å¨æ
é = 301, |
| | | è¡èµ°é©¬è¾¾ä¿æ¤å¨æªæ£å¸¸å·¥ä½ = 302, |
| | | è¡èµ°æ±é¸æè·¯å¨æªæ£å¸¸å·¥ä½ = 303, |
| | | åéåé¢å¨æ
é = 304, |
| | | åéé©¬è¾¾ä¿æ¤å¨æªæ£å¸¸å·¥ä½ = 305, |
| | | åéæ±é¸æè·¯å¨æªæ£å¸¸å·¥ä½ = 306, |
| | | è´§å1åé¢å¨æ
é = 307, |
| | | è´§å1è¾¾ä¿æ¤å¨æªæ£å¸¸å·¥ä½ = 308, |
| | | è´§å1æ±é¸æè·¯å¨æªæ£å¸¸å·¥ä½ = 309, |
| | | è´§å2åé¢å¨æ
é = 310, |
| | | è´§å2è¾¾ä¿æ¤å¨æªæ£å¸¸å·¥ä½ = 311, |
| | | è´§å2æ±é¸æè·¯å¨æªæ£å¸¸å·¥ä½ = 312, |
| | | è¿è½½è£
置触å = 313, |
| | | 软æ¥å触å = 314, |
| | | ä»ç«æ
é = 401, |
| | | //6.1=402, |
| | | åå°ä½, æ å
çµå°ä½ä¿¡å·403, |
| | | å±å°ä½, æ å
çµå°ä½ä¿¡å· = 404, |
| | | è¡èµ°æ±é¸æ¥è§¦å¨å¼å¸¸ = 405, |
| | | è¾éæºéè®¯ä¸æ = 409, |
| | | å°é¢æºéè®¯ä¸æ = 410, |
| | | 空åå¼å¸¸ = 501, |
| | | åºåºè´§ä½å µå¡ = 502, |
| | | 满å
¥å¼å¸¸ = 503, |
| | | å
¥åºè´§ä½é»å¡ = 504, |
| | | æ«æä»ªéç¢æ£æµå¼å¸¸ = 505, |
| | | æºä½ç½®æ ¡éªé误 = 506, |
| | | ç®æ ä½ç½®æ ¡éªé误 = 507, |
| | | å·¦åè¶
宽 = 411, |
| | | // å·¦åè¶
宽 = 413, |
| | | å³åè¶
宽 = 412, |
| | | å·¦è¶
é« = 415, |
| | | å·¦åå¡ = 414, |
| | | åæ¾è´§ç³è¯·è¶
æ¶ = 315, |
| | | åæ¾è´§ç³è¯·ä¿¡å·ä¸æ = 316, |
| | | ç«æ±æ¥å触å = 205, |
| | | ç»æ¢¯å£æ¥å触å = 216, |
| | | å鿱鏿¥è§¦å¨å¼å¸¸ = 406, |
| | | è´§å1æ±é¸æ¥è§¦å¨å¼å¸¸ = 407, |
| | | è´§å2æ±é¸æ¥è§¦å¨å¼å¸¸ = 408, |
| | | è¡èµ°æ°æ®å¼å¸¸ææºæ¢°å¡é» = 601, |
| | | //åéæ°æ®å¼å¸¸ææºæ¢°å¡é» = 602, |
| | | // è´§å1æ°æ®å¼å¸¸ææºæ¢°å¡é» = 603, |
| | | è´§å2æ°æ®å¼å¸¸ææºæ¢°å¡é» = 604, |
| | | å°é¢ææ¥å触å = 605, |
| | | ææå±æ¥å触å = 606, |
| | | å®å
¨é¨è¢«æå¼ = 607, |
| | | é£æç¯æè·¯å¨å·¥ä½å¼å¸¸ = 608, |
| | | 触æ¸å±å
é讯æ¿å
æµè·çµæºæè·¯å¨å·¥ä½å¼å¸¸ = 609, |
| | | 载货å°å®å
¨åè·¯æè·¯å¨å·¥ä½å¼å¸¸ = 610, |
| | | æé®å¼å
³æè·¯å¨ = 611, |
| | | // 载货å°å®å
¨åè·¯æè·¯å¨å·¥ä½å¼å¸¸ = 612, |
| | | æ§å¶å®¤å®å
¨é¨æªå
³é = 613 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | public enum ESrmCmd |
| | | { |
| | | åæ¾è´§ = 1, |
| | | åæ¾=2, |
| | | ç§»å¨ = 3, |
| | | åæ¶=4 |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | public enum ESrmState |
| | | { |
| | | ç©ºé² = 0, |
| | | åè´§å®ä½ä¸ = 1, |
| | | 请æ±åè´§ = 2, |
| | | åè´§ä¸ = 3, |
| | | åè´§å®ææ¾è´§å®ä½ä¸ = 4, |
| | | è¯·æ±æ¾è´§ = 5, |
| | | æ¾è´§ä¸ = 6, |
| | | ç»´ä¿® = 98 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | public enum ETranAlarm |
| | | { |
| | | æ æ
é = 0, |
| | | è¿è¡è¶
æ¶æ¥è¦ = 1, |
| | | è¾éåé¢å¨æ¥è¦ = 2, |
| | | é©¬è¾¾ä¿æ¤å¨æ¥è¦ = 3, |
| | | æ¥åæ¥è¦ = 4, |
| | | å·¦è¶
宽 = 5, |
| | | å³è¶
宽 = 6, |
| | | è¶
é« = 7, |
| | | è¶
é = 8 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | public enum ETranGoodSize |
| | | { |
| | | A2910A1310A2355=1, |
| | | A2910A1310A1270=2, |
| | | A1850A1310A2355=3, |
| | | A2700A1310A2430=4, |
| | | A2720A2000A1305=5, |
| | | A2720A2000A1155=6, |
| | | A2800A1400A1255=7, |
| | | A2400A1400A1255=8 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | public enum EYesOrNo |
| | | { |
| | | å¦ = 0, |
| | | æ¯ = 1 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
| | | <PropertyGroup> |
| | | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| | | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| | | <ProjectGuid>{50C2CCC5-0055-49C2-B2F6-B9CE452BC726}</ProjectGuid> |
| | | <OutputType>Library</OutputType> |
| | | <AppDesignerFolder>Properties</AppDesignerFolder> |
| | | <RootNamespace>EnumType</RootNamespace> |
| | | <AssemblyName>EnumType</AssemblyName> |
| | | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| | | <FileAlignment>512</FileAlignment> |
| | | <TargetFrameworkProfile /> |
| | | </PropertyGroup> |
| | | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| | | <DebugSymbols>true</DebugSymbols> |
| | | <DebugType>full</DebugType> |
| | | <Optimize>false</Optimize> |
| | | <OutputPath>bin\Debug\</OutputPath> |
| | | <DefineConstants>DEBUG;TRACE</DefineConstants> |
| | | <ErrorReport>prompt</ErrorReport> |
| | | <WarningLevel>4</WarningLevel> |
| | | <Prefer32Bit>false</Prefer32Bit> |
| | | <UseVSHostingProcess>true</UseVSHostingProcess> |
| | | </PropertyGroup> |
| | | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| | | <DebugType>pdbonly</DebugType> |
| | | <Optimize>true</Optimize> |
| | | <OutputPath>bin\Release\</OutputPath> |
| | | <DefineConstants>TRACE</DefineConstants> |
| | | <ErrorReport>prompt</ErrorReport> |
| | | <WarningLevel>4</WarningLevel> |
| | | <Prefer32Bit>false</Prefer32Bit> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <Reference Include="System" /> |
| | | <Reference Include="System.Core" /> |
| | | <Reference Include="System.Xml.Linq" /> |
| | | <Reference Include="System.Data.DataSetExtensions" /> |
| | | <Reference Include="Microsoft.CSharp" /> |
| | | <Reference Include="System.Data" /> |
| | | <Reference Include="System.Xml" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <Compile Include="EDeviceId.cs" /> |
| | | <Compile Include="ESrgvAlarm.cs" /> |
| | | <Compile Include="ESrmAlarm.cs" /> |
| | | <Compile Include="ESrmCmd.cs" /> |
| | | <Compile Include="ESrmState.cs" /> |
| | | <Compile Include="ETranAlarm.cs" /> |
| | | <Compile Include="ETranGoodSize.cs" /> |
| | | <Compile Include="EYesOrNo.cs" /> |
| | | <Compile Include="InOrderPageTypeEnum.cs" /> |
| | | <Compile Include="InOrderStatusEnum.cs" /> |
| | | <Compile Include="Properties\AssemblyInfo.cs" /> |
| | | <Compile Include="TaskTypeEnum.cs" /> |
| | | </ItemGroup> |
| | | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| | | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| | | Other similar extension points exist, see Microsoft.Common.targets. |
| | | <Target Name="BeforeBuild"> |
| | | </Target> |
| | | <Target Name="AfterBuild"> |
| | | </Target> |
| | | --> |
| | | </Project> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | /// <summary> |
| | | /// å²åç产计å 页é¢ç±»å |
| | | /// </summary> |
| | | public enum InOrderPageTypeEnum |
| | | { |
| | | å²åç产计åé¡µé¢ = 0, |
| | | å®å·¥åè¾å
¥é¡µé¢ = 1, |
| | | çè£
ç¡®è®¤é¡µé¢ = 2 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | /// <summary> |
| | | /// å²åç产计å表åç¶æ |
| | | /// </summary> |
| | | public enum InOrderStatusEnum |
| | | { |
| | | æ°å»º = 0, |
| | | çè£
å®¡æ ¸ä¸ = 1, |
| | | //çæ¥å·¥æ®µé¿å®¡æ ¸ä¸ = 2, |
| | | 驳å = 3, |
| | | å®å·¥ = 4 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System.Reflection; |
| | | using System.Runtime.CompilerServices; |
| | | using System.Runtime.InteropServices; |
| | | |
| | | // æå
³ç¨åºéç常è§ä¿¡æ¯éè¿ä»¥ä¸ |
| | | // ç¹æ§éæ§å¶ãæ´æ¹è¿äºç¹æ§å¼å¯ä¿®æ¹ |
| | | // ä¸ç¨åºéå
³èçä¿¡æ¯ã |
| | | [assembly: AssemblyTitle("EnumType")] |
| | | [assembly: AssemblyDescription("")] |
| | | [assembly: AssemblyConfiguration("")] |
| | | [assembly: AssemblyCompany("")] |
| | | [assembly: AssemblyProduct("EnumType")] |
| | | [assembly: AssemblyCopyright("Copyright © 2020")] |
| | | [assembly: AssemblyTrademark("")] |
| | | [assembly: AssemblyCulture("")] |
| | | |
| | | // å° ComVisible 设置为 false 使æ¤ç¨åºéä¸çç±»å |
| | | // 对 COM ç»ä»¶ä¸å¯è§ã 妿éè¦ä» COM è®¿é®æ¤ç¨åºéä¸çç±»åï¼ |
| | | // åå°è¯¥ç±»åä¸ç ComVisible ç¹æ§è®¾ç½®ä¸º trueã |
| | | [assembly: ComVisible(false)] |
| | | |
| | | // 妿æ¤é¡¹ç®å COM å
¬å¼ï¼åä¸å GUID ç¨äºç±»ååºç ID |
| | | [assembly: Guid("7714df65-f73b-4cf0-90bb-9acb2dc37fc5")] |
| | | |
| | | // ç¨åºéççæ¬ä¿¡æ¯ç±ä¸é¢å个å¼ç»æ: |
| | | // |
| | | // ä¸»çæ¬ |
| | | // æ¬¡çæ¬ |
| | | // çæå· |
| | | // ä¿®è®¢å· |
| | | // |
| | | // å¯ä»¥æå®ææè¿äºå¼ï¼ä¹å¯ä»¥ä½¿ç¨âçæå·âåâ修订å·âçé»è®¤å¼ï¼ |
| | | // æ¹æ³æ¯æå¦ä¸æç¤ºä½¿ç¨â*â: |
| | | // [assembly: AssemblyVersion("1.0.*")] |
| | | [assembly: AssemblyVersion("1.0.0.0")] |
| | | [assembly: AssemblyFileVersion("1.0.0.0")] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace EnumType |
| | | { |
| | | /// <summary> |
| | | /// ä»»å¡è¡¨çTaskTypeæä¸¾ [EditBy shaocx,2022-11-09] |
| | | /// </summary> |
| | | public enum TaskTypeEnum |
| | | { |
| | | å
¥åº = 1, |
| | | åºåº = 2, |
| | | ç§»åº = 3 |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Alert; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Alert.ALERT |
| | | { |
| | | public static class AlertSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<ALERT_ALERT> Search(AlertWebEntity webEntity, int page, int onePageNum) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<ALERT_ALERT>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "createTimeStart") |
| | | { |
| | | f = f.And(x => x.CREATETIME > value); |
| | | } |
| | | if (i.Name == "createTimeEnd") |
| | | { |
| | | f = f.And(x => x.CREATETIME < value); |
| | | } |
| | | |
| | | if (i.Name == "finishTimeStart") |
| | | { |
| | | f = f.And(x => x.FINISHTIME > value); |
| | | } |
| | | if (i.Name == "finishTimeEnd") |
| | | { |
| | | f = f.And(x => x.FINISHTIME < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<ALERT_ALERT> list = edm.ALERT_ALERT.OrderByDescending(x=>x.CREATETIME).Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢(è§å¾) |
| | | /// </summary> |
| | | public static List<View_ALERT_ALERT> SearchView(AlertWebEntity webEntity, int page, int onePageNum,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_ALERT_ALERT>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "createTimeStart") |
| | | { |
| | | f = f.And(x => x.createTime > value); |
| | | } |
| | | if (i.Name == "createTimeEnd") |
| | | { |
| | | f = f.And(x => x.createTime < value); |
| | | } |
| | | |
| | | if (i.Name == "finishTimeStart") |
| | | { |
| | | f = f.And(x => x.finishTime > value); |
| | | } |
| | | if (i.Name == "finishTimeEnd") |
| | | { |
| | | f = f.And(x => x.finishTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_ALERT_ALERT> list = edm.View_ALERT_ALERT.OrderByDescending(x=>x.createTime).Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢æ°é(è§å¾) |
| | | /// </summary> |
| | | public static int SearchViewNum(AlertWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_ALERT_ALERT>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "createTimeStart") |
| | | { |
| | | f = f.And(x => x.createTime > value); |
| | | } |
| | | if (i.Name == "createTimeEnd") |
| | | { |
| | | f = f.And(x => x.createTime < value); |
| | | } |
| | | |
| | | if (i.Name == "finishTimeStart") |
| | | { |
| | | f = f.And(x => x.finishTime > value); |
| | | } |
| | | if (i.Name == "finishTimeEnd") |
| | | { |
| | | f = f.And(x => x.finishTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_ALERT_ALERT.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å ä¿®æ¹ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(AlertWebEntity webAlert, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æ
é |
| | | ALERT_ALERT alert = edm.ALERT_ALERT.FirstOrDefault(x => x.ALERTCODE == webAlert.alertCode); |
| | | if (alert == null) |
| | | { |
| | | //æ æ¤æ
éï¼å±äºæ°å»º |
| | | alert = new ALERT_ALERT(); |
| | | alert.CREATETIME = DateTime.Now; |
| | | alert.ALERTCODE = webAlert.alertCode ?? alert.ALERTCODE; |
| | | } |
| | | else |
| | | { |
| | | alert.FINISHTIME = DateTime.Now; |
| | | |
| | | System.TimeSpan time = alert.FINISHTIME.Value - alert.CREATETIME.Value; //两个æ¶é´ç¸å ãé»è®¤å¾å°çæ¯ ä¸¤ä¸ªæ¶é´ä¹é´çå¤©æ° å¾å°ï¼365.00:00:00 |
| | | double getMinutes = time.TotalMinutes; //å°è¿ä¸ªå¤©æ°è½¬æ¢æå°æ¶, è¿å弿¯doubleç±»åç |
| | | alert.TOTALTIME = (int)getMinutes; |
| | | } |
| | | alert.ALERTNAME = webAlert.alertName?? alert.ALERTNAME; |
| | | alert.ALERTDES = webAlert.alertDes ?? alert.ALERTDES; |
| | | //ç»å®è®¾å¤ |
| | | BASE_DEVICE device = edm.BASE_DEVICE.FirstOrDefault(x => x.DEVICENAME == webAlert.deviceName); |
| | | if (device != null) |
| | | { |
| | | alert.BASE_DEVICE = device; |
| | | } |
| | | |
| | | edm.ALERT_ALERT.AddOrUpdateExtension(alert); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿®æ¹å¤±è´¥"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å é¤ |
| | | /// </summary> |
| | | /// <param name="webUser"></param> |
| | | /// <returns></returns> |
| | | public static bool Delete(AlertWebEntity webUser, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤ç¨æ· |
| | | ALERT_ALERT alert = edm.ALERT_ALERT.FirstOrDefault(x => x.ALERTCODE == webUser.alertCode); |
| | | if (alert == null) |
| | | { |
| | | //æ æ¤ç¨æ·ï¼é误 |
| | | msg = "æ æ¤æ
é"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | edm.ALERT_ALERT.Remove(alert); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åç»çå· |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static string GetCode() |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | string month = DateTime.Now.Month.ToString("00"); |
| | | string day = DateTime.Now.Day.ToString("00"); |
| | | string hour = DateTime.Now.Hour.ToString("00"); |
| | | string minute = DateTime.Now.Minute.ToString("00"); |
| | | string second = DateTime.Now.Second.ToString("00"); |
| | | string millSecond = DateTime.Now.Millisecond.ToString("0000"); |
| | | string time = DateTime.Now.Year.ToString() + month + day + hour + minute + second + millSecond; |
| | | return "AL" + time; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åææè®¾å¤æ¥è¦ä¿¡æ¯ |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | public static List<View_ALERT_ALERT> GetAllAlarmInfo(AlertWebEntity model) |
| | | { |
| | | |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_ALERT_ALERT>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = model.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(model, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "createTimeStart") |
| | | { |
| | | f = f.And(x => x.createTime > value); |
| | | } |
| | | if (i.Name == "createTimeEnd") |
| | | { |
| | | f = f.And(x => x.createTime < value); |
| | | } |
| | | |
| | | if (i.Name == "finishTimeStart") |
| | | { |
| | | f = f.And(x => x.finishTime > value); |
| | | } |
| | | if (i.Name == "finishTimeEnd") |
| | | { |
| | | f = f.And(x => x.finishTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_ALERT_ALERT> list = edm.View_ALERT_ALERT.OrderByDescending(x => x.createTime).Where(f.Compile()).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <configuration> |
| | | <configSections> |
| | | <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> |
| | | <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
| | | </configSections> |
| | | <startup> |
| | | <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /> |
| | | </startup> |
| | | <entityFramework> |
| | | <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> |
| | | <parameters> |
| | | <parameter value="mssqllocaldb" /> |
| | | </parameters> |
| | | </defaultConnectionFactory> |
| | | <providers> |
| | | <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> |
| | | </providers> |
| | | </entityFramework> |
| | | <connectionStrings> |
| | | <!--<add name="Model1" connectionString="data source=120.53.244.200;initial catalog=WB20005QingQi-WMS;persist security info=True;user id=sa;password=123abc.com;multipleactiveresultsets=True;application name=EntityFramework" providerName="System.Data.SqlClient" />--> |
| | | <!--<add name="Model1" connectionString="data source=120.53.244.200;initial catalog=WB20005QingQi-WMS;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />--> |
| | | <!--<add name="Model1" connectionString="data source=10.103.9.200;initial catalog=WB20005QingQi-WMS;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />--> |
| | | |
| | | <!--<add name="Model1" connectionString="data source=.;initial catalog=WB20005QingQi-WMS;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />--> |
| | | <!--<add name="Model1" connectionString="data source=.;initial catalog=WB20005QingQi-WMS;persist security info=True;user id=sa;password=123456;multipleactiveresultsets=True;application name=EntityFramework" providerName="System.Data.SqlClient" />--> |
| | | <!--<add name="Model1" connectionString="data source=.;initial catalog=WB20005QingQi-WMS;persist security info=True;user id=sa;password=123456;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />--> |
| | | <!-- <add name="Model1" connectionString="data source=LAPTOP-9337IBI9\MSSQLSERVER2017;initial catalog=WB20005QingQi-WMS;persist security info=True;user id=sa;password=123abc.com;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />--> |
| | | </connectionStrings> |
| | | </configuration> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Entity.Summary; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.CONTAINER |
| | | { |
| | | public static class ContainerSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<BASE_CONTAINER> Search(ContainerWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_CONTAINER>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | List<BASE_CONTAINER> list = edm.BASE_CONTAINER.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_CONTAINER> SearchView(ContainerWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_CONTAINER>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_BASE_CONTAINER> list = edm.View_BASE_CONTAINER.OrderByDescending(x=>x.id).Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_CONTAINER> SearchAllView(ContainerWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_CONTAINER>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_BASE_CONTAINER> list = edm.View_BASE_CONTAINER.OrderByDescending(x => x.id).Where(f.Compile()).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(ContainerWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_CONTAINER>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_BASE_CONTAINER.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ·»å ä¿®æ¹æç |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(ContainerWebEntity webEntity,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æç |
| | | BASE_CONTAINER container = edm.BASE_CONTAINER.FirstOrDefault(x => x.CONTAINERNAME == webEntity.containerName); |
| | | if (container == null) |
| | | { |
| | | //æ æ¤åºä½ï¼å±äºæ°å»º |
| | | container = new BASE_CONTAINER(); |
| | | } |
| | | else |
| | | { |
| | | msg = "该å¨å
·ç¼å·å·²åå¨ï¼"; |
| | | } |
| | | container.CONTAINERNAME = webEntity.containerName ?? container.CONTAINERNAME; |
| | | BASE_PALLET pallet = edm.BASE_PALLET.FirstOrDefault(x => x.PALLETCODE == webEntity.palletCode); |
| | | if (pallet != null) |
| | | { |
| | | container.PALLETTYPEID = pallet.ID; |
| | | //å¤æå°ºå¯¸æ¯å¦åæ ¼ |
| | | if (pallet.LENGTHMAX != null && webEntity.length != null && pallet.LENGTHMAX < webEntity.length) |
| | | { |
| | | msg = "è¶
é¿"; |
| | | return false; |
| | | } |
| | | if (pallet.LENGTHMIN != null && webEntity.length != null && pallet.LENGTHMIN > webEntity.length) |
| | | { |
| | | msg = "è¶
ç"; |
| | | return false; |
| | | } |
| | | if (pallet.WIDTHMAX != null && webEntity.width != null && pallet.WIDTHMAX < webEntity.width) |
| | | { |
| | | msg = "è¶
宽"; |
| | | return false; |
| | | } |
| | | if (pallet.WIDTHMIN != null && webEntity.width != null && pallet.WIDTHMIN > webEntity.width) |
| | | { |
| | | msg = "è¶
çª"; |
| | | return false; |
| | | } |
| | | if (pallet.HEIGHTMAX != null && webEntity.height != null && pallet.HEIGHTMAX < webEntity.height) |
| | | { |
| | | msg = "è¶
é«"; |
| | | return false; |
| | | } |
| | | if (pallet.HEIGHTMIN != null && webEntity.height != null && pallet.HEIGHTMIN > webEntity.height) |
| | | { |
| | | msg = "è¶
ä½"; |
| | | return false; |
| | | } |
| | | } |
| | | container.CONTAINERTYPE= webEntity.containerType ??container.CONTAINERTYPE; |
| | | container.STATUS = webEntity.status ?? container.STATUS; |
| | | container.WEIGHT = webEntity.weight ?? container.WEIGHT; |
| | | container.LENGTH = webEntity.length ?? container.LENGTH; |
| | | container.HEIGHT = webEntity.height ?? container.HEIGHT; |
| | | container.WIDTH = webEntity.width ?? container.WIDTH; |
| | | container.WEIGHTDIFFERENCE = webEntity.weightDifference ?? container.WEIGHTDIFFERENCE; |
| | | container.ENABLE = webEntity.enable ?? container.ENABLE; |
| | | container.CONTAINERDES = webEntity.containerDes ?? container.CONTAINERTYPE; |
| | | container.ISLOCK = webEntity.isLock ?? container.ISLOCK; |
| | | |
| | | edm.BASE_CONTAINER.AddOrUpdateExtension(container); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å 餿ç |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool Delete(ContainerWebEntity webDevice,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æé |
| | | BASE_CONTAINER container = edm.BASE_CONTAINER.FirstOrDefault(x => x.CONTAINERNAME == webDevice.containerName); |
| | | if (container == null) |
| | | { |
| | | //æ æ¤è§è² |
| | | msg = "æ æ¤æç"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return DeleteContainerRelevance(container,out msg); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å
³èå é¤ |
| | | /// </summary> |
| | | /// <param name="user"></param> |
| | | /// <returns></returns> |
| | | public static bool DeleteContainerRelevance(BASE_CONTAINER container,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //å å·²éæ¾è¿æ¥ï¼æ
éæ°æåæ°æ®åºå¯¹è±¡è¿è¡ç´¢å¼ |
| | | BASE_CONTAINER containerDelete = edm.BASE_CONTAINER.FirstOrDefault(x => x.CONTAINERNAME == container.CONTAINERNAME); |
| | | ////å é¤è§è²å
³ç³» |
| | | //edm.SYS_USER_VS_ROLE.RemoveRange(roleDelete.SYS_USER_VS_ROLE); |
| | | //edm.SYS_ROLE_VS_PERMISSION.RemoveRange(roleDelete.SYS_ROLE_VS_PERMISSION); |
| | | //å é¤è§è² |
| | | //edm.SYS_ROLE.Remove(roleDelete); |
| | | containerDelete.ENABLE = 0; |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | public static List<HomeNumDataEntity> GetContainerType(out string msg) |
| | | { |
| | | msg = ""; |
| | | try |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | List<HomeNumDataEntity> hnlst = new List<HomeNumDataEntity>(); |
| | | var containerlst = edm.BASE_CONTAINER.Where(x => x.ENABLE == 1).ToList(); |
| | | List<string> lst = containerlst.Select(x => x.CONTAINERTYPE).Distinct().ToList(); |
| | | int i=1; |
| | | lst.ForEach(x => |
| | | { |
| | | hnlst.Add(new HomeNumDataEntity { titel = x, no = i }); |
| | | i++; |
| | | }); |
| | | return hnlst; |
| | | } |
| | | } |
| | | catch (Exception) |
| | | { |
| | | |
| | | return null; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using BarTender; |
| | | using EnumType; |
| | | using iWareCommon.Utils; |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Helper; |
| | | using Models.Input; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Linq.Expressions; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.CONTAINERVSITEM |
| | | { |
| | | public static class ContainerVsItemSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<BASE_CONTAINER_VS_ITEM> Search(ContainerVsItemWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_CONTAINER_VS_ITEM>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.UPDATETIME > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.UPDATETIME < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | List<BASE_CONTAINER_VS_ITEM> list = edm.BASE_CONTAINER_VS_ITEM.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_CONTAINER_VS_ITEM> SearchView(Expression<Func<View_BASE_CONTAINER_VS_ITEM, bool>> f, ContainerVsItemWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //var f = PredicateBuilder.True<View_BASE_CONTAINER_VS_ITEM>(); |
| | | ////ä¾¿å©ææå±æ§ |
| | | //Type type = webEntity.GetType(); |
| | | //foreach (var i in type.GetProperties()) |
| | | //{ |
| | | // object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | // if (i.PropertyType == typeof(String)) |
| | | // { |
| | | // string value; |
| | | // if (v != null) |
| | | // { |
| | | // value = v.ToString(); |
| | | // f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | // } |
| | | // } |
| | | // else if (i.PropertyType == typeof(DateTime?)) |
| | | // { |
| | | // if (v != null) |
| | | // { |
| | | // DateTime value = DateTime.Parse(v.ToString()); |
| | | // if (i.Name == "updateTimeStart") |
| | | // { |
| | | // f = f.And(x => x.updateTime > value); |
| | | // } |
| | | // if (i.Name == "updateTimeEnd") |
| | | // { |
| | | // f = f.And(x => x.updateTime < value); |
| | | // } |
| | | // } |
| | | // } |
| | | // else |
| | | // { |
| | | // if (v != null) |
| | | // { |
| | | // f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | // } |
| | | // } |
| | | //} |
| | | |
| | | |
| | | |
| | | List<View_BASE_CONTAINER_VS_ITEM> list = edm.View_BASE_CONTAINER_VS_ITEM.OrderByDescending(x => x.id).Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(Expression<Func<View_BASE_CONTAINER_VS_ITEM, bool>> f, ContainerVsItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //var f = PredicateBuilder.True<View_BASE_CONTAINER_VS_ITEM>(); |
| | | ////ä¾¿å©ææå±æ§ |
| | | //Type type = webEntity.GetType(); |
| | | //foreach (var i in type.GetProperties()) |
| | | //{ |
| | | // object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | // if (i.PropertyType == typeof(String)) |
| | | // { |
| | | // string value; |
| | | // if (v != null) |
| | | // { |
| | | // value = v.ToString(); |
| | | // f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | // } |
| | | // } |
| | | // else if (i.PropertyType == typeof(DateTime?)) |
| | | // { |
| | | // if (v != null) |
| | | // { |
| | | // DateTime value = DateTime.Parse(v.ToString()); |
| | | // if (i.Name == "updateTimeStart") |
| | | // { |
| | | // f = f.And(x => x.updateTime > value); |
| | | // } |
| | | // if (i.Name == "updateTimeEnd") |
| | | // { |
| | | // f = f.And(x => x.updateTime < value); |
| | | // } |
| | | // } |
| | | // } |
| | | // else |
| | | // { |
| | | // if (v != null) |
| | | // { |
| | | // f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | // } |
| | | // } |
| | | //} |
| | | |
| | | int num = edm.View_BASE_CONTAINER_VS_ITEM.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å ç»ç(åç¬) |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(ContainerVsItemWebEntity webEntity, out string msg) |
| | | { |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("", webEntity.itemName, "è°ç¨æ´æ°å个"); |
| | | //ææ¶è®°å½è¯·æ± |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("", JsonConvert.SerializeObject(webEntity), "æ·»å ç»ç(åç¬)"); |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | BASE_CONTAINER_VS_ITEM cvi = new BASE_CONTAINER_VS_ITEM(); |
| | | //å»é |
| | | cvi = edm.BASE_CONTAINER_VS_ITEM.FirstOrDefault(x => x.BASE_ITEM.ITEMNAME == webEntity.itemName && x.BASE_CONTAINER.CONTAINERNAME == webEntity.containerName); |
| | | if (cvi != null) |
| | | { |
| | | msg = "æ¤ç»çä¿¡æ¯å·²åå¨"; |
| | | return false; |
| | | } |
| | | |
| | | cvi = edm.BASE_CONTAINER_VS_ITEM.FirstOrDefault(x => x.ID == (webEntity.id ?? 0)); |
| | | if (cvi != null) |
| | | { |
| | | //msg = "æ¤ç»çç¼å·å·²åå¨"; |
| | | //return false; |
| | | } |
| | | else |
| | | { |
| | | cvi = new BASE_CONTAINER_VS_ITEM(); |
| | | } |
| | | BASE_CONTAINER container = edm.BASE_CONTAINER.FirstOrDefault(x => x.CONTAINERNAME == webEntity.containerName); |
| | | if (container == null) |
| | | { |
| | | msg = "æ æ¤æç"; |
| | | return false; |
| | | } |
| | | |
| | | #region å¢å å¯¹æ¤æççåºåå
³ç³»éªè¯ï¼å¦æè¿ä¸ªæçæ¤æ¶å¨ç«ä½åºä¸ï¼æè
æ¯æä»»å¡è¢«å ç¨ï¼å°±ç¦æ¢ä¿®æ¹ç»ç ãEditby shaocx,2023-01-10ã |
| | | int num = edm.TASK_TASK.Where(x => x.CONTAINERID == container.ID && x.HASFINISHED == 0 && x.TASKSTATUS != "ä»»å¡å é¤").Count(); |
| | | if (num > 0) |
| | | { |
| | | msg = "æ¤æç" + container.CONTAINERNAME + "æä»»å¡è¢«å ç¨ï¼ä¸å
许修æ¹ç»çä¿¡æ¯!"; |
| | | return false; |
| | | } |
| | | var pvc = edm.BASE_PLACE_VS_CONTAINER.Where(x => x.CONTAINERID == container.ID).FirstOrDefault(); |
| | | if (pvc != null) |
| | | { |
| | | var place = edm.BASE_PLACE.Where(x => x.ID == pvc.PLACEID).FirstOrDefault(); |
| | | msg = "æ¤æç" + container.CONTAINERNAME + "å·²ç»è¢«åºä½" + place.PLACE + "å ç¨ï¼ä¸å
许修æ¹ç»çä¿¡æ¯!"; |
| | | return false; |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | cvi.BASE_CONTAINER = container; |
| | | BASE_ITEM item = edm.BASE_ITEM.FirstOrDefault(x => x.ITEMNAME == webEntity.itemName); |
| | | if (item == null) |
| | | { |
| | | msg = "æ æ¤é¶ä»¶"; |
| | | return false; |
| | | } |
| | | if (!item.USECONTAINERTYPE.Split(',').Contains(container.CONTAINERTYPE))//å¢å é¶ä»¶ä¸å¨å
·æ¯å¦å¯ä»¥ç»å®æ ¡éªï¼[Editby kejj,20230624] |
| | | { |
| | | msg = "é¶ä»¶ä¸å¨å
·ä¸å¹é
"; |
| | | return false; |
| | | } |
| | | |
| | | //å¢å æå¤§åºå®¹æ¦æª |
| | | var count = edm.BASE_CONTAINER_VS_ITEM.Where(x => x.ITEMID == item.ID).Sum(u => u.ITEMNUM); |
| | | if (item.MAXSTORAGE < (count ?? 0) + webEntity.itemNum) |
| | | { |
| | | msg = "ç»çæ°éè¶
è¿æå¤§åºå®¹"; |
| | | return false; |
| | | } |
| | | |
| | | int usreid = 1; |
| | | var user = edm.SYS_USER.FirstOrDefault(x => x.USERNAME == webEntity.createUser); |
| | | if (user != null) |
| | | { |
| | | usreid = user.ID; |
| | | } |
| | | if (!string.IsNullOrEmpty(webEntity.image)) |
| | | { |
| | | item.IMAGE = webEntity.image; |
| | | } |
| | | cvi.BASE_ITEM = item; |
| | | cvi.CreateTime = cvi.UPDATETIME = DateTime.Now; |
| | | cvi.OperationRemark = "ContainerVsItemSqlFunc AddOrUpdate[æ·»å ç»ç]æ¶"; |
| | | cvi.ITEMNUM = webEntity.itemNum ?? cvi.ITEMNUM; |
| | | cvi.ISBAD = webEntity.isBad ?? cvi.ISBAD; |
| | | |
| | | if (!string.IsNullOrEmpty(webEntity.inOrderCode)) |
| | | { |
| | | ORDER_INORDER inOrder = edm.ORDER_INORDER.FirstOrDefault(x => x.INORDERCODE == webEntity.inOrderCode); |
| | | if (inOrder == null) |
| | | { |
| | | msg = "æ æ¤å
¥åºè®¡å"; |
| | | return false; |
| | | } |
| | | cvi.ORDER_INORDER = inOrder; |
| | | //æ´æ°æ°é |
| | | inOrder.DONENUM = inOrder.DONENUM + cvi.ITEMNUM; |
| | | } |
| | | if (!string.IsNullOrEmpty(webEntity.outOrderCode)) |
| | | { |
| | | ORDER_OUTORDER outOrder = edm.ORDER_OUTORDER.FirstOrDefault(x => x.OUTORDERCODE == webEntity.outOrderCode); |
| | | if (outOrder == null) |
| | | { |
| | | msg = "æ æ¤å
¥åºè®¡å"; |
| | | return false; |
| | | } |
| | | cvi.ORDER_OUTORDER = outOrder; |
| | | } |
| | | cvi.ENABLE = webEntity.enable ?? cvi.ENABLE; |
| | | cvi.BADBYFACTORY = webEntity.badByFactory ?? cvi.BADBYFACTORY; |
| | | |
| | | if (!string.IsNullOrEmpty(webEntity.inType)) |
| | | { |
| | | if (!string.IsNullOrEmpty(webEntity.inType)) |
| | | { |
| | | BASE_INTYPE inType = edm.BASE_INTYPE.FirstOrDefault(x => x.INTYPE == webEntity.inType); |
| | | if (inType == null) |
| | | { |
| | | msg = "æ æ¤å
¥åºç±»å"; |
| | | return false; |
| | | } |
| | | cvi.BASE_INTYPE = inType; |
| | | } |
| | | } |
| | | cvi.GETWEIGHT = webEntity.getWeight ?? cvi.GETWEIGHT; |
| | | |
| | | //æ»éé |
| | | cvi.TOTALWEIGHT = (cvi.ITEMNUM ?? 0) * (item.WEIGHT ?? 0); |
| | | |
| | | var oldCviCode = cvi.CVICODE; |
| | | |
| | | cvi.CVICODE = webEntity.cviCode ?? cvi.CVICODE; |
| | | cvi.CREATEUSERID = cvi.UpdateUserId = usreid; |
| | | |
| | | //è®¡ç® ãEditBy shaocx,2022-11-08ã |
| | | Helper.Helper.CalcInOrderNumPub(oldCviCode, edm, cvi); |
| | | |
| | | edm.BASE_CONTAINER_VS_ITEM.AddOrUpdateExtension(cvi); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("ç»ç", "æ·»å ", "å¨å
·ï¼" + cvi.BASE_CONTAINER.CONTAINERNAME + "é¶ä»¶ï¼" + cvi.BASE_ITEM.ITEMNAME + "ç¨æ·ï¼" + webEntity.createUser); |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ·»å ç»ç(群ä½) |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdateAll(ContainerVsItemListWebEntity webEntity, out string msg) |
| | | { |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("", webEntity.containerName, "è°ç¨æ´æ°å
¨é¨"); |
| | | msg = ""; |
| | | //å é¤åæ°æ® |
| | | ContainerVsItemWebEntity cviDelete = new ContainerVsItemWebEntity(); |
| | | if (string.IsNullOrEmpty(webEntity.containerName)) |
| | | { |
| | | msg = "è¾å
¥å¨å
·å·"; |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("", webEntity.containerName, "失败" + msg); |
| | | return false; |
| | | } |
| | | cviDelete.containerName = webEntity.containerName; |
| | | |
| | | |
| | | if (DeleteAll(cviDelete, out msg)) |
| | | { |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("", webEntity.containerName, "å 餿å"); |
| | | } |
| | | else |
| | | { |
| | | if (!string.IsNullOrEmpty(msg)) |
| | | { |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("", webEntity.containerName, "失败" + msg); |
| | | return false; |
| | | } |
| | | } |
| | | //å»é |
| | | List<ItemListWebEntity> itemEntity = JsonConvert.DeserializeObject<List<ItemListWebEntity>>(webEntity.itemList); |
| | | var group = itemEntity.GroupBy(x => x.itemName); |
| | | foreach (var i in group) |
| | | { |
| | | if (i.Count() > 1) |
| | | { |
| | | msg = "åå¨éå¤é¶ä»¶"; |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | if (itemEntity.Count != 0) |
| | | { |
| | | foreach (var i in itemEntity) |
| | | { |
| | | ContainerVsItemWebEntity cvi = new ContainerVsItemWebEntity(); |
| | | cvi.itemName = i.itemName; |
| | | cvi.itemNum = i.itemNum; |
| | | cvi.inOrderCode = i.inOrderCode; |
| | | cvi.containerName = webEntity.containerName; |
| | | cvi.isBad = webEntity.isBad; |
| | | cvi.badByFactory = webEntity.badByFactory; |
| | | cvi.inType = webEntity.inType; |
| | | cvi.cviCode = webEntity.cviCode; |
| | | cvi.image = i.image; |
| | | cvi.createUser = webEntity.createUser; |
| | | |
| | | if (AddOrUpdate(cvi, out msg) == false) |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "空å¨å
·"; |
| | | return true; |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹ç»ç |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool Update(ContainerVsItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | BASE_CONTAINER_VS_ITEM cvi = edm.BASE_CONTAINER_VS_ITEM.FirstOrDefault(x => x.ID == webEntity.id); |
| | | if (cvi == null) |
| | | { |
| | | msg = "æ¤ç»çå
³ç³»ä¸åå¨"; |
| | | return false; |
| | | } |
| | | |
| | | |
| | | |
| | | //cvi = edm.BASE_CONTAINER_VS_ITEM.FirstOrDefault(x => x.CVICODE == webEntity.cviCode); |
| | | //if (cvi == null) |
| | | //{ |
| | | // msg = "æ¤ç»çå
³ç³»ä¸åå¨"; |
| | | // return false; |
| | | //} |
| | | BASE_CONTAINER container = edm.BASE_CONTAINER.FirstOrDefault(x => x.CONTAINERNAME == webEntity.containerName); |
| | | if (container == null) |
| | | { |
| | | msg = "æ æ¤æç"; |
| | | return false; |
| | | } |
| | | |
| | | #region å¢å å¯¹æ¤æççåºåå
³ç³»éªè¯ï¼å¦æè¿ä¸ªæçæ¤æ¶å¨ç«ä½åºä¸ï¼æè
æ¯æä»»å¡è¢«å ç¨ï¼å°±ç¦æ¢ä¿®æ¹ç»ç ãEditby shaocx,2023-01-10ã |
| | | int num = edm.TASK_TASK.Where(x => x.CONTAINERID == cvi.CONTAINERID && x.HASFINISHED == 0 && x.TASKSTATUS != "ä»»å¡å é¤").Count(); |
| | | if (num > 0) |
| | | { |
| | | msg = "æ¤æç" + container.CONTAINERNAME + "æä»»å¡è¢«å ç¨ï¼ä¸å
许修æ¹ç»çä¿¡æ¯!"; |
| | | return false; |
| | | } |
| | | var pvc = edm.BASE_PLACE_VS_CONTAINER.Where(x => x.CONTAINERID == cvi.CONTAINERID).FirstOrDefault(); |
| | | if (pvc != null) |
| | | { |
| | | var place = edm.BASE_PLACE.Where(x => x.ID == pvc.PLACEID).FirstOrDefault(); |
| | | msg = "æ¤æç" + container.CONTAINERNAME + "å·²ç»è¢«åºä½" + place.PLACE + "å ç¨ï¼ä¸å
许修æ¹ç»çä¿¡æ¯!"; |
| | | return false; |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | cvi.BASE_CONTAINER = container; |
| | | BASE_ITEM item = edm.BASE_ITEM.FirstOrDefault(x => x.ITEMNAME == webEntity.itemName); |
| | | if (item == null) |
| | | { |
| | | msg = "æ æ¤é¶ä»¶"; |
| | | return false; |
| | | } |
| | | item.IMAGE = string.IsNullOrEmpty(webEntity.image) ? "" : item.IMAGE; |
| | | cvi.BASE_ITEM = item; |
| | | cvi.UPDATETIME = DateTime.Now; |
| | | cvi.OperationRemark = "ContainerVsItemSqlFunc Update[ä¿®æ¹ç»ç]æ¶"; |
| | | |
| | | int usreid = 0; |
| | | var user = edm.SYS_USER.FirstOrDefault(x => x.USERNAME == webEntity.createUser); |
| | | if (user != null) |
| | | { |
| | | usreid = user.ID; |
| | | } |
| | | cvi.UpdateUserId = usreid; |
| | | |
| | | cvi.ITEMNUM = webEntity.itemNum; |
| | | cvi.ISBAD = webEntity.isBad; |
| | | if (!string.IsNullOrEmpty(webEntity.inOrderCode)) |
| | | { |
| | | ORDER_INORDER inOrder = edm.ORDER_INORDER.FirstOrDefault(x => x.INORDERCODE == webEntity.inOrderCode); |
| | | if (inOrder == null) |
| | | { |
| | | msg = "æ æ¤å
¥åºè®¡å"; |
| | | return false; |
| | | } |
| | | cvi.ORDER_INORDER = inOrder; |
| | | } |
| | | if (!string.IsNullOrEmpty(webEntity.outOrderCode)) |
| | | { |
| | | ORDER_OUTORDER outOrder = edm.ORDER_OUTORDER.FirstOrDefault(x => x.OUTORDERCODE == webEntity.outOrderCode); |
| | | if (outOrder == null) |
| | | { |
| | | msg = "æ æ¤å
¥åºè®¡å"; |
| | | return false; |
| | | } |
| | | cvi.ORDER_OUTORDER = outOrder; |
| | | } |
| | | cvi.ENABLE = webEntity.enable; |
| | | cvi.BADBYFACTORY = webEntity.badByFactory; |
| | | if (!string.IsNullOrEmpty(webEntity.inType)) |
| | | { |
| | | BASE_INTYPE inType = edm.BASE_INTYPE.FirstOrDefault(x => x.INTYPE == webEntity.inType); |
| | | if (inType == null) |
| | | { |
| | | msg = "æ æ¤å
¥åºç±»å"; |
| | | return false; |
| | | } |
| | | cvi.BASE_INTYPE = inType; |
| | | } |
| | | cvi.GETWEIGHT = webEntity.getWeight; |
| | | //æ»éé |
| | | cvi.TOTALWEIGHT = (cvi.ITEMNUM ?? 0) * (item.WEIGHT ?? 0); |
| | | |
| | | var oldCviCode = cvi.CVICODE; |
| | | |
| | | cvi.CVICODE = webEntity.cviCode; |
| | | edm.BASE_CONTAINER_VS_ITEM.AddOrUpdateExtension(cvi); |
| | | |
| | | //è®¡ç® ãEditBy shaocx,2022-11-08ã |
| | | Helper.Helper.CalcInOrderNumPub(oldCviCode, edm, cvi); |
| | | |
| | | |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹ å²åç产计åè·ç»çå
¥åºçå
³èå
³ç³» |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool BindCviCode(UpdateCviCodeInput input, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //éæ°è®¡ç®è®¢åè¡¨çæ°é |
| | | var order = edm.ORDER_INORDER.Where(x => x.INORDERCODE == input.cviCode).FirstOrDefault(); |
| | | if (order == null) |
| | | { |
| | | msg = "æ ¹æ®è®¡ååå·'" + input.cviCode + "'æ²¡ææ¾å°è®¡å"; |
| | | return false; |
| | | } |
| | | if (order.OrderStatusId != (int)InOrderStatusEnum.æ°å»º) |
| | | { |
| | | msg = "计ååå·'" + input.cviCode + "'å½åç¶ææ¯'" + order.ORDERSTATUS + "'ï¼åªæç¶ææ¯'æ°å»º'æ¶æè½å
³èï¼"; |
| | | return false; |
| | | } |
| | | |
| | | int doneNum = 0; |
| | | //ç°æçå
³èå
³ç³» |
| | | List<BASE_CONTAINER_VS_ITEM> curCviList = edm.BASE_CONTAINER_VS_ITEM.Where(x => x.CVICODE == input.cviCode).ToList(); |
| | | if (input.cviIds == null || input.cviIds.Count == 0) |
| | | { |
| | | //表示å
¨é¨ç§»é¤å
³ç³» |
| | | foreach (var item in curCviList) |
| | | { |
| | | item.CVICODE = ""; |
| | | } |
| | | doneNum = 0; |
| | | } |
| | | else |
| | | { |
| | | List<int> addList = new List<int>(); |
| | | foreach (var cviId in input.cviIds) |
| | | { |
| | | if (!curCviList.Exists(x => x.ID == cviId)) |
| | | { |
| | | addList.Add(cviId); |
| | | } |
| | | else |
| | | { |
| | | //å·²ç»åå¨äº |
| | | doneNum += Convert.ToInt32(curCviList.Find(x => x.ID == cviId).ITEMNUM); |
| | | } |
| | | } |
| | | var updateList = edm.BASE_CONTAINER_VS_ITEM.Where(x => addList.Contains(x.ID)).ToList(); |
| | | foreach (var item in updateList) |
| | | { |
| | | item.CVICODE = input.cviCode; |
| | | doneNum += Convert.ToInt32(item.ITEMNUM); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | order.DONENUM = doneNum; |
| | | order.AllFinishedNum = (order.DONENUM ?? 0) + (order.UNLINENUM ?? 0); |
| | | |
| | | |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// å é¤å¨å
·ä¸ææä¸è¥¿ |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool DeleteAll(ContainerVsItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | try |
| | | { |
| | | List<BASE_CONTAINER_VS_ITEM> cvi = edm.BASE_CONTAINER_VS_ITEM.Where(x => x.BASE_CONTAINER.CONTAINERNAME == webEntity.containerName).ToList(); |
| | | if (cvi != null && cvi.Count > 0) |
| | | { |
| | | int id = (int)cvi[0].CONTAINERID; |
| | | BASE_PLACE_VS_CONTAINER pvc = edm.BASE_PLACE_VS_CONTAINER.FirstOrDefault(x => x.CONTAINERID == id); |
| | | TASK_TASK task = edm.TASK_TASK.FirstOrDefault(x => x.CONTAINERID == id && x.HASFINISHED == 0); |
| | | if (pvc == null && task == null) |
| | | { |
| | | edm.BASE_CONTAINER_VS_ITEM.RemoveRange(cvi); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | //è®°å½å 餿çåç©æç»å®å
³ç³»æ¥å¿ ãEditby shaoc,2023-03-07ã |
| | | IWareDataAccess.Helper.Helper.LogRemoveBASE_CONTAINER_VS_ITEM(cvi, "ContainerVsItemSqlFunc.DeleteAll", "å é¤å¨å
·ä¸ææä¸è¥¿"); |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("ç»ç", "å é¤", "å¨å
·ï¼" + webEntity.containerName + "ç¨æ·ï¼" + (webEntity.createUser ?? "æ ")); |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | else if (pvc != null) |
| | | { |
| | | msg = "å¨åºéä¸è½ä¿®æ¹"; |
| | | return false; |
| | | } |
| | | else if (task != null) |
| | | { |
| | | msg = "ä»»å¡ä¸ä¸è½ä¿®æ¹"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | msg = "å
¶å®"; |
| | | return false; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | msg = ""; |
| | | return true; |
| | | } |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | msg = ex.ToString(); |
| | | return false; |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// å 餿å®ç»çå
³ç³» |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool DeleteOne(ContainerVsItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | BASE_CONTAINER_VS_ITEM cvi = edm.BASE_CONTAINER_VS_ITEM.FirstOrDefault(x => x.ID == webEntity.id); |
| | | TASK_TASK task = edm.TASK_TASK.FirstOrDefault(x => x.CONTAINERID == cvi.CONTAINERID && x.HASFINISHED == 0); |
| | | if (cvi == null) |
| | | { |
| | | //æ æ¤è§è² |
| | | msg = "æ æ¤ç»çå
³ç³»"; |
| | | return false; |
| | | } |
| | | else if (task != null) |
| | | { |
| | | msg = "ä»»å¡ä¸ä¸è½ä¿®æ¹"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("å é¤å个", cvi.BASE_CONTAINER.CONTAINERNAME, cvi.BASE_ITEM.ITEMNAME); |
| | | |
| | | edm.BASE_CONTAINER_VS_ITEM.Remove(cvi); |
| | | cvi.ENABLE = 0; |
| | | } |
| | | |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | //è®°å½å 餿çåç©æç»å®å
³ç³»æ¥å¿ ãEditby shaoc,2023-03-07ã |
| | | IWareDataAccess.Helper.Helper.LogRemoveBASE_CONTAINER_VS_ITEM(cvi, "ContainerVsItemSqlFunc.DeleteOne", "å 餿å®ç»çå
³ç³»"); |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è·åç»çå· |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static string GetCode() |
| | | { |
| | | string month = DateTime.Now.Month.ToString("00"); |
| | | string day = DateTime.Now.Day.ToString("00"); |
| | | string hour = DateTime.Now.Hour.ToString("00"); |
| | | string minute = DateTime.Now.Minute.ToString("00"); |
| | | string second = DateTime.Now.Second.ToString("00"); |
| | | string millSecond = DateTime.Now.Millisecond.ToString("0000"); |
| | | string time = DateTime.Now.Year.ToString() + month + day + hour + minute + second + millSecond; |
| | | |
| | | return "CI" + time; |
| | | } |
| | | |
| | | |
| | | public static bool PrintContainerVsItem(ContainerVsItemListWebEntity model, out string msg) |
| | | { |
| | | |
| | | try |
| | | { |
| | | msg = ""; |
| | | List<ItemListWebEntity> itemEntity = JsonConvert.DeserializeObject<List<ItemListWebEntity>>(model.itemList); |
| | | List<string> itemnamelst = new List<string>(); |
| | | itemnamelst = itemEntity.Select(x => x.itemName).ToList(); |
| | | using (Model md = new Model()) |
| | | { |
| | | string devname = model.printDevName; |
| | | if (string.IsNullOrEmpty(model.printDevName)) |
| | | { |
| | | devname = "80mmThermalPrinter"; |
| | | } |
| | | List<BASE_PRINT> prlsy = new List<BASE_PRINT>(); |
| | | var itemlst = md.BASE_ITEM.Where(x => itemnamelst.Contains(x.ITEMNAME)); |
| | | if (model.inType.Contains("EU")) |
| | | { |
| | | BASE_PRINT pri = new BASE_PRINT(); |
| | | pri.STATE = 0; |
| | | pri.CREATETIME = DateTime.Now; |
| | | pri.PRINTDEVNAME = devname; |
| | | pri.TYPE = 1; |
| | | pri.ITEMNUM = itemEntity.Sum(x => x.itemNum).ToString(); |
| | | pri.ITEMTYPENUM = itemEntity.Count.ToString(); |
| | | pri.CVIQRCODE = model.cviCode; |
| | | pri.CVICODE = model.cviCode; |
| | | pri.ISOK = model.isBad == 1 ? "ä¸åæ ¼" : "åæ ¼"; |
| | | prlsy.Add(pri); |
| | | } |
| | | else |
| | | { |
| | | if (itemEntity != null && itemEntity.Count > 0) |
| | | { |
| | | itemEntity.ForEach(x => |
| | | { |
| | | BASE_PRINT pri = new BASE_PRINT(); |
| | | pri.STATE = 0; |
| | | pri.CREATETIME = DateTime.Now; |
| | | pri.PRINTDEVNAME = devname; |
| | | pri.TYPE = 0; |
| | | pri.NUM = x.itemNum.ToString(); |
| | | pri.ITEMCODE = x.itemName; |
| | | |
| | | pri.CVIQRCODE = model.cviCode; |
| | | pri.CVICODE = model.cviCode; |
| | | pri.ISOK = model.isBad == 1 ? "ä¸åæ ¼" : "åæ ¼"; |
| | | var item = itemlst.FirstOrDefault(y => y.ITEMNAME == y.ITEMNAME); |
| | | pri.ITEMNAME = item.ITEMDES; |
| | | pri.BACKUP1 = item.CREATELINE; |
| | | prlsy.Add(pri); |
| | | }); |
| | | } |
| | | } |
| | | md.BASE_PRINT.AddRange(prlsy); |
| | | if (md.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "æå°åé失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | msg = "æå°åé失败"; |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | public static string PdaPrint(ContainerVsItemListWebEntity model, string path, out string msg) |
| | | { |
| | | string url = ""; |
| | | //Engine btEngine = new Engine(); |
| | | |
| | | try |
| | | { |
| | | msg = ""; |
| | | using (Model md = new Model()) |
| | | { |
| | | //List<ItemListWebEntity> itemEntity = JsonConvert.DeserializeObject<List<ItemListWebEntity>>(model.itemList); |
| | | //List<string> itemnamelst = new List<string>(); |
| | | //itemnamelst = itemEntity.Select(x => x.itemName).ToList(); |
| | | //var itemlst = md.BASE_ITEM.Where(x => itemnamelst.Contains(x.ITEMNAME)); |
| | | //LabelFormatDocument btFormat; |
| | | //int type = 0; |
| | | //BASE_PRINT pri = new BASE_PRINT(); |
| | | //if (model.inType.Contains("EU")) |
| | | //{ |
| | | // type = 1; |
| | | |
| | | // pri.STATE = 0; |
| | | // pri.CREATETIME = DateTime.Now; |
| | | // pri.TYPE = 1; |
| | | // pri.ITEMNUM = itemEntity.Sum(x => x.itemNum).ToString(); |
| | | // pri.ITEMTYPENUM = itemEntity.Count.ToString(); |
| | | // pri.CVIQRCODE = model.cviCode; |
| | | // pri.CVICODE = model.cviCode; |
| | | // pri.ISOK = model.isBad == 1 ? "ä¸åæ ¼" : "åæ ¼"; |
| | | //} |
| | | //else |
| | | //{ |
| | | // type = 0; |
| | | |
| | | // pri.STATE = 0; |
| | | // pri.CREATETIME = DateTime.Now; |
| | | // pri.TYPE = 0; |
| | | // pri.NUM = itemEntity[0].itemNum.ToString(); |
| | | // pri.ITEMCODE = itemEntity[0].itemName; |
| | | // pri.CVIQRCODE = model.cviCode; |
| | | // pri.CVICODE = model.cviCode; |
| | | // pri.ISOK = model.isBad == 1 ? "ä¸åæ ¼" : "åæ ¼"; |
| | | // var item = itemlst.FirstOrDefault(y => y.ITEMNAME == y.ITEMNAME); |
| | | // pri.ITEMNAME = item.ITEMDES; |
| | | // pri.BACKUP1 = item.CREATELINE; |
| | | //} |
| | | |
| | | //btEngine.Start(); |
| | | ////btFormat.PrintSetup.PrinterName = printinfo.PRINTDEVNAME;// "80mmThermalPrinter";//æå°æºåç§° |
| | | ////btFormat.PrintSetup.IdenticalCopiesOfLabel = 1; //æå°ä»½æ° |
| | | ////Messages messages; |
| | | ////int waitout = 1000; // 10ç§ è¶
æ¶ |
| | | //if (type == 1) |
| | | //{ |
| | | // LabelFormatDocument btFormatEu = btEngine.Documents.Open(Path.Combine(@"F:\", "EUPrint.btw"));//è¿éæ¯Bartender软件çæçæ¨¡æ¿æä»¶ï¼ä½ éè¦å
ææ¨¡æ¿æä»¶å好ã |
| | | // btFormat = btFormatEu; |
| | | // btFormat.SubStrings["ItemNum"].Value = pri.ITEMNUM;//为Bartenderéçæ°æ®æºï¼ææ¬æ¡ãæ¡ç ççï¼ä¼ å¼ |
| | | // btFormat.SubStrings["ItemTypeNum"].Value = pri.ITEMTYPENUM; |
| | | // btFormat.SubStrings["CVIQRCode"].Value = pri.CVIQRCODE; |
| | | //} |
| | | //else |
| | | //{ |
| | | // LabelFormatDocument btFormatIs = btEngine.Documents.Open(Path.Combine(@"F:\", "IsOkPrint.btw"));//è¿éæ¯Bartender软件çæçæ¨¡æ¿æä»¶ï¼ä½ éè¦å
ææ¨¡æ¿æä»¶å好ã |
| | | // btFormat = btFormatIs; |
| | | // btFormat.SubStrings["Num"].Value = pri.NUM; |
| | | // btFormat.SubStrings["ItemCode"].Value = pri.ITEMCODE; |
| | | // btFormat.SubStrings["ItemName"].Value = pri.ITEMNAME; |
| | | // btFormat.SubStrings["ProductLine"].Value = pri.BACKUP1; |
| | | //} |
| | | //btFormat.SubStrings["CVICode"].Value = pri.CVICODE; |
| | | //btFormat.SubStrings["IsOk"].Value = pri.ISOK; ; |
| | | //btFormat.SubStrings["CreateTime"].Value = ((DateTime)pri.CREATETIME).ToString("yyyy-MM-dd"); |
| | | //// Result nResult1 = btFormat.Print("æ ç¾æå°è½¯ä»¶", waitout, out messages); |
| | | ////btFormat.PrintSetup.Cache.FlushInterval = CacheFlushInterval.Daily; |
| | | //Resolution rl = new Resolution(300, 300); |
| | | //string datetime = Helper.Helper.GetTimeStamp(); |
| | | //string strPath = path + "PrintImg\\" + datetime + ".PNG";//è¿éè¦æ³¨æçæ¯å
è¦å»ºç«Fileæä»¶å¤¹ï¼ä¸ç¶ä¼æ¥éï¼ä¹å¯ä»¥èªå·±åä¸ä¸ªæ£æµæä»¶å¤¹ï¼è¿éå°±å
ä¸èµè¿° |
| | | //url = @"PrintImg\" + datetime + ".PNG"; |
| | | //btFormat.ExportImageToFile(strPath, ImageType.PNG, ColorDepth.Mono, rl, OverwriteOptions.Overwrite); |
| | | //btFormat.Close(SaveOptions.DoNotSaveChanges);//ä¸ä¿å对æå¼æ¨¡æ¿çä¿®æ¹ |
| | | //btEngine.Stop(); |
| | | return url; |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | msg = "æå°åé失败"; |
| | | return url; |
| | | } |
| | | } |
| | | public static string PdaPrintBtn(ContainerVsItemListWebEntity model, string path, out string msg) |
| | | { |
| | | string url = ""; |
| | | try |
| | | { |
| | | msg = ""; |
| | | using (Model md = new Model()) |
| | | { |
| | | List<ItemListWebEntity> itemEntity = JsonConvert.DeserializeObject<List<ItemListWebEntity>>(model.itemList); |
| | | List<string> itemnamelst = new List<string>(); |
| | | itemnamelst = itemEntity.Select(x => x.itemName).ToList(); |
| | | var itemlst = md.BASE_ITEM.Where(x => itemnamelst.Contains(x.ITEMNAME)); |
| | | int type = 0; |
| | | string templateUrl = ""; |
| | | BASE_PRINT pri = new BASE_PRINT(); |
| | | if (model.inType.Contains("EU")) |
| | | { |
| | | type = 1; |
| | | |
| | | pri.STATE = 0; |
| | | pri.CREATETIME = DateTime.Now; |
| | | pri.TYPE = 1; |
| | | pri.ITEMNUM = itemEntity.Sum(x => x.itemNum).ToString(); |
| | | pri.ITEMTYPENUM = itemEntity.Count.ToString(); |
| | | pri.CVIQRCODE = model.cviCode; |
| | | pri.CVICODE = model.cviCode; |
| | | pri.ISOK = model.isBad == 1 ? "ä¸åæ ¼" : "åæ ¼"; |
| | | } |
| | | else |
| | | { |
| | | type = 0; |
| | | |
| | | pri.STATE = 0; |
| | | pri.CREATETIME = DateTime.Now; |
| | | pri.TYPE = 0; |
| | | pri.NUM = itemEntity[0].itemNum.ToString(); |
| | | pri.ITEMCODE = itemEntity[0].itemName; |
| | | pri.CVIQRCODE = model.cviCode; |
| | | pri.CVICODE = model.cviCode; |
| | | pri.ISOK = model.isBad == 1 ? "ä¸åæ ¼" : "åæ ¼"; |
| | | var item = itemlst.FirstOrDefault(y => y.ITEMNAME == y.ITEMNAME); |
| | | pri.ITEMNAME = item.ITEMDES; |
| | | pri.BACKUP1 = item.CREATELINE; |
| | | } |
| | | var app = new Application(); |
| | | var format = new Format(); |
| | | Dictionary<string, object> data = new Dictionary<string, object>(); |
| | | |
| | | if (type == 1) |
| | | { |
| | | templateUrl = Path.Combine(@"D:\", "EUPrint.btw"); |
| | | data.Add("ItemNum", pri.ITEMNUM); |
| | | data.Add("ItemTypeNum", pri.ITEMTYPENUM); |
| | | data.Add("CVIQRCode", pri.CVIQRCODE); |
| | | } |
| | | else |
| | | { |
| | | templateUrl = Path.Combine(@"D:\", "IsOkPrint.btw"); |
| | | data.Add("Num", pri.NUM); |
| | | data.Add("ItemCode", pri.ITEMCODE); |
| | | data.Add("ItemName", pri.ITEMNAME); |
| | | data.Add("ProductLine", pri.BACKUP1); |
| | | } |
| | | data.Add("CVICode", pri.CVICODE); |
| | | data.Add("IsOk", pri.ISOK); |
| | | data.Add("CreateTime", ((DateTime)pri.CREATETIME).ToString("yyyy-MM-dd")); |
| | | format = app.Formats.Open(templateUrl, false, ""); |
| | | foreach (var item in data) |
| | | { |
| | | format.SetNamedSubStringValue(item.Key, item.Value.ToString()); |
| | | } |
| | | |
| | | string datetime = Helper.Helper.GetTimeStamp(); |
| | | string strPath = path + "PrintImg\\" + datetime + ".PNG"; |
| | | format.ExportToFile(strPath, "PNG", BarTender.BtColors.btColors24Bit, BarTender.BtResolution.btResolutionPrinter, BarTender.BtSaveOptions.btSaveChanges); |
| | | format.Close(BarTender.BtSaveOptions.btSaveChanges); |
| | | app.Quit(BarTender.BtSaveOptions.btSaveChanges); |
| | | url = @"PrintImg\" + datetime + ".PNG"; |
| | | return url; |
| | | } |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | msg = "æå°åé失败"; |
| | | return ex.ToString(); |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.DEVICE |
| | | { |
| | | public static class DeviceSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<BASE_DEVICE> Search(DeviceWebEntity webEntity, int page,int onePageNum) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_DEVICE>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<BASE_DEVICE> list = edm.BASE_DEVICE.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_DEVICE> SearchView(DeviceWebEntity webEntity, int page, int onePageNum) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_DEVICE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_BASE_DEVICE> list = edm.View_BASE_DEVICE.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(DeviceWebEntity webEntity,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_DEVICE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_BASE_DEVICE.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å ä¿®æ¹è®¾å¤ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(DeviceWebEntity webDevice,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤è®¾å¤ |
| | | BASE_DEVICE device = edm.BASE_DEVICE.FirstOrDefault(x => x.DEVICENAME == webDevice.deviceName); |
| | | if (device == null) |
| | | { |
| | | //æ æ¤åºä½ï¼å±äºæ°å»º |
| | | device = new BASE_DEVICE(); |
| | | } |
| | | device.DEVICENAME = webDevice.deviceName ?? device.DEVICENAME; |
| | | device.DEVICETYPE = webDevice.deviceType ?? device.DEVICETYPE; |
| | | device.DEVICEID = webDevice.deviceId ?? device.DEVICEID ; |
| | | device.ISLOCK = webDevice.isLock ?? device.ISLOCK; |
| | | |
| | | edm.BASE_DEVICE.AddOrUpdateExtension(device); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿®æ¹å¤±è´¥"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.INTYPE |
| | | { |
| | | public static class InTypeFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<BASE_INTYPE> Search(InTypeWebEntity webEntity, int page, int onePageNum) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_INTYPE>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<BASE_INTYPE> list = edm.BASE_INTYPE.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_INTYPE> SearchView(InTypeWebEntity webEntity, int page, int onePageNum,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_INTYPE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_BASE_INTYPE> list = edm.View_BASE_INTYPE.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(InTypeWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_INTYPE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_BASE_INTYPE.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.ITEM |
| | | { |
| | | public static class ItemSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<BASE_ITEM> Search(ItemWebEntity webEntity, int page, int onePageNum) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_ITEM>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.UPDATETIME > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.UPDATETIME < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | List<BASE_ITEM> list = edm.BASE_ITEM.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_ITEM> SearchView(ItemWebEntity webEntity, int page, int onePageNum) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_ITEM>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.updateTime > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.updateTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_BASE_ITEM> list = edm.View_BASE_ITEM.OrderByDescending(x => x.id).Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | public static List<View_BASE_ITEM> SearchAllView(ItemWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_ITEM>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.updateTime > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.updateTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_BASE_ITEM> list = edm.View_BASE_ITEM.OrderByDescending(x => x.id).Where(f.Compile()).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(ItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_ITEM>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.updateTime > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.updateTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_BASE_ITEM.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ·»å ä¿®æ¹ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(ItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //è®°å½å½åæ¯å¦å¼å¯è¶
é |
| | | int storageEnable = SearchStorageEnable(webEntity, out msg) ? 1 : 0; |
| | | |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æç |
| | | BASE_ITEM item = edm.BASE_ITEM.FirstOrDefault(x => x.ITEMNAME == webEntity.itemName); |
| | | if (item == null) |
| | | { |
| | | //æ æ¤åºä½ï¼å±äºæ°å»º |
| | | item = new BASE_ITEM(); |
| | | item.MAXSTORAGE = 0; |
| | | item.MINSTORAGE = 0; |
| | | item.OVERDUETIME = 0; |
| | | } |
| | | |
| | | item.ITEMNAME = webEntity.itemName ?? item.ITEMNAME; |
| | | item.ITEMDES = webEntity.itemDes ?? item.ITEMDES; |
| | | item.ITEMTYPE = webEntity.itemType ?? item.ITEMTYPE; |
| | | item.WEIGHT = webEntity.weight ?? item.WEIGHT; |
| | | item.WEIGHTDIFFERENCE = webEntity.weightDifference ?? item.WEIGHTDIFFERENCE; |
| | | item.IMAGE = webEntity.image ?? item.IMAGE; |
| | | item.MAXNUM = webEntity.maxNum ?? item.MAXNUM; |
| | | item.ENABLE = webEntity.enable ?? item.ENABLE; |
| | | item.CREATELINE = webEntity.createLine ?? item.CREATELINE; |
| | | item.PRICE = webEntity.price ?? item.PRICE; |
| | | item.UNIT = webEntity.unit ?? item.UNIT; |
| | | item.USECONTAINERTYPE = webEntity.useContainerType ?? item.USECONTAINERTYPE; |
| | | item.MAXSTORAGE = webEntity.maxStorage ?? item.MAXSTORAGE; |
| | | item.MINSTORAGE = webEntity.minStorage ?? item.MINSTORAGE; |
| | | item.OVERDUETIME = webEntity.overDueTime ?? item.OVERDUETIME; |
| | | item.ISLOCK = webEntity.isLock ?? item.ISLOCK; |
| | | //item.STORAGEENABLE = webEntity.storageEnable ?? item.STORAGEENABLE; |
| | | item.STORAGEENABLE = storageEnable; |
| | | |
| | | edm.BASE_ITEM.AddOrUpdateExtension(item); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å é¤ |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool Delete(ItemWebEntity webDevice, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²åå¨ |
| | | if (!string.IsNullOrEmpty(webDevice.itemName)) |
| | | { |
| | | BASE_ITEM item = edm.BASE_ITEM.FirstOrDefault(x => x.ITEMNAME == webDevice.itemName); |
| | | |
| | | if (item == null) |
| | | { |
| | | //æ æ¤é¶ä»¶ |
| | | msg = "æ æ¤é¶ä»¶"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return DeleteContainerRelevance(item); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | |
| | | BASE_ITEM item = edm.BASE_ITEM.FirstOrDefault(x => x.ITEMNAME ==null|| x.ITEMNAME.Contains("")); |
| | | |
| | | if (item == null) |
| | | { |
| | | //æ æ¤é¶ä»¶ |
| | | msg = "æ æ¤é¶ä»¶"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return DeleteContainerRelevance(item); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å
³èå é¤ |
| | | /// </summary> |
| | | /// <param name="user"></param> |
| | | /// <returns></returns> |
| | | public static bool DeleteContainerRelevance(BASE_ITEM container) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | //å å·²éæ¾è¿æ¥ï¼æ
éæ°æåæ°æ®åºå¯¹è±¡è¿è¡ç´¢å¼ |
| | | BASE_ITEM containerDelete = edm.BASE_ITEM.FirstOrDefault(x => x.ITEMNAME == container.ITEMNAME); |
| | | containerDelete.ENABLE = 0; |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | /// <summary> |
| | | ///å价以åæå¤§æå°åºå导å
¥ |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <param name="userName"></param> |
| | | /// <param name="msg"></param> |
| | | /// <returns></returns> |
| | | public static bool ImportItemInfo(List<ItemWebEntity> model, string userName, out string msg) |
| | | { |
| | | |
| | | using (Model dbModel = new Model()) |
| | | { |
| | | try |
| | | { |
| | | //è®°å½å½åæ¯å¦å¼å¯è¶
é |
| | | int storageEnable = SearchStorageEnable(model.FirstOrDefault(), out msg) ? 1 : 0; |
| | | |
| | | msg = ""; |
| | | List<BASE_ITEM> upitemlst = new List<BASE_ITEM>(); |
| | | List<string> itemnamelst = model.Select(x => x.itemName).ToList(); |
| | | List<BASE_ITEM> itemlst = dbModel.BASE_ITEM.Where(x => itemnamelst.Contains(x.ITEMNAME)).ToList(); |
| | | model.ForEach(x => |
| | | { |
| | | if (!string.IsNullOrEmpty(x.itemName)) |
| | | { |
| | | var itemn = itemlst.FirstOrDefault(y => y.ITEMNAME == x.itemName); |
| | | if (itemn != null) |
| | | { |
| | | itemn.PRICE = x.price ?? itemn.PRICE; |
| | | itemn.OVERDUETIME = x.overDueTime ?? itemn.OVERDUETIME; |
| | | itemn.MAXSTORAGE = x.maxStorage ?? itemn.MAXSTORAGE; |
| | | itemn.MINSTORAGE = x.minStorage ?? itemn.MINSTORAGE; |
| | | itemn.STORAGEENABLE = storageEnable; |
| | | upitemlst.Add(itemn); |
| | | } |
| | | else |
| | | { |
| | | BASE_ITEM item = new BASE_ITEM(); |
| | | item.ITEMNAME = x.itemName ?? item.ITEMNAME; |
| | | item.ITEMDES = x.itemDes ?? item.ITEMDES; |
| | | item.ITEMTYPE = x.itemType ?? item.ITEMTYPE; |
| | | item.WEIGHT = x.weight ?? 0; |
| | | item.WEIGHTDIFFERENCE = x.weightDifference ?? item.WEIGHTDIFFERENCE; |
| | | item.MAXNUM = x.maxNum ?? 0; |
| | | item.ENABLE = 1; |
| | | item.CREATELINE = x.createLine; |
| | | item.PRICE = x.price ?? 0; |
| | | item.UNIT = x.unit; |
| | | item.USECONTAINERTYPE = x.useContainerType; |
| | | item.MAXSTORAGE = x.maxStorage ?? 0; |
| | | item.MINSTORAGE = x.minStorage ?? 0; |
| | | item.OVERDUETIME = x.overDueTime ?? 0; |
| | | item.STORAGEENABLE = storageEnable; |
| | | dbModel.BASE_ITEM.Add(item); |
| | | } |
| | | } |
| | | |
| | | }); |
| | | dbModel.SaveChanges(); |
| | | return string.IsNullOrEmpty(msg); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | msg = ex.Message; |
| | | |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ ¹æ®å¨å
·ç±»åæ¾å¯¹åºæéå¯ä»¥è£
å
¥çé¶ä»¶ |
| | | /// </summary> |
| | | /// <param name="itemName"></param> |
| | | /// <param name="containerType"></param> |
| | | /// <param name="msg"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_ITEM> GetItemByContainerType(string itemName, string containerType, out string msg) |
| | | { |
| | | using (Model dbModel = new Model()) |
| | | { |
| | | try |
| | | { |
| | | msg = ""; |
| | | List<View_BASE_ITEM> upitemlst = new List<View_BASE_ITEM>(); |
| | | if (!string.IsNullOrEmpty(containerType)) |
| | | { |
| | | upitemlst = dbModel.View_BASE_ITEM.Where(x => x.useContainerType.Contains(containerType)).ToList(); |
| | | }else |
| | | { |
| | | if (!string.IsNullOrEmpty(itemName)) |
| | | { |
| | | upitemlst = dbModel.View_BASE_ITEM.OrderByDescending(x => x.id).Where(x => x.itemName.Contains(itemName)).Skip(0).Take(20).ToList(); |
| | | } |
| | | else |
| | | { |
| | | upitemlst = dbModel.View_BASE_ITEM.OrderByDescending(x => x.id).Skip(0).Take(20).ToList(); |
| | | } |
| | | |
| | | } |
| | | |
| | | return upitemlst; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | msg = ex.Message; |
| | | |
| | | return null; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹ä¸ä¸éåè½æ¯å¦å¼å¯ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool UpdateStorageEnable(ItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æç |
| | | List<BASE_ITEM> itemList = edm.BASE_ITEM.ToList(); |
| | | foreach (var i in itemList) |
| | | { |
| | | i.STORAGEENABLE = webEntity.storageEnable; |
| | | } |
| | | |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢ä¸ä¸éåè½æ¯å¦å¼å¯ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool SearchStorageEnable(ItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æç |
| | | BASE_ITEM item = edm.BASE_ITEM.FirstOrDefault(x => x.STORAGEENABLE == 1); |
| | | |
| | | if (item!=null) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¹éä¿®æ¹ä¸é |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool UpdateMaxStorage(ItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æç |
| | | List<BASE_ITEM> itemList = edm.BASE_ITEM.ToList(); |
| | | foreach (var i in itemList) |
| | | { |
| | | i.MAXSTORAGE = webEntity.maxStorage; |
| | | } |
| | | |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¹éä¿®æ¹ä¸é |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool UpdateMinStorage(ItemWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æç |
| | | List<BASE_ITEM> itemList = edm.BASE_ITEM.ToList(); |
| | | foreach (var i in itemList) |
| | | { |
| | | i.MINSTORAGE = webEntity.minStorage; |
| | | } |
| | | |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.ITEMSTORAGE |
| | | { |
| | | public class ItemStorageSqlFunc |
| | | { |
| | | |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_ITEMSTORAGE> SearchView(ItemStorageWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_ITEMSTORAGE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_ITEMSTORAGE> list = edm.View_ITEMSTORAGE.OrderByDescending(x => x.id).Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(ItemStorageWebEntity webEntity,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_ITEMSTORAGE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_ITEMSTORAGE.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// é¦é¡µæ»å¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<ReturnItemStorageEntity> SearchViewIndex(out string msg) |
| | | { |
| | | msg = ""; |
| | | List<ReturnItemStorageEntity> list=new List<ReturnItemStorageEntity>(); |
| | | using (Model edm = new Model()) |
| | | { |
| | | List<View_ITEMSTORAGE> storageList = edm.View_ITEMSTORAGE.Where(x => x.isLessDay == "æ¯" || x.isOverDay == "æ¯" || x.isMoreDay=="æ¯").ToList(); |
| | | //List<string> result = new List<string>(); |
| | | foreach (var i in storageList) |
| | | { |
| | | //result.Add("é¶ä»¶å·ï¼" + i.itemName + " é¶ä»¶åç§°ï¼" + i.itemDes + "è¶
é,ç®ååå¨" + i.itemNum + " 设置ä¸éï¼" + i.maxStorage + " ä¸éï¼" + i.minStorage); |
| | | ReturnItemStorageEntity entity = new ReturnItemStorageEntity() |
| | | { |
| | | itemName=i.itemName, |
| | | itemDes=i.itemDes, |
| | | itemNum=i.itemNum, |
| | | maxStorage=i.maxStorage, |
| | | minStorage=i.minStorage, |
| | | isLessDay=i.isLessDay, |
| | | isMoreDay=i.isMoreDay, |
| | | isOverDay=i.isOverDay |
| | | }; |
| | | list.Add(entity); |
| | | } |
| | | return list; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Helper; |
| | | |
| | | namespace IWareDataAccess.Base.PALLET |
| | | { |
| | | public class PalletSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<PalletWebEntity> Search(PalletWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_PALLET>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | List<BASE_PALLET> list = edm.BASE_PALLET.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | List<PalletWebEntity> pwlst=new List<PalletWebEntity>(); |
| | | list.ForEach(x => |
| | | { |
| | | pwlst.Add(new PalletWebEntity() { |
| | | id=x.ID, |
| | | PalletType=x.PALLETTYPE, |
| | | PalletCode=x.PALLETCODE, |
| | | HeightMax=x.HEIGHTMAX, |
| | | HeightMin=x.HEIGHTMIN, |
| | | LengthMax=x.LENGTHMAX, |
| | | LengthMin=x.LENGTHMIN, |
| | | WidthMax=x.WIDTHMAX, |
| | | WidthMin=x.WIDTHMIN |
| | | }); |
| | | }); |
| | | return pwlst; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(PalletWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_PALLET>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.BASE_PALLET.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ·»å ä¿®æ¹æç |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(PalletWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æç |
| | | BASE_PALLET pallet = edm.BASE_PALLET.FirstOrDefault(x => x.PALLETCODE==webEntity.PalletCode); |
| | | if (pallet == null) |
| | | { |
| | | //æ æ¤åºä½ï¼å±äºæ°å»º |
| | | pallet = new BASE_PALLET(); |
| | | } |
| | | else |
| | | { |
| | | msg = "该å¨å
·ç¼å·è§æ ¼å·²åå¨ï¼"; |
| | | } |
| | | pallet.PALLETCODE = webEntity.PalletCode ?? pallet.PALLETCODE; |
| | | pallet.PALLETTYPE = webEntity.PalletType ?? pallet.PALLETTYPE; |
| | | |
| | | edm.BASE_PALLET.AddOrUpdateExtension(pallet); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å 餿ç |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool Delete(PalletWebEntity webDevice, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤æé |
| | | BASE_PALLET pallet = edm.BASE_PALLET.FirstOrDefault(x => x.PALLETCODE == webDevice.PalletCode); |
| | | if (pallet == null) |
| | | { |
| | | //æ æ¤è§è² |
| | | msg = "æ æ¤è§æ ¼"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | edm.BASE_PALLET.Remove(pallet); |
| | | |
| | | return edm.SaveChanges()>0?true:false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.PLACE |
| | | { |
| | | public static class PlaceSqlFunc |
| | | { |
| | | |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<BASE_PLACE> Search(PlaceWebEntity webEntity, int page,int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_PLACE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<BASE_PLACE> list = edm.BASE_PLACE.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_PLACE> SearchView(PlaceWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_PLACE>(); |
| | | |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_BASE_PLACE> list = edm.View_BASE_PLACE.OrderByDescending(x => x.id).Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(PlaceWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_PLACE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_BASE_PLACE.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å ä¿®æ¹åºä½ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(PlaceWebEntity webPlace,out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | //æ¥è¯¢æ¯å¦å·²å卿¤åºä½ |
| | | BASE_PLACE place = edm.BASE_PLACE.FirstOrDefault(x=>x.PLACE==webPlace.place); |
| | | if (place == null) |
| | | { |
| | | //æ æ¤åºä½ï¼å±äºæ°å»º |
| | | place = new BASE_PLACE(); |
| | | } |
| | | place.PLACE = webPlace.place?? place.PLACE; |
| | | place.ROW = webPlace.row ??place.ROW ; |
| | | place.COL = webPlace.col??place.COL; |
| | | place.LAYER = webPlace.layer??place.LAYER; |
| | | place.SRMID = webPlace.srmId??place.SRMID; |
| | | place.ISFULL = webPlace.isFull??place.ISFULL; |
| | | place.ISLOCK = webPlace.isLock ?? place.ISLOCK; |
| | | |
| | | if (!string.IsNullOrEmpty(webPlace.placeType)) |
| | | { |
| | | BASE_PLACETYPE placeType = edm.BASE_PLACETYPE.FirstOrDefault(x => x.PLACETYPE == webPlace.placeType); |
| | | if (placeType != null) |
| | | { |
| | | place.PLACETYPEID = placeType.ID; |
| | | } |
| | | } |
| | | edm.BASE_PLACE.AddOrUpdateExtension(place); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿®æ¹å¤±è´¥"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·ååºä½ä¿¡æ¯ |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <param name="msg"></param> |
| | | /// <returns></returns> |
| | | public static List<PlaceEntity> GetPlace(int taskType,int isStartPlace, out string msg) |
| | | { |
| | | try |
| | | { |
| | | msg = ""; |
| | | List<PlaceEntity> placelst = new List<PlaceEntity>(); |
| | | using (Model md = new Model()) |
| | | { |
| | | switch (taskType) |
| | | { |
| | | case 1://å
¥åº |
| | | if (isStartPlace==1) |
| | | { |
| | | var lst = md.BASE_PRODUCTIONLINE.Where(x => x.ISDESTINATION == 1 && x.PRODUCTIONLINENAME.Contains("å
¥å£")).ToList(); |
| | | if (lst != null && lst.Count>0) |
| | | { |
| | | lst.ForEach(x => |
| | | { |
| | | placelst.Add(new PlaceEntity() |
| | | { |
| | | placeCode=x.PRODUCTIONLINECODE, |
| | | placeName=x.PRODUCTIONLINENAME |
| | | }); |
| | | }); |
| | | } |
| | | |
| | | }else |
| | | { |
| | | var srmtask = md.SrmTask.Where(x => x.HASFINISHED == 0).ToList(); |
| | | var maintask = md.TASK_TASK.Where(x => x.HASFINISHED == 0).ToList(); |
| | | var emptyplace = md.BASE_PLACE.Where(x => x.ISFULL == 0 && x.ISLOCK == 0).ToList(); |
| | | if (emptyplace != null && emptyplace.Count>0) |
| | | { |
| | | emptyplace.ForEach(x => |
| | | { |
| | | bool bs = true; |
| | | bool bm = true; |
| | | if (srmtask != null || maintask != null) |
| | | { |
| | | int srmid = int.Parse(x.PLACE.Split('-')[0].ToString()); |
| | | bs = srmtask.FirstOrDefault(y => (x.PLACE.Contains(y.SOURCEPLACE) || x.PLACE.Contains(y.TOPLACE)) && y.USESRMID == srmid) == null ? true : false; |
| | | bm = maintask.FirstOrDefault(y => y.SOURCEPLACE.Contains(x.PLACE) || y.TOPLACE.Contains(x.PLACE)) == null ? true : false; |
| | | } |
| | | if (bs&&bm) |
| | | { |
| | | placelst.Add(new PlaceEntity() |
| | | { |
| | | placeCode = x.PLACE, |
| | | placeName = x.PLACE |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | break; |
| | | case 2://åºåº |
| | | if (isStartPlace == 1) |
| | | { |
| | | // var srmtask = md.SrmTasks.Where(x => x.HASFINISHED == 0).ToList(); |
| | | var maintask = md.TASK_TASK.Where(x => x.HASFINISHED == 0 && x.TASKSTATUS!="ä»»å¡å é¤").ToList(); |
| | | var place = md.BASE_PLACE.Where(x => x.ISFULL == 1 && x.ISLOCK == 0).ToList(); |
| | | if (place != null && place.Count > 0) |
| | | { |
| | | place.ForEach(x => |
| | | { |
| | | bool bs = true; |
| | | bool bm = true; |
| | | if (maintask != null) |
| | | { |
| | | //int srmid = int.Parse(x.PLACE.Split('-')[0].ToString()); |
| | | // bs = srmtask.FirstOrDefault(y => (x.PLACE.Contains(y.SOURCEPLACE) || x.PLACE.Contains(y.TOPLACE)) && y.USESRMID == srmid) == null ? true : false; |
| | | bm = maintask.FirstOrDefault(y => y.SOURCEPLACE.Contains(x.PLACE) || y.TOPLACE.Contains(x.PLACE)) == null ? true : false; |
| | | } |
| | | if (bs && bm) |
| | | { |
| | | placelst.Add(new PlaceEntity() |
| | | { |
| | | placeCode = x.PLACE, |
| | | placeName = x.PLACE |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | var lst = md.BASE_PRODUCTIONLINE.Where(x => x.ISDESTINATION == 0 && x.PRODUCTIONLINENAME.Contains("åºå£")).ToList(); |
| | | if (lst != null && lst.Count > 0) |
| | | { |
| | | lst.ForEach(x => |
| | | { |
| | | placelst.Add(new PlaceEntity() |
| | | { |
| | | placeCode = x.PRODUCTIONLINECODE, |
| | | placeName = x.PRODUCTIONLINENAME, |
| | | }); |
| | | }); |
| | | } |
| | | } |
| | | break; |
| | | case 3://ç§»åº |
| | | var srmtasks = md.SrmTask.Where(x => x.HASFINISHED == 0).ToList(); |
| | | var maintasks = md.TASK_TASK.Where(x => x.HASFINISHED == 0).ToList(); |
| | | var places = md.BASE_PLACE.Where(x => x.ISFULL == 1 && x.ISLOCK == 0).ToList(); |
| | | if (places != null && places.Count > 0) |
| | | { |
| | | places.ForEach(x => |
| | | { |
| | | bool bs = true; |
| | | bool bm = true; |
| | | if (srmtasks != null|| maintasks != null) |
| | | { |
| | | int srmid = int.Parse(x.PLACE.Split('-')[0].ToString()); |
| | | bs = srmtasks.FirstOrDefault(y => (x.PLACE.Contains(y.SOURCEPLACE) || x.PLACE.Contains(y.TOPLACE)) && y.USESRMID == srmid) == null ? true : false; |
| | | bm = maintasks.FirstOrDefault(y => y.SOURCEPLACE.Contains(x.PLACE) || y.TOPLACE.Contains(x.PLACE)) == null ? true : false; |
| | | } |
| | | if (bs && bm) |
| | | { |
| | | placelst.Add(new PlaceEntity() |
| | | { |
| | | placeCode = x.PLACE, |
| | | placeName = x.PLACE |
| | | |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | break; |
| | | |
| | | } |
| | | return placelst; |
| | | } |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | msg = "è·å失败ï¼"; |
| | | return new List<PlaceEntity>(); |
| | | } |
| | | } |
| | | |
| | | |
| | | public static PlaceStatusCountEntity GetAllStatusPlaceCount(int storageNo, out string msg) |
| | | { |
| | | try |
| | | { |
| | | msg = ""; |
| | | |
| | | using (Model md = new Model()) |
| | | { |
| | | var placealllst = md.BASE_PLACE.Where(x => x.PLACE.Contains("-")).ToList(); |
| | | var pvcviealllst = md.View_BASE_PLACE_VS_CONTAINER.Where(x => x.place.Contains("-")).ToList(); |
| | | var placelst = md.BASE_PLACE.Where(x => x.SRMID == storageNo).ToList(); |
| | | var lockplace=placelst.Where(x=>x.ISLOCK==1).Count(); |
| | | var emptyplace=placelst.Where(x=>x.ISFULL==0&&x.ISLOCK==0).Count(); |
| | | var cpc = pvcviealllst.Where(x => x.srmId == storageNo && string.IsNullOrEmpty(x.itemName)).ToList().Count(); |
| | | var ipc = pvcviealllst.Where(x => x.srmId == storageNo && !string.IsNullOrEmpty(x.containerName)).Select(x => x.place).ToList().Distinct().Count(); |
| | | PlaceStatusCountEntity psclst = new PlaceStatusCountEntity(); |
| | | psclst.lPlaceCount = lockplace; |
| | | psclst.cPlaceCount = cpc; |
| | | psclst.iPlaceCount = ipc; |
| | | psclst.ePlaceCount = emptyplace; |
| | | |
| | | var lockallplace = placealllst.Where(x => x.ISLOCK == 1).Count(); |
| | | var emptyallplace = placealllst.Where(x => x.ISFULL == 0 && x.ISLOCK == 0).Count(); |
| | | var callpc = pvcviealllst.Where(x => string.IsNullOrEmpty(x.containerName)).ToList().Count(); |
| | | var iallpc = pvcviealllst.Where(x => !string.IsNullOrEmpty(x.containerName)).Select(x => x.place).ToList().Distinct().Count(); |
| | | psclst.lAllPlaceCount = lockallplace; |
| | | psclst.cAllPlaceCount = callpc; |
| | | psclst.iAllPlaceCount = iallpc; |
| | | psclst.eAllPlaceCount = emptyallplace; |
| | | |
| | | return psclst; |
| | | } |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | msg = "è·å失败ï¼"; |
| | | return new PlaceStatusCountEntity(); |
| | | } |
| | | } |
| | | |
| | | public static List<PlaceEntity> GetAllPlaceInfo(int storageNo, int row, out string msg) |
| | | { |
| | | try |
| | | { |
| | | msg = ""; |
| | | List<PlaceEntity> placelst = new List<PlaceEntity>(); |
| | | using (Model md = new Model()) |
| | | { |
| | | |
| | | var pvcvilst = md.View_BASE_PLACE_VS_CONTAINER.Where(x => x.srmId == storageNo).ToList(); |
| | | var place = md.BASE_PLACE.Where(x => x.SRMID == storageNo && x.ROW == row).ToList(); |
| | | int maxcol = (int)place.Select(x => x.COL).ToList().Max(); |
| | | int maxlary = (int)place.Select(x => x.LAYER).ToList().Max(); |
| | | if (place != null && place.Count > 0) |
| | | { |
| | | for (int i = 1; i <= maxlary; i++) |
| | | { |
| | | for (int j = 1; j <= maxcol; j++) |
| | | { |
| | | |
| | | int states = 0; |
| | | var pl=place.FirstOrDefault(x=>x.LAYER==i&&x.COL==j); |
| | | if (pl != null) |
| | | { |
| | | var pvcvi = pvcvilst.FirstOrDefault(y => y.place == pl.PLACE); |
| | | if (pvcvi != null) |
| | | { |
| | | if (pl.ISFULL == 1) |
| | | { |
| | | if (string.IsNullOrEmpty(pvcvi.itemName)) |
| | | { |
| | | states = 1;//空å¨å
· |
| | | } |
| | | else |
| | | { |
| | | states = 2;//æè´§ |
| | | } |
| | | } |
| | | else |
| | | { |
| | | states = 0;//空åºä½ |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (pl.ISLOCK == 1) |
| | | { |
| | | states = 3;//éå® |
| | | } |
| | | else |
| | | { |
| | | states = 0; |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | string colv = (i >= 10) ? i.ToString() : "0" + i.ToString(); |
| | | string layv = (i >= 10) ? j.ToString() : "0" + j.ToString(); |
| | | pl = new BASE_PLACE(); |
| | | pl.PLACE = storageNo + "-0" + row + "-" + colv + "-" + layv; |
| | | pl.PLACE=""; |
| | | states=99; |
| | | pl.COL=j; |
| | | pl.ROW = row; |
| | | pl.LAYER=i; |
| | | } |
| | | |
| | | |
| | | placelst.Add(new PlaceEntity() |
| | | { |
| | | placeCode = pl.PLACE, |
| | | placeName = pl.PLACE, |
| | | placeStates = states, |
| | | col = pl.COL, |
| | | row = pl.ROW, |
| | | layer = pl.LAYER |
| | | |
| | | }); |
| | | |
| | | } |
| | | } |
| | | } |
| | | return placelst; |
| | | } |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | msg = "è·å失败ï¼"; |
| | | return new List<PlaceEntity>(); |
| | | } |
| | | } |
| | | |
| | | public static List<View_BASE_PLACE_VS_CONTAINER> GetPVCVIInfo(string placeName, out string msg) |
| | | { |
| | | try |
| | | { |
| | | msg = ""; |
| | | List<View_BASE_PLACE_VS_CONTAINER> placelst = new List<View_BASE_PLACE_VS_CONTAINER>(); |
| | | using (Model md = new Model()) |
| | | { |
| | | placelst = md.View_BASE_PLACE_VS_CONTAINER.Where(x => x.place == placeName).ToList(); |
| | | if (placelst != null && placelst.Count > 0) |
| | | { |
| | | return placelst; |
| | | }else |
| | | { |
| | | return null; |
| | | } |
| | | |
| | | } |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | msg = "è·å失败ï¼"; |
| | | return new List<View_BASE_PLACE_VS_CONTAINER>(); |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Entity.Summary; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.PLACEVSCONTAINER |
| | | { |
| | | public static class PlaceVsContainerSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<BASE_PLACE_VS_CONTAINER> Search(PlaceVsContainerWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_PLACE_VS_CONTAINER>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.UPDATETIME > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.UPDATETIME < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | List<BASE_PLACE_VS_CONTAINER> list = edm.BASE_PLACE_VS_CONTAINER.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_PLACE_VS_CONTAINER> SearchView(PlaceVsContainerWebEntity webEntity, int page, int onePageNum, out int totalnum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | if (!string.IsNullOrEmpty(webEntity.isEmptyContainer)) |
| | | { |
| | | webEntity.enable2 = null; |
| | | } |
| | | Dictionary<string, object> parm = new Dictionary<string, object>(); |
| | | var f = PredicateBuilder.True<View_BASE_PLACE_VS_CONTAINER>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | parm.Add(i.Name, value); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.updateTime > value); |
| | | parm.Add("updateTime", value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.updateTime < value); |
| | | parm.Add("updateTime", value); |
| | | } |
| | | |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | parm.Add(i.Name, v); |
| | | } |
| | | } |
| | | } |
| | | List<View_BASE_PLACE_VS_CONTAINER> list = new List<View_BASE_PLACE_VS_CONTAINER>(); |
| | | View_BASE_PLACE_VS_CONTAINER pvi = new View_BASE_PLACE_VS_CONTAINER(); |
| | | var data = SearchHelper.GetSearchData(edm, page, onePageNum, out totalnum, parm, pvi); |
| | | list = data; |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(PlaceVsContainerWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_PLACE_VS_CONTAINER>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.updateTime > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.updateTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = 0; |
| | | //è¡¥ä¸ |
| | | if (string.IsNullOrEmpty(webEntity.itemName)) |
| | | { |
| | | num = edm.View_BASE_PLACE_VS_CONTAINER.Where(f.Compile()).Count(); |
| | | } |
| | | else |
| | | { |
| | | num = edm.View_BASE_PLACE_VS_CONTAINER.Where(x => x.itemName.Contains(webEntity.itemName)).Where(f.Compile()).Count(); |
| | | } |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢æ»åºåæ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchItemAllNum(PlaceVsContainerWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_PLACE_VS_CONTAINER>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.updateTime > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.updateTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | int num = edm.View_BASE_PLACE_VS_CONTAINER.Where(x => x.itemName.Contains(webEntity.itemName)).Where(f.Compile()).Sum(x => x.itemNum) ?? 0; |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢ææåºåæ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchItemCanUseNum(PlaceVsContainerWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | //int numCanUse = edm.BASE_CONTAINER_VS_ITEM.Where(x => (x.OUTPLANID ?? 0) == 0 && x.BASE_ITEM.ITEMNAME==webEntity.itemName && x.ENABLE==1).Sum(x => x.ITEMNUM) ?? 0; |
| | | int numCanUse = edm.BASE_CONTAINER_VS_ITEM.Where(x => x.BASE_ITEM.ITEMNAME == webEntity.itemName && x.ENABLE == 1).Sum(x => x.ITEMNUM) ?? 0; |
| | | List<ORDER_OUTORDER> orderList = edm.ORDER_OUTORDER.Where(x => x.BASE_ITEM.ITEMNAME == webEntity.itemName && x.ORDERSTATUS == "æ§è¡ä¸" && x.ENABLE == 1).ToList(); |
| | | foreach (var i in orderList) |
| | | { |
| | | numCanUse = numCanUse - ((i.TOTALOUTNUM ?? 0) - (i.CHECKOUTNUM ?? 0)); |
| | | } |
| | | return numCanUse; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å ä¿®æ¹ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool Add(PlaceVsContainerWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | BASE_PLACE_VS_CONTAINER pvc = new BASE_PLACE_VS_CONTAINER(); |
| | | pvc = edm.BASE_PLACE_VS_CONTAINER.FirstOrDefault(x => x.PVCCODE == webEntity.pvcCode); |
| | | if (pvc != null) |
| | | { |
| | | //msg = "æ¤åºåç¼å·å·²åå¨"; |
| | | //return false; |
| | | } |
| | | else |
| | | { |
| | | pvc = new BASE_PLACE_VS_CONTAINER(); |
| | | pvc.STATUS = "IN"; |
| | | pvc.BASE_PLACE.ISFULL = 1; |
| | | } |
| | | BASE_CONTAINER container = edm.BASE_CONTAINER.FirstOrDefault(x => x.CONTAINERNAME == webEntity.containerName); |
| | | if (container == null) |
| | | { |
| | | msg = "æ æ¤æç"; |
| | | return false; |
| | | } |
| | | pvc.BASE_CONTAINER = container; |
| | | BASE_PLACE place = edm.BASE_PLACE.FirstOrDefault(x => x.PLACE == webEntity.place); |
| | | if (place == null) |
| | | { |
| | | msg = "æ æ¤åºä½"; |
| | | return false; |
| | | } |
| | | if (place.ISFULL == 1) |
| | | { |
| | | msg = "æ¤åºä½å·²æä¸è¥¿"; |
| | | return false; |
| | | } |
| | | pvc.BASE_PLACE = place; |
| | | pvc.UPDATETIME = DateTime.Now; |
| | | |
| | | pvc.ENABLE = webEntity.enable ?? pvc.ENABLE; |
| | | pvc.PVCCODE = webEntity.pvcCode ?? pvc.PVCCODE; |
| | | |
| | | edm.BASE_PLACE_VS_CONTAINER.AddOrUpdateExtension(pvc); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å é¤ |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool Delete(PlaceVsContainerWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | BASE_PLACE_VS_CONTAINER pvc = edm.BASE_PLACE_VS_CONTAINER.FirstOrDefault(x => x.BASE_PLACE.PLACE == webEntity.place); |
| | | if (pvc == null) |
| | | { |
| | | msg = "æ æ¤åºå"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | ///æ´æ¹åºä½ç¶æ |
| | | var place = edm.BASE_PLACE.FirstOrDefault(x => x.ID == pvc.PLACEID); |
| | | if (place != null) |
| | | { |
| | | place.ISFULL = 0; |
| | | } |
| | | ///å 餿çç©æå
³ç³» |
| | | var cvilst = edm.BASE_CONTAINER_VS_ITEM.Where(x => x.CONTAINERID == pvc.CONTAINERID).ToList(); |
| | | if (cvilst != null && cvilst.Count > 0) |
| | | { |
| | | edm.BASE_CONTAINER_VS_ITEM.RemoveRange(cvilst); |
| | | } |
| | | ///å 餿çåºä½å
³ç³» |
| | | edm.BASE_PLACE_VS_CONTAINER.Remove(pvc); |
| | | |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | //è®°å½å 餿çåç©æç»å®å
³ç³»æ¥å¿ ãEditby shaoc,2023-03-07ã |
| | | IWareDataAccess.Helper.Helper.LogRemoveBASE_CONTAINER_VS_ITEM(cvilst, "PlaceVsContainerSqlFunc.Delete", "å é¤"); |
| | | WZ.Useful.Commons.LogTextHelper.WriteLine("PlaceVsContainerSqlFunc", "Delete", "æåå é¤" + pvc.BASE_PLACE.PLACE + ",å¨å
·" + pvc.BASE_CONTAINER.CONTAINERNAME); |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åç»çå· |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static string GetCode() |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | string month = DateTime.Now.Month.ToString("00"); |
| | | string day = DateTime.Now.Day.ToString("00"); |
| | | string hour = DateTime.Now.Hour.ToString("00"); |
| | | string minute = DateTime.Now.Minute.ToString("00"); |
| | | string second = DateTime.Now.Second.ToString("00"); |
| | | string millSecond = DateTime.Now.Millisecond.ToString("0000"); |
| | | string time = DateTime.Now.Year.ToString() + month + day + hour + minute + second + millSecond; |
| | | |
| | | return "PC" + time; |
| | | } |
| | | } |
| | | |
| | | public static List<HomeNumDataEntity> SearchEmptyContainerPlace(PlaceVsContainerWebEntity model, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var item = edm.BASE_ITEM.FirstOrDefault(x => x.ITEMNAME == model.itemName); |
| | | int allcout = 0; |
| | | int cout = 0; |
| | | if (item != null && !string.IsNullOrEmpty(item.USECONTAINERTYPE)) |
| | | { |
| | | List<string> typeList = item.USECONTAINERTYPE.Split(',').ToList(); |
| | | foreach (var i in typeList) |
| | | { |
| | | var place = edm.BASE_PLACE_VS_CONTAINER.Where(x => x.BASE_CONTAINER.BASE_CONTAINER_VS_ITEM.Count == 0 && i.Contains(x.BASE_CONTAINER.CONTAINERTYPE)).ToList(); |
| | | allcout = (place == null ? 0 : place.Select(x => x.CONTAINERID).ToList().Distinct().ToList().Count) + allcout; |
| | | cout = (place == null ? 0 : place.Where(x => x.STATUS == "IN").Select(x => x.CONTAINERID).ToList().Distinct().ToList().Count) + cout; |
| | | } |
| | | } |
| | | List<HomeNumDataEntity> hndlst = new List<HomeNumDataEntity>(); |
| | | hndlst.Add(new HomeNumDataEntity() { no = 1, titel = "æ»ç©ºå¨å
·æ°", value = allcout }); |
| | | hndlst.Add(new HomeNumDataEntity() { no = 2, titel = "ææç©ºå¨å
·æ°", value = cout }); |
| | | return hndlst; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.PRINT |
| | | { |
| | | public class PrintSqlFunc |
| | | { |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Base; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Base.PRODUCTIONLINE |
| | | { |
| | | public static class ProductionLineSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<BASE_PRODUCTIONLINE> Search(ProductionLineWebEntity webEntity, int page,int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<BASE_PRODUCTIONLINE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | List<BASE_PRODUCTIONLINE> list = edm.BASE_PRODUCTIONLINE.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_BASE_PRODUCTIONLINE> SearchView(ProductionLineWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_PRODUCTIONLINE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_BASE_PRODUCTIONLINE> list = edm.View_BASE_PRODUCTIONLINE.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(ProductionLineWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_BASE_PRODUCTIONLINE>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_BASE_PRODUCTIONLINE.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å ä¿®æ¹ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(ProductionLineWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | BASE_PRODUCTIONLINE pl = new BASE_PRODUCTIONLINE(); |
| | | pl = edm.BASE_PRODUCTIONLINE.FirstOrDefault(x => x.PRODUCTIONLINECODE == webEntity.productionCode); |
| | | if (pl == null) |
| | | { |
| | | pl = new BASE_PRODUCTIONLINE(); |
| | | } |
| | | |
| | | pl.PRODUCTIONLINECODE = webEntity.productionCode ?? pl.PRODUCTIONLINECODE; |
| | | pl.PRODUCTIONLINENAME = webEntity.productionName ?? pl.PRODUCTIONLINENAME; |
| | | pl.ENABLE = webEntity.enable ?? pl.ENABLE; |
| | | pl.ISDESTINATION = webEntity.isDestination; |
| | | |
| | | edm.BASE_PRODUCTIONLINE.AddOrUpdateExtension(pl); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å é¤ |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool Delete(ProductionLineWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | BASE_PRODUCTIONLINE pl = edm.BASE_PRODUCTIONLINE.FirstOrDefault(x => x.PRODUCTIONLINECODE == webEntity.productionCode); |
| | | if (pl == null) |
| | | { |
| | | //æ æ¤è§è² |
| | | msg = "æ æ¤ç线"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | //edm.BASE_CONTAINER_VS_ITEM.Remove(cvi); |
| | | pl.ENABLE = 0; |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Car; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Car.CAR |
| | | { |
| | | public static class CarSqlFunc |
| | | { |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<CAR_CAR> Search(CarWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<CAR_CAR>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | List<CAR_CAR> list = edm.CAR_CAR.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_CAR_CAR> SearchView(CarWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_CAR_CAR>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_CAR_CAR> list = edm.View_CAR_CAR.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(CarWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_CAR_CAR>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_CAR_CAR.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ·»å åè½¦ä»»å¡ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(CarWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | CAR_CAR car = new CAR_CAR(); |
| | | car = edm.CAR_CAR.FirstOrDefault(x => x.CARNAME == webEntity.carName); |
| | | if (car == null) |
| | | { |
| | | car = new CAR_CAR(); |
| | | } |
| | | car.CARNAME = webEntity.carName ?? car.CARNAME; |
| | | car.CARCODE = webEntity.carCode ?? car.CARCODE; |
| | | SYS_USER user = edm.SYS_USER.FirstOrDefault(x => x.USERNAME == webEntity.userName); |
| | | if (user != null) |
| | | { |
| | | car.SYS_USER = user; |
| | | } |
| | | CAR_CARTASK carTask = edm.CAR_CARTASK.FirstOrDefault(x => x.CARTASKNAME == webEntity.carTaskName); |
| | | if (car != null) |
| | | { |
| | | car.CAR_CARTASK = carTask; |
| | | |
| | | } |
| | | car.STATUS = webEntity.status ?? car.STATUS; |
| | | car.ENABLE = webEntity.enable ?? car.ENABLE; |
| | | car.ISWORK = webEntity.isWork ?? car.ISWORK; |
| | | edm.CAR_CAR.AddOrUpdateExtension(car); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å é¤ |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool Delete(CarWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | CAR_CAR carTask = edm.CAR_CAR.FirstOrDefault(x => x.CARNAME == webEntity.carName); |
| | | if (carTask == null) |
| | | { |
| | | //æ æ¤è§è² |
| | | msg = "æ æ¤å车"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | //edm.BASE_CONTAINER_VS_ITEM.Remove(cvi); |
| | | carTask.ENABLE = 0; |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.EF; |
| | | using IWareDataAccess.Entity.Car; |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Car.CARTASK |
| | | { |
| | | public static class CarTaskSqlFunc |
| | | { |
| | | |
| | | /// <summary> |
| | | /// æç´¢è¡¨ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<CAR_CARTASK> Search(CarTaskWebEntity webEntity, int page, int onePageNum, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<CAR_CARTASK>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.UPDATETIME > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.UPDATETIME < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | List<CAR_CARTASK> list = edm.CAR_CARTASK.Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾ |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static List<View_CAR_CARTASK> SearchView(CarTaskWebEntity webEntity, int page, int onePageNum, string typeInput, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_CAR_CARTASK>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | if (i.Name == "taskStatusNot") |
| | | { |
| | | string name = i.Name.Replace("Not", ""); |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, name) != null ? Helper.Helper.GetFieldValueByName(x, name).ToString() != value : false); |
| | | } |
| | | else |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | |
| | | if (i.Name == "taskStatus") |
| | | { |
| | | if (typeInput == "1") |
| | | { |
| | | f = f.And(x => x.taskStatus == "æ°å»º"); |
| | | |
| | | } |
| | | } |
| | | if (i.Name == "fromDestination") |
| | | { |
| | | if (typeInput == "1") |
| | | { |
| | | f = f.And(x => x.fromDestination == "ä¸å·åºå£"); |
| | | } |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.updateTime > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.updateTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | List<View_CAR_CARTASK> list = edm.View_CAR_CARTASK.OrderByDescending(x => x.id).Where(f.Compile()).Skip((page - 1) * onePageNum).Take(onePageNum).ToList(); |
| | | |
| | | return list; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æç´¢è§å¾æ°é |
| | | /// </summary> |
| | | /// <param name="keyValue"></param> |
| | | /// <param name="page"></param> |
| | | /// <returns></returns> |
| | | public static int SearchViewNum(CarTaskWebEntity webEntity) |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | var f = PredicateBuilder.True<View_CAR_CARTASK>(); |
| | | //ä¾¿å©ææå±æ§ |
| | | Type type = webEntity.GetType(); |
| | | foreach (var i in type.GetProperties()) |
| | | { |
| | | object v = Helper.Helper.GetFieldValueByName(webEntity, i.Name); |
| | | if (i.PropertyType == typeof(String)) |
| | | { |
| | | string value; |
| | | if (v != null) |
| | | { |
| | | if (i.Name == "taskStatusNot") |
| | | { |
| | | string name = i.Name.Replace("Not", ""); |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, name) != null ? Helper.Helper.GetFieldValueByName(x, name).ToString() != value : false); |
| | | } |
| | | else |
| | | { |
| | | value = v.ToString(); |
| | | f = f.And(x => Helper.Helper.GetFieldValueByName(x, i.Name) != null ? Helper.Helper.GetFieldValueByName(x, i.Name).ToString().Contains(value) : false); |
| | | } |
| | | } |
| | | } |
| | | else if (i.PropertyType == typeof(DateTime?)) |
| | | { |
| | | if (v != null) |
| | | { |
| | | DateTime value = DateTime.Parse(v.ToString()); |
| | | if (i.Name == "updateTimeStart") |
| | | { |
| | | f = f.And(x => x.updateTime > value); |
| | | } |
| | | if (i.Name == "updateTimeEnd") |
| | | { |
| | | f = f.And(x => x.updateTime < value); |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (v != null) |
| | | { |
| | | f = f.And(x => Object.Equals(Helper.Helper.GetFieldValueByName(x, i.Name), v)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | int num = edm.View_CAR_CARTASK.Where(f.Compile()).Count(); |
| | | |
| | | return num; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// æ·»å åè½¦ä»»å¡ |
| | | /// </summary> |
| | | /// <param name="role"></param> |
| | | /// <returns></returns> |
| | | public static bool AddOrUpdate(CarTaskWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | CAR_CARTASK carTask = new CAR_CARTASK(); |
| | | carTask = edm.CAR_CARTASK.FirstOrDefault(x => x.CARTASKNAME == webEntity.carTaskName); |
| | | if (carTask == null) |
| | | { |
| | | carTask = new CAR_CARTASK(); |
| | | } |
| | | carTask.CARTASKNAME = webEntity.carTaskName ?? carTask.CARTASKNAME; |
| | | BASE_CONTAINER container = edm.BASE_CONTAINER.FirstOrDefault(x => x.CONTAINERNAME == webEntity.containerName); |
| | | if (container == null) |
| | | { |
| | | msg = "æ æ¤æç"; |
| | | return false; |
| | | } |
| | | carTask.BASE_CONTAINER = container; |
| | | |
| | | BASE_PRODUCTIONLINE lineFrom = edm.BASE_PRODUCTIONLINE.FirstOrDefault(x => x.PRODUCTIONLINENAME == webEntity.fromDestination); |
| | | if (lineFrom != null) |
| | | { |
| | | carTask.FROMDESTINATION = webEntity.fromDestination; |
| | | |
| | | } |
| | | else |
| | | { |
| | | msg = "æ æ¤èµ·å§å·¥ä½"; |
| | | return false; |
| | | } |
| | | BASE_PRODUCTIONLINE lineTo = edm.BASE_PRODUCTIONLINE.FirstOrDefault(x => x.PRODUCTIONLINENAME == webEntity.toDestination); |
| | | if (lineTo != null) |
| | | { |
| | | carTask.TODESTINATION = webEntity.toDestination; |
| | | |
| | | } |
| | | else |
| | | { |
| | | //msg = "æ æ¤ç®æ å·¥ä½"; |
| | | //return false; |
| | | carTask.TODESTINATION = webEntity.toDestination; |
| | | } |
| | | carTask.TASKSTATUS = webEntity.taskStatus ?? carTask.TASKSTATUS; |
| | | carTask.ENABLE = webEntity.enable ?? carTask.ENABLE; |
| | | SYS_USER user = edm.SYS_USER.FirstOrDefault(x => x.USERNAME == webEntity.userName); |
| | | if (user != null) |
| | | { |
| | | carTask.CREATORID = user.ID; |
| | | carTask.CREATEUSERID = user.ID; |
| | | } |
| | | carTask.UPDATETIME = DateTime.Now; |
| | | edm.CAR_CARTASK.AddOrUpdateExtension(carTask); |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹å车任å¡ç¶æ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static bool CarGetTask(CarTaskWebEntity carTaskEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | CAR_CARTASK carTask = edm.CAR_CARTASK.FirstOrDefault(x => x.CARTASKNAME == carTaskEntity.carTaskName); |
| | | if (carTask == null) |
| | | { |
| | | msg = "æ æ¤ä»»å¡"; |
| | | return false; |
| | | } |
| | | SYS_USER user = edm.SYS_USER.FirstOrDefault(x => x.USERNAME == carTaskEntity.getUserName); |
| | | if (user != null) |
| | | { |
| | | carTask.USERID = user.ID; |
| | | } |
| | | else |
| | | { |
| | | msg = "è·åé¢ç¨äººå¤±è´¥ï¼"; |
| | | return false; |
| | | } |
| | | carTask.TASKSTATUS = carTaskEntity.taskStatus; |
| | | carTask.CREATETIME = DateTime.Now; |
| | | //CAR_CAR car = edm.CAR_CAR.FirstOrDefault(x => x.CARNAME == carTaskEntity.carName); |
| | | //if (car == null) |
| | | //{ |
| | | // msg = "æ æ¤å车"; |
| | | // return false; |
| | | //} |
| | | //car.CARTASKID = carTask.ID; |
| | | |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å é¤ |
| | | /// </summary> |
| | | /// <param name="webDevice"></param> |
| | | /// <returns></returns> |
| | | public static bool Delete(CarTaskWebEntity webEntity, out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | CAR_CARTASK carTask = edm.CAR_CARTASK.FirstOrDefault(x => x.CARTASKNAME == webEntity.carTaskName); |
| | | if (carTask == null) |
| | | { |
| | | //æ æ¤è§è² |
| | | msg = "æ æ¤å车任å¡"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | //edm.BASE_CONTAINER_VS_ITEM.Remove(cvi); |
| | | carTask.ENABLE = 0; |
| | | if (edm.SaveChanges() > 0) |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | msg = "ä¿å失败"; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// è·åç»çå· |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static string GetCode() |
| | | { |
| | | using (Model edm = new Model()) |
| | | { |
| | | |
| | | string month = DateTime.Now.Month.ToString("00"); |
| | | string day = DateTime.Now.Day.ToString("00"); |
| | | string hour = DateTime.Now.Hour.ToString("00"); |
| | | string minute = DateTime.Now.Minute.ToString("00"); |
| | | string second = DateTime.Now.Second.ToString("00"); |
| | | string millSecond = DateTime.Now.Millisecond.ToString("0000"); |
| | | string time = DateTime.Now.Year.ToString() + month + day + hour + minute + second + millSecond; |
| | | |
| | | return "CT" + time; |
| | | } |
| | | } |
| | | |
| | | public static List<string> GetCarUser(out string msg) |
| | | { |
| | | msg = ""; |
| | | using (Model edm = new Model()) |
| | | { |
| | | var carlst = edm.CAR_CAR.Where(x => x.ENABLE == 1).ToList(); |
| | | var uidlst = carlst.Select(x => x.USERID).Distinct().ToList(); |
| | | var userlst = edm.SYS_USER.Where(x => x.ENABLE == 1).ToList(); |
| | | List<string> namelst = new List<string>(); |
| | | uidlst.ForEach(x => |
| | | { |
| | | var uer = userlst.FirstOrDefault(y => y.ID == x); |
| | | if (uer != null) |
| | | { |
| | | namelst.Add(uer.USERNAME); |
| | | } |
| | | |
| | | }); |
| | | return namelst; |
| | | } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class ALERT_ALERT |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ALERTNAME { get; set; } |
| | | |
| | | public int? ALERTDEVICEID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ALERTDES { get; set; } |
| | | |
| | | public DateTime? CREATETIME { get; set; } |
| | | |
| | | public DateTime? FINISHTIME { get; set; } |
| | | |
| | | public int? TOTALTIME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ALERTCODE { get; set; } |
| | | |
| | | public int? HASDONE { get; set; } |
| | | |
| | | public virtual BASE_DEVICE BASE_DEVICE { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class ALERT_ALERTTIME |
| | | { |
| | | [Key] |
| | | [Column(Order = 0)] |
| | | [StringLength(50)] |
| | | public string DEVICENAME { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 1, TypeName = "date")] |
| | | public DateTime DAY { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 2)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int TIME { get; set; } |
| | | |
| | | public int? ISERROR { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_CONTAINER |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public BASE_CONTAINER() |
| | | { |
| | | BASE_CONTAINER_VS_ITEM = new HashSet<BASE_CONTAINER_VS_ITEM>(); |
| | | BASE_PLACE_VS_CONTAINER = new HashSet<BASE_PLACE_VS_CONTAINER>(); |
| | | CAR_CARTASK = new HashSet<CAR_CARTASK>(); |
| | | TASK_RECORD = new HashSet<TASK_RECORD>(); |
| | | TASK_SRMRECORD = new HashSet<TASK_SRMRECORD>(); |
| | | TASK_TASK = new HashSet<TASK_TASK>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CONTAINERNAME { get; set; } |
| | | |
| | | public int? PALLETTYPEID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CONTAINERTYPE { get; set; } |
| | | |
| | | public int? STATUS { get; set; } |
| | | |
| | | public decimal? WEIGHT { get; set; } |
| | | |
| | | public decimal? LENGTH { get; set; } |
| | | |
| | | public decimal? HEIGHT { get; set; } |
| | | |
| | | public decimal? WIDTH { get; set; } |
| | | |
| | | public decimal? WEIGHTDIFFERENCE { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CONTAINERDES { get; set; } |
| | | |
| | | [StringLength(100)] |
| | | public string IMG { get; set; } |
| | | |
| | | public int? ISLOCK { get; set; } |
| | | |
| | | public virtual BASE_PALLET BASE_PALLET { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_CONTAINER_VS_ITEM> BASE_CONTAINER_VS_ITEM { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_PLACE_VS_CONTAINER> BASE_PLACE_VS_CONTAINER { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<CAR_CARTASK> CAR_CARTASK { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TASK_RECORD> TASK_RECORD { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TASK_SRMRECORD> TASK_SRMRECORD { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TASK_TASK> TASK_TASK { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_CONTAINER_VS_ITEM |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int? CONTAINERID { get; set; } |
| | | |
| | | public int? ITEMID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ ãEditBy shaocx,2022-11-2ã |
| | | /// </summary> |
| | | public DateTime? CreateTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹æ¶é´ |
| | | /// </summary> |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | public string OperationRemark { get; set; } |
| | | |
| | | public int? ITEMNUM { get; set; } |
| | | |
| | | public int? ISBAD { get; set; } |
| | | |
| | | public int? INPLANID { get; set; } |
| | | |
| | | public int? OUTPLANID { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string BADBYFACTORY { get; set; } |
| | | |
| | | public int? INTYPEID { get; set; } |
| | | |
| | | public decimal? GETWEIGHT { get; set; } |
| | | |
| | | public decimal? TOTALWEIGHT { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å²åç产计ååå· |
| | | /// </summary> |
| | | [StringLength(50)] |
| | | public string CVICODE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建人ID |
| | | /// </summary> |
| | | public int? CREATEUSERID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹äººID |
| | | /// </summary> |
| | | public int? UpdateUserId { get; set; } |
| | | |
| | | public virtual BASE_CONTAINER BASE_CONTAINER { get; set; } |
| | | |
| | | public virtual BASE_INTYPE BASE_INTYPE { get; set; } |
| | | |
| | | public virtual BASE_ITEM BASE_ITEM { get; set; } |
| | | |
| | | public virtual ORDER_INORDER ORDER_INORDER { get; set; } |
| | | |
| | | public virtual ORDER_OUTORDER ORDER_OUTORDER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_DESTINATION |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DESTINATIONNAME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DESTINATIONCODE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string SUPERIORNAME { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | public int? CREATOR { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_DEVICE |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public BASE_DEVICE() |
| | | { |
| | | ALERT_ALERT = new HashSet<ALERT_ALERT>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DEVICENAME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DEVICETYPE { get; set; } |
| | | |
| | | public int? DEVICEID { get; set; } |
| | | |
| | | public int? ISLOCK { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ALERT_ALERT> ALERT_ALERT { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_INTYPE |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public BASE_INTYPE() |
| | | { |
| | | BASE_CONTAINER_VS_ITEM = new HashSet<BASE_CONTAINER_VS_ITEM>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string INTYPE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string STORENAME { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_CONTAINER_VS_ITEM> BASE_CONTAINER_VS_ITEM { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_ITEM |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public BASE_ITEM() |
| | | { |
| | | BASE_CONTAINER_VS_ITEM = new HashSet<BASE_CONTAINER_VS_ITEM>(); |
| | | ORDER_INORDER = new HashSet<ORDER_INORDER>(); |
| | | ORDER_OUTORDER = new HashSet<ORDER_OUTORDER>(); |
| | | TASK_RECORD = new HashSet<TASK_RECORD>(); |
| | | TASK_SRMRECORD = new HashSet<TASK_SRMRECORD>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ITEMNAME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ITEMDES { get; set; } |
| | | |
| | | public decimal? WEIGHT { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ITEMTYPE { get; set; } |
| | | |
| | | public decimal? WEIGHTDIFFERENCE { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public string IMAGE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CREATELINE { get; set; } |
| | | |
| | | public int? MAXNUM { get; set; } |
| | | |
| | | public decimal? PRICE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string UNIT { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | [StringLength(500)] |
| | | public string USECONTAINERTYPE { get; set; } |
| | | |
| | | public int? OVERDUETIME { get; set; } |
| | | |
| | | public int? MAXSTORAGE { get; set; } |
| | | |
| | | public int? MINSTORAGE { get; set; } |
| | | |
| | | public int? ISLOCK { get; set; } |
| | | |
| | | public int? STORAGEENABLE { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_CONTAINER_VS_ITEM> BASE_CONTAINER_VS_ITEM { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_INORDER> ORDER_INORDER { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_OUTORDER> ORDER_OUTORDER { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TASK_RECORD> TASK_RECORD { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TASK_SRMRECORD> TASK_SRMRECORD { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_Material |
| | | { |
| | | public int Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string MaterialName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string MaterialCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string MaterialDes { get; set; } |
| | | |
| | | public decimal? Weight { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string MaterialType { get; set; } |
| | | |
| | | public int? Enable { get; set; } |
| | | |
| | | public string Img { get; set; } |
| | | |
| | | public int? MaxNum { get; set; } |
| | | |
| | | public decimal? Price { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Unit { get; set; } |
| | | |
| | | public DateTime? UpadteTime { get; set; } |
| | | |
| | | [StringLength(500)] |
| | | public string UseContainerType { get; set; } |
| | | |
| | | public int? OverDueTime { get; set; } |
| | | |
| | | public int? MaxStorageNum { get; set; } |
| | | |
| | | public int? MinStorageNum { get; set; } |
| | | |
| | | public int? IsLock { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_PALLET |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public BASE_PALLET() |
| | | { |
| | | BASE_CONTAINER = new HashSet<BASE_CONTAINER>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | public int? PALLETCODE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PALLETTYPE { get; set; } |
| | | |
| | | public decimal? LENGTHMAX { get; set; } |
| | | |
| | | public decimal? LENGTHMIN { get; set; } |
| | | |
| | | public decimal? WIDTHMAX { get; set; } |
| | | |
| | | public decimal? WIDTHMIN { get; set; } |
| | | |
| | | public decimal? HEIGHTMAX { get; set; } |
| | | |
| | | public decimal? HEIGHTMIN { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_CONTAINER> BASE_CONTAINER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_PLACE |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public BASE_PLACE() |
| | | { |
| | | BASE_PLACE_VS_CONTAINER = new HashSet<BASE_PLACE_VS_CONTAINER>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PLACE { get; set; } |
| | | |
| | | public int? ROW { get; set; } |
| | | |
| | | public int? COL { get; set; } |
| | | |
| | | public int? LAYER { get; set; } |
| | | |
| | | public int? SRMID { get; set; } |
| | | |
| | | public int? ISFULL { get; set; } |
| | | |
| | | public int? ISLOCK { get; set; } |
| | | |
| | | public int? PLACETYPEID { get; set; } |
| | | |
| | | public int? PLACELEVEL { get; set; } |
| | | |
| | | public virtual BASE_PLACETYPE BASE_PLACETYPE { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_PLACE_VS_CONTAINER> BASE_PLACE_VS_CONTAINER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_PLACETYPE |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public BASE_PLACETYPE() |
| | | { |
| | | BASE_PLACE = new HashSet<BASE_PLACE>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PLACETYPE { get; set; } |
| | | |
| | | public decimal? LENGTH { get; set; } |
| | | |
| | | public decimal? WIDTH { get; set; } |
| | | |
| | | public decimal? HEIGHT { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_PLACE> BASE_PLACE { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_PLACE_VS_CONTAINER |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int? PLACEID { get; set; } |
| | | |
| | | public int? CONTAINERID { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string STATUS { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PVCCODE { get; set; } |
| | | |
| | | public DateTime? DUETIME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string TASKTYPE { get; set; } |
| | | |
| | | public virtual BASE_CONTAINER BASE_CONTAINER { get; set; } |
| | | |
| | | public virtual BASE_PLACE BASE_PLACE { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_PRINT |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int TYPE { get; set; } |
| | | |
| | | public int STATE { get; set; } |
| | | |
| | | [StringLength(20)] |
| | | public string ITEMNUM { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CVIQRCODE { get; set; } |
| | | |
| | | [StringLength(20)] |
| | | public string ITEMTYPENUM { get; set; } |
| | | |
| | | [StringLength(200)] |
| | | public string ITEMCODE { get; set; } |
| | | |
| | | [StringLength(200)] |
| | | public string ITEMNAME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ISOK { get; set; } |
| | | |
| | | public DateTime? CREATETIME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CVICODE { get; set; } |
| | | |
| | | [StringLength(20)] |
| | | public string NUM { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string BACKUP1 { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string BACKUP2 { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PRINTDEVNAME { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_PRODUCTIONLINE |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public BASE_PRODUCTIONLINE() |
| | | { |
| | | ORDER_INORDER = new HashSet<ORDER_INORDER>(); |
| | | ORDER_OUTORDER = new HashSet<ORDER_OUTORDER>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PRODUCTIONLINECODE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PRODUCTIONLINENAME { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public int? ISDESTINATION { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_INORDER> ORDER_INORDER { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_OUTORDER> ORDER_OUTORDER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class BASE_URL |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public string URL { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string URLDES { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class CAR_CAR |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CARNAME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CARCODE { get; set; } |
| | | |
| | | public int? STATUS { get; set; } |
| | | |
| | | public int? ISWORK { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public int? USERID { get; set; } |
| | | |
| | | public int? CARTASKID { get; set; } |
| | | |
| | | public virtual CAR_CARTASK CAR_CARTASK { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class CAR_CARTASK |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public CAR_CARTASK() |
| | | { |
| | | CAR_CAR = new HashSet<CAR_CAR>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CARTASKNAME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string FROMDESTINATION { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string TODESTINATION { get; set; } |
| | | |
| | | public int? CONTAINERID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string TASKSTATUS { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | public int? CREATORID { get; set; } |
| | | |
| | | public int? OUTORDERID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åè½¦å¸æº |
| | | /// </summary> |
| | | public int? USERID { get; set; } |
| | | |
| | | public DateTime? CREATETIME { get; set; } |
| | | |
| | | public int? CREATEUSERID { get; set; } |
| | | |
| | | public string ITEMDETAIL { get; set; } |
| | | |
| | | public virtual BASE_CONTAINER BASE_CONTAINER { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<CAR_CAR> CAR_CAR { get; set; } |
| | | |
| | | public virtual ORDER_OUTORDER ORDER_OUTORDER { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class ERP_EPRORDER |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public ERP_EPRORDER() |
| | | { |
| | | ORDER_OUTORDER = new HashSet<ORDER_OUTORDER>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | public int? ERPORDERID { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_OUTORDER> ORDER_OUTORDER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | [Table("KEYVALUE")] |
| | | public partial class KEYVALUE |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string NAME { get; set; } |
| | | |
| | | public int? VALUE { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class LOG_WMSLOG |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string LOGNAME { get; set; } |
| | | |
| | | public string LOGDES { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OPERATOR { get; set; } |
| | | |
| | | public int? OPERATORID { get; set; } |
| | | |
| | | public int? TYPE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DEC { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Data.Entity; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Linq; |
| | | |
| | | public partial class Model : DbContext |
| | | { |
| | | public Model() |
| | | : base("name=Model1") |
| | | { |
| | | } |
| | | |
| | | public virtual DbSet<ALERT_ALERT> ALERT_ALERT { get; set; } |
| | | public virtual DbSet<ALERT_ALERTTIME> ALERT_ALERTTIME { get; set; } |
| | | public virtual DbSet<BASE_CONTAINER> BASE_CONTAINER { get; set; } |
| | | public virtual DbSet<BASE_CONTAINER_VS_ITEM> BASE_CONTAINER_VS_ITEM { get; set; } |
| | | public virtual DbSet<BASE_DESTINATION> BASE_DESTINATION { get; set; } |
| | | public virtual DbSet<BASE_DEVICE> BASE_DEVICE { get; set; } |
| | | public virtual DbSet<BASE_INTYPE> BASE_INTYPE { get; set; } |
| | | public virtual DbSet<BASE_ITEM> BASE_ITEM { get; set; } |
| | | public virtual DbSet<BASE_Material> BASE_Material { get; set; } |
| | | public virtual DbSet<BASE_PALLET> BASE_PALLET { get; set; } |
| | | public virtual DbSet<BASE_PLACE> BASE_PLACE { get; set; } |
| | | public virtual DbSet<BASE_PLACE_VS_CONTAINER> BASE_PLACE_VS_CONTAINER { get; set; } |
| | | public virtual DbSet<BASE_PLACETYPE> BASE_PLACETYPE { get; set; } |
| | | public virtual DbSet<BASE_PRINT> BASE_PRINT { get; set; } |
| | | public virtual DbSet<BASE_PRODUCTIONLINE> BASE_PRODUCTIONLINE { get; set; } |
| | | public virtual DbSet<BASE_URL> BASE_URL { get; set; } |
| | | public virtual DbSet<CAR_CAR> CAR_CAR { get; set; } |
| | | public virtual DbSet<CAR_CARTASK> CAR_CARTASK { get; set; } |
| | | public virtual DbSet<ERP_EPRORDER> ERP_EPRORDER { get; set; } |
| | | public virtual DbSet<KEYVALUE> KEYVALUE { get; set; } |
| | | public virtual DbSet<LOG_WMSLOG> LOG_WMSLOG { get; set; } |
| | | public virtual DbSet<ORDER_INORDER> ORDER_INORDER { get; set; } |
| | | public virtual DbSet<ORDER_OUTORDER> ORDER_OUTORDER { get; set; } |
| | | public virtual DbSet<PDA_VERSION> PDA_VERSION { get; set; } |
| | | public virtual DbSet<RECORD_WAREHOUSEINFO> RECORD_WAREHOUSEINFO { get; set; } |
| | | public virtual DbSet<RgvTask> RgvTask { get; set; } |
| | | public virtual DbSet<SrmTask> SrmTask { get; set; } |
| | | public virtual DbSet<STORAGERECORD> STORAGERECORD { get; set; } |
| | | public virtual DbSet<SYS_DEPT> SYS_DEPT { get; set; } |
| | | public virtual DbSet<SYS_PERMISSION> SYS_PERMISSION { get; set; } |
| | | public virtual DbSet<SYS_ROLE> SYS_ROLE { get; set; } |
| | | public virtual DbSet<SYS_ROLE_VS_PERMISSION> SYS_ROLE_VS_PERMISSION { get; set; } |
| | | public virtual DbSet<SYS_USER> SYS_USER { get; set; } |
| | | public virtual DbSet<SYS_USER_VS_ROLE> SYS_USER_VS_ROLE { get; set; } |
| | | public virtual DbSet<sysdiagrams> sysdiagrams { get; set; } |
| | | public virtual DbSet<TASK_RECORD> TASK_RECORD { get; set; } |
| | | public virtual DbSet<TASK_SRMRECORD> TASK_SRMRECORD { get; set; } |
| | | public virtual DbSet<TASK_TASK> TASK_TASK { get; set; } |
| | | public virtual DbSet<TranLock> TranLock { get; set; } |
| | | public virtual DbSet<TranTask> TranTask { get; set; } |
| | | public virtual DbSet<v3D_Inventory> v3D_Inventory { get; set; } |
| | | public virtual DbSet<v3Då±ç¤ºæ°æ®> v3Då±ç¤ºæ°æ® { get; set; } |
| | | public virtual DbSet<View_ALERT_ALERT> View_ALERT_ALERT { get; set; } |
| | | public virtual DbSet<View_BASE_CONTAINER> View_BASE_CONTAINER { get; set; } |
| | | public virtual DbSet<View_BASE_CONTAINER_VS_ITEM> View_BASE_CONTAINER_VS_ITEM { get; set; } |
| | | public virtual DbSet<View_BASE_DEVICE> View_BASE_DEVICE { get; set; } |
| | | public virtual DbSet<View_BASE_INTYPE> View_BASE_INTYPE { get; set; } |
| | | public virtual DbSet<View_BASE_ITEM> View_BASE_ITEM { get; set; } |
| | | public virtual DbSet<View_BASE_PLACE> View_BASE_PLACE { get; set; } |
| | | public virtual DbSet<View_BASE_PLACE_VS_CONTAINER> View_BASE_PLACE_VS_CONTAINER { get; set; } |
| | | public virtual DbSet<View_BASE_PRODUCTIONLINE> View_BASE_PRODUCTIONLINE { get; set; } |
| | | public virtual DbSet<View_CAR_CAR> View_CAR_CAR { get; set; } |
| | | public virtual DbSet<View_CAR_CARTASK> View_CAR_CARTASK { get; set; } |
| | | public virtual DbSet<View_ITEMSTORAGE> View_ITEMSTORAGE { get; set; } |
| | | public virtual DbSet<View_ORDER_INORDER> View_ORDER_INORDER { get; set; } |
| | | public virtual DbSet<View_ORDER_OUTORDER> View_ORDER_OUTORDER { get; set; } |
| | | public virtual DbSet<View_RGVTASK> View_RGVTASK { get; set; } |
| | | public virtual DbSet<View_ROLE_VS_PERMISSION> View_ROLE_VS_PERMISSION { get; set; } |
| | | public virtual DbSet<View_SRMTASK> View_SRMTASK { get; set; } |
| | | public virtual DbSet<View_SYS_DEPT> View_SYS_DEPT { get; set; } |
| | | public virtual DbSet<View_SYS_PERMISSION> View_SYS_PERMISSION { get; set; } |
| | | public virtual DbSet<View_SYS_ROLE> View_SYS_ROLE { get; set; } |
| | | public virtual DbSet<View_SYS_USER> View_SYS_USER { get; set; } |
| | | public virtual DbSet<View_TASK_RECORD> View_TASK_RECORD { get; set; } |
| | | public virtual DbSet<View_TASK_SRMRECORD> View_TASK_SRMRECORD { get; set; } |
| | | public virtual DbSet<View_TASK_TASK> View_TASK_TASK { get; set; } |
| | | |
| | | protected override void OnModelCreating(DbModelBuilder modelBuilder) |
| | | { |
| | | modelBuilder.Entity<BASE_CONTAINER>() |
| | | .HasMany(e => e.BASE_CONTAINER_VS_ITEM) |
| | | .WithOptional(e => e.BASE_CONTAINER) |
| | | .HasForeignKey(e => e.CONTAINERID); |
| | | |
| | | modelBuilder.Entity<BASE_CONTAINER>() |
| | | .HasMany(e => e.BASE_PLACE_VS_CONTAINER) |
| | | .WithOptional(e => e.BASE_CONTAINER) |
| | | .HasForeignKey(e => e.CONTAINERID); |
| | | |
| | | modelBuilder.Entity<BASE_CONTAINER>() |
| | | .HasMany(e => e.CAR_CARTASK) |
| | | .WithOptional(e => e.BASE_CONTAINER) |
| | | .HasForeignKey(e => e.CONTAINERID); |
| | | |
| | | modelBuilder.Entity<BASE_CONTAINER>() |
| | | .HasMany(e => e.TASK_RECORD) |
| | | .WithRequired(e => e.BASE_CONTAINER) |
| | | .HasForeignKey(e => e.CONTAINERID) |
| | | .WillCascadeOnDelete(false); |
| | | |
| | | modelBuilder.Entity<BASE_CONTAINER>() |
| | | .HasMany(e => e.TASK_SRMRECORD) |
| | | .WithOptional(e => e.BASE_CONTAINER) |
| | | .HasForeignKey(e => e.containerId); |
| | | |
| | | modelBuilder.Entity<BASE_CONTAINER>() |
| | | .HasMany(e => e.TASK_TASK) |
| | | .WithOptional(e => e.BASE_CONTAINER) |
| | | .HasForeignKey(e => e.CONTAINERID); |
| | | |
| | | modelBuilder.Entity<BASE_DEVICE>() |
| | | .HasMany(e => e.ALERT_ALERT) |
| | | .WithOptional(e => e.BASE_DEVICE) |
| | | .HasForeignKey(e => e.ALERTDEVICEID); |
| | | |
| | | modelBuilder.Entity<BASE_INTYPE>() |
| | | .HasMany(e => e.BASE_CONTAINER_VS_ITEM) |
| | | .WithOptional(e => e.BASE_INTYPE) |
| | | .HasForeignKey(e => e.INTYPEID); |
| | | |
| | | modelBuilder.Entity<BASE_ITEM>() |
| | | .HasMany(e => e.BASE_CONTAINER_VS_ITEM) |
| | | .WithOptional(e => e.BASE_ITEM) |
| | | .HasForeignKey(e => e.ITEMID); |
| | | |
| | | modelBuilder.Entity<BASE_ITEM>() |
| | | .HasMany(e => e.ORDER_INORDER) |
| | | .WithOptional(e => e.BASE_ITEM) |
| | | .HasForeignKey(e => e.ITEMID); |
| | | |
| | | modelBuilder.Entity<BASE_ITEM>() |
| | | .HasMany(e => e.ORDER_OUTORDER) |
| | | .WithOptional(e => e.BASE_ITEM) |
| | | .HasForeignKey(e => e.ITEMID); |
| | | |
| | | modelBuilder.Entity<BASE_ITEM>() |
| | | .HasMany(e => e.TASK_RECORD) |
| | | .WithOptional(e => e.BASE_ITEM) |
| | | .HasForeignKey(e => e.ITEMID); |
| | | |
| | | modelBuilder.Entity<BASE_ITEM>() |
| | | .HasMany(e => e.TASK_SRMRECORD) |
| | | .WithOptional(e => e.BASE_ITEM) |
| | | .HasForeignKey(e => e.itemId); |
| | | |
| | | modelBuilder.Entity<BASE_PALLET>() |
| | | .HasMany(e => e.BASE_CONTAINER) |
| | | .WithOptional(e => e.BASE_PALLET) |
| | | .HasForeignKey(e => e.PALLETTYPEID); |
| | | |
| | | modelBuilder.Entity<BASE_PLACE>() |
| | | .HasMany(e => e.BASE_PLACE_VS_CONTAINER) |
| | | .WithOptional(e => e.BASE_PLACE) |
| | | .HasForeignKey(e => e.PLACEID); |
| | | |
| | | modelBuilder.Entity<BASE_PLACETYPE>() |
| | | .HasMany(e => e.BASE_PLACE) |
| | | .WithOptional(e => e.BASE_PLACETYPE) |
| | | .HasForeignKey(e => e.PLACETYPEID); |
| | | |
| | | modelBuilder.Entity<BASE_PRODUCTIONLINE>() |
| | | .HasMany(e => e.ORDER_INORDER) |
| | | .WithOptional(e => e.BASE_PRODUCTIONLINE) |
| | | .HasForeignKey(e => e.CREATELINEID); |
| | | |
| | | modelBuilder.Entity<BASE_PRODUCTIONLINE>() |
| | | .HasMany(e => e.ORDER_OUTORDER) |
| | | .WithOptional(e => e.BASE_PRODUCTIONLINE) |
| | | .HasForeignKey(e => e.TOLINEID); |
| | | |
| | | modelBuilder.Entity<CAR_CARTASK>() |
| | | .HasMany(e => e.CAR_CAR) |
| | | .WithOptional(e => e.CAR_CARTASK) |
| | | .HasForeignKey(e => e.CARTASKID); |
| | | |
| | | modelBuilder.Entity<ERP_EPRORDER>() |
| | | .HasMany(e => e.ORDER_OUTORDER) |
| | | .WithOptional(e => e.ERP_EPRORDER) |
| | | .HasForeignKey(e => e.ERPID); |
| | | |
| | | modelBuilder.Entity<ORDER_INORDER>() |
| | | .HasMany(e => e.BASE_CONTAINER_VS_ITEM) |
| | | .WithOptional(e => e.ORDER_INORDER) |
| | | .HasForeignKey(e => e.INPLANID); |
| | | |
| | | modelBuilder.Entity<ORDER_OUTORDER>() |
| | | .HasMany(e => e.BASE_CONTAINER_VS_ITEM) |
| | | .WithOptional(e => e.ORDER_OUTORDER) |
| | | .HasForeignKey(e => e.OUTPLANID); |
| | | |
| | | modelBuilder.Entity<ORDER_OUTORDER>() |
| | | .HasMany(e => e.CAR_CARTASK) |
| | | .WithOptional(e => e.ORDER_OUTORDER) |
| | | .HasForeignKey(e => e.OUTORDERID); |
| | | |
| | | modelBuilder.Entity<RgvTask>() |
| | | .HasMany(e => e.RgvTask1) |
| | | .WithOptional(e => e.RgvTask2) |
| | | .HasForeignKey(e => e.PRETASK); |
| | | |
| | | modelBuilder.Entity<SYS_DEPT>() |
| | | .HasMany(e => e.SYS_USER) |
| | | .WithOptional(e => e.SYS_DEPT) |
| | | .HasForeignKey(e => e.DEPTID); |
| | | |
| | | modelBuilder.Entity<SYS_PERMISSION>() |
| | | .HasMany(e => e.SYS_ROLE_VS_PERMISSION) |
| | | .WithRequired(e => e.SYS_PERMISSION) |
| | | .HasForeignKey(e => e.PERMISSIONID) |
| | | .WillCascadeOnDelete(false); |
| | | |
| | | modelBuilder.Entity<SYS_ROLE>() |
| | | .HasMany(e => e.SYS_ROLE_VS_PERMISSION) |
| | | .WithRequired(e => e.SYS_ROLE) |
| | | .HasForeignKey(e => e.ROLEID) |
| | | .WillCascadeOnDelete(false); |
| | | |
| | | modelBuilder.Entity<SYS_ROLE>() |
| | | .HasMany(e => e.SYS_USER_VS_ROLE) |
| | | .WithRequired(e => e.SYS_ROLE) |
| | | .HasForeignKey(e => e.ROLEID) |
| | | .WillCascadeOnDelete(false); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.BASE_DESTINATION) |
| | | .WithOptional(e => e.SYS_USER) |
| | | .HasForeignKey(e => e.CREATOR); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.CAR_CAR) |
| | | .WithOptional(e => e.SYS_USER) |
| | | .HasForeignKey(e => e.USERID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.CAR_CARTASK) |
| | | .WithOptional(e => e.SYS_USER) |
| | | .HasForeignKey(e => e.CREATORID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.ORDER_INORDER) |
| | | .WithOptional(e => e.SYS_USER) |
| | | .HasForeignKey(e => e.CREATORID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.ORDER_INORDER1) |
| | | .WithOptional(e => e.SYS_USER1) |
| | | .HasForeignKey(e => e.SENDERID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.ORDER_INORDER2) |
| | | .WithOptional(e => e.SYS_USER2) |
| | | .HasForeignKey(e => e.CHECKERID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.ORDER_OUTORDER) |
| | | .WithOptional(e => e.SYS_USER) |
| | | .HasForeignKey(e => e.CREATORID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.SYS_ROLE) |
| | | .WithOptional(e => e.SYS_USER) |
| | | .HasForeignKey(e => e.CREATORID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.SYS_ROLE1) |
| | | .WithOptional(e => e.SYS_USER1) |
| | | .HasForeignKey(e => e.CREATORID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.SYS_USER1) |
| | | .WithOptional(e => e.SYS_USER2) |
| | | .HasForeignKey(e => e.CREATORID); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.SYS_USER_VS_ROLE) |
| | | .WithRequired(e => e.SYS_USER) |
| | | .HasForeignKey(e => e.USERID) |
| | | .WillCascadeOnDelete(false); |
| | | |
| | | modelBuilder.Entity<SYS_USER>() |
| | | .HasMany(e => e.TASK_TASK) |
| | | .WithOptional(e => e.SYS_USER) |
| | | .HasForeignKey(e => e.CREATEUSERID); |
| | | |
| | | modelBuilder.Entity<TASK_TASK>() |
| | | .HasMany(e => e.RgvTask) |
| | | .WithRequired(e => e.TASK_TASK) |
| | | .HasForeignKey(e => e.FASTHERTASKID) |
| | | .WillCascadeOnDelete(false); |
| | | |
| | | modelBuilder.Entity<TASK_TASK>() |
| | | .HasMany(e => e.SrmTask) |
| | | .WithRequired(e => e.TASK_TASK) |
| | | .HasForeignKey(e => e.FASTHERTASKID) |
| | | .WillCascadeOnDelete(false); |
| | | |
| | | modelBuilder.Entity<TASK_TASK>() |
| | | .HasMany(e => e.TASK_RECORD) |
| | | .WithOptional(e => e.TASK_TASK) |
| | | .HasForeignKey(e => e.TASKID); |
| | | |
| | | modelBuilder.Entity<TASK_TASK>() |
| | | .HasMany(e => e.TranTask) |
| | | .WithRequired(e => e.TASK_TASK) |
| | | .HasForeignKey(e => e.FASTHERTASKID) |
| | | .WillCascadeOnDelete(false); |
| | | |
| | | modelBuilder.Entity<View_BASE_PLACE_VS_CONTAINER>() |
| | | .Property(e => e.isEmptyContainer) |
| | | .IsUnicode(false); |
| | | |
| | | modelBuilder.Entity<View_BASE_PLACE_VS_CONTAINER>() |
| | | .Property(e => e.stStatus) |
| | | .IsUnicode(false); |
| | | |
| | | modelBuilder.Entity<View_ITEMSTORAGE>() |
| | | .Property(e => e.storageName) |
| | | .IsUnicode(false); |
| | | |
| | | modelBuilder.Entity<View_ITEMSTORAGE>() |
| | | .Property(e => e.totalCost) |
| | | .HasPrecision(29, 2); |
| | | |
| | | modelBuilder.Entity<View_ITEMSTORAGE>() |
| | | .Property(e => e.isMoreDay) |
| | | .IsUnicode(false); |
| | | |
| | | modelBuilder.Entity<View_ITEMSTORAGE>() |
| | | .Property(e => e.isLessDay) |
| | | .IsUnicode(false); |
| | | |
| | | modelBuilder.Entity<View_ITEMSTORAGE>() |
| | | .Property(e => e.isOverDay) |
| | | .IsUnicode(false); |
| | | |
| | | modelBuilder.Entity<View_RGVTASK>() |
| | | .Property(e => e.taskType) |
| | | .IsUnicode(false); |
| | | |
| | | modelBuilder.Entity<View_SRMTASK>() |
| | | .Property(e => e.taskType) |
| | | .IsUnicode(false); |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class ORDER_INORDER |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public ORDER_INORDER() |
| | | { |
| | | BASE_CONTAINER_VS_ITEM = new HashSet<BASE_CONTAINER_VS_ITEM>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 计ååå· |
| | | /// </summary> |
| | | [StringLength(50)] |
| | | public string INORDERCODE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ORDERTYPE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订åç¶æ |
| | | /// </summary> |
| | | [StringLength(50)] |
| | | public string ORDERSTATUS { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订åç¶æID |
| | | /// </summary> |
| | | public int? OrderStatusId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ»æ° |
| | | /// </summary> |
| | | public int? TOTALNUM { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
¥åºæ°é |
| | | /// </summary> |
| | | public int? DONENUM { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 线ä¸äº¤ä»æ° |
| | | /// </summary> |
| | | public int? UNLINENUM { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ»å®å·¥æ°ï¼=å
¥åºæ°é+线ä¸äº¤ä»æ°ï¼ |
| | | /// </summary> |
| | | public int? AllFinishedNum { get; set; } |
| | | |
| | | public decimal? TOTALWEIGHT { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹æ¶é´ |
| | | /// </summary> |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ ãEditBy shaocx,2022-11-2ã |
| | | /// </summary> |
| | | public DateTime? CreateTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建人ID |
| | | /// </summary> |
| | | public int? CREATORID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹äººID |
| | | /// </summary> |
| | | public int? UpdateUserId { get; set; } |
| | | |
| | | public int? ITEMID { get; set; } |
| | | |
| | | public int? ISFINISH { get; set; } |
| | | |
| | | public int? CREATELINEID { get; set; } |
| | | |
| | | public DateTime? DOTIME { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | /// <summary> |
| | | /// çç»çº¿ |
| | | /// </summary> |
| | | public int? CLASSNO { get; set; } |
| | | |
| | | public int? STATUS { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åé人 |
| | | /// </summary> |
| | | public int? SENDERID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æäº¤å®¡æ ¸æ¶é´ |
| | | /// </summary> |
| | | public DateTime? SendTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸äºº |
| | | /// </summary> |
| | | public int? CHECKERID { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸æ¶é´ |
| | | /// </summary> |
| | | public DateTime? CheckTime { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸ç»æ |
| | | /// </summary> |
| | | public string CheckResult { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸çç± |
| | | /// </summary> |
| | | public string CheckRemark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ»¡è¶³å®¡æ ¸æ¡ä»¶ |
| | | /// </summary> |
| | | public bool? IsSatisfyAudit { get; set; } |
| | | |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_CONTAINER_VS_ITEM> BASE_CONTAINER_VS_ITEM { get; set; } |
| | | |
| | | public virtual BASE_ITEM BASE_ITEM { get; set; } |
| | | |
| | | public virtual BASE_PRODUCTIONLINE BASE_PRODUCTIONLINE { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER1 { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER2 { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class ORDER_OUTORDER |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public ORDER_OUTORDER() |
| | | { |
| | | BASE_CONTAINER_VS_ITEM = new HashSet<BASE_CONTAINER_VS_ITEM>(); |
| | | CAR_CARTASK = new HashSet<CAR_CARTASK>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OUTORDERCODE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ORDERTYPE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ORDERSTATUS { get; set; } |
| | | |
| | | public int? ERPID { get; set; } |
| | | |
| | | public DateTime? CHANGEDATE { get; set; } |
| | | |
| | | public int? CHECKOUTNUM { get; set; } |
| | | |
| | | public int? TOTALOUTNUM { get; set; } |
| | | |
| | | public decimal? TOTALWEIGHT { get; set; } |
| | | |
| | | public int? CREATORID { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | public int? ITEMID { get; set; } |
| | | |
| | | public int? ISFINISH { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public DateTime? DOTIME { get; set; } |
| | | |
| | | public int? TOLINEID { get; set; } |
| | | |
| | | public int? TRANLINE { get; set; } |
| | | |
| | | public int? ISERP { get; set; } |
| | | |
| | | public int? CARUSERID { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_CONTAINER_VS_ITEM> BASE_CONTAINER_VS_ITEM { get; set; } |
| | | |
| | | public virtual BASE_ITEM BASE_ITEM { get; set; } |
| | | |
| | | public virtual BASE_PRODUCTIONLINE BASE_PRODUCTIONLINE { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<CAR_CARTASK> CAR_CARTASK { get; set; } |
| | | |
| | | public virtual ERP_EPRORDER ERP_EPRORDER { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class PDA_VERSION |
| | | { |
| | | public int Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string Version { get; set; } |
| | | |
| | | public string Url { get; set; } |
| | | |
| | | public DateTime? UpdateTime { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class RECORD_WAREHOUSEINFO |
| | | { |
| | | public int Id { get; set; } |
| | | |
| | | public int? itemOver { get; set; } |
| | | |
| | | public int? placeFull { get; set; } |
| | | |
| | | public int? containerFull { get; set; } |
| | | |
| | | public int? containerEmpty { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | public DateTime? time { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | [Table("RgvTask")] |
| | | public partial class RgvTask |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public RgvTask() |
| | | { |
| | | RgvTask1 = new HashSet<RgvTask>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | public int FASTHERTASKID { get; set; } |
| | | |
| | | public int ISRELEASED { get; set; } |
| | | |
| | | public int HASFINISHED { get; set; } |
| | | |
| | | public int SOURCEPLACE { get; set; } |
| | | |
| | | public int TOPLACE { get; set; } |
| | | |
| | | public int USERGVID { get; set; } |
| | | |
| | | public int TASKTYPE { get; set; } |
| | | |
| | | public int? PRETASK { get; set; } |
| | | |
| | | public int? UPDATESRMTASK { get; set; } |
| | | |
| | | public DateTime? FINISHTIME { get; set; } |
| | | |
| | | public DateTime? DOTIME { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<RgvTask> RgvTask1 { get; set; } |
| | | |
| | | public virtual RgvTask RgvTask2 { get; set; } |
| | | |
| | | public virtual TASK_TASK TASK_TASK { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | [Table("STORAGERECORD")] |
| | | public partial class STORAGERECORD |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int? ITEMID { get; set; } |
| | | |
| | | public int CONTAINERID { get; set; } |
| | | |
| | | public int PLACEID { get; set; } |
| | | |
| | | public int? ITEMNUM { get; set; } |
| | | |
| | | public DateTime? CREATETIME { get; set; } |
| | | |
| | | public decimal? PRICE { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class SYS_DEPT |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public SYS_DEPT() |
| | | { |
| | | SYS_USER = new HashSet<SYS_USER>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DEPTNAME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string TEL { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ADDRESS { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DEPTDES { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string EMALL { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SYS_USER> SYS_USER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class SYS_PERMISSION |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public SYS_PERMISSION() |
| | | { |
| | | SYS_ROLE_VS_PERMISSION = new HashSet<SYS_ROLE_VS_PERMISSION>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PERMISSION { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string BUTTONNAME { get; set; } |
| | | |
| | | public int? FATHERPERMISSIONID { get; set; } |
| | | |
| | | public int? PERMISSIONLEVEL { get; set; } |
| | | |
| | | public int? ISBUTTON { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string PATH { get; set; } |
| | | |
| | | [StringLength(300)] |
| | | public string ICON { get; set; } |
| | | |
| | | public int? TYPE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string DEC { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SYS_ROLE_VS_PERMISSION> SYS_ROLE_VS_PERMISSION { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class SYS_ROLE |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public SYS_ROLE() |
| | | { |
| | | SYS_ROLE_VS_PERMISSION = new HashSet<SYS_ROLE_VS_PERMISSION>(); |
| | | SYS_USER_VS_ROLE = new HashSet<SYS_USER_VS_ROLE>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ROLENAME { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public int? CREATORID { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER1 { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SYS_ROLE_VS_PERMISSION> SYS_ROLE_VS_PERMISSION { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SYS_USER_VS_ROLE> SYS_USER_VS_ROLE { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class SYS_ROLE_VS_PERMISSION |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int ROLEID { get; set; } |
| | | |
| | | public int PERMISSIONID { get; set; } |
| | | |
| | | public virtual SYS_PERMISSION SYS_PERMISSION { get; set; } |
| | | |
| | | public virtual SYS_ROLE SYS_ROLE { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class SYS_USER |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public SYS_USER() |
| | | { |
| | | BASE_DESTINATION = new HashSet<BASE_DESTINATION>(); |
| | | CAR_CAR = new HashSet<CAR_CAR>(); |
| | | CAR_CARTASK = new HashSet<CAR_CARTASK>(); |
| | | ORDER_INORDER = new HashSet<ORDER_INORDER>(); |
| | | ORDER_INORDER1 = new HashSet<ORDER_INORDER>(); |
| | | ORDER_INORDER2 = new HashSet<ORDER_INORDER>(); |
| | | ORDER_OUTORDER = new HashSet<ORDER_OUTORDER>(); |
| | | SYS_ROLE = new HashSet<SYS_ROLE>(); |
| | | SYS_ROLE1 = new HashSet<SYS_ROLE>(); |
| | | SYS_USER1 = new HashSet<SYS_USER>(); |
| | | SYS_USER_VS_ROLE = new HashSet<SYS_USER_VS_ROLE>(); |
| | | TASK_TASK = new HashSet<TASK_TASK>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string USERNAME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PASSWORD { get; set; } |
| | | |
| | | public int? MOBILE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string USERTRUENAME { get; set; } |
| | | |
| | | public int? DEPTID { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | public int? CREATORID { get; set; } |
| | | |
| | | public int? ISLOGIN { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ¯ çè£
å®¡æ ¸ç» |
| | | /// </summary> |
| | | public bool? IsWeldingAuditGroup { get; set; } |
| | | |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<BASE_DESTINATION> BASE_DESTINATION { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<CAR_CAR> CAR_CAR { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<CAR_CARTASK> CAR_CARTASK { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_INORDER> ORDER_INORDER { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_INORDER> ORDER_INORDER1 { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_INORDER> ORDER_INORDER2 { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<ORDER_OUTORDER> ORDER_OUTORDER { get; set; } |
| | | |
| | | public virtual SYS_DEPT SYS_DEPT { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SYS_ROLE> SYS_ROLE { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SYS_ROLE> SYS_ROLE1 { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SYS_USER> SYS_USER1 { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER2 { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SYS_USER_VS_ROLE> SYS_USER_VS_ROLE { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TASK_TASK> TASK_TASK { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class SYS_USER_VS_ROLE |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int USERID { get; set; } |
| | | |
| | | public int ROLEID { get; set; } |
| | | |
| | | public DateTime? UPDATETIME { get; set; } |
| | | |
| | | public virtual SYS_ROLE SYS_ROLE { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | [Table("SrmTask")] |
| | | public partial class SrmTask |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public SrmTask() |
| | | { |
| | | TASK_SRMRECORD = new HashSet<TASK_SRMRECORD>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | public int FASTHERTASKID { get; set; } |
| | | |
| | | public int ISRELEASED { get; set; } |
| | | |
| | | public int HASFINISHED { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string SOURCEPLACE { get; set; } |
| | | |
| | | [Required] |
| | | [StringLength(50)] |
| | | public string TOPLACE { get; set; } |
| | | |
| | | public int USESRMID { get; set; } |
| | | |
| | | public int? PALLETTYPE { get; set; } |
| | | |
| | | public int? SRMTASKTYPE { get; set; } |
| | | |
| | | public DateTime? FINISHTIME { get; set; } |
| | | |
| | | public DateTime? DOTIME { get; set; } |
| | | |
| | | public int? NEEDTIME { get; set; } |
| | | |
| | | public virtual TASK_TASK TASK_TASK { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TASK_SRMRECORD> TASK_SRMRECORD { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class TASK_RECORD |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int TYPE { get; set; } |
| | | |
| | | public int? ITEMID { get; set; } |
| | | |
| | | public int CONTAINERID { get; set; } |
| | | |
| | | public int? TASKID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string OUTORDERCODE { get; set; } |
| | | |
| | | public int ENABLE { get; set; } |
| | | |
| | | public DateTime CREATETIME { get; set; } |
| | | |
| | | public int ITEMCOUNT { get; set; } |
| | | |
| | | public int ISMAINOUT { get; set; } |
| | | |
| | | public int? CREATEUSERID { get; set; } |
| | | |
| | | public int? INORDERID { get; set; } |
| | | |
| | | public virtual BASE_CONTAINER BASE_CONTAINER { get; set; } |
| | | |
| | | public virtual BASE_ITEM BASE_ITEM { get; set; } |
| | | |
| | | public virtual TASK_TASK TASK_TASK { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class TASK_SRMRECORD |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | public int? srmTaskId { get; set; } |
| | | |
| | | public int? containerId { get; set; } |
| | | |
| | | public int? itemId { get; set; } |
| | | |
| | | public DateTime? createTime { get; set; } |
| | | |
| | | public int? itemCount { get; set; } |
| | | |
| | | public virtual BASE_CONTAINER BASE_CONTAINER { get; set; } |
| | | |
| | | public virtual BASE_ITEM BASE_ITEM { get; set; } |
| | | |
| | | public virtual SrmTask SrmTask { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class TASK_TASK |
| | | { |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] |
| | | public TASK_TASK() |
| | | { |
| | | RgvTask = new HashSet<RgvTask>(); |
| | | SrmTask = new HashSet<SrmTask>(); |
| | | TASK_RECORD = new HashSet<TASK_RECORD>(); |
| | | TranTask = new HashSet<TranTask>(); |
| | | } |
| | | |
| | | public int ID { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string SOURCEPLACE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string TOPLACE { get; set; } |
| | | |
| | | public int? ORDERID { get; set; } |
| | | |
| | | public int? TASKTYPE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string TASKSTATUS { get; set; } |
| | | |
| | | public DateTime? CREATETIME { get; set; } |
| | | |
| | | public int? CREATEUSERID { get; set; } |
| | | |
| | | public int? TASKLEVEL { get; set; } |
| | | |
| | | public int? ISNEEDREDIRECT { get; set; } |
| | | |
| | | public int? CONTAINERID { get; set; } |
| | | |
| | | public int? HASFINISHED { get; set; } |
| | | |
| | | public int? ERRORMSG { get; set; } |
| | | |
| | | public int? ERRORDEVICEID { get; set; } |
| | | |
| | | public int? ISERROR { get; set; } |
| | | |
| | | public int? HASREADED { get; set; } |
| | | |
| | | public int? OUTTYPE { get; set; } |
| | | |
| | | public int? ENABLE { get; set; } |
| | | |
| | | public DateTime? FINISHTIME { get; set; } |
| | | |
| | | public DateTime? DOTIME { get; set; } |
| | | |
| | | public int? ISHURRY { get; set; } |
| | | |
| | | public int? NEEDTIME { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string LOCALDEVICE { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string LASTWEIGHT { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string CANNOTDO { get; set; } |
| | | |
| | | public int? ISEXCHANGE { get; set; } |
| | | |
| | | public int? MUST { get; set; } |
| | | |
| | | public virtual BASE_CONTAINER BASE_CONTAINER { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<RgvTask> RgvTask { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<SrmTask> SrmTask { get; set; } |
| | | |
| | | public virtual SYS_USER SYS_USER { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TASK_RECORD> TASK_RECORD { get; set; } |
| | | |
| | | [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] |
| | | public virtual ICollection<TranTask> TranTask { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | [Table("TranLock")] |
| | | public partial class TranLock |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int TRANID { get; set; } |
| | | |
| | | public int ISLOCK { get; set; } |
| | | |
| | | public int LOCKDEVICEID { get; set; } |
| | | |
| | | public int ISERRORLOCK { get; set; } |
| | | |
| | | public int LOCAL { get; set; } |
| | | |
| | | public int ISEAST { get; set; } |
| | | |
| | | public int? ISFULL { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | [Table("TranTask")] |
| | | public partial class TranTask |
| | | { |
| | | public int ID { get; set; } |
| | | |
| | | public int FASTHERTASKID { get; set; } |
| | | |
| | | public int ISRELEASED { get; set; } |
| | | |
| | | public int HASFINISHED { get; set; } |
| | | |
| | | public int SOURCEPLACE { get; set; } |
| | | |
| | | public int TOPLACE { get; set; } |
| | | |
| | | public float? LENGTH { get; set; } |
| | | |
| | | public float? HEIGHT { get; set; } |
| | | |
| | | public float? WIDTH { get; set; } |
| | | |
| | | public int? PALLETTYPE { get; set; } |
| | | |
| | | public virtual TASK_TASK TASK_TASK { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_ALERT_ALERT |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string alertName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string alertDes { get; set; } |
| | | |
| | | public DateTime? createTime { get; set; } |
| | | |
| | | public DateTime? finishTime { get; set; } |
| | | |
| | | public int? totalTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string deviceName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string alertCode { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_BASE_CONTAINER |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerType { get; set; } |
| | | |
| | | public int? status { get; set; } |
| | | |
| | | public decimal? weight { get; set; } |
| | | |
| | | public decimal? length { get; set; } |
| | | |
| | | public decimal? height { get; set; } |
| | | |
| | | public decimal? width { get; set; } |
| | | |
| | | public decimal? weightDifference { get; set; } |
| | | |
| | | public int? palletCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string palletType { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerDes { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_BASE_CONTAINER_VS_ITEM |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemDes { get; set; } |
| | | |
| | | public decimal? itemWeight { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemType { get; set; } |
| | | |
| | | public decimal? itemWeightDifference { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerType { get; set; } |
| | | |
| | | public int? containerStatus { get; set; } |
| | | |
| | | public decimal? containerWeight { get; set; } |
| | | |
| | | public decimal? containerWeightDifference { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string inOrderCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string outOrderCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´/ä¿®æ¹æ¶é´ |
| | | /// </summary> |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | public int? isBad { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string badByFactory { get; set; } |
| | | |
| | | public string image { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createLine { get; set; } |
| | | |
| | | public int? maxNum { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string inType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string storeName { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string unit { get; set; } |
| | | |
| | | public decimal? getWeight { get; set; } |
| | | |
| | | public decimal? totalWeight { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string cviCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createUser { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_BASE_DEVICE |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string deviceName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string deviceType { get; set; } |
| | | |
| | | public int? deviceId { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_BASE_INTYPE |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string inType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string storeName { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_BASE_ITEM |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemDes { get; set; } |
| | | |
| | | public decimal? weight { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemType { get; set; } |
| | | |
| | | public decimal? weightDifference { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string image { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createLine { get; set; } |
| | | |
| | | public int? maxNum { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string unit { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | [StringLength(500)] |
| | | public string useContainerType { get; set; } |
| | | |
| | | public int? overDueTime { get; set; } |
| | | |
| | | public int? maxStorage { get; set; } |
| | | |
| | | public int? minStorage { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | |
| | | public int? storageEnable { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_BASE_PLACE |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string place { get; set; } |
| | | |
| | | public int? row { get; set; } |
| | | |
| | | public int? col { get; set; } |
| | | |
| | | public int? layer { get; set; } |
| | | |
| | | public int? srmId { get; set; } |
| | | |
| | | public int? isFull { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string placeType { get; set; } |
| | | |
| | | public decimal? length { get; set; } |
| | | |
| | | public decimal? width { get; set; } |
| | | |
| | | public decimal? height { get; set; } |
| | | |
| | | public int? placeLevel { get; set; } |
| | | |
| | | [StringLength(143)] |
| | | public string specification { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_BASE_PLACE_VS_CONTAINER |
| | | { |
| | | [Key] |
| | | [Column(Order = 0)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string place { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemName { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | public int? isBad { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string badByFactory { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string unit { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string status { get; set; } |
| | | |
| | | public int? isFull { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string pvcCode { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public int? placeLevel { get; set; } |
| | | |
| | | public int? enable2 { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemDes { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createLine { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string inType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string palletType { get; set; } |
| | | |
| | | public int? srmId { get; set; } |
| | | |
| | | public int? overDueTime { get; set; } |
| | | |
| | | public DateTime? Expr1 { get; set; } |
| | | |
| | | public int? maxStorage { get; set; } |
| | | |
| | | public int? minStorage { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 1)] |
| | | [StringLength(2)] |
| | | public string isEmptyContainer { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 2)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int stAge { get; set; } |
| | | |
| | | [StringLength(4)] |
| | | public string stStatus { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string taskType { get; set; } |
| | | |
| | | public DateTime? CVIUpdateTime { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_BASE_PRODUCTIONLINE |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string productionCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string productionName { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public int? isDestination { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_CAR_CAR |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string carName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string carCode { get; set; } |
| | | |
| | | public int? status { get; set; } |
| | | |
| | | public int? isWork { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string userName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string carTaskName { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_CAR_CARTASK |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string carTaskName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string fromDestination { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string toDestination { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string taskStatus { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string userName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string outOrderCode { get; set; } |
| | | |
| | | public DateTime? createTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createUserName { get; set; } |
| | | |
| | | public string itemDetail { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_ITEMSTORAGE |
| | | { |
| | | [Key] |
| | | [Column(Order = 0)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemDes { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createLine { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string unit { get; set; } |
| | | |
| | | public decimal? weight { get; set; } |
| | | |
| | | public decimal? weightDifference { get; set; } |
| | | |
| | | public int? maxNum { get; set; } |
| | | |
| | | [StringLength(500)] |
| | | public string useContainerType { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 1)] |
| | | [StringLength(6)] |
| | | public string storageName { get; set; } |
| | | |
| | | public decimal? totalCost { get; set; } |
| | | |
| | | public int? placeCount { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 2)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int minStorage { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 3)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int maxStorage { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 4)] |
| | | [StringLength(2)] |
| | | public string isMoreDay { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 5)] |
| | | [StringLength(2)] |
| | | public string isLessDay { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 6)] |
| | | [StringLength(2)] |
| | | public string isOverDay { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_ORDER_INORDER |
| | | { |
| | | /// <summary> |
| | | /// å®¡æ ¸äººID |
| | | /// </summary> |
| | | public int? CHECKERID { get; set; } |
| | | |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string inOrderCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string orderType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string orderStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订åç¶æID |
| | | /// </summary> |
| | | public int? OrderStatusId { get; set; } |
| | | |
| | | public int? totalNum { get; set; } |
| | | |
| | | public int? DoneNum { get; set; } |
| | | |
| | | public int? unLineNum { get; set; } |
| | | |
| | | public int? allFinishedNum { get; set; } |
| | | |
| | | public decimal? totalWeight { get; set; } |
| | | |
| | | |
| | | |
| | | public int? isFinish { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemDes { get; set; } |
| | | |
| | | public decimal? itemWeight { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemTYpe { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createLine { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建人 |
| | | /// </summary> |
| | | [StringLength(50)] |
| | | public string createName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹äºº |
| | | /// </summary> |
| | | public string updateName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// ä¿®æ¹æ¶é´ |
| | | /// </summary> |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å建æ¶é´ |
| | | /// </summary> |
| | | public DateTime? createTime { get; set; } |
| | | |
| | | |
| | | public int? classNo { get; set; } |
| | | |
| | | public int? status { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string checkerName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string senderName { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸æ¶é´ |
| | | /// </summary> |
| | | public DateTime? CheckTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸ç»æ |
| | | /// </summary> |
| | | public string CheckResult { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æäº¤å®¡æ ¸æ¶é´ |
| | | /// </summary> |
| | | public DateTime? SendTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸çç± |
| | | /// </summary> |
| | | public string CheckRemark { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_ORDER_OUTORDER |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string outOrderCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string orderType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string orderStatus { get; set; } |
| | | |
| | | public DateTime? changeDate { get; set; } |
| | | |
| | | public int? checkOutNum { get; set; } |
| | | |
| | | public int? totalOutNum { get; set; } |
| | | |
| | | public decimal? totalWeight { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | public int? isFinish { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemDes { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string productionLineCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string productionLineName { get; set; } |
| | | |
| | | public int? erpOrderId { get; set; } |
| | | |
| | | public int? tranLine { get; set; } |
| | | |
| | | public int? isErp { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string userName { get; set; } |
| | | |
| | | public int? carUserId { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_RGVTASK |
| | | { |
| | | [Key] |
| | | [Column(Order = 0)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int mainTask { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 1)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int isReleased { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | public DateTime? finishTime { get; set; } |
| | | |
| | | [StringLength(4)] |
| | | public string taskType { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 2)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int useRgvId { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 3)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int toPlace { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 4)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int sourcePlace { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 5)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int hasFinished { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 6)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(33)] |
| | | public string devName { get; set; } |
| | | |
| | | public int? preTask { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_ROLE_VS_PERMISSION |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string roleName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string permission { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_SRMTASK |
| | | { |
| | | [Key] |
| | | [Column(Order = 0)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int mainTask { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 1)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int isReleased { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | public DateTime? finishTime { get; set; } |
| | | |
| | | [StringLength(4)] |
| | | public string taskType { get; set; } |
| | | |
| | | public int? palletType { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 2)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int useSrmId { get; set; } |
| | | |
| | | [StringLength(81)] |
| | | public string toPlace { get; set; } |
| | | |
| | | [StringLength(81)] |
| | | public string sourcePlace { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 3)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int hasFinished { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 4)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(36)] |
| | | public string devName { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_SYS_DEPT |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string deptName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string deptDes { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_SYS_PERMISSION |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string permission { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public int? fatherPermissionId { get; set; } |
| | | |
| | | public int? permissionLevel { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_SYS_ROLE |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string roleName { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string userName { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_SYS_USER |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string userName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string userTrueName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string passWord { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string roleName { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string deptName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ¯ çè£
å®¡æ ¸ç» |
| | | /// </summary> |
| | | public bool? IsWeldingAuditGroup { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_TASK_RECORD |
| | | { |
| | | [Key] |
| | | [Column(Order = 0)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemDes { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string sourcePlace { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string toPlace { get; set; } |
| | | |
| | | public int? taskType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string taskStatus { get; set; } |
| | | |
| | | public DateTime? taskCreateTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerName { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 1)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int isMainOut { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 2)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int itemCount { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 3)] |
| | | public DateTime createTime { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 4)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int enable { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string outOrderCode { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 5)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int type { get; set; } |
| | | |
| | | public DateTime? finishTime { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string inOrderCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string createUser { get; set; } |
| | | |
| | | public int? taskId { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_TASK_SRMRECORD |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | public DateTime? createTime { get; set; } |
| | | |
| | | public int? itemCount { get; set; } |
| | | |
| | | public int? isReleased { get; set; } |
| | | |
| | | public int? hasFinished { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string sourcePlace { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string toPlace { get; set; } |
| | | |
| | | public int? fastherTaskId { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string itemDes { get; set; } |
| | | |
| | | public int? useSrmId { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class View_TASK_TASK |
| | | { |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string sourcePlace { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string toPlace { get; set; } |
| | | |
| | | public int? taskType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string taskStatus { get; set; } |
| | | |
| | | public DateTime? createTime { get; set; } |
| | | |
| | | public int? taskLevel { get; set; } |
| | | |
| | | public int? isNeedRedirect { get; set; } |
| | | |
| | | public int? hasFinished { get; set; } |
| | | |
| | | public int? errorMsg { get; set; } |
| | | |
| | | public int? errorDeviceId { get; set; } |
| | | |
| | | public int? isError { get; set; } |
| | | |
| | | public int? hasReaded { get; set; } |
| | | |
| | | public int? outType { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string containerName { get; set; } |
| | | |
| | | public int? palletCode { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string userName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string outOrderCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string palletType { get; set; } |
| | | |
| | | public int? needTime { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | public DateTime? finishTime { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string localDevice { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string lastWeight { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string canNotDo { get; set; } |
| | | |
| | | public int? isExchange { get; set; } |
| | | |
| | | public int? must { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class sysdiagrams |
| | | { |
| | | [Required] |
| | | [StringLength(128)] |
| | | public string name { get; set; } |
| | | |
| | | public int principal_id { get; set; } |
| | | |
| | | [Key] |
| | | public int diagram_id { get; set; } |
| | | |
| | | public int? version { get; set; } |
| | | |
| | | public byte[] definition { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class v3D_Inventory |
| | | { |
| | | [Key] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int Product_Id { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProductCode { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string ProductName { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string PositionName { get; set; } |
| | | |
| | | public int? ProductStorage { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace IWareDataAccess.EF |
| | | { |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.ComponentModel.DataAnnotations.Schema; |
| | | using System.Data.Entity.Spatial; |
| | | |
| | | public partial class v3Då±ç¤ºæ°æ® |
| | | { |
| | | [StringLength(50)] |
| | | public string è´§ä½ç¼å· { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 0)] |
| | | [StringLength(50)] |
| | | public string é¶ä»¶ç¼å· { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 1)] |
| | | [StringLength(50)] |
| | | public string é¶ä»¶åç§° { get; set; } |
| | | |
| | | [Key] |
| | | [Column(Order = 2)] |
| | | [DatabaseGenerated(DatabaseGeneratedOption.None)] |
| | | public int æ°é { get; set; } |
| | | |
| | | public DateTime? å
¥åºæ¶é´ { get; set; } |
| | | |
| | | [StringLength(50)] |
| | | public string å¨å
·ç¼å· { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Alert |
| | | { |
| | | public class AlertWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string alertName { get; set; } |
| | | |
| | | public string alertDes { get; set; } |
| | | |
| | | public DateTime? createTimeStart { get; set; } |
| | | |
| | | public DateTime? createTimeEnd { get; set; } |
| | | |
| | | public DateTime? finishTimeStart { get; set; } |
| | | |
| | | public DateTime? finishTimeEnd { get; set; } |
| | | |
| | | public int? totalTime { get; set; } |
| | | |
| | | public string deviceName { get; set; } |
| | | |
| | | public string alertCode { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class AddContainerVsItemWebEntity |
| | | { |
| | | public List<ContainerVsItemWebEntity> list { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class ContainerVsItemListWebEntity |
| | | { |
| | | public string containerName { get; set; } |
| | | |
| | | public int? isBad { get; set; } |
| | | |
| | | public string badByFactory { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string inType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç»çåå· |
| | | /// </summary> |
| | | public string cviCode { get; set; } |
| | | |
| | | public string itemList { get; set; } |
| | | |
| | | public string printDevName { get; set; } |
| | | public string img { get; set; } |
| | | |
| | | public string createUser { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æé 彿° |
| | | /// </summary> |
| | | public ContainerVsItemListWebEntity() |
| | | { |
| | | //设置é»è®¤å¼ |
| | | enable = 1; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class ContainerVsItemWebEntity |
| | | { |
| | | /// <summary> |
| | | /// æ¯å¦æ¥è¯¢æªå
³èå²åç产计åçä»»å¡ [EditBy shaocx,2022-11-1] |
| | | /// </summary> |
| | | [NoDbFilter] |
| | | public bool isSearchNoRelevanceInOrder { get; set; } |
| | | public int? id { get; set; } |
| | | |
| | | public string itemName { get; set; } |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | public decimal? itemWeight { get; set; } |
| | | |
| | | public string itemType { get; set; } |
| | | |
| | | public decimal? itemWeightDifference { get; set; } |
| | | |
| | | public string containerName { get; set; } |
| | | |
| | | public string containerType { get; set; } |
| | | |
| | | public int? containerStatus { get; set; } |
| | | |
| | | public decimal? containerWeight { get; set; } |
| | | |
| | | public decimal? containerWeightDifference { get; set; } |
| | | |
| | | public string inOrderCode { get; set; } |
| | | |
| | | public string outOrderCode { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | public int? isBad { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string badByFactory { get; set; } |
| | | |
| | | public string image { get; set; } |
| | | |
| | | public string createLine { get; set; } |
| | | |
| | | public int? maxNum { get; set; } |
| | | |
| | | public string inType { get; set; } |
| | | |
| | | public string storeName { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | public string unit { get; set; } |
| | | |
| | | public decimal? getWeight { get; set; } |
| | | |
| | | public decimal? totalWeight { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å
³èç å²åç产计åå·ï¼ç»çåå·ï¼ |
| | | /// </summary> |
| | | public string cviCode { get; set; } |
| | | |
| | | public string createUser { get; set; } |
| | | /// <summary> |
| | | /// æé 彿° |
| | | /// </summary> |
| | | public ContainerVsItemWebEntity() |
| | | { |
| | | //设置é»è®¤å¼ |
| | | enable = 1; |
| | | isSearchNoRelevanceInOrder = false; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class ContainerWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string containerName { get; set; } |
| | | |
| | | public string containerType { get; set; } |
| | | |
| | | public int? status { get; set; } |
| | | |
| | | public decimal? weight { get; set; } |
| | | |
| | | public decimal? length { get; set; } |
| | | |
| | | public decimal? height { get; set; } |
| | | |
| | | public decimal? width { get; set; } |
| | | |
| | | public decimal? weightDifference { get; set; } |
| | | |
| | | public int? palletCode { get; set; } |
| | | |
| | | public string palletType { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string containerDes { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | |
| | | public ContainerWebEntity() |
| | | { |
| | | enable = 1; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class DeviceWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string deviceName { get; set; } |
| | | |
| | | public string deviceType { get; set; } |
| | | |
| | | public int? deviceId { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class InOrderExcelEntity |
| | | { |
| | | |
| | | public string itemCode { get; set; } |
| | | public int itemNum { get; set; } |
| | | |
| | | public DateTime createTime { get; set; } |
| | | |
| | | public string inType { get; set; } |
| | | |
| | | public string Desc { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class InTypeWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string inType { get; set; } |
| | | |
| | | public string storeName { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class ItemListWebEntity |
| | | { |
| | | public string itemName { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | public string inOrderCode { get; set; } |
| | | |
| | | public string image { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class ItemStorageWebEntity |
| | | { |
| | | |
| | | public int? id { get; set; } |
| | | |
| | | |
| | | public string itemName { get; set; } |
| | | |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | |
| | | public string createLine { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | |
| | | public string unit { get; set; } |
| | | |
| | | public decimal? weight { get; set; } |
| | | |
| | | public decimal? weightDifference { get; set; } |
| | | |
| | | public int? maxNum { get; set; } |
| | | |
| | | |
| | | public string useContainerType { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | public int? placeCount { get; set; } |
| | | |
| | | public decimal? totalCost { get; set; } |
| | | |
| | | public string storageName { get; set; } |
| | | |
| | | public string isOverDay { get; set; } |
| | | |
| | | public string isLessDay { get; set; } |
| | | |
| | | public string isMoreDay { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class ItemWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string itemName { get; set; } |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | public decimal? weight { get; set; } |
| | | |
| | | public string itemType { get; set; } |
| | | |
| | | public decimal? weightDifference { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string image { get; set; } |
| | | |
| | | public string createLine { get; set; } |
| | | |
| | | public int? maxNum { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | public string unit { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | public string useContainerType { get; set; } |
| | | |
| | | public int? overDueTime { get; set; } |
| | | |
| | | public int? maxStorage { get; set; } |
| | | |
| | | public int? minStorage { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | |
| | | public int? storageEnable { get; set; } |
| | | |
| | | public ItemWebEntity() |
| | | { |
| | | enable = 1; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class PalletWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | public int? PalletCode { get; set; } |
| | | |
| | | public string PalletType { get; set; } |
| | | |
| | | public decimal? LengthMax { get; set; } |
| | | |
| | | public decimal? LengthMin { get; set; } |
| | | |
| | | public decimal? WidthMax { get; set; } |
| | | |
| | | public decimal? WidthMin { get; set; } |
| | | |
| | | public decimal? HeightMax { get; set; } |
| | | |
| | | public decimal? HeightMin { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class PdaPermissionEntity |
| | | { |
| | | public string title { get; set; } |
| | | public string name { get; set; } |
| | | public string color { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class PlaceEntity |
| | | { |
| | | public string placeCode { get; set; } |
| | | public string placeName { get; set; } |
| | | |
| | | public int placeStates { get; set; } |
| | | |
| | | public int? layer { get; set; } |
| | | |
| | | public int? col { get; set; } |
| | | |
| | | public int? row { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class PlaceStatusCountEntity |
| | | { |
| | | public int lPlaceCount { get; set; } |
| | | |
| | | public int ePlaceCount { get; set; } |
| | | |
| | | public int cPlaceCount { get; set; } |
| | | |
| | | public int iPlaceCount { get; set; } |
| | | |
| | | |
| | | public int lAllPlaceCount { get; set; } |
| | | |
| | | public int eAllPlaceCount { get; set; } |
| | | |
| | | public int cAllPlaceCount { get; set; } |
| | | |
| | | public int iAllPlaceCount { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class PlaceVsContainerWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string place { get; set; } |
| | | |
| | | public string containerName { get; set; } |
| | | |
| | | public string itemName { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | public int? isBad { get; set; } |
| | | |
| | | public string badByFactory { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | public string unit { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | |
| | | public DateTime? CVIUpdateTimeStart { get; set; } |
| | | |
| | | |
| | | public DateTime? CVIUpdateTimeEnd { get; set; } |
| | | |
| | | |
| | | public string status { get; set; } |
| | | |
| | | public int? isFull { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | |
| | | public string pvcCode { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public int? enable2 { get; set; } |
| | | |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | public string createLine { get; set; } |
| | | |
| | | public string inType { get; set; } |
| | | |
| | | public string palletType { get; set; } |
| | | |
| | | public string isEmptyContainer { get; set; } |
| | | |
| | | public int? stAge { get; set; } |
| | | |
| | | public string stStatus { get; set; } |
| | | |
| | | public string taskType { get; set; } |
| | | |
| | | |
| | | public PlaceVsContainerWebEntity() |
| | | { |
| | | //enable = 1; |
| | | //enable2 = 1; |
| | | |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class PlaceWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string place { get; set; } |
| | | |
| | | public int? row { get; set; } |
| | | |
| | | public int? col { get; set; } |
| | | |
| | | public int? layer { get; set; } |
| | | |
| | | public int? srmId { get; set; } |
| | | |
| | | public int? isFull { get; set; } |
| | | |
| | | public int? isLock { get; set; } |
| | | |
| | | public string placeType { get; set; } |
| | | |
| | | public decimal? length { get; set; } |
| | | |
| | | public decimal? width { get; set; } |
| | | |
| | | public decimal? height { get; set; } |
| | | |
| | | public string specification { get; set; } |
| | | public int? placeLevel { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class ProductionLineWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string productionCode { get; set; } |
| | | |
| | | public string productionName { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public int? isDestination { get; set; } |
| | | |
| | | public ProductionLineWebEntity() |
| | | { |
| | | enable = 1; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class ReturnItemStorageEntity |
| | | { |
| | | public string itemName { get; set; } |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | public int? itemNum { get; set; } |
| | | |
| | | public int minStorage { get; set; } |
| | | |
| | | public int maxStorage { get; set; } |
| | | |
| | | public string isOverDay { get; set; } |
| | | |
| | | public string isLessDay { get; set; } |
| | | |
| | | public string isMoreDay { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class UserRoleMenuEntity |
| | | { |
| | | public string path { get; set; } |
| | | public string name { get; set; } |
| | | public Meta meta { get; set; } |
| | | public List<UserRoleMenuEntity> children { get; set; } |
| | | |
| | | |
| | | } |
| | | public class Meta |
| | | { |
| | | public string title { get; set; } |
| | | public string icon { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class UserRolePermissionViewEntity |
| | | { |
| | | |
| | | public int menu_Id{get;set;} |
| | | public string menuName{get;set;} |
| | | public int parentId{get;set;} |
| | | public string hasChild { get; set; } |
| | | public string state { get; set; } |
| | | public List<AuthEntity> auth { get; set; } |
| | | public List<UserRolePermissionViewEntity> children { get; set; } |
| | | |
| | | } |
| | | public class AuthEntity |
| | | { |
| | | public int menu_Id { get; set; } |
| | | public string label { get; set; } |
| | | public string nodeName { get; set; } |
| | | public int value { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Base |
| | | { |
| | | public class View_BASE_CONTAINER_VS_ITEMPrint |
| | | { |
| | | public int id { get; set; } |
| | | |
| | | public string itemName { get; set; } |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | public decimal? itemWeight { get; set; } |
| | | |
| | | public string itemType { get; set; } |
| | | |
| | | public decimal? itemWeightDifference { get; set; } |
| | | |
| | | public string containerName { get; set; } |
| | | |
| | | public string containerType { get; set; } |
| | | |
| | | public int? containerStatus { get; set; } |
| | | |
| | | public decimal? containerWeight { get; set; } |
| | | |
| | | public decimal? containerWeightDifference { get; set; } |
| | | |
| | | public string inOrderCode { get; set; } |
| | | |
| | | public string outOrderCode { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | public string itemNum { get; set; } |
| | | |
| | | public int? isBad { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string badByFactory { get; set; } |
| | | |
| | | public string image { get; set; } |
| | | |
| | | public string createLine { get; set; } |
| | | |
| | | public int? maxNum { get; set; } |
| | | |
| | | public string inType { get; set; } |
| | | |
| | | public string storeName { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | public string unit { get; set; } |
| | | |
| | | public decimal? getWeight { get; set; } |
| | | |
| | | public decimal? totalWeight { get; set; } |
| | | |
| | | public string cviCode { get; set; } |
| | | |
| | | public string createUser { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Car |
| | | { |
| | | public class CarTaskWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string carTaskName { get; set; } |
| | | |
| | | public string fromDestination { get; set; } |
| | | |
| | | public string toDestination { get; set; } |
| | | |
| | | public string containerName { get; set; } |
| | | |
| | | public string taskStatus { get; set; } |
| | | |
| | | public string taskStatusNot { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | public string carName { get; set; } |
| | | |
| | | public string userName { get; set; } |
| | | |
| | | public string getUserName { get; set; } |
| | | |
| | | public string itemDetail { get; set; } |
| | | |
| | | public CarTaskWebEntity() |
| | | { |
| | | enable = 1; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Car |
| | | { |
| | | public class CarWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string carName { get; set; } |
| | | |
| | | public string carCode { get; set; } |
| | | |
| | | public int? status { get; set; } |
| | | |
| | | public int? isWork { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string userName { get; set; } |
| | | |
| | | public string carTaskName { get; set; } |
| | | |
| | | public CarWebEntity() |
| | | { |
| | | enable = 1; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using IWareDataAccess.Helper; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Order |
| | | { |
| | | public class InOrderWebEntity |
| | | { |
| | | |
| | | public DateTime? createTimeStart { get; set; } |
| | | |
| | | public DateTime? createTimeEnd { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 页é¢ç±»å ,å¯¹åºæä¸¾ InOrderPageTypeEnum |
| | | /// </summary> |
| | | [NoDbFilter] |
| | | public string InOrderPageType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸äººID |
| | | /// </summary> |
| | | public int? CHECKERID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æä½è
|
| | | /// </summary> |
| | | public string userName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æä½è
ID |
| | | /// </summary> |
| | | public int? creatorId { get; set; } |
| | | |
| | | public int? id { get; set; } |
| | | |
| | | public string inOrderCode { get; set; } |
| | | |
| | | public string orderType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订åç¶æåç§° |
| | | /// </summary> |
| | | public string orderStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 订åç¶æID |
| | | /// </summary> |
| | | public int? OrderStatusId { get; set; } |
| | | |
| | | public int? totalNum { get; set; } |
| | | |
| | | public int? doneNum { get; set; } |
| | | |
| | | public int? unLineNum { get; set; } |
| | | |
| | | public decimal? totalWeight { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | public int? isFinsish { get; set; } |
| | | |
| | | public string createLine { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | public DateTime? doTimeStart { get; set; } |
| | | |
| | | public DateTime? doTimeEnd { get; set; } |
| | | |
| | | public string itemName { get; set; } |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | public decimal? itemWeight { get; set; } |
| | | |
| | | public string itemType { get; set; } |
| | | |
| | | public decimal? price { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | //public string createName { get; set; } |
| | | |
| | | public int? classNo { get; set; } |
| | | |
| | | public int? status { get; set; } |
| | | |
| | | public string checkerName { get; set; } |
| | | |
| | | public string senderName { get; set; } |
| | | |
| | | public InOrderWebEntity() |
| | | { |
| | | enable = 1; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Order |
| | | { |
| | | public class OutOrderWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string outOrderCode { get; set; } |
| | | |
| | | public string orderType { get; set; } |
| | | |
| | | public string orderStatus { get; set; } |
| | | |
| | | public DateTime? changeDate { get; set; } |
| | | |
| | | public DateTime? changeDateStart { get; set; } |
| | | |
| | | public DateTime? changeDateEnd { get; set; } |
| | | |
| | | public int? checkOutNum { get; set; } |
| | | |
| | | public int? totalOutNum { get; set; } |
| | | |
| | | public decimal? totalWeight { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | public int? isFinish { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | public DateTime? doTimeStart { get; set; } |
| | | |
| | | public DateTime? doTimeEnd { get; set; } |
| | | |
| | | public string itemName { get; set; } |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | public string itemType { get; set; } |
| | | |
| | | public string productionLineCode { get; set; } |
| | | |
| | | public string productionLineName { get; set; } |
| | | |
| | | public int? erpOrderId { get; set; } |
| | | |
| | | public string userName { get; set; } |
| | | |
| | | public int? tranLine { get; set; } |
| | | |
| | | public int? isErp { get; set; } |
| | | |
| | | public int? CarUserId { get; set; } |
| | | |
| | | public OutOrderWebEntity() |
| | | { |
| | | enable = 1; |
| | | isErp = 0; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Linq.Expressions; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity |
| | | { |
| | | /// <summary> |
| | | /// è°è¯è¡¨è¾¾å¼æå»ºå¨ |
| | | /// </summary> |
| | | public static class PredicateBuilderNew |
| | | { |
| | | #region Expression Joiner |
| | | /// <summary> |
| | | /// å建ä¸ä¸ªå¼æä¸º <c>true</c> ç表达å¼ã |
| | | /// </summary> |
| | | /// <typeparam name="T">è¡¨è¾¾å¼æ¹æ³ç±»å</typeparam> |
| | | /// <returns>ä¸ä¸ªå¼æä¸º <c>true</c> ç表达å¼ã</returns> |
| | | public static Expression<Func<T, bool>> True<T>() { return p => true; } |
| | | |
| | | /// <summary> |
| | | /// å建ä¸ä¸ªå¼æä¸º <c>false</c> ç表达å¼ã |
| | | /// </summary> |
| | | /// <typeparam name="T">è¡¨è¾¾å¼æ¹æ³ç±»å</typeparam> |
| | | /// <returns>ä¸ä¸ªå¼æä¸º <c>false</c> ç表达å¼ã</returns> |
| | | public static Expression<Func<T, bool>> False<T>() { return f => false; } |
| | | |
| | | /// <summary> |
| | | /// ä½¿ç¨ Expression.OrElse çæ¹å¼æ¼æ¥ä¸¤ä¸ª System.Linq.Expressionã |
| | | /// </summary> |
| | | /// <typeparam name="T">è¡¨è¾¾å¼æ¹æ³ç±»å</typeparam> |
| | | /// <param name="left">左边ç System.Linq.Expression ã</param> |
| | | /// <param name="right">å³è¾¹ç System.Linq.Expressionã</param> |
| | | /// <returns>æ¼æ¥å®æç System.Linq.Expressionã</returns> |
| | | public static Expression<T> Or<T>(this Expression<T> left, Expression<T> right) |
| | | { |
| | | return MakeBinary(left, right, Expression.OrElse); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä½¿ç¨ Expression.AndAlso çæ¹å¼æ¼æ¥ä¸¤ä¸ª System.Linq.Expressionã |
| | | /// </summary> |
| | | /// <typeparam name="T">è¡¨è¾¾å¼æ¹æ³ç±»å</typeparam> |
| | | /// <param name="left">左边ç System.Linq.Expression ã</param> |
| | | /// <param name="right">å³è¾¹ç System.Linq.Expressionã</param> |
| | | /// <returns>æ¼æ¥å®æç System.Linq.Expressionã</returns> |
| | | public static Expression<T> And<T>(this Expression<T> left, Expression<T> right) |
| | | { |
| | | return MakeBinary(left, right, Expression.AndAlso); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 使ç¨èªå®ä¹çæ¹å¼æ¼æ¥ä¸¤ä¸ª System.Linq.Expressionã |
| | | /// </summary> |
| | | /// <typeparam name="T">è¡¨è¾¾å¼æ¹æ³ç±»å</typeparam> |
| | | /// <param name="left">左边ç System.Linq.Expression ã</param> |
| | | /// <param name="right">å³è¾¹ç System.Linq.Expressionã</param> |
| | | /// <returns>æ¼æ¥å®æç System.Linq.Expressionã</returns> |
| | | public static Expression<T> MakeBinary<T>(this Expression<T> left, Expression<T> right, Func<Expression, Expression, Expression> func) |
| | | { |
| | | return MakeBinary((LambdaExpression)left, right, func) as Expression<T>; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// æ¼æ¥ä¸¤ä¸ª <paramref name="System.Linq.Expression"/> ï¼ä¸¤ä¸ª <paramref name="System.Linq.Expression"/> çåæ°å¿
é¡»å®å
¨ç¸åã |
| | | /// </summary> |
| | | /// <typeparam name="T">表达å¼ä¸çå
ç´ ç±»å</typeparam> |
| | | /// <param name="left">左边ç <paramref name="System.Linq.Expression"/></param> |
| | | /// <param name="right">å³è¾¹ç <paramref name="System.Linq.Expression"/></param> |
| | | /// <param name="func">è¡¨è¾¾å¼æ¼æ¥çå
·ä½é»è¾</param> |
| | | /// <returns>æ¼æ¥å®æç <paramref name="System.Linq.Expression"/></returns> |
| | | public static LambdaExpression MakeBinary(this LambdaExpression left, LambdaExpression right, Func<Expression, Expression, Expression> func) |
| | | { |
| | | var data = Combinate(right.Parameters, left.Parameters).ToArray(); |
| | | right = ParameterReplace.Replace(right, data) as LambdaExpression; |
| | | return Expression.Lambda(func(left.Body, right.Body), left.Parameters.ToArray()); |
| | | } |
| | | #endregion |
| | | |
| | | #region Private Methods |
| | | private static IEnumerable<KeyValuePair<T, T>> Combinate<T>(IEnumerable<T> left, IEnumerable<T> right) |
| | | { |
| | | var a = left.GetEnumerator(); |
| | | var b = right.GetEnumerator(); |
| | | while (a.MoveNext() && b.MoveNext()) |
| | | yield return new KeyValuePair<T, T>(a.Current, b.Current); |
| | | } |
| | | #endregion |
| | | } |
| | | |
| | | #region class: ParameterReplace |
| | | internal sealed class ParameterReplace : ExpressionVisitor |
| | | { |
| | | public static Expression Replace(Expression e, IEnumerable<KeyValuePair<ParameterExpression, ParameterExpression>> paramList) |
| | | { |
| | | var item = new ParameterReplace(paramList); |
| | | return item.Visit(e); |
| | | } |
| | | |
| | | private Dictionary<ParameterExpression, ParameterExpression> parameters = null; |
| | | |
| | | public ParameterReplace(IEnumerable<KeyValuePair<ParameterExpression, ParameterExpression>> paramList) |
| | | { |
| | | parameters = paramList.ToDictionary(p => p.Key, p => p.Value, new ParameterEquality()); |
| | | } |
| | | |
| | | protected override Expression VisitParameter(ParameterExpression p) |
| | | { |
| | | ParameterExpression result; |
| | | if (parameters.TryGetValue(p, out result)) |
| | | return result; |
| | | else |
| | | return base.VisitParameter(p); |
| | | } |
| | | |
| | | #region class: ParameterEquality |
| | | private class ParameterEquality : IEqualityComparer<ParameterExpression> |
| | | { |
| | | public bool Equals(ParameterExpression x, ParameterExpression y) |
| | | { |
| | | if (x == null || y == null) |
| | | return false; |
| | | |
| | | return x.Type == y.Type; |
| | | } |
| | | |
| | | public int GetHashCode(ParameterExpression obj) |
| | | { |
| | | if (obj == null) |
| | | return 0; |
| | | |
| | | return obj.Type.GetHashCode(); |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | #endregion |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Summary |
| | | { |
| | | public class BarEntity |
| | | { |
| | | public List<string> legend { get; set; } |
| | | public List<string> xdata { get; set; } |
| | | public List<BarDate> data { get; set; } |
| | | |
| | | public int? maxNum { get; set; } |
| | | } |
| | | |
| | | public class BarDate |
| | | { |
| | | |
| | | public string name { get; set; } |
| | | |
| | | public List<string> xdata { get; set; } |
| | | |
| | | //public string name2 { get; set; } |
| | | |
| | | //public List<string> countSum { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Summary |
| | | { |
| | | public class HomeBarEntity |
| | | { |
| | | public List<string> legend { get; set; } |
| | | public List<string> xdata { get; set; } |
| | | public List<Date> data { get; set; } |
| | | } |
| | | |
| | | public class Date |
| | | { |
| | | |
| | | public string name { get; set; } |
| | | |
| | | public List<int> xdata { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Summary |
| | | { |
| | | public class HomeNumDataEntity |
| | | { |
| | | public int no { get; set; } |
| | | public string titel { get; set; } |
| | | public int value { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Summary |
| | | { |
| | | public class HomeNumDataEntityVsTime |
| | | { |
| | | public List<HomeNumDataEntity> homeNumDataEntityList { get; set; } |
| | | |
| | | public DateTime time { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Summary |
| | | { |
| | | public class HomePieDataEntity |
| | | { |
| | | public string placeType {get;set; } |
| | | |
| | | public int placeTotalNum { get; set; } |
| | | public int placeFullNum { get; set; } |
| | | |
| | | public string placeRate { get; set; } |
| | | |
| | | public int placeOtherVal { get; set; } |
| | | |
| | | public int placeVal { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Summary |
| | | { |
| | | public class PieEntity |
| | | { |
| | | public List<string> legend { get; set; } |
| | | public List<PieDate> data { get; set; } |
| | | } |
| | | public class PieDate |
| | | { |
| | | |
| | | public string name { get; set; } |
| | | |
| | | public string data { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Summary |
| | | { |
| | | public class SummaryCommEntity |
| | | { |
| | | public int count1 { get; set; } |
| | | public int count2 { get; set; } |
| | | |
| | | public decimal coast { get; set; } |
| | | public string time { get; set; } |
| | | |
| | | public DateTime dtime { get; set; } |
| | | |
| | | public string titel { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Summary |
| | | { |
| | | public class SummaryHomeEntity |
| | | { |
| | | public int taskType { get; set; } |
| | | |
| | | public int count { get; set; } |
| | | |
| | | public string time { get; set; } |
| | | public string type { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Sys |
| | | { |
| | | public class DeptWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string deptName { get; set; } |
| | | |
| | | public string deptDes { get; set; } |
| | | |
| | | public DateTime? updateTime { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | public DeptWebEntity() |
| | | { |
| | | enable = 1; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Sys |
| | | { |
| | | public class PermissionVsRoleWebEntity |
| | | { |
| | | public string roleName { get; set; } |
| | | |
| | | public List<int> permissionNameList = new List<int>(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Sys |
| | | { |
| | | public class PermissionWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string permission { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public int? fatherPermissionId { get; set; } |
| | | |
| | | public int? permissionLevel { get; set; } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Sys |
| | | { |
| | | public class RoleWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string roleName { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string userName { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | public RoleWebEntity() |
| | | { |
| | | |
| | | enable = 1; |
| | | } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Sys |
| | | { |
| | | public class UserWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public string userName { get; set; } |
| | | |
| | | public string userTrueName { get; set; } |
| | | |
| | | public string password { get; set; } |
| | | |
| | | public string roleName { get; set; } |
| | | |
| | | public int? enable { get; set; } |
| | | |
| | | public string createName { get; set; } |
| | | |
| | | public string deptName { get; set; } |
| | | |
| | | public DateTime? updateTimeStart { get; set; } |
| | | |
| | | public DateTime? updateTimeEnd { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦æ¯ çè£
å®¡æ ¸ç» |
| | | /// </summary> |
| | | public bool? IsWeldingAuditGroup { get; set; } |
| | | |
| | | public UserWebEntity() |
| | | { |
| | | enable = 1; |
| | | } |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Task |
| | | { |
| | | public class RgvTaskWebEntity |
| | | { |
| | | |
| | | public int? mainTask { get; set; } |
| | | |
| | | |
| | | public int? isReleased { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | public DateTime? finishTime { get; set; } |
| | | |
| | | |
| | | public string taskType { get; set; } |
| | | |
| | | |
| | | public int? useRgvId { get; set; } |
| | | |
| | | |
| | | public int? toPlace { get; set; } |
| | | |
| | | |
| | | public int? sourcePlace { get; set; } |
| | | |
| | | |
| | | public int? hasFinished { get; set; } |
| | | |
| | | |
| | | public int? id { get; set; } |
| | | |
| | | |
| | | public string devName { get; set; } |
| | | |
| | | public int? preTask { get; set; } |
| | | public DateTime? createTimeStart { get; set; } |
| | | |
| | | public DateTime? createTimeEnd { get; set; } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Task |
| | | { |
| | | public class SrmRecordWebEntity |
| | | { |
| | | public int? id { get; set; } |
| | | |
| | | public DateTime? createTimeEnd { get; set; } |
| | | |
| | | public DateTime? createTimeStart { get; set; } |
| | | |
| | | public int? itemCount { get; set; } |
| | | |
| | | public int? isReleased { get; set; } |
| | | |
| | | public int? hasFinished { get; set; } |
| | | |
| | | public string sourcePlace { get; set; } |
| | | |
| | | public string toPlace { get; set; } |
| | | |
| | | public int? fastherTaskId { get; set; } |
| | | |
| | | public string containerName { get; set; } |
| | | |
| | | public string itemName { get; set; } |
| | | |
| | | public string itemDes { get; set; } |
| | | |
| | | public int? useSrmId { get; set; } |
| | | |
| | | public string taskType { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace IWareDataAccess.Entity.Task |
| | | { |
| | | public class SrmTaskWebEntity |
| | | { |
| | | public int? mainTask { get; set; } |
| | | |
| | | public int? isReleased { get; set; } |
| | | |
| | | public DateTime? doTime { get; set; } |
| | | |
| | | public DateTime? finishTime { get; set; } |
| | | |
| | | |
| | | public string taskType { get; set; } |
| | | |
| | | public int? palletType { get; set; } |
| | | |
| | | |
| | | public int? useSrmId { get; set; } |
| | | |
| | | |
| | | public string toPlace { get; set; } |
| | | |
| | | |
| | | public string sourcePlace { get; set; } |
| | | |
| | | |
| | | public int? hasFinished { get; set; } |
| | | |
| | | |
| | | public int? id { get; set; } |
| | | |
| | | |
| | | public string devName { get; set; } |
| | | |
| | | public DateTime? createTimeStart { get; set; } |
| | | |
| | | public DateTime? createTimeEnd { get; set; } |
| | | } |
| | | } |
qqjf-Background/IWareDataAccess/Entity/Task/TaskCommonEntity.cs
qqjf-Background/IWareDataAccess/Entity/Task/TaskNumAllEnterWebEntity.cs
qqjf-Background/IWareDataAccess/Entity/Task/TaskNumOnEnterWebEntity.cs
qqjf-Background/IWareDataAccess/Entity/Task/TaskRecodeWebEntity.cs
qqjf-Background/IWareDataAccess/Entity/Task/TaskWebEntity.cs
qqjf-Background/IWareDataAccess/Entity/Task/TimeVsTaskNumWebEntity.cs
qqjf-Background/IWareDataAccess/Helper/Attribute/AttributeHelper.cs
qqjf-Background/IWareDataAccess/Helper/Attribute/NoDbFilterAttribute.cs
qqjf-Background/IWareDataAccess/Helper/ExcelHelper.cs
qqjf-Background/IWareDataAccess/Helper/Helper.cs
qqjf-Background/IWareDataAccess/Helper/PredicateBuilder.cs
qqjf-Background/IWareDataAccess/Helper/SearchHelper.cs
qqjf-Background/IWareDataAccess/IWareDataAccess.csproj
qqjf-Background/IWareDataAccess/Order/INORDER/InOrderSqlFunc.cs
qqjf-Background/IWareDataAccess/Order/OUTORDER/OutOrderSqlFunc.cs
qqjf-Background/IWareDataAccess/PDA/Version/VersionSqlFunc.cs
qqjf-Background/IWareDataAccess/Program.cs
qqjf-Background/IWareDataAccess/Properties/AssemblyInfo.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Alert/ReturnSearchAlertView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnCommonItem.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnIndexMessage.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnPlace.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchContainerView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchContainerVsItemView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchDeviceView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchInTypeView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchItemStorageView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchItemView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchPalletView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchPlaceView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchPlaceVsContainerView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnSearchProductionLineView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnUserRoleMena.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Base/ReturnUserRolePermission.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Car/ReturnSearchCarTaskView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Car/ReturnSearchCarView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Order/ReturnSearchInOrderView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Order/ReturnSearchOutOrderView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/ReturnResultAndMsg.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Summary/ReturnResultSummary.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Summary/ReturnResultSummaryNum.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Summary/ReturnResultSummaryPie.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Sys/ReturnSearchDeptView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Sys/ReturnSearchPermissionView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Sys/ReturnSearchRoleView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Sys/ReturnSearchRoleVsPermission.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Sys/ReturnSearchUserView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Task/ReturnSearchRgvTaskView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Task/ReturnSearchSrmRecordView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Task/ReturnSearchSrmTaskView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Task/ReturnSearchTaskRecodeView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Task/ReturnSearchTaskView.cs
qqjf-Background/IWareDataAccess/ReturnEntity/Task/ReturnTaskCommonView.cs
qqjf-Background/IWareDataAccess/Summary/SummaryStatisticsSqlFunc.cs
qqjf-Background/IWareDataAccess/Sys/DEPT/DeptSqlFunc.cs
qqjf-Background/IWareDataAccess/Sys/PERMISSION/PermissionSqlFunc.cs
qqjf-Background/IWareDataAccess/Sys/ROLE/RoleSqlFunc.cs
qqjf-Background/IWareDataAccess/Sys/ROLE_VS_PERMISSION/Role_Vs_PermissionSqlFunc.cs
qqjf-Background/IWareDataAccess/Sys/USER/UserSqlFunc.cs
qqjf-Background/IWareDataAccess/Sys/USER/ViewUserSqlFunc.cs
qqjf-Background/IWareDataAccess/Task/TASK/RgvTaskSqlFunc.cs
qqjf-Background/IWareDataAccess/Task/TASK/SrmRecordSqlFunc.cs
qqjf-Background/IWareDataAccess/Task/TASK/SrmTaskSqlFunc.cs
qqjf-Background/IWareDataAccess/Task/TASK/TaskRecodeFunc.cs
qqjf-Background/IWareDataAccess/Task/TASK/TaskSqlFunc.cs
qqjf-Background/IWareDataAccess/packages.config
qqjf-Background/Models/Input/InOrderAuditInput.cs
qqjf-Background/Models/Input/InOrderUnlineNumInput.cs
qqjf-Background/Models/Input/UpdateCviCodeInput.cs
qqjf-Background/Models/Models.csproj
qqjf-Background/Models/Properties/AssemblyInfo.cs
qqjf-Background/WMSPatch/App.config
qqjf-Background/WMSPatch/EF/Base_EmptyEquipment.cs
qqjf-Background/WMSPatch/EF/Base_EmptyEquipmentList.cs
qqjf-Background/WMSPatch/EF/Base_Plate.cs
qqjf-Background/WMSPatch/EF/Base_PlateType.cs
qqjf-Background/WMSPatch/EF/Base_Position.cs
qqjf-Background/WMSPatch/EF/Base_ProductPlaceHolder.cs
qqjf-Background/WMSPatch/EF/Base_ProductPosition.cs
qqjf-Background/WMSPatch/EF/Model.cs
qqjf-Background/WMSPatch/EF/Purchase_Order.cs
qqjf-Background/WMSPatch/EF/Purchase_OrderList.cs
qqjf-Background/WMSPatch/EF/Sale_Order.cs
qqjf-Background/WMSPatch/EF/Task_Queue.cs
qqjf-Background/WMSPatch/EF/v3D展示数据.cs
qqjf-Background/WMSPatch/Form1.Designer.cs
qqjf-Background/WMSPatch/Form1.cs
qqjf-Background/WMSPatch/Form1.resx
qqjf-Background/WMSPatch/Program.cs
qqjf-Background/WMSPatch/Properties/AssemblyInfo.cs
qqjf-Background/WMSPatch/Properties/Resources.Designer.cs
qqjf-Background/WMSPatch/Properties/Resources.resx
qqjf-Background/WMSPatch/Properties/Settings.Designer.cs
qqjf-Background/WMSPatch/Properties/Settings.settings
qqjf-Background/WMSPatch/Service References/SrmServer/Reference.cs
qqjf-Background/WMSPatch/Service References/SrmServer/Reference.svcmap
qqjf-Background/WMSPatch/Service References/SrmServer/SrmService.wsdl
qqjf-Background/WMSPatch/Service References/SrmServer/WMSPatch.SrmServer.ArrayOfInt.datasource
qqjf-Background/WMSPatch/Service References/SrmServer/WMSPatch.SrmServer.DeleteMainTaskResponse.datasource
qqjf-Background/WMSPatch/Service References/SrmServer/WMSPatch.SrmServer.SendTaskClass.datasource
qqjf-Background/WMSPatch/Service References/SrmServer/WMSPatch.SrmServer.TaskFinishClass.datasource
qqjf-Background/WMSPatch/Service References/SrmServer/configuration.svcinfo
qqjf-Background/WMSPatch/Service References/SrmServer/configuration91.svcinfo
qqjf-Background/WMSPatch/Service References/SrmServer/item.disco
qqjf-Background/WMSPatch/Service References/SrmServer/item.xsd
qqjf-Background/WMSPatch/WMSPatch.csproj
qqjf-Background/WMSPatch/packages.config
qqjf-Background/WebApi_QQJF/App_Start/BundleConfig.cs
qqjf-Background/WebApi_QQJF/App_Start/FilterConfig.cs
qqjf-Background/WebApi_QQJF/App_Start/RouteConfig.cs
qqjf-Background/WebApi_QQJF/App_Start/WebApiConfig.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/ApiDescriptionExtensions.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/App_Start/HelpPageConfig.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Controllers/HelpController.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/HelpPage.css
qqjf-Background/WebApi_QQJF/Areas/HelpPage/HelpPageAreaRegistration.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/HelpPageConfigurationExtensions.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Models/HelpPageApiModel.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/SampleGeneration/ImageSample.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/SampleGeneration/InvalidSample.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/SampleGeneration/SampleDirection.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/SampleGeneration/TextSample.cs
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/Api.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/DisplayTemplates/ApiGroup.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/DisplayTemplates/HelpPageApiModel.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Help/Index.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Shared/_Layout.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/Web.config
qqjf-Background/WebApi_QQJF/Areas/HelpPage/Views/_ViewStart.cshtml
qqjf-Background/WebApi_QQJF/Areas/HelpPage/XmlDocumentationProvider.cs
qqjf-Background/WebApi_QQJF/Content/Site.css
qqjf-Background/WebApi_QQJF/Content/bootstrap.css
qqjf-Background/WebApi_QQJF/Content/bootstrap.min.css
qqjf-Background/WebApi_QQJF/Controllers/AlertController.cs
qqjf-Background/WebApi_QQJF/Controllers/CarController.cs
qqjf-Background/WebApi_QQJF/Controllers/CarTaskController.cs
qqjf-Background/WebApi_QQJF/Controllers/ContainerController.cs
qqjf-Background/WebApi_QQJF/Controllers/ContainerVsItemController.cs
qqjf-Background/WebApi_QQJF/Controllers/DeptController.cs
qqjf-Background/WebApi_QQJF/Controllers/DeviceController.cs
qqjf-Background/WebApi_QQJF/Controllers/HomeController.cs
qqjf-Background/WebApi_QQJF/Controllers/InOrderController.cs
qqjf-Background/WebApi_QQJF/Controllers/InTypeController.cs
qqjf-Background/WebApi_QQJF/Controllers/ItemController.cs
qqjf-Background/WebApi_QQJF/Controllers/ItemStorageController.cs
qqjf-Background/WebApi_QQJF/Controllers/OutOrderController.cs
qqjf-Background/WebApi_QQJF/Controllers/PDAController.cs
qqjf-Background/WebApi_QQJF/Controllers/PalletController.cs
qqjf-Background/WebApi_QQJF/Controllers/PermissionController.cs
qqjf-Background/WebApi_QQJF/Controllers/PlaceController.cs
qqjf-Background/WebApi_QQJF/Controllers/PlaceVsContainerController.cs
qqjf-Background/WebApi_QQJF/Controllers/ProductionLineController.cs
qqjf-Background/WebApi_QQJF/Controllers/RgvTaskController.cs
qqjf-Background/WebApi_QQJF/Controllers/RoleController.cs
qqjf-Background/WebApi_QQJF/Controllers/SrmRecordController.cs
qqjf-Background/WebApi_QQJF/Controllers/SrmTaskController.cs
qqjf-Background/WebApi_QQJF/Controllers/SummaryStatisticsController.cs
qqjf-Background/WebApi_QQJF/Controllers/TaskController.cs
qqjf-Background/WebApi_QQJF/Controllers/TaskRecodeController.cs
qqjf-Background/WebApi_QQJF/Controllers/UnitTestController.cs
qqjf-Background/WebApi_QQJF/Controllers/UserController.cs
qqjf-Background/WebApi_QQJF/Controllers/ValuesController.cs
qqjf-Background/WebApi_QQJF/ExcelTemple/冲压计划导入模板.xlsx
qqjf-Background/WebApi_QQJF/ExcelTemple/零件导入模板.xlsx
qqjf-Background/WebApi_QQJF/Global.asax
qqjf-Background/WebApi_QQJF/Global.asax.cs
qqjf-Background/WebApi_QQJF/Project_Readme.html
qqjf-Background/WebApi_QQJF/Properties/AssemblyInfo.cs
qqjf-Background/WebApi_QQJF/Scripts/_references.js
qqjf-Background/WebApi_QQJF/Scripts/bootstrap.js
qqjf-Background/WebApi_QQJF/Scripts/bootstrap.min.js
qqjf-Background/WebApi_QQJF/Scripts/jquery-1.10.2.intellisense.js
qqjf-Background/WebApi_QQJF/Scripts/jquery-1.10.2.js
qqjf-Background/WebApi_QQJF/Scripts/jquery-1.10.2.min.js
qqjf-Background/WebApi_QQJF/Scripts/jquery-1.10.2.min.map
qqjf-Background/WebApi_QQJF/Scripts/modernizr-2.6.2.js
qqjf-Background/WebApi_QQJF/Scripts/respond.js
qqjf-Background/WebApi_QQJF/Scripts/respond.min.js
qqjf-Background/WebApi_QQJF/Service References/SrmServer/Reference.cs
qqjf-Background/WebApi_QQJF/Service References/SrmServer/Reference.svcmap
qqjf-Background/WebApi_QQJF/Service References/SrmServer/SrmService.wsdl
qqjf-Background/WebApi_QQJF/Service References/SrmServer/WebApi_QQJF.SrmServer.ArrayOfInt.datasource
qqjf-Background/WebApi_QQJF/Service References/SrmServer/WebApi_QQJF.SrmServer.ArrayOfString.datasource
qqjf-Background/WebApi_QQJF/Service References/SrmServer/WebApi_QQJF.SrmServer.DeleteMainTaskResponse.datasource
qqjf-Background/WebApi_QQJF/Service References/SrmServer/configuration.svcinfo
qqjf-Background/WebApi_QQJF/Service References/SrmServer/configuration91.svcinfo
qqjf-Background/WebApi_QQJF/Service References/SrmServer/item.disco
qqjf-Background/WebApi_QQJF/Service References/SrmServer/item.xsd
qqjf-Background/WebApi_QQJF/Uplod/1704784885695.PNG
qqjf-Background/WebApi_QQJF/Views/Home/Index.cshtml
qqjf-Background/WebApi_QQJF/Views/Shared/Error.cshtml
qqjf-Background/WebApi_QQJF/Views/Shared/_Layout.cshtml
qqjf-Background/WebApi_QQJF/Views/Web.config
qqjf-Background/WebApi_QQJF/Views/_ViewStart.cshtml
qqjf-Background/WebApi_QQJF/Web - 本机环境.Debug.config
qqjf-Background/WebApi_QQJF/Web - 本机环境.Release.config
qqjf-Background/WebApi_QQJF/Web - 本机环境.config
qqjf-Background/WebApi_QQJF/Web -生产地址.Debug.config
qqjf-Background/WebApi_QQJF/Web -生产地址.Release.config
qqjf-Background/WebApi_QQJF/Web -生产地址.config
qqjf-Background/WebApi_QQJF/Web.Debug.config
qqjf-Background/WebApi_QQJF/Web.Release.config
qqjf-Background/WebApi_QQJF/Web.config
qqjf-Background/WebApi_QQJF/WebApi_QQJF.csproj
qqjf-Background/WebApi_QQJF/WebHelper/WebHelper.cs
qqjf-Background/WebApi_QQJF/favicon.ico
qqjf-Background/WebApi_QQJF/fonts/glyphicons-halflings-regular.eot
qqjf-Background/WebApi_QQJF/fonts/glyphicons-halflings-regular.svg
qqjf-Background/WebApi_QQJF/fonts/glyphicons-halflings-regular.ttf
qqjf-Background/WebApi_QQJF/fonts/glyphicons-halflings-regular.woff
qqjf-Background/WebApi_QQJF/packages.config
qqjf-Background/iWareCommon/Properties/AssemblyInfo.cs
qqjf-Background/iWareCommon/Properties/Resources.Designer.cs
qqjf-Background/iWareCommon/Properties/Resources.resx
qqjf-Background/iWareCommon/Utils/Log4Net/C_LogWriter.cs
qqjf-Background/iWareCommon/Utils/Log4Net/Log4netHelper.cs
qqjf-Background/iWareCommon/Utils/Log4Net/LogType.cs
qqjf-Background/iWareCommon/iWareCommon.csproj
qqjf-Background/iWareCommon/log4net_iWare.config
qqjf-Background/iWareSda_QQJF/2DShow/2Dshow.Designer.cs
qqjf-Background/iWareSda_QQJF/2DShow/2Dshow.cs
qqjf-Background/iWareSda_QQJF/2DShow/2Dshow.resx
qqjf-Background/iWareSda_QQJF/App.config
qqjf-Background/iWareSda_QQJF/DLL/EXS7PLC.txt
qqjf-Background/iWareSda_QQJF/DLL/EntityFramework.SqlServer.dll
qqjf-Background/iWareSda_QQJF/DLL/EntityFramework.dll
qqjf-Background/iWareSda_QQJF/DLL/Interop.OPCAutomation.dll
qqjf-Background/iWareSda_QQJF/DLL/Newtonsoft.Json.dll
qqjf-Background/iWareSda_QQJF/DLL/Newtonsoft.Json.xml
qqjf-Background/iWareSda_QQJF/DLL/OpcAccess.dll
qqjf-Background/iWareSda_QQJF/DLL/S7.Net.dll
qqjf-Background/iWareSda_QQJF/DLL/WZ.Useful.Commons.dll
qqjf-Background/iWareSda_QQJF/DLL/log4net.dll
qqjf-Background/iWareSda_QQJF/DLL/log4net.xml
qqjf-Background/iWareSda_QQJF/DLL/logtxt.dll
qqjf-Background/iWareSda_QQJF/FormMain.Designer.cs
qqjf-Background/iWareSda_QQJF/FormMain.cs
qqjf-Background/iWareSda_QQJF/FormMain.resx
qqjf-Background/iWareSda_QQJF/FormTest.Designer.cs
qqjf-Background/iWareSda_QQJF/FormTest.cs
qqjf-Background/iWareSda_QQJF/FormTest.resx
qqjf-Background/iWareSda_QQJF/LOGO.ico
qqjf-Background/iWareSda_QQJF/Newtonsoft.Json.dll
qqjf-Background/iWareSda_QQJF/OPCService/EXS7PLC.cs
qqjf-Background/iWareSda_QQJF/OPCService/HSLS7.cs
qqjf-Background/iWareSda_QQJF/OPCService/OpcService.cs
qqjf-Background/iWareSda_QQJF/OPCService/S7.cs
qqjf-Background/iWareSda_QQJF/Program.cs
qqjf-Background/iWareSda_QQJF/Properties/AssemblyInfo.cs
qqjf-Background/iWareSda_QQJF/Properties/Resources.Designer.cs
qqjf-Background/iWareSda_QQJF/Properties/Resources.resx
qqjf-Background/iWareSda_QQJF/Properties/Settings.Designer.cs
qqjf-Background/iWareSda_QQJF/Properties/Settings.settings
qqjf-Background/iWareSda_QQJF/RGV/RgvModel/RgvEntity.cs
qqjf-Background/iWareSda_QQJF/RGV/RgvModel/Rgv_CacheEntity.cs
qqjf-Background/iWareSda_QQJF/RGV/RgvModel/rgvDB.cs
qqjf-Background/iWareSda_QQJF/RGV/RgvModel/rgvOPC.cs
qqjf-Background/iWareSda_QQJF/RGV/RgvService/EntityRgvView.cs
qqjf-Background/iWareSda_QQJF/RGV/RgvService/IRgvService.cs
qqjf-Background/iWareSda_QQJF/RGV/RgvService/RgvService.cs
qqjf-Background/iWareSda_QQJF/S7.Net.dll
qqjf-Background/iWareSda_QQJF/SRM/SrmModel/SrmDBli.cs
qqjf-Background/iWareSda_QQJF/SRM/SrmModel/SrmEntity.cs
qqjf-Background/iWareSda_QQJF/SRM/SrmModel/Srm_CacheEntity.cs
qqjf-Background/iWareSda_QQJF/SRM/SrmModel/srmOPC.cs
qqjf-Background/iWareSda_QQJF/SRM/SrmService/EntitySrmView.cs
qqjf-Background/iWareSda_QQJF/SRM/SrmService/ISrmService.cs
qqjf-Background/iWareSda_QQJF/SRM/SrmService/SrmService.cs
qqjf-Background/iWareSda_QQJF/SRMTRAN/SrmTranModel/SrmTranEntity.cs
qqjf-Background/iWareSda_QQJF/SRMTRAN/SrmTranModel/SrmTran_CacheEntity.cs
qqjf-Background/iWareSda_QQJF/SRMTRAN/SrmTranModel/SrmTran_DB.cs
qqjf-Background/iWareSda_QQJF/SRMTRAN/SrmTranModel/tranOpc.cs
qqjf-Background/iWareSda_QQJF/SRMTRAN/SrmTranService/EntitySrmTranView.cs
qqjf-Background/iWareSda_QQJF/SRMTRAN/SrmTranService/ISrmTranService.cs
qqjf-Background/iWareSda_QQJF/SRMTRAN/SrmTranService/SrmTranService.cs
qqjf-Background/iWareSda_QQJF/WCS/EDM/KEYVALUE.cs
qqjf-Background/iWareSda_QQJF/WCS/EDM/MainTask.cs
qqjf-Background/iWareSda_QQJF/WCS/EDM/Model.cs
qqjf-Background/iWareSda_QQJF/WCS/EDM/RgvTask.cs
qqjf-Background/iWareSda_QQJF/WCS/EDM/SrmTask.cs
qqjf-Background/iWareSda_QQJF/WCS/EDM/TranLock.cs
qqjf-Background/iWareSda_QQJF/WCS/EDM/TranTask.cs
qqjf-Background/iWareSda_QQJF/WCS/Helper.cs
qqjf-Background/iWareSda_QQJF/WCS/SendTaskClass.cs
qqjf-Background/iWareSda_QQJF/WCS/TaskFinishClass.cs
qqjf-Background/iWareSda_QQJF/WCS/WCS.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/ALERT_ALERT.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/ALERT_ALERTTIME.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_CONTAINER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_CONTAINER_VS_ITEM.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_DESTINATION.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_DEVICE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_INTYPE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_ITEM.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_Material.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_PALLET.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_PLACE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_PLACETYPE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_PLACE_VS_CONTAINER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_PRINT.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_PRODUCTIONLINE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/BASE_URL.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/CAR_CAR.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/CAR_CARTASK.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/ERP_EPRORDER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/KEYVALUE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/LOG_WMSLOG.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/Model.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/ORDER_INORDER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/ORDER_OUTORDER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/PDA_VERSION.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/RECORD_WAREHOUSEINFO.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/RgvTask.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/STORAGERECORD.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/SYS_DEPT.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/SYS_PERMISSION.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/SYS_ROLE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/SYS_ROLE_VS_PERMISSION.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/SYS_USER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/SYS_USER_VS_ROLE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/SrmTask.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/TASK_RECORD.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/TASK_SRMRECORD.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/TASK_TASK.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/TranLock.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/TranTask.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_ALERT_ALERT.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_BASE_CONTAINER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_BASE_CONTAINER_VS_ITEM.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_BASE_DEVICE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_BASE_INTYPE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_BASE_ITEM.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_BASE_PLACE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_BASE_PLACE_VS_CONTAINER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_BASE_PRODUCTIONLINE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_CAR_CAR.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_CAR_CARTASK.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_ITEMSTORAGE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_ORDER_INORDER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_ORDER_OUTORDER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_RGVTASK.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_ROLE_VS_PERMISSION.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_SRMTASK.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_SYS_DEPT.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_SYS_PERMISSION.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_SYS_ROLE.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_SYS_USER.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_TASK_RECORD.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_TASK_SRMRECORD.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/View_TASK_TASK.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/sysdiagrams.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/v3D_Inventory.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/EDM/v3D展示数据.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/Helper.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/SendTaskClass.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/TaskFinishClass.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/WCS.cs
qqjf-Background/iWareSda_QQJF/WCSNEW/生成主任务/CreateMainTask.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/JSONEntity/AddItem.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/JSONEntity/DeleteTask.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/JSONEntity/ERPTask.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/JSONEntity/GetJsonOfItem.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/JSONEntity/data.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/JSONEntity/details.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/OracleWord.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/ReadErpSendToWMS.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/TestPost/ApiCheckAuthAttribute.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/TestPost/HttpHelper.cs
qqjf-Background/iWareSda_QQJF/WEBAPI/TestPost/SignExtension.cs
qqjf-Background/iWareSda_QQJF/enumType/srmIp.cs
qqjf-Background/iWareSda_QQJF/iWareSda_QQJF.csproj
qqjf-Background/iWareSda_QQJF/packages.config
qqjf-Background/qinqijSDA.sln
qqjf-Background/test/App_Start/BundleConfig.cs
qqjf-Background/test/App_Start/FilterConfig.cs
qqjf-Background/test/App_Start/RouteConfig.cs
qqjf-Background/test/App_Start/WebApiConfig.cs
qqjf-Background/test/Areas/HelpPage/ApiDescriptionExtensions.cs
qqjf-Background/test/Areas/HelpPage/App_Start/HelpPageConfig.cs
qqjf-Background/test/Areas/HelpPage/Controllers/HelpController.cs
qqjf-Background/test/Areas/HelpPage/HelpPage.css
qqjf-Background/test/Areas/HelpPage/HelpPageAreaRegistration.cs
qqjf-Background/test/Areas/HelpPage/HelpPageConfigurationExtensions.cs
qqjf-Background/test/Areas/HelpPage/Models/HelpPageApiModel.cs
qqjf-Background/test/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs
qqjf-Background/test/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs
qqjf-Background/test/Areas/HelpPage/SampleGeneration/ImageSample.cs
qqjf-Background/test/Areas/HelpPage/SampleGeneration/InvalidSample.cs
qqjf-Background/test/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs
qqjf-Background/test/Areas/HelpPage/SampleGeneration/SampleDirection.cs
qqjf-Background/test/Areas/HelpPage/SampleGeneration/TextSample.cs
qqjf-Background/test/Areas/HelpPage/Views/Help/Api.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Help/DisplayTemplates/ApiGroup.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Help/DisplayTemplates/HelpPageApiModel.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Help/Index.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Shared/_Layout.cshtml
qqjf-Background/test/Areas/HelpPage/Views/Web.config
qqjf-Background/test/Areas/HelpPage/Views/_ViewStart.cshtml
qqjf-Background/test/Areas/HelpPage/XmlDocumentationProvider.cs
qqjf-Background/test/Content/Site.css
qqjf-Background/test/Content/bootstrap.css
qqjf-Background/test/Content/bootstrap.min.css
qqjf-Background/test/Controllers/HomeController.cs
qqjf-Background/test/Controllers/ValuesController.cs
qqjf-Background/test/Controllers/aaaController.cs
qqjf-Background/test/Global.asax
qqjf-Background/test/Global.asax.cs
qqjf-Background/test/Project_Readme.html
qqjf-Background/test/Properties/AssemblyInfo.cs
qqjf-Background/test/Scripts/_references.js
qqjf-Background/test/Scripts/bootstrap.js
qqjf-Background/test/Scripts/bootstrap.min.js
qqjf-Background/test/Scripts/jquery-1.10.2.intellisense.js
qqjf-Background/test/Scripts/jquery-1.10.2.js
qqjf-Background/test/Scripts/jquery-1.10.2.min.js
qqjf-Background/test/Scripts/jquery-1.10.2.min.map
qqjf-Background/test/Scripts/modernizr-2.6.2.js
qqjf-Background/test/Scripts/respond.js
qqjf-Background/test/Scripts/respond.min.js
qqjf-Background/test/Views/Home/Index.cshtml
qqjf-Background/test/Views/Shared/Error.cshtml
qqjf-Background/test/Views/Shared/_Layout.cshtml
qqjf-Background/test/Views/Web.config
qqjf-Background/test/Views/_ViewStart.cshtml
qqjf-Background/test/Web.Debug.config
qqjf-Background/test/Web.Release.config
qqjf-Background/test/Web.config
qqjf-Background/test/favicon.ico
qqjf-Background/test/fonts/glyphicons-halflings-regular.eot
qqjf-Background/test/fonts/glyphicons-halflings-regular.svg
qqjf-Background/test/fonts/glyphicons-halflings-regular.ttf
qqjf-Background/test/fonts/glyphicons-halflings-regular.woff
qqjf-Background/test/packages.config
qqjf-Background/test/test.csproj
qqjf-Background/读我.txt |