init: 导入项目到 meswork Gitea

This commit is contained in:
XingCheng3
2026-05-29 10:07:05 +08:00
commit ad9a4106fb
3582 changed files with 460312 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<!--<add key="MqttUrl" value="124.220.32.217:1883,MES/InstantMessaging/MisServer" />-->
<add key="MqttUrl" value="124.220.15.242:1883,MES/InstantMessaging/SY/MisServer" />
<add key="MqttTargetTopic" value="MES/InstantMessaging/SY" />
<add key="MqttTargetTopicPLC" value="MES/InstantMessaging/SY/MisServer" />
<add key="MqttTargetTopicTagTypeCodeID" value="MES/TagTypeCodeID" />
<add key="Url_WebApi" value="http://localhost:41186" />
<add key="ConnectionString_MES" value="server=124.220.15.242\MSSQLSERVER2012,1433;User ID=meswork;Password=126.com;database=MacroinfBasicDB_SY;Connection Reset=FALSE" />
<add key="OPName01" value="OP1010|1" />
<add key="OPName02" value="OP0050|2" />
<!--扫描枪COM口-->
<add key="PortName" value="COM1" />
<!--读超时即在1000内未读到数据就引起超时异常-->
<add key="ReadTimeout" value="1000" />
<!--比特率-->
<add key="BaudRate" value="115200" />
<!--祛除后尾乱码-->
<add key="ScannerTrim" value="1" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>

View File

@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{7675A31A-4E0A-4A46-B5DC-D7B9747A8347}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>MesFun</RootNamespace>
<AssemblyName>MesFun</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</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.Configuration" />
<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.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="MesFunction.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MesFunction.Designer.cs">
<DependentUpon>MesFunction.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>
<ItemGroup>
<ProjectReference Include="..\..\Common\00MesWorkMqtt\MesWorkMqtt\00MesWorkMqtt.csproj">
<Project>{f55da1a0-a982-4479-8c47-0d9a5aaf3e18}</Project>
<Name>00MesWorkMqtt</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunDll\MisDataFunDll\13.4MisDataFunDll.csproj">
<Project>{a0de975b-3afc-4f39-920e-29a874480a36}</Project>
<Name>13.4MisDataFunDll</Name>
</ProjectReference>
<ProjectReference Include="..\..\MIS_FuntionSaveData\MIS_FuntionSaveData\13.3MIS_FuntionSaveData.csproj">
<Project>{55b510c1-59e9-4bfd-ae84-d76d46f6e365}</Project>
<Name>13.3MIS_FuntionSaveData</Name>
</ProjectReference>
<ProjectReference Include="..\..\TagTypeCodeID\TagTypeCodeID\13.2TagTypeCodeID.csproj">
<Project>{807fcc00-d1d5-45df-a60d-e295640eb6aa}</Project>
<Name>13.2TagTypeCodeID</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,40 @@
namespace MesFun
{
partial class MesFunction
{
/// <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.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "Form1";
}
#endregion
}
}

View File

@@ -0,0 +1,42 @@
using MisDataSaveDate;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MesFun
{
public partial class MesFunction : Form
{
public MesFunction()
{
InitializeComponent();
}
private void InitMqtt()
{
string url;
string topicMqttTargetTopicPLC;
string topicMqttTargetTopicTagTypeCodeID;
url = ConfigurationManager.AppSettings["MqttUrl"];
//与web页面返回监控的主题一样的
topicMqttTargetTopicPLC = ConfigurationManager.AppSettings["MqttTargetTopicPLC"];
topicMqttTargetTopicTagTypeCodeID = ConfigurationManager.AppSettings["MqttTargetTopicTagTypeCodeID"];
//变量变化日志
new InitMqtt2(url, topicMqttTargetTopicTagTypeCodeID);
MesWorkMqtt.Mqtt.StartAsync();
//保存质量数据
new MisDataSaveDate.Funtion().InitMqtt2(url, topicMqttTargetTopicPLC);
//处理MES业务的Function
new MisDataFunDll.MisDataFun().InitMqtt2(url, topicMqttTargetTopicPLC);
}
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MesFun
{
internal static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MesFunction());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("MesFun")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MesFun")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("7675a31a-4e0a-4a46-b5dc-d7b9747a8347")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace MesFun.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("MesFun.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;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?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>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <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 MesFun.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;
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?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>

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MesFun
{
public class Funtion
{
}
}

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{FA0F10D0-7898-49F2-BB4B-BE550F511F57}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MesFunDll</RootNamespace>
<AssemblyName>MesFunDll</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</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>
</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>
</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.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="MesFunDll.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("MesFunDll")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MesFunDll")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("fa0f10d0-7898-49f2-bb4b-be550f511f57")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

545
MisDataFun/MisDataFun.sln Normal file
View File

@@ -0,0 +1,545 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.4.33205.214
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MisDataFun", "MisDataFun\MisDataFun.csproj", "{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "00-0Json8.3.1", "..\Common\00-1Json8.3\Json8.3\00-0Json8.3.1.csproj", "{1A10FDB2-1A6A-44A8-AB4D-33387563247E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "00MesWorkMqtt", "..\Common\00MesWorkMqtt\MesWorkMqtt\00MesWorkMqtt.csproj", "{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01_01DoWhatPlc", "..\Common\01DoWhatPlc\01_01DoWhatPlc.csproj", "{0D1AF432-439A-4920-8692-43AE139F5530}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "04-DataBaseAccess", "..\Common\04DataBaseAccess\DataBaseAccess\04-DataBaseAccess.csproj", "{F434E066-4C59-47C8-AA82-6F48CC84501A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02_02WebApiCallPLC", "..\Common\02WebApiCall\02_02WebApiCallPLC.csproj", "{3E6D1DD5-01C9-435F-9941-61F906CE35BB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "07BusinessFacade", "..\Common\07WebBusinessFacade\BusinessFacade\07BusinessFacade.csproj", "{F0A0C525-03FD-428A-9B17-7F54AA0E4475}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "08-WebFun_base", "..\Common\08WebFun_base\WebFun_base\08-WebFun_base.csproj", "{D98BE764-ADEB-488D-9714-61E308AA8201}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "09-MesDataFunction", "..\Common\09MesDataFunction\MesDataFunction\09-MesDataFunction.csproj", "{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "03Function", "03Function", "{4BF576F8-7AFE-41D3-A998-2AE62375DEC6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function03", "..\MisDataFunction\MesServer.Function\Function03\Function03.csproj", "{9EC40AD1-F398-4959-8674-BFFBD45549D0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function04", "..\MisDataFunction\MesServer.Function\Function04\Function04.csproj", "{A778B93C-FF1A-453A-9051-18FA3A002AF2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function05", "..\MisDataFunction\MesServer.Function\Function05\Function05.csproj", "{583369BD-AF70-4ADC-95EE-16658BCAF722}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function06", "..\MisDataFunction\MesServer.Function\Function06\Function06.csproj", "{EB17DF24-B22A-4654-8103-0AC6A9079175}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function07", "..\MisDataFunction\MesServer.Function\Function07\Function07.csproj", "{2843ED13-A354-453A-BA14-AE124BBD0944}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function08", "..\MisDataFunction\MesServer.Function\Function08\Function08.csproj", "{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function09", "..\MisDataFunction\MesServer.Function\Function09\Function09.csproj", "{8C73F329-66CE-47D2-8639-21B1D95EA27A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function10", "..\MisDataFunction\MesServer.Function\Function10\Function10.csproj", "{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function11", "..\MisDataFunction\MesServer.Function\Function11\Function11.csproj", "{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function15", "..\MisDataFunction\MesServer.Function\Function15\Function15.csproj", "{A0850468-74F6-43C3-9871-538CB40E31EE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function17", "..\MisDataFunction\MesServer.Function\Function17\Function17.csproj", "{AFAF85C0-B2DD-4740-8744-2E08D3F59396}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function22", "..\MisDataFunction\MesServer.Function\Function22\Function22.csproj", "{B8922826-D7D3-4D7B-8ADA-D7378016631C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function29", "..\MisDataFunction\MesServer.Function\Function29\Function29.csproj", "{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function30", "..\MisDataFunction\MesServer.Function\Function30\Function30.csproj", "{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function01", "..\MisDataFunction\MesServer.Function\Function01\Function01.csproj", "{709E27BC-5141-4B90-9900-09A78CB08FB5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function02", "..\MisDataFunction\MesServer.Function\Function02\Function02.csproj", "{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "01Common", "01Common", "{7CAB05BF-8588-4D5C-B369-C2F773F1A16E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "13.2TagTypeCodeID", "..\TagTypeCodeID\TagTypeCodeID\13.2TagTypeCodeID.csproj", "{807FCC00-D1D5-45DF-A60D-E295640EB6AA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "13.3MIS_FuntionSaveData", "..\MIS_FuntionSaveData\MIS_FuntionSaveData\13.3MIS_FuntionSaveData.csproj", "{55B510C1-59E9-4BFD-AE84-D76D46F6E365}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "13.4MisDataFunction", "..\MisDataFunDll\MisDataFunDll\13.4MisDataFunction.csproj", "{A0DE975B-3AFC-4F39-920E-29A874480A36}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "00-1AppConfigSetForm", "..\Common\00-2AppConfigSet\AppConfigSet\00-1AppConfigSetForm.csproj", "{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "10MesControl", "..\Common\10SignalChangeMonitorControl\10MesControl.csproj", "{FAB322CC-531D-4AEA-986A-B921B64D8D3F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "11MonitorForm", "..\Common\11MonitorForm\11MonitorForm.csproj", "{488BADD9-579F-4BF3-91DC-9FA95E3181A5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function23", "..\MisDataFunction\MesServer.Function\Function23\Function23.csproj", "{84F00699-923F-4C24-84F1-70D17DCA8C52}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function24", "..\MisDataFunction\MesServer.Function\Function24\Function24.csproj", "{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function25", "..\MisDataFunction\MesServer.Function\Function25\Function25.csproj", "{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function26", "..\MisDataFunction\MesServer.Function\Function26\Function26.csproj", "{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function28", "..\MisDataFunction\MesServer.Function\Function28\Function28.csproj", "{AC4B1D63-013A-4A19-9AC2-5088F814512D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "12SendMessageToWeb", "SendMessageToWebMqtt\12SendMessageToWeb.csproj", "{E4EB6420-906D-4672-947A-CA33DDCDADFC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Function51", "..\MisDataFunction\MesServer.Function\Function51\Function51.csproj", "{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "21PrintBarCode", "..\PrintBarCode\21PrintBarCode.csproj", "{269C9CBC-4958-4E4D-B43B-307C1D09D87F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "02Commn.Sim", "02Commn.Sim", "{3AA21643-BC2E-4511-8E7C-C394685A0908}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "20-01LogNet", "..\DataMirrorTools_Simulator\LogNet\20-01LogNet.csproj", "{4B777069-A494-40FF-8E88-E3D815ED80CB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "20-04Foundation", "..\DataMirrorTools_Simulator\Foundation\20-04Foundation.csproj", "{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "20-05Function.BasicOperation.OSql", "..\DataMirrorTools_Simulator\BasicOperation.OSql\20-05Function.BasicOperation.OSql.csproj", "{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "20-06BasicOperation", "..\DataMirrorTools_Simulator\ModelBasic\20-06BasicOperation.csproj", "{B258F56F-59E9-4C6F-BCC0-04A151D51251}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "20-12MisDataPlcTagID", "..\DataMirrorTools_Simulator\MisDataPlcTagID\MisDataPlcTagID\20-12MisDataPlcTagID.csproj", "{00A7EB2F-F96D-4C97-831D-3D887A0CD018}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "20-13GanttChartExample", "..\DataMirrorTools_Simulator\GanttChartExample\20-13GanttChartExample.csproj", "{03AED807-CA2D-4823-B321-41C470174F0B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "05MisDataFunBase", "05MisDataFunBase", "{A5583A1F-B38F-414E-A5E2-AB9B676E5D9B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "04Simulater", "04Simulater", "{9676CB9F-D335-4AA1-9157-291E549D30E7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "P_SignalViewer", "..\DataMirrorTools_Simulator\P_SignalViewer\P_SignalViewer.csproj", "{1B65CF27-42AF-4022-86DA-993A713ED4AB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "P_SimDeviceSignal", "..\DataMirrorTools_Simulator\P_SimDeviceSignal\P_SimDeviceSignal.csproj", "{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}.Debug|x86.ActiveCfg = Debug|Any CPU
{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}.Debug|x86.Build.0 = Debug|Any CPU
{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}.Release|Any CPU.Build.0 = Release|Any CPU
{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}.Release|x86.ActiveCfg = Release|Any CPU
{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}.Release|x86.Build.0 = Release|Any CPU
{1A10FDB2-1A6A-44A8-AB4D-33387563247E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1A10FDB2-1A6A-44A8-AB4D-33387563247E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1A10FDB2-1A6A-44A8-AB4D-33387563247E}.Debug|x86.ActiveCfg = Debug|Any CPU
{1A10FDB2-1A6A-44A8-AB4D-33387563247E}.Debug|x86.Build.0 = Debug|Any CPU
{1A10FDB2-1A6A-44A8-AB4D-33387563247E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1A10FDB2-1A6A-44A8-AB4D-33387563247E}.Release|Any CPU.Build.0 = Release|Any CPU
{1A10FDB2-1A6A-44A8-AB4D-33387563247E}.Release|x86.ActiveCfg = Release|Any CPU
{1A10FDB2-1A6A-44A8-AB4D-33387563247E}.Release|x86.Build.0 = Release|Any CPU
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}.Debug|x86.ActiveCfg = Debug|Any CPU
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}.Debug|x86.Build.0 = Debug|Any CPU
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}.Release|Any CPU.Build.0 = Release|Any CPU
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}.Release|x86.ActiveCfg = Release|Any CPU
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18}.Release|x86.Build.0 = Release|Any CPU
{0D1AF432-439A-4920-8692-43AE139F5530}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0D1AF432-439A-4920-8692-43AE139F5530}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0D1AF432-439A-4920-8692-43AE139F5530}.Debug|x86.ActiveCfg = Debug|Any CPU
{0D1AF432-439A-4920-8692-43AE139F5530}.Debug|x86.Build.0 = Debug|Any CPU
{0D1AF432-439A-4920-8692-43AE139F5530}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0D1AF432-439A-4920-8692-43AE139F5530}.Release|Any CPU.Build.0 = Release|Any CPU
{0D1AF432-439A-4920-8692-43AE139F5530}.Release|x86.ActiveCfg = Release|Any CPU
{0D1AF432-439A-4920-8692-43AE139F5530}.Release|x86.Build.0 = Release|Any CPU
{F434E066-4C59-47C8-AA82-6F48CC84501A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F434E066-4C59-47C8-AA82-6F48CC84501A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F434E066-4C59-47C8-AA82-6F48CC84501A}.Debug|x86.ActiveCfg = Debug|Any CPU
{F434E066-4C59-47C8-AA82-6F48CC84501A}.Debug|x86.Build.0 = Debug|Any CPU
{F434E066-4C59-47C8-AA82-6F48CC84501A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F434E066-4C59-47C8-AA82-6F48CC84501A}.Release|Any CPU.Build.0 = Release|Any CPU
{F434E066-4C59-47C8-AA82-6F48CC84501A}.Release|x86.ActiveCfg = Release|Any CPU
{F434E066-4C59-47C8-AA82-6F48CC84501A}.Release|x86.Build.0 = Release|Any CPU
{3E6D1DD5-01C9-435F-9941-61F906CE35BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3E6D1DD5-01C9-435F-9941-61F906CE35BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3E6D1DD5-01C9-435F-9941-61F906CE35BB}.Debug|x86.ActiveCfg = Debug|Any CPU
{3E6D1DD5-01C9-435F-9941-61F906CE35BB}.Debug|x86.Build.0 = Debug|Any CPU
{3E6D1DD5-01C9-435F-9941-61F906CE35BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3E6D1DD5-01C9-435F-9941-61F906CE35BB}.Release|Any CPU.Build.0 = Release|Any CPU
{3E6D1DD5-01C9-435F-9941-61F906CE35BB}.Release|x86.ActiveCfg = Release|Any CPU
{3E6D1DD5-01C9-435F-9941-61F906CE35BB}.Release|x86.Build.0 = Release|Any CPU
{F0A0C525-03FD-428A-9B17-7F54AA0E4475}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F0A0C525-03FD-428A-9B17-7F54AA0E4475}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F0A0C525-03FD-428A-9B17-7F54AA0E4475}.Debug|x86.ActiveCfg = Debug|Any CPU
{F0A0C525-03FD-428A-9B17-7F54AA0E4475}.Debug|x86.Build.0 = Debug|Any CPU
{F0A0C525-03FD-428A-9B17-7F54AA0E4475}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F0A0C525-03FD-428A-9B17-7F54AA0E4475}.Release|Any CPU.Build.0 = Release|Any CPU
{F0A0C525-03FD-428A-9B17-7F54AA0E4475}.Release|x86.ActiveCfg = Release|Any CPU
{F0A0C525-03FD-428A-9B17-7F54AA0E4475}.Release|x86.Build.0 = Release|Any CPU
{D98BE764-ADEB-488D-9714-61E308AA8201}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D98BE764-ADEB-488D-9714-61E308AA8201}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D98BE764-ADEB-488D-9714-61E308AA8201}.Debug|x86.ActiveCfg = Debug|Any CPU
{D98BE764-ADEB-488D-9714-61E308AA8201}.Debug|x86.Build.0 = Debug|Any CPU
{D98BE764-ADEB-488D-9714-61E308AA8201}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D98BE764-ADEB-488D-9714-61E308AA8201}.Release|Any CPU.Build.0 = Release|Any CPU
{D98BE764-ADEB-488D-9714-61E308AA8201}.Release|x86.ActiveCfg = Release|Any CPU
{D98BE764-ADEB-488D-9714-61E308AA8201}.Release|x86.Build.0 = Release|Any CPU
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}.Debug|x86.ActiveCfg = Debug|Any CPU
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}.Debug|x86.Build.0 = Debug|Any CPU
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}.Release|Any CPU.Build.0 = Release|Any CPU
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}.Release|x86.ActiveCfg = Release|Any CPU
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6}.Release|x86.Build.0 = Release|Any CPU
{9EC40AD1-F398-4959-8674-BFFBD45549D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9EC40AD1-F398-4959-8674-BFFBD45549D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9EC40AD1-F398-4959-8674-BFFBD45549D0}.Debug|x86.ActiveCfg = Debug|Any CPU
{9EC40AD1-F398-4959-8674-BFFBD45549D0}.Debug|x86.Build.0 = Debug|Any CPU
{9EC40AD1-F398-4959-8674-BFFBD45549D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9EC40AD1-F398-4959-8674-BFFBD45549D0}.Release|Any CPU.Build.0 = Release|Any CPU
{9EC40AD1-F398-4959-8674-BFFBD45549D0}.Release|x86.ActiveCfg = Release|Any CPU
{9EC40AD1-F398-4959-8674-BFFBD45549D0}.Release|x86.Build.0 = Release|Any CPU
{A778B93C-FF1A-453A-9051-18FA3A002AF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A778B93C-FF1A-453A-9051-18FA3A002AF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A778B93C-FF1A-453A-9051-18FA3A002AF2}.Debug|x86.ActiveCfg = Debug|Any CPU
{A778B93C-FF1A-453A-9051-18FA3A002AF2}.Debug|x86.Build.0 = Debug|Any CPU
{A778B93C-FF1A-453A-9051-18FA3A002AF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A778B93C-FF1A-453A-9051-18FA3A002AF2}.Release|Any CPU.Build.0 = Release|Any CPU
{A778B93C-FF1A-453A-9051-18FA3A002AF2}.Release|x86.ActiveCfg = Release|Any CPU
{A778B93C-FF1A-453A-9051-18FA3A002AF2}.Release|x86.Build.0 = Release|Any CPU
{583369BD-AF70-4ADC-95EE-16658BCAF722}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{583369BD-AF70-4ADC-95EE-16658BCAF722}.Debug|Any CPU.Build.0 = Debug|Any CPU
{583369BD-AF70-4ADC-95EE-16658BCAF722}.Debug|x86.ActiveCfg = Debug|Any CPU
{583369BD-AF70-4ADC-95EE-16658BCAF722}.Debug|x86.Build.0 = Debug|Any CPU
{583369BD-AF70-4ADC-95EE-16658BCAF722}.Release|Any CPU.ActiveCfg = Release|Any CPU
{583369BD-AF70-4ADC-95EE-16658BCAF722}.Release|Any CPU.Build.0 = Release|Any CPU
{583369BD-AF70-4ADC-95EE-16658BCAF722}.Release|x86.ActiveCfg = Release|Any CPU
{583369BD-AF70-4ADC-95EE-16658BCAF722}.Release|x86.Build.0 = Release|Any CPU
{EB17DF24-B22A-4654-8103-0AC6A9079175}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EB17DF24-B22A-4654-8103-0AC6A9079175}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EB17DF24-B22A-4654-8103-0AC6A9079175}.Debug|x86.ActiveCfg = Debug|Any CPU
{EB17DF24-B22A-4654-8103-0AC6A9079175}.Debug|x86.Build.0 = Debug|Any CPU
{EB17DF24-B22A-4654-8103-0AC6A9079175}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EB17DF24-B22A-4654-8103-0AC6A9079175}.Release|Any CPU.Build.0 = Release|Any CPU
{EB17DF24-B22A-4654-8103-0AC6A9079175}.Release|x86.ActiveCfg = Release|Any CPU
{EB17DF24-B22A-4654-8103-0AC6A9079175}.Release|x86.Build.0 = Release|Any CPU
{2843ED13-A354-453A-BA14-AE124BBD0944}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2843ED13-A354-453A-BA14-AE124BBD0944}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2843ED13-A354-453A-BA14-AE124BBD0944}.Debug|x86.ActiveCfg = Debug|Any CPU
{2843ED13-A354-453A-BA14-AE124BBD0944}.Debug|x86.Build.0 = Debug|Any CPU
{2843ED13-A354-453A-BA14-AE124BBD0944}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2843ED13-A354-453A-BA14-AE124BBD0944}.Release|Any CPU.Build.0 = Release|Any CPU
{2843ED13-A354-453A-BA14-AE124BBD0944}.Release|x86.ActiveCfg = Release|Any CPU
{2843ED13-A354-453A-BA14-AE124BBD0944}.Release|x86.Build.0 = Release|Any CPU
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}.Debug|x86.ActiveCfg = Debug|Any CPU
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}.Debug|x86.Build.0 = Debug|Any CPU
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}.Release|Any CPU.Build.0 = Release|Any CPU
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}.Release|x86.ActiveCfg = Release|Any CPU
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5}.Release|x86.Build.0 = Release|Any CPU
{8C73F329-66CE-47D2-8639-21B1D95EA27A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C73F329-66CE-47D2-8639-21B1D95EA27A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C73F329-66CE-47D2-8639-21B1D95EA27A}.Debug|x86.ActiveCfg = Debug|Any CPU
{8C73F329-66CE-47D2-8639-21B1D95EA27A}.Debug|x86.Build.0 = Debug|Any CPU
{8C73F329-66CE-47D2-8639-21B1D95EA27A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8C73F329-66CE-47D2-8639-21B1D95EA27A}.Release|Any CPU.Build.0 = Release|Any CPU
{8C73F329-66CE-47D2-8639-21B1D95EA27A}.Release|x86.ActiveCfg = Release|Any CPU
{8C73F329-66CE-47D2-8639-21B1D95EA27A}.Release|x86.Build.0 = Release|Any CPU
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}.Debug|x86.ActiveCfg = Debug|Any CPU
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}.Debug|x86.Build.0 = Debug|Any CPU
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}.Release|Any CPU.Build.0 = Release|Any CPU
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}.Release|x86.ActiveCfg = Release|Any CPU
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD}.Release|x86.Build.0 = Release|Any CPU
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}.Debug|x86.ActiveCfg = Debug|Any CPU
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}.Debug|x86.Build.0 = Debug|Any CPU
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}.Release|Any CPU.Build.0 = Release|Any CPU
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}.Release|x86.ActiveCfg = Release|Any CPU
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA}.Release|x86.Build.0 = Release|Any CPU
{A0850468-74F6-43C3-9871-538CB40E31EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A0850468-74F6-43C3-9871-538CB40E31EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A0850468-74F6-43C3-9871-538CB40E31EE}.Debug|x86.ActiveCfg = Debug|Any CPU
{A0850468-74F6-43C3-9871-538CB40E31EE}.Debug|x86.Build.0 = Debug|Any CPU
{A0850468-74F6-43C3-9871-538CB40E31EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0850468-74F6-43C3-9871-538CB40E31EE}.Release|Any CPU.Build.0 = Release|Any CPU
{A0850468-74F6-43C3-9871-538CB40E31EE}.Release|x86.ActiveCfg = Release|Any CPU
{A0850468-74F6-43C3-9871-538CB40E31EE}.Release|x86.Build.0 = Release|Any CPU
{AFAF85C0-B2DD-4740-8744-2E08D3F59396}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AFAF85C0-B2DD-4740-8744-2E08D3F59396}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AFAF85C0-B2DD-4740-8744-2E08D3F59396}.Debug|x86.ActiveCfg = Debug|Any CPU
{AFAF85C0-B2DD-4740-8744-2E08D3F59396}.Debug|x86.Build.0 = Debug|Any CPU
{AFAF85C0-B2DD-4740-8744-2E08D3F59396}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AFAF85C0-B2DD-4740-8744-2E08D3F59396}.Release|Any CPU.Build.0 = Release|Any CPU
{AFAF85C0-B2DD-4740-8744-2E08D3F59396}.Release|x86.ActiveCfg = Release|Any CPU
{AFAF85C0-B2DD-4740-8744-2E08D3F59396}.Release|x86.Build.0 = Release|Any CPU
{B8922826-D7D3-4D7B-8ADA-D7378016631C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8922826-D7D3-4D7B-8ADA-D7378016631C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8922826-D7D3-4D7B-8ADA-D7378016631C}.Debug|x86.ActiveCfg = Debug|Any CPU
{B8922826-D7D3-4D7B-8ADA-D7378016631C}.Debug|x86.Build.0 = Debug|Any CPU
{B8922826-D7D3-4D7B-8ADA-D7378016631C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8922826-D7D3-4D7B-8ADA-D7378016631C}.Release|Any CPU.Build.0 = Release|Any CPU
{B8922826-D7D3-4D7B-8ADA-D7378016631C}.Release|x86.ActiveCfg = Release|Any CPU
{B8922826-D7D3-4D7B-8ADA-D7378016631C}.Release|x86.Build.0 = Release|Any CPU
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}.Debug|x86.ActiveCfg = Debug|Any CPU
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}.Debug|x86.Build.0 = Debug|Any CPU
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}.Release|Any CPU.Build.0 = Release|Any CPU
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}.Release|x86.ActiveCfg = Release|Any CPU
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3}.Release|x86.Build.0 = Release|Any CPU
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}.Debug|x86.ActiveCfg = Debug|Any CPU
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}.Debug|x86.Build.0 = Debug|Any CPU
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}.Release|Any CPU.Build.0 = Release|Any CPU
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}.Release|x86.ActiveCfg = Release|Any CPU
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F}.Release|x86.Build.0 = Release|Any CPU
{709E27BC-5141-4B90-9900-09A78CB08FB5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{709E27BC-5141-4B90-9900-09A78CB08FB5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{709E27BC-5141-4B90-9900-09A78CB08FB5}.Debug|x86.ActiveCfg = Debug|Any CPU
{709E27BC-5141-4B90-9900-09A78CB08FB5}.Debug|x86.Build.0 = Debug|Any CPU
{709E27BC-5141-4B90-9900-09A78CB08FB5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{709E27BC-5141-4B90-9900-09A78CB08FB5}.Release|Any CPU.Build.0 = Release|Any CPU
{709E27BC-5141-4B90-9900-09A78CB08FB5}.Release|x86.ActiveCfg = Release|Any CPU
{709E27BC-5141-4B90-9900-09A78CB08FB5}.Release|x86.Build.0 = Release|Any CPU
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}.Debug|x86.ActiveCfg = Debug|Any CPU
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}.Debug|x86.Build.0 = Debug|Any CPU
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}.Release|Any CPU.Build.0 = Release|Any CPU
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}.Release|x86.ActiveCfg = Release|Any CPU
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA}.Release|x86.Build.0 = Release|Any CPU
{807FCC00-D1D5-45DF-A60D-E295640EB6AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{807FCC00-D1D5-45DF-A60D-E295640EB6AA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{807FCC00-D1D5-45DF-A60D-E295640EB6AA}.Debug|x86.ActiveCfg = Debug|Any CPU
{807FCC00-D1D5-45DF-A60D-E295640EB6AA}.Debug|x86.Build.0 = Debug|Any CPU
{807FCC00-D1D5-45DF-A60D-E295640EB6AA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{807FCC00-D1D5-45DF-A60D-E295640EB6AA}.Release|Any CPU.Build.0 = Release|Any CPU
{807FCC00-D1D5-45DF-A60D-E295640EB6AA}.Release|x86.ActiveCfg = Release|Any CPU
{807FCC00-D1D5-45DF-A60D-E295640EB6AA}.Release|x86.Build.0 = Release|Any CPU
{55B510C1-59E9-4BFD-AE84-D76D46F6E365}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{55B510C1-59E9-4BFD-AE84-D76D46F6E365}.Debug|Any CPU.Build.0 = Debug|Any CPU
{55B510C1-59E9-4BFD-AE84-D76D46F6E365}.Debug|x86.ActiveCfg = Debug|Any CPU
{55B510C1-59E9-4BFD-AE84-D76D46F6E365}.Debug|x86.Build.0 = Debug|Any CPU
{55B510C1-59E9-4BFD-AE84-D76D46F6E365}.Release|Any CPU.ActiveCfg = Release|Any CPU
{55B510C1-59E9-4BFD-AE84-D76D46F6E365}.Release|Any CPU.Build.0 = Release|Any CPU
{55B510C1-59E9-4BFD-AE84-D76D46F6E365}.Release|x86.ActiveCfg = Release|Any CPU
{55B510C1-59E9-4BFD-AE84-D76D46F6E365}.Release|x86.Build.0 = Release|Any CPU
{A0DE975B-3AFC-4F39-920E-29A874480A36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A0DE975B-3AFC-4F39-920E-29A874480A36}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A0DE975B-3AFC-4F39-920E-29A874480A36}.Debug|x86.ActiveCfg = Debug|Any CPU
{A0DE975B-3AFC-4F39-920E-29A874480A36}.Debug|x86.Build.0 = Debug|Any CPU
{A0DE975B-3AFC-4F39-920E-29A874480A36}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0DE975B-3AFC-4F39-920E-29A874480A36}.Release|Any CPU.Build.0 = Release|Any CPU
{A0DE975B-3AFC-4F39-920E-29A874480A36}.Release|x86.ActiveCfg = Release|Any CPU
{A0DE975B-3AFC-4F39-920E-29A874480A36}.Release|x86.Build.0 = Release|Any CPU
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}.Debug|x86.ActiveCfg = Debug|Any CPU
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}.Debug|x86.Build.0 = Debug|Any CPU
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}.Release|Any CPU.Build.0 = Release|Any CPU
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}.Release|x86.ActiveCfg = Release|Any CPU
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF}.Release|x86.Build.0 = Release|Any CPU
{FAB322CC-531D-4AEA-986A-B921B64D8D3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FAB322CC-531D-4AEA-986A-B921B64D8D3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FAB322CC-531D-4AEA-986A-B921B64D8D3F}.Debug|x86.ActiveCfg = Debug|Any CPU
{FAB322CC-531D-4AEA-986A-B921B64D8D3F}.Debug|x86.Build.0 = Debug|Any CPU
{FAB322CC-531D-4AEA-986A-B921B64D8D3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FAB322CC-531D-4AEA-986A-B921B64D8D3F}.Release|Any CPU.Build.0 = Release|Any CPU
{FAB322CC-531D-4AEA-986A-B921B64D8D3F}.Release|x86.ActiveCfg = Release|Any CPU
{FAB322CC-531D-4AEA-986A-B921B64D8D3F}.Release|x86.Build.0 = Release|Any CPU
{488BADD9-579F-4BF3-91DC-9FA95E3181A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{488BADD9-579F-4BF3-91DC-9FA95E3181A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{488BADD9-579F-4BF3-91DC-9FA95E3181A5}.Debug|x86.ActiveCfg = Debug|Any CPU
{488BADD9-579F-4BF3-91DC-9FA95E3181A5}.Debug|x86.Build.0 = Debug|Any CPU
{488BADD9-579F-4BF3-91DC-9FA95E3181A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{488BADD9-579F-4BF3-91DC-9FA95E3181A5}.Release|Any CPU.Build.0 = Release|Any CPU
{488BADD9-579F-4BF3-91DC-9FA95E3181A5}.Release|x86.ActiveCfg = Release|Any CPU
{488BADD9-579F-4BF3-91DC-9FA95E3181A5}.Release|x86.Build.0 = Release|Any CPU
{84F00699-923F-4C24-84F1-70D17DCA8C52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{84F00699-923F-4C24-84F1-70D17DCA8C52}.Debug|Any CPU.Build.0 = Debug|Any CPU
{84F00699-923F-4C24-84F1-70D17DCA8C52}.Debug|x86.ActiveCfg = Debug|Any CPU
{84F00699-923F-4C24-84F1-70D17DCA8C52}.Debug|x86.Build.0 = Debug|Any CPU
{84F00699-923F-4C24-84F1-70D17DCA8C52}.Release|Any CPU.ActiveCfg = Release|Any CPU
{84F00699-923F-4C24-84F1-70D17DCA8C52}.Release|Any CPU.Build.0 = Release|Any CPU
{84F00699-923F-4C24-84F1-70D17DCA8C52}.Release|x86.ActiveCfg = Release|Any CPU
{84F00699-923F-4C24-84F1-70D17DCA8C52}.Release|x86.Build.0 = Release|Any CPU
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}.Debug|x86.ActiveCfg = Debug|Any CPU
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}.Debug|x86.Build.0 = Debug|Any CPU
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}.Release|Any CPU.Build.0 = Release|Any CPU
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}.Release|x86.ActiveCfg = Release|Any CPU
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D}.Release|x86.Build.0 = Release|Any CPU
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}.Debug|x86.ActiveCfg = Debug|Any CPU
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}.Debug|x86.Build.0 = Debug|Any CPU
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}.Release|Any CPU.Build.0 = Release|Any CPU
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}.Release|x86.ActiveCfg = Release|Any CPU
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46}.Release|x86.Build.0 = Release|Any CPU
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}.Debug|x86.ActiveCfg = Debug|Any CPU
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}.Debug|x86.Build.0 = Debug|Any CPU
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}.Release|Any CPU.Build.0 = Release|Any CPU
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}.Release|x86.ActiveCfg = Release|Any CPU
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB}.Release|x86.Build.0 = Release|Any CPU
{AC4B1D63-013A-4A19-9AC2-5088F814512D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AC4B1D63-013A-4A19-9AC2-5088F814512D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AC4B1D63-013A-4A19-9AC2-5088F814512D}.Debug|x86.ActiveCfg = Debug|Any CPU
{AC4B1D63-013A-4A19-9AC2-5088F814512D}.Debug|x86.Build.0 = Debug|Any CPU
{AC4B1D63-013A-4A19-9AC2-5088F814512D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AC4B1D63-013A-4A19-9AC2-5088F814512D}.Release|Any CPU.Build.0 = Release|Any CPU
{AC4B1D63-013A-4A19-9AC2-5088F814512D}.Release|x86.ActiveCfg = Release|Any CPU
{AC4B1D63-013A-4A19-9AC2-5088F814512D}.Release|x86.Build.0 = Release|Any CPU
{E4EB6420-906D-4672-947A-CA33DDCDADFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E4EB6420-906D-4672-947A-CA33DDCDADFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E4EB6420-906D-4672-947A-CA33DDCDADFC}.Debug|x86.ActiveCfg = Debug|Any CPU
{E4EB6420-906D-4672-947A-CA33DDCDADFC}.Debug|x86.Build.0 = Debug|Any CPU
{E4EB6420-906D-4672-947A-CA33DDCDADFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E4EB6420-906D-4672-947A-CA33DDCDADFC}.Release|Any CPU.Build.0 = Release|Any CPU
{E4EB6420-906D-4672-947A-CA33DDCDADFC}.Release|x86.ActiveCfg = Release|Any CPU
{E4EB6420-906D-4672-947A-CA33DDCDADFC}.Release|x86.Build.0 = Release|Any CPU
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}.Debug|x86.ActiveCfg = Debug|Any CPU
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}.Debug|x86.Build.0 = Debug|Any CPU
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}.Release|Any CPU.Build.0 = Release|Any CPU
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}.Release|x86.ActiveCfg = Release|Any CPU
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E}.Release|x86.Build.0 = Release|Any CPU
{269C9CBC-4958-4E4D-B43B-307C1D09D87F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{269C9CBC-4958-4E4D-B43B-307C1D09D87F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{269C9CBC-4958-4E4D-B43B-307C1D09D87F}.Debug|x86.ActiveCfg = Debug|Any CPU
{269C9CBC-4958-4E4D-B43B-307C1D09D87F}.Debug|x86.Build.0 = Debug|Any CPU
{269C9CBC-4958-4E4D-B43B-307C1D09D87F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{269C9CBC-4958-4E4D-B43B-307C1D09D87F}.Release|Any CPU.Build.0 = Release|Any CPU
{269C9CBC-4958-4E4D-B43B-307C1D09D87F}.Release|x86.ActiveCfg = Release|Any CPU
{269C9CBC-4958-4E4D-B43B-307C1D09D87F}.Release|x86.Build.0 = Release|Any CPU
{4B777069-A494-40FF-8E88-E3D815ED80CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4B777069-A494-40FF-8E88-E3D815ED80CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4B777069-A494-40FF-8E88-E3D815ED80CB}.Debug|x86.ActiveCfg = Debug|Any CPU
{4B777069-A494-40FF-8E88-E3D815ED80CB}.Debug|x86.Build.0 = Debug|Any CPU
{4B777069-A494-40FF-8E88-E3D815ED80CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4B777069-A494-40FF-8E88-E3D815ED80CB}.Release|Any CPU.Build.0 = Release|Any CPU
{4B777069-A494-40FF-8E88-E3D815ED80CB}.Release|x86.ActiveCfg = Release|Any CPU
{4B777069-A494-40FF-8E88-E3D815ED80CB}.Release|x86.Build.0 = Release|Any CPU
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}.Debug|x86.ActiveCfg = Debug|Any CPU
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}.Debug|x86.Build.0 = Debug|Any CPU
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}.Release|Any CPU.Build.0 = Release|Any CPU
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}.Release|x86.ActiveCfg = Release|Any CPU
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225}.Release|x86.Build.0 = Release|Any CPU
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}.Debug|x86.ActiveCfg = Debug|Any CPU
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}.Debug|x86.Build.0 = Debug|Any CPU
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}.Release|Any CPU.Build.0 = Release|Any CPU
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}.Release|x86.ActiveCfg = Release|Any CPU
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4}.Release|x86.Build.0 = Release|Any CPU
{B258F56F-59E9-4C6F-BCC0-04A151D51251}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B258F56F-59E9-4C6F-BCC0-04A151D51251}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B258F56F-59E9-4C6F-BCC0-04A151D51251}.Debug|x86.ActiveCfg = Debug|Any CPU
{B258F56F-59E9-4C6F-BCC0-04A151D51251}.Debug|x86.Build.0 = Debug|Any CPU
{B258F56F-59E9-4C6F-BCC0-04A151D51251}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B258F56F-59E9-4C6F-BCC0-04A151D51251}.Release|Any CPU.Build.0 = Release|Any CPU
{B258F56F-59E9-4C6F-BCC0-04A151D51251}.Release|x86.ActiveCfg = Release|Any CPU
{B258F56F-59E9-4C6F-BCC0-04A151D51251}.Release|x86.Build.0 = Release|Any CPU
{00A7EB2F-F96D-4C97-831D-3D887A0CD018}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{00A7EB2F-F96D-4C97-831D-3D887A0CD018}.Debug|Any CPU.Build.0 = Debug|Any CPU
{00A7EB2F-F96D-4C97-831D-3D887A0CD018}.Debug|x86.ActiveCfg = Debug|Any CPU
{00A7EB2F-F96D-4C97-831D-3D887A0CD018}.Debug|x86.Build.0 = Debug|Any CPU
{00A7EB2F-F96D-4C97-831D-3D887A0CD018}.Release|Any CPU.ActiveCfg = Release|Any CPU
{00A7EB2F-F96D-4C97-831D-3D887A0CD018}.Release|Any CPU.Build.0 = Release|Any CPU
{00A7EB2F-F96D-4C97-831D-3D887A0CD018}.Release|x86.ActiveCfg = Release|Any CPU
{00A7EB2F-F96D-4C97-831D-3D887A0CD018}.Release|x86.Build.0 = Release|Any CPU
{03AED807-CA2D-4823-B321-41C470174F0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{03AED807-CA2D-4823-B321-41C470174F0B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{03AED807-CA2D-4823-B321-41C470174F0B}.Debug|x86.ActiveCfg = Debug|x86
{03AED807-CA2D-4823-B321-41C470174F0B}.Debug|x86.Build.0 = Debug|x86
{03AED807-CA2D-4823-B321-41C470174F0B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{03AED807-CA2D-4823-B321-41C470174F0B}.Release|Any CPU.Build.0 = Release|Any CPU
{03AED807-CA2D-4823-B321-41C470174F0B}.Release|x86.ActiveCfg = Release|x86
{03AED807-CA2D-4823-B321-41C470174F0B}.Release|x86.Build.0 = Release|x86
{1B65CF27-42AF-4022-86DA-993A713ED4AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1B65CF27-42AF-4022-86DA-993A713ED4AB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1B65CF27-42AF-4022-86DA-993A713ED4AB}.Debug|x86.ActiveCfg = Debug|Any CPU
{1B65CF27-42AF-4022-86DA-993A713ED4AB}.Debug|x86.Build.0 = Debug|Any CPU
{1B65CF27-42AF-4022-86DA-993A713ED4AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1B65CF27-42AF-4022-86DA-993A713ED4AB}.Release|Any CPU.Build.0 = Release|Any CPU
{1B65CF27-42AF-4022-86DA-993A713ED4AB}.Release|x86.ActiveCfg = Release|Any CPU
{1B65CF27-42AF-4022-86DA-993A713ED4AB}.Release|x86.Build.0 = Release|Any CPU
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}.Debug|Any CPU.Build.0 = Debug|Any CPU
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}.Debug|x86.ActiveCfg = Debug|Any CPU
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}.Debug|x86.Build.0 = Debug|Any CPU
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}.Release|Any CPU.ActiveCfg = Release|Any CPU
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}.Release|Any CPU.Build.0 = Release|Any CPU
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}.Release|x86.ActiveCfg = Release|Any CPU
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{1A10FDB2-1A6A-44A8-AB4D-33387563247E} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{F55DA1A0-A982-4479-8C47-0D9A5AAF3E18} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{0D1AF432-439A-4920-8692-43AE139F5530} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{F434E066-4C59-47C8-AA82-6F48CC84501A} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{3E6D1DD5-01C9-435F-9941-61F906CE35BB} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{F0A0C525-03FD-428A-9B17-7F54AA0E4475} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{D98BE764-ADEB-488D-9714-61E308AA8201} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{90E76FB4-646D-45E2-95DB-0B8AB4E465D6} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{9EC40AD1-F398-4959-8674-BFFBD45549D0} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{A778B93C-FF1A-453A-9051-18FA3A002AF2} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{583369BD-AF70-4ADC-95EE-16658BCAF722} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{EB17DF24-B22A-4654-8103-0AC6A9079175} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{2843ED13-A354-453A-BA14-AE124BBD0944} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{5DCBBFDD-F8A2-4EDD-A5F1-A49579D0F3F5} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{8C73F329-66CE-47D2-8639-21B1D95EA27A} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{E5C5CFB9-DDF8-42CC-B188-6D3C02398FDD} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{803AB2F6-D4D1-4E3C-8D12-54E89D443DAA} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{A0850468-74F6-43C3-9871-538CB40E31EE} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{AFAF85C0-B2DD-4740-8744-2E08D3F59396} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{B8922826-D7D3-4D7B-8ADA-D7378016631C} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{B8D5D60E-193D-43FF-8EB6-EA310E5A81E3} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{EF2CC629-DD9E-4BA2-9098-41F46508EA4F} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{709E27BC-5141-4B90-9900-09A78CB08FB5} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{CA8A12C5-7BF0-4489-93FA-180B1C492BBA} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{5FD5DE57-CC26-4FD0-B852-5362123BC4FF} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{FAB322CC-531D-4AEA-986A-B921B64D8D3F} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{488BADD9-579F-4BF3-91DC-9FA95E3181A5} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{84F00699-923F-4C24-84F1-70D17DCA8C52} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{D2186D43-34AD-4F5C-919D-0790B9FD0E3D} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{8EEA1C86-F9B8-4340-A36C-B1588F3F9F46} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{B8C8DA70-2EF2-40CC-880D-2389B87D92CB} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{AC4B1D63-013A-4A19-9AC2-5088F814512D} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{E4EB6420-906D-4672-947A-CA33DDCDADFC} = {7CAB05BF-8588-4D5C-B369-C2F773F1A16E}
{B5A0BAA3-C1A7-4AAB-9486-2E650ADACA7E} = {4BF576F8-7AFE-41D3-A998-2AE62375DEC6}
{4B777069-A494-40FF-8E88-E3D815ED80CB} = {3AA21643-BC2E-4511-8E7C-C394685A0908}
{7A8CC5EC-9795-4FCD-A85F-BB01DA377225} = {3AA21643-BC2E-4511-8E7C-C394685A0908}
{CC86BE60-668F-4730-B8FC-37AFE06B2FE4} = {3AA21643-BC2E-4511-8E7C-C394685A0908}
{B258F56F-59E9-4C6F-BCC0-04A151D51251} = {3AA21643-BC2E-4511-8E7C-C394685A0908}
{00A7EB2F-F96D-4C97-831D-3D887A0CD018} = {3AA21643-BC2E-4511-8E7C-C394685A0908}
{03AED807-CA2D-4823-B321-41C470174F0B} = {3AA21643-BC2E-4511-8E7C-C394685A0908}
{1B65CF27-42AF-4022-86DA-993A713ED4AB} = {9676CB9F-D335-4AA1-9157-291E549D30E7}
{96E8B39A-B1BC-40B4-9CE5-6AFBEC4D4850} = {9676CB9F-D335-4AA1-9157-291E549D30E7}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9BB32B35-134E-4853-B853-73A014D416DF}
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<!--<add key="MqttUrl" value="124.220.32.217:1883,WEB/InstantMessaging/MisServer" />-->
<add key="MqttUrl" value="127.0.0.1:1883,WEB/InstantMessaging/SY/MisServer"/>
<!--<add key="MqttUrl" value="192.168.0.1:1883,WEB/InstantMessaging/SY/MisServer" />-->
<!--主题WEB/InstantMessaging/SY/MisServer WEB页面发送的MQTT消息,调用函数 WebSubmit-->
<!--主题PLC/InstantMessaging/SY MisData发送的业务处理程序Function变量触发信息-->
<!--主题MES/InstantMessaging/SY/OpName Function发送到WEB页面的MQTT信息 -->
<!--主题PLC/TagTypeCodeID/SY MisData发送的变量触发信息-->
<add key="TopicList" value="PLC/InstantMessaging/SY/+,PLC|WEB/InstantMessaging/SY/MisServer,WEB|TAG/TagTypeCodeID/SY/+,TAG|MES/InstantMessaging/SY/+,MES"/>
<!--Function 发送信息到 web 端-->
<add key="MqttTargetTopic" value="MES/InstantMessaging/SY"/>
<!--WEB发送信息到FUNCTION MES端-->
<add key="MqttTargetTopicWEB" value="WEB/InstantMessaging/SY/MisServer"/>
<!--WEB发送信息到FUNCTION MES端-->
<add key="MqttTargetTopicBAR" value="BAR/InstantMessaging/SY"/>
<!--add key="MqttTargetTopicPLC" value="MES/InstantMessaging/SY/MisServer" /-->
<!--add key="MqttTargetTopicTagTypeCodeID" value="MES/TagTypeCodeID" /-->
<add key="Url_WebApi" value="http://localhost:41186"/>
<add key="ConnectionString_MES" value="server=.;User ID=sa;Password=126.com;database=MacroinfBasicDB_SY;Connection Reset=FALSE"/>
<add key="ConnectionString_DT" value="server=.;User ID=sa;Password=126.com;database=MacroinfBasicDB_SY;Connection Reset=FALSE"/>
<add key="OPName01" value="OP1010|1"/>
<add key="OPName02" value="OP0050|2"/>
<!--扫描枪COM口-->
<add key="PortName" value="COM1"/>
<!--读超时即在1000内未读到数据就引起超时异常-->
<add key="ReadTimeout" value="1000"/>
<!--比特率-->
<add key="BaudRate" value="115200"/>
<!--祛除后尾乱码-->
<add key="ScannerTrim" value="1"/>
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -0,0 +1,846 @@
namespace MisDataSaveDate
{
partial class MisDataFun
{
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MisDataFun));
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.ToolStripMenuItem_PrintBarCode = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem_OrderForm = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem_PlcDebug = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuIter_Simulater = new System.Windows.Forms.ToolStripMenuItem();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.textBox_WEB_TO_MES = new System.Windows.Forms.TextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.textBox_PLC_TO_MES = new System.Windows.Forms.TextBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.textBox_MES_TO_WEB = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.checkBox_PLC_TO_MES = new System.Windows.Forms.CheckBox();
this.button_PLC_TO_MES_Clear = new System.Windows.Forms.Button();
this.button_PLC_TO_MES_Big = new System.Windows.Forms.Button();
this.button_PLC_TO_MES_Small = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.dataGridView_CheckOpName = new System.Windows.Forms.DataGridView();
this. = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.checkBox__MES_TO_WEB = new System.Windows.Forms.CheckBox();
this.button_MES_TO_WEB_Clear = new System.Windows.Forms.Button();
this.button_MES_TO_WEB_Small = new System.Windows.Forms.Button();
this.button_MES_TO_WEB_Big = new System.Windows.Forms.Button();
this.panel4 = new System.Windows.Forms.Panel();
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
this.button_WEB_TO_MES_Big = new System.Windows.Forms.Button();
this.button_WEB_TO_MES_Small = new System.Windows.Forms.Button();
this.checkBox_WEB_TO_MES = new System.Windows.Forms.CheckBox();
this.button_WEB_TO_MES_Clear = new System.Windows.Forms.Button();
this.panel5 = new System.Windows.Forms.Panel();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.textBox_MqttText = new System.Windows.Forms.TextBox();
this.panel2 = new System.Windows.Forms.Panel();
this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
this.panel6 = new System.Windows.Forms.Panel();
this.button_SaveData = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.comboBox_OpNameList = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.button_ToWEB = new System.Windows.Forms.Button();
this.button_WebToMES = new System.Windows.Forms.Button();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage6 = new System.Windows.Forms.TabPage();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.menuStrip1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.groupBox5.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox3.SuspendLayout();
this.panel1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.panel3.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView_CheckOpName)).BeginInit();
this.panel4.SuspendLayout();
this.tableLayoutPanel4.SuspendLayout();
this.panel5.SuspendLayout();
this.panel2.SuspendLayout();
this.tableLayoutPanel5.SuspendLayout();
this.panel6.SuspendLayout();
this.tabControl1.SuspendLayout();
this.SuspendLayout();
//
// menuStrip1
//
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(24, 24);
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ToolStripMenuItem_PrintBarCode,
this.ToolStripMenuItem_OrderForm,
this.ToolStripMenuItem_PlcDebug,
this.ToolStripMenuIter_Simulater});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Padding = new System.Windows.Forms.Padding(4, 2, 0, 2);
this.menuStrip1.Size = new System.Drawing.Size(963, 25);
this.menuStrip1.TabIndex = 2;
this.menuStrip1.Text = "menuStrip1";
//
// ToolStripMenuItem_PrintBarCode
//
this.ToolStripMenuItem_PrintBarCode.Name = "ToolStripMenuItem_PrintBarCode";
this.ToolStripMenuItem_PrintBarCode.Size = new System.Drawing.Size(104, 21);
this.ToolStripMenuItem_PrintBarCode.Text = "打印变速器条码";
this.ToolStripMenuItem_PrintBarCode.Click += new System.EventHandler(this.ToolStripMenuItem_PrintBarCode_Click);
//
// ToolStripMenuItem_OrderForm
//
this.ToolStripMenuItem_OrderForm.Name = "ToolStripMenuItem_OrderForm";
this.ToolStripMenuItem_OrderForm.Size = new System.Drawing.Size(68, 21);
this.ToolStripMenuItem_OrderForm.Text = "订单管理";
this.ToolStripMenuItem_OrderForm.Click += new System.EventHandler(this.ToolStripMenuItem_OrderForm_Click);
//
// ToolStripMenuItem_PlcDebug
//
this.ToolStripMenuItem_PlcDebug.Name = "ToolStripMenuItem_PlcDebug";
this.ToolStripMenuItem_PlcDebug.Size = new System.Drawing.Size(89, 21);
this.ToolStripMenuItem_PlcDebug.Text = "PLC信号调试";
this.ToolStripMenuItem_PlcDebug.Click += new System.EventHandler(this.ToolStripMenuItem_PlcDebug_Click);
//
// ToolStripMenuIter_Simulater
//
this.ToolStripMenuIter_Simulater.Name = "ToolStripMenuIter_Simulater";
this.ToolStripMenuIter_Simulater.Size = new System.Drawing.Size(104, 21);
this.ToolStripMenuIter_Simulater.Text = "数字化工厂仿真";
this.ToolStripMenuIter_Simulater.Click += new System.EventHandler(this.ToolStripMenuIter_Simulater_Click);
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
this.tableLayoutPanel1.Controls.Add(this.groupBox5, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.groupBox1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.groupBox3, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.panel3, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.panel4, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.panel5, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 3);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 25);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(2);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(963, 678);
this.tableLayoutPanel1.TabIndex = 3;
//
// groupBox5
//
this.groupBox5.Controls.Add(this.textBox_WEB_TO_MES);
this.groupBox5.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox5.Location = new System.Drawing.Point(2, 340);
this.groupBox5.Margin = new System.Windows.Forms.Padding(2);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Padding = new System.Windows.Forms.Padding(2);
this.groupBox5.Size = new System.Drawing.Size(759, 131);
this.groupBox5.TabIndex = 4;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "页面发送到MES系统信息";
//
// textBox_WEB_TO_MES
//
this.textBox_WEB_TO_MES.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox_WEB_TO_MES.Location = new System.Drawing.Point(2, 16);
this.textBox_WEB_TO_MES.Margin = new System.Windows.Forms.Padding(2);
this.textBox_WEB_TO_MES.Multiline = true;
this.textBox_WEB_TO_MES.Name = "textBox_WEB_TO_MES";
this.textBox_WEB_TO_MES.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox_WEB_TO_MES.Size = new System.Drawing.Size(755, 113);
this.textBox_WEB_TO_MES.TabIndex = 1;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.textBox_PLC_TO_MES);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox1.Location = new System.Drawing.Point(2, 2);
this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
this.groupBox1.Size = new System.Drawing.Size(759, 131);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "设备PLC信号";
//
// textBox_PLC_TO_MES
//
this.textBox_PLC_TO_MES.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox_PLC_TO_MES.Location = new System.Drawing.Point(2, 16);
this.textBox_PLC_TO_MES.Margin = new System.Windows.Forms.Padding(2);
this.textBox_PLC_TO_MES.Multiline = true;
this.textBox_PLC_TO_MES.Name = "textBox_PLC_TO_MES";
this.textBox_PLC_TO_MES.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox_PLC_TO_MES.Size = new System.Drawing.Size(755, 113);
this.textBox_PLC_TO_MES.TabIndex = 0;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.textBox_MES_TO_WEB);
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox3.Location = new System.Drawing.Point(2, 137);
this.groupBox3.Margin = new System.Windows.Forms.Padding(2);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Padding = new System.Windows.Forms.Padding(2);
this.groupBox3.Size = new System.Drawing.Size(759, 199);
this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "MES系统发送到页面信息";
//
// textBox_MES_TO_WEB
//
this.textBox_MES_TO_WEB.Dock = System.Windows.Forms.DockStyle.Fill;
this.textBox_MES_TO_WEB.Location = new System.Drawing.Point(2, 16);
this.textBox_MES_TO_WEB.Margin = new System.Windows.Forms.Padding(2);
this.textBox_MES_TO_WEB.Multiline = true;
this.textBox_MES_TO_WEB.Name = "textBox_MES_TO_WEB";
this.textBox_MES_TO_WEB.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox_MES_TO_WEB.Size = new System.Drawing.Size(755, 181);
this.textBox_MES_TO_WEB.TabIndex = 1;
//
// panel1
//
this.panel1.Controls.Add(this.tableLayoutPanel3);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(765, 2);
this.panel1.Margin = new System.Windows.Forms.Padding(2);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(196, 131);
this.panel1.TabIndex = 10;
//
// tableLayoutPanel3
//
this.tableLayoutPanel3.ColumnCount = 4;
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel3.Controls.Add(this.checkBox_PLC_TO_MES, 0, 0);
this.tableLayoutPanel3.Controls.Add(this.button_PLC_TO_MES_Clear, 3, 0);
this.tableLayoutPanel3.Controls.Add(this.button_PLC_TO_MES_Big, 2, 0);
this.tableLayoutPanel3.Controls.Add(this.button_PLC_TO_MES_Small, 1, 0);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(2);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 2;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 14F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 14F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 14F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(196, 131);
this.tableLayoutPanel3.TabIndex = 3;
//
// checkBox_PLC_TO_MES
//
this.checkBox_PLC_TO_MES.AutoSize = true;
this.checkBox_PLC_TO_MES.Dock = System.Windows.Forms.DockStyle.Fill;
this.checkBox_PLC_TO_MES.Location = new System.Drawing.Point(2, 2);
this.checkBox_PLC_TO_MES.Margin = new System.Windows.Forms.Padding(2);
this.checkBox_PLC_TO_MES.Name = "checkBox_PLC_TO_MES";
this.checkBox_PLC_TO_MES.Size = new System.Drawing.Size(54, 22);
this.checkBox_PLC_TO_MES.TabIndex = 0;
this.checkBox_PLC_TO_MES.Text = "监控";
this.checkBox_PLC_TO_MES.UseVisualStyleBackColor = true;
//
// button_PLC_TO_MES_Clear
//
this.button_PLC_TO_MES_Clear.Dock = System.Windows.Forms.DockStyle.Fill;
this.button_PLC_TO_MES_Clear.Location = new System.Drawing.Point(138, 2);
this.button_PLC_TO_MES_Clear.Margin = new System.Windows.Forms.Padding(2);
this.button_PLC_TO_MES_Clear.Name = "button_PLC_TO_MES_Clear";
this.button_PLC_TO_MES_Clear.Size = new System.Drawing.Size(56, 22);
this.button_PLC_TO_MES_Clear.TabIndex = 1;
this.button_PLC_TO_MES_Clear.Text = "清空";
this.button_PLC_TO_MES_Clear.UseVisualStyleBackColor = true;
this.button_PLC_TO_MES_Clear.Click += new System.EventHandler(this.button_PLC_TO_MES_Clear_Click);
//
// button_PLC_TO_MES_Big
//
this.button_PLC_TO_MES_Big.Location = new System.Drawing.Point(99, 2);
this.button_PLC_TO_MES_Big.Margin = new System.Windows.Forms.Padding(2);
this.button_PLC_TO_MES_Big.Name = "button_PLC_TO_MES_Big";
this.button_PLC_TO_MES_Big.Size = new System.Drawing.Size(34, 20);
this.button_PLC_TO_MES_Big.TabIndex = 2;
this.button_PLC_TO_MES_Big.Text = "+";
this.button_PLC_TO_MES_Big.UseVisualStyleBackColor = true;
this.button_PLC_TO_MES_Big.Click += new System.EventHandler(this.button_PLC_TO_MES_Big_Click);
//
// button_PLC_TO_MES_Small
//
this.button_PLC_TO_MES_Small.Location = new System.Drawing.Point(60, 2);
this.button_PLC_TO_MES_Small.Margin = new System.Windows.Forms.Padding(2);
this.button_PLC_TO_MES_Small.Name = "button_PLC_TO_MES_Small";
this.button_PLC_TO_MES_Small.Size = new System.Drawing.Size(34, 20);
this.button_PLC_TO_MES_Small.TabIndex = 2;
this.button_PLC_TO_MES_Small.Text = "-";
this.button_PLC_TO_MES_Small.UseVisualStyleBackColor = true;
this.button_PLC_TO_MES_Small.Click += new System.EventHandler(this.button_PLC_TO_MES_Small_Click);
//
// panel3
//
this.panel3.Controls.Add(this.tableLayoutPanel2);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(765, 137);
this.panel3.Margin = new System.Windows.Forms.Padding(2);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(196, 199);
this.panel3.TabIndex = 12;
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 4;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel2.Controls.Add(this.dataGridView_CheckOpName, 0, 1);
this.tableLayoutPanel2.Controls.Add(this.checkBox__MES_TO_WEB, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.button_MES_TO_WEB_Clear, 3, 0);
this.tableLayoutPanel2.Controls.Add(this.button_MES_TO_WEB_Small, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.button_MES_TO_WEB_Big, 2, 0);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(2);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 2;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(196, 199);
this.tableLayoutPanel2.TabIndex = 1;
//
// dataGridView_CheckOpName
//
this.dataGridView_CheckOpName.AllowUserToAddRows = false;
this.dataGridView_CheckOpName.AllowUserToDeleteRows = false;
this.dataGridView_CheckOpName.AllowUserToResizeColumns = false;
this.dataGridView_CheckOpName.AllowUserToResizeRows = false;
this.dataGridView_CheckOpName.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView_CheckOpName.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.,
this.});
this.tableLayoutPanel2.SetColumnSpan(this.dataGridView_CheckOpName, 4);
this.dataGridView_CheckOpName.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView_CheckOpName.Location = new System.Drawing.Point(2, 28);
this.dataGridView_CheckOpName.Margin = new System.Windows.Forms.Padding(2);
this.dataGridView_CheckOpName.MultiSelect = false;
this.dataGridView_CheckOpName.Name = "dataGridView_CheckOpName";
this.dataGridView_CheckOpName.RowHeadersVisible = false;
this.dataGridView_CheckOpName.RowHeadersWidth = 62;
this.dataGridView_CheckOpName.RowTemplate.Height = 30;
this.dataGridView_CheckOpName.Size = new System.Drawing.Size(192, 169);
this.dataGridView_CheckOpName.TabIndex = 3;
//
// 选择
//
this..DataPropertyName = "选择";
this..HeaderText = "选择";
this..MinimumWidth = 8;
this..Name = "选择";
this..Width = 60;
//
// 工位号
//
this..DataPropertyName = "工位号";
this..HeaderText = "工位号";
this..MinimumWidth = 8;
this..Name = "工位号";
this..Resizable = System.Windows.Forms.DataGridViewTriState.True;
this..SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this..Width = 218;
//
// checkBox__MES_TO_WEB
//
this.checkBox__MES_TO_WEB.AutoSize = true;
this.checkBox__MES_TO_WEB.Dock = System.Windows.Forms.DockStyle.Fill;
this.checkBox__MES_TO_WEB.Location = new System.Drawing.Point(2, 2);
this.checkBox__MES_TO_WEB.Margin = new System.Windows.Forms.Padding(2);
this.checkBox__MES_TO_WEB.Name = "checkBox__MES_TO_WEB";
this.checkBox__MES_TO_WEB.Size = new System.Drawing.Size(54, 22);
this.checkBox__MES_TO_WEB.TabIndex = 0;
this.checkBox__MES_TO_WEB.Text = "监控";
this.checkBox__MES_TO_WEB.UseVisualStyleBackColor = true;
//
// button_MES_TO_WEB_Clear
//
this.button_MES_TO_WEB_Clear.Dock = System.Windows.Forms.DockStyle.Fill;
this.button_MES_TO_WEB_Clear.Location = new System.Drawing.Point(138, 2);
this.button_MES_TO_WEB_Clear.Margin = new System.Windows.Forms.Padding(2);
this.button_MES_TO_WEB_Clear.Name = "button_MES_TO_WEB_Clear";
this.button_MES_TO_WEB_Clear.Size = new System.Drawing.Size(56, 22);
this.button_MES_TO_WEB_Clear.TabIndex = 2;
this.button_MES_TO_WEB_Clear.Text = "清空";
this.button_MES_TO_WEB_Clear.UseVisualStyleBackColor = true;
this.button_MES_TO_WEB_Clear.Click += new System.EventHandler(this.button_MES_TO_WEB_Clear_Click);
//
// button_MES_TO_WEB_Small
//
this.button_MES_TO_WEB_Small.Location = new System.Drawing.Point(60, 2);
this.button_MES_TO_WEB_Small.Margin = new System.Windows.Forms.Padding(2);
this.button_MES_TO_WEB_Small.Name = "button_MES_TO_WEB_Small";
this.button_MES_TO_WEB_Small.Size = new System.Drawing.Size(34, 20);
this.button_MES_TO_WEB_Small.TabIndex = 4;
this.button_MES_TO_WEB_Small.Text = "-";
this.button_MES_TO_WEB_Small.UseVisualStyleBackColor = true;
this.button_MES_TO_WEB_Small.Click += new System.EventHandler(this.button_MES_TO_WEB_Small_Click);
//
// button_MES_TO_WEB_Big
//
this.button_MES_TO_WEB_Big.Location = new System.Drawing.Point(99, 2);
this.button_MES_TO_WEB_Big.Margin = new System.Windows.Forms.Padding(2);
this.button_MES_TO_WEB_Big.Name = "button_MES_TO_WEB_Big";
this.button_MES_TO_WEB_Big.Size = new System.Drawing.Size(34, 20);
this.button_MES_TO_WEB_Big.TabIndex = 4;
this.button_MES_TO_WEB_Big.Text = "+";
this.button_MES_TO_WEB_Big.UseVisualStyleBackColor = true;
this.button_MES_TO_WEB_Big.Click += new System.EventHandler(this.button_MES_TO_WEB_Big_Click);
//
// panel4
//
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel4.Controls.Add(this.tableLayoutPanel4);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(765, 340);
this.panel4.Margin = new System.Windows.Forms.Padding(2);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(196, 131);
this.panel4.TabIndex = 13;
//
// tableLayoutPanel4
//
this.tableLayoutPanel4.ColumnCount = 4;
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel4.Controls.Add(this.button_WEB_TO_MES_Big, 2, 0);
this.tableLayoutPanel4.Controls.Add(this.button_WEB_TO_MES_Small, 1, 0);
this.tableLayoutPanel4.Controls.Add(this.checkBox_WEB_TO_MES, 0, 0);
this.tableLayoutPanel4.Controls.Add(this.button_WEB_TO_MES_Clear, 3, 0);
this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel4.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(2);
this.tableLayoutPanel4.Name = "tableLayoutPanel4";
this.tableLayoutPanel4.RowCount = 2;
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel4.Size = new System.Drawing.Size(194, 129);
this.tableLayoutPanel4.TabIndex = 0;
//
// button_WEB_TO_MES_Big
//
this.button_WEB_TO_MES_Big.Location = new System.Drawing.Point(98, 2);
this.button_WEB_TO_MES_Big.Margin = new System.Windows.Forms.Padding(2);
this.button_WEB_TO_MES_Big.Name = "button_WEB_TO_MES_Big";
this.button_WEB_TO_MES_Big.Size = new System.Drawing.Size(34, 20);
this.button_WEB_TO_MES_Big.TabIndex = 6;
this.button_WEB_TO_MES_Big.Text = "+";
this.button_WEB_TO_MES_Big.UseVisualStyleBackColor = true;
this.button_WEB_TO_MES_Big.Click += new System.EventHandler(this.button_WEB_TO_MES_Big_Click);
//
// button_WEB_TO_MES_Small
//
this.button_WEB_TO_MES_Small.Location = new System.Drawing.Point(60, 2);
this.button_WEB_TO_MES_Small.Margin = new System.Windows.Forms.Padding(2);
this.button_WEB_TO_MES_Small.Name = "button_WEB_TO_MES_Small";
this.button_WEB_TO_MES_Small.Size = new System.Drawing.Size(34, 20);
this.button_WEB_TO_MES_Small.TabIndex = 5;
this.button_WEB_TO_MES_Small.Text = "-";
this.button_WEB_TO_MES_Small.UseVisualStyleBackColor = true;
this.button_WEB_TO_MES_Small.Click += new System.EventHandler(this.button_WEB_TO_MES_Small_Click);
//
// checkBox_WEB_TO_MES
//
this.checkBox_WEB_TO_MES.AutoSize = true;
this.checkBox_WEB_TO_MES.Dock = System.Windows.Forms.DockStyle.Fill;
this.checkBox_WEB_TO_MES.Location = new System.Drawing.Point(2, 2);
this.checkBox_WEB_TO_MES.Margin = new System.Windows.Forms.Padding(2);
this.checkBox_WEB_TO_MES.Name = "checkBox_WEB_TO_MES";
this.checkBox_WEB_TO_MES.Size = new System.Drawing.Size(54, 22);
this.checkBox_WEB_TO_MES.TabIndex = 0;
this.checkBox_WEB_TO_MES.Text = "监控";
this.checkBox_WEB_TO_MES.UseVisualStyleBackColor = true;
//
// button_WEB_TO_MES_Clear
//
this.button_WEB_TO_MES_Clear.Dock = System.Windows.Forms.DockStyle.Fill;
this.button_WEB_TO_MES_Clear.Location = new System.Drawing.Point(136, 2);
this.button_WEB_TO_MES_Clear.Margin = new System.Windows.Forms.Padding(2);
this.button_WEB_TO_MES_Clear.Name = "button_WEB_TO_MES_Clear";
this.button_WEB_TO_MES_Clear.Size = new System.Drawing.Size(56, 22);
this.button_WEB_TO_MES_Clear.TabIndex = 1;
this.button_WEB_TO_MES_Clear.Text = "清空";
this.button_WEB_TO_MES_Clear.UseVisualStyleBackColor = true;
this.button_WEB_TO_MES_Clear.Click += new System.EventHandler(this.button_WEB_TO_MES_Clear_Click);
//
// panel5
//
this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel5.Controls.Add(this.comboBox1);
this.panel5.Controls.Add(this.textBox_MqttText);
this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel5.Location = new System.Drawing.Point(766, 475);
this.panel5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel5.Name = "panel5";
this.panel5.Size = new System.Drawing.Size(194, 201);
this.panel5.TabIndex = 14;
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(3, 6);
this.comboBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(188, 20);
this.comboBox1.TabIndex = 4;
//
// textBox_MqttText
//
this.textBox_MqttText.Location = new System.Drawing.Point(3, 32);
this.textBox_MqttText.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.textBox_MqttText.Multiline = true;
this.textBox_MqttText.Name = "textBox_MqttText";
this.textBox_MqttText.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.textBox_MqttText.Size = new System.Drawing.Size(186, 94);
this.textBox_MqttText.TabIndex = 15;
//
// panel2
//
this.panel2.Controls.Add(this.tableLayoutPanel5);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(3, 475);
this.panel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(757, 201);
this.panel2.TabIndex = 15;
//
// tableLayoutPanel5
//
this.tableLayoutPanel5.ColumnCount = 2;
this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
this.tableLayoutPanel5.Controls.Add(this.panel6, 1, 0);
this.tableLayoutPanel5.Controls.Add(this.tabControl1, 0, 0);
this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel5.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tableLayoutPanel5.Name = "tableLayoutPanel5";
this.tableLayoutPanel5.RowCount = 1;
this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel5.Size = new System.Drawing.Size(757, 201);
this.tableLayoutPanel5.TabIndex = 0;
//
// panel6
//
this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel6.Controls.Add(this.button_SaveData);
this.panel6.Controls.Add(this.label1);
this.panel6.Controls.Add(this.label3);
this.panel6.Controls.Add(this.comboBox_OpNameList);
this.panel6.Controls.Add(this.label2);
this.panel6.Controls.Add(this.button_ToWEB);
this.panel6.Controls.Add(this.button_WebToMES);
this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel6.Location = new System.Drawing.Point(560, 2);
this.panel6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel6.Name = "panel6";
this.panel6.Size = new System.Drawing.Size(194, 197);
this.panel6.TabIndex = 0;
//
// button_SaveData
//
this.button_SaveData.Location = new System.Drawing.Point(13, 95);
this.button_SaveData.Margin = new System.Windows.Forms.Padding(2);
this.button_SaveData.Name = "button_SaveData";
this.button_SaveData.Size = new System.Drawing.Size(56, 18);
this.button_SaveData.TabIndex = 4;
this.button_SaveData.Text = "保存质量数据";
this.button_SaveData.UseVisualStyleBackColor = true;
this.button_SaveData.Click += new System.EventHandler(this.button_SaveData_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(4, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(41, 12);
this.label1.TabIndex = 2;
this.label1.Text = "工位号";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(63, 62);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(125, 12);
this.label3.TabIndex = 3;
this.label3.Text = "WEB|CMD|OpName|Walue";
//
// comboBox_OpNameList
//
this.comboBox_OpNameList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox_OpNameList.FormattingEnabled = true;
this.comboBox_OpNameList.Location = new System.Drawing.Point(51, 2);
this.comboBox_OpNameList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.comboBox_OpNameList.Name = "comboBox_OpNameList";
this.comboBox_OpNameList.Size = new System.Drawing.Size(140, 20);
this.comboBox_OpNameList.TabIndex = 1;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(63, 34);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(125, 12);
this.label2.TabIndex = 3;
this.label2.Text = "MES|CMD|OpName|Walue";
//
// button_ToWEB
//
this.button_ToWEB.Location = new System.Drawing.Point(5, 30);
this.button_ToWEB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.button_ToWEB.Name = "button_ToWEB";
this.button_ToWEB.Size = new System.Drawing.Size(52, 22);
this.button_ToWEB.TabIndex = 0;
this.button_ToWEB.Text = "到页面";
this.button_ToWEB.UseVisualStyleBackColor = true;
this.button_ToWEB.Click += new System.EventHandler(this.button_ToWEB_Click);
//
// button_WebToMES
//
this.button_WebToMES.Location = new System.Drawing.Point(6, 58);
this.button_WebToMES.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.button_WebToMES.Name = "button_WebToMES";
this.button_WebToMES.Size = new System.Drawing.Size(51, 22);
this.button_WebToMES.TabIndex = 0;
this.button_WebToMES.Text = "到业务";
this.button_WebToMES.UseVisualStyleBackColor = true;
this.button_WebToMES.Click += new System.EventHandler(this.button_WebToMES_Click);
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage6);
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.Controls.Add(this.tabPage5);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(3, 2);
this.tabControl1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(551, 197);
this.tabControl1.TabIndex = 1;
//
// tabPage6
//
this.tabPage6.Location = new System.Drawing.Point(4, 22);
this.tabPage6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabPage6.Name = "tabPage6";
this.tabPage6.Size = new System.Drawing.Size(543, 171);
this.tabPage6.TabIndex = 5;
this.tabPage6.Text = "订单信息";
this.tabPage6.UseVisualStyleBackColor = true;
//
// tabPage1
//
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabPage1.Size = new System.Drawing.Size(543, 171);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "产品信息";
this.tabPage1.UseVisualStyleBackColor = true;
//
// tabPage2
//
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabPage2.Size = new System.Drawing.Size(543, 171);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "工步信息";
this.tabPage2.UseVisualStyleBackColor = true;
//
// tabPage3
//
this.tabPage3.Location = new System.Drawing.Point(4, 22);
this.tabPage3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(543, 171);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "物料信息";
this.tabPage3.UseVisualStyleBackColor = true;
//
// tabPage4
//
this.tabPage4.Location = new System.Drawing.Point(4, 22);
this.tabPage4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Size = new System.Drawing.Size(543, 171);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "操作图片";
this.tabPage4.UseVisualStyleBackColor = true;
//
// tabPage5
//
this.tabPage5.Location = new System.Drawing.Point(4, 22);
this.tabPage5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Size = new System.Drawing.Size(543, 171);
this.tabPage5.TabIndex = 4;
this.tabPage5.Text = "PLC信号";
this.tabPage5.UseVisualStyleBackColor = true;
//
// MisDataFun
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(963, 703);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.menuStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.MaximumSize = new System.Drawing.Size(1918, 1076);
this.MinimumSize = new System.Drawing.Size(962, 693);
this.Name = "MisDataFun";
this.Text = "MesServer Function V20230227-001";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MisDataFun_FormClosing);
this.Load += new System.EventHandler(this.SaveData_Load);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
this.groupBox5.ResumeLayout(false);
this.groupBox5.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.panel1.ResumeLayout(false);
this.tableLayoutPanel3.ResumeLayout(false);
this.tableLayoutPanel3.PerformLayout();
this.panel3.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView_CheckOpName)).EndInit();
this.panel4.ResumeLayout(false);
this.tableLayoutPanel4.ResumeLayout(false);
this.tableLayoutPanel4.PerformLayout();
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
this.panel2.ResumeLayout(false);
this.tableLayoutPanel5.ResumeLayout(false);
this.panel6.ResumeLayout(false);
this.panel6.PerformLayout();
this.tabControl1.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem_OrderForm;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox textBox_PLC_TO_MES;
private System.Windows.Forms.Button button_WEB_TO_MES_Clear;
private System.Windows.Forms.CheckBox checkBox_WEB_TO_MES;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.TextBox textBox_MES_TO_WEB;
private System.Windows.Forms.GroupBox groupBox5;
private System.Windows.Forms.TextBox textBox_WEB_TO_MES;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
private System.Windows.Forms.CheckBox checkBox_PLC_TO_MES;
private System.Windows.Forms.Button button_PLC_TO_MES_Clear;
private System.Windows.Forms.Button button_PLC_TO_MES_Big;
private System.Windows.Forms.Button button_PLC_TO_MES_Small;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.DataGridView dataGridView_CheckOpName;
private System.Windows.Forms.DataGridViewCheckBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.CheckBox checkBox__MES_TO_WEB;
private System.Windows.Forms.Button button_MES_TO_WEB_Clear;
private System.Windows.Forms.Button button_MES_TO_WEB_Small;
private System.Windows.Forms.Button button_MES_TO_WEB_Big;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;
private System.Windows.Forms.Button button_WEB_TO_MES_Big;
private System.Windows.Forms.Button button_WEB_TO_MES_Small;
private System.Windows.Forms.Panel panel5;
private System.Windows.Forms.Button button_WebToMES;
private System.Windows.Forms.Button button_ToWEB;
private System.Windows.Forms.TextBox textBox_MqttText;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox comboBox_OpNameList;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem_PlcDebug;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5;
private System.Windows.Forms.Panel panel6;
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.TabPage tabPage4;
private System.Windows.Forms.TabPage tabPage5;
private System.Windows.Forms.TabPage tabPage6;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem_PrintBarCode;
private System.Windows.Forms.ToolStripMenuItem ToolStripMenuIter_Simulater;
private System.Windows.Forms.Button button_SaveData;
}
}

View File

@@ -0,0 +1,657 @@
using bizFacade;
using DataLinkMesWork;
using DataMirrorToolsPage;
using MesServerFunctions;
using MesWorkMqtt;
using MisDataFun;
using MQTTnet;
using MQTTnet.Client.Connecting;
using MQTTnet.Client.Disconnecting;
using MQTTnet.Client.Receiving;
using MQTTnet.Extensions.ManagedClient;
using MQTTnet.Protocol;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.Remoting.Metadata.W3cXsd2001;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using static System.Net.Mime.MediaTypeNames;
namespace MisDataSaveDate
{
public partial class MisDataFun : Form
{
static Hashtable hashtableTopicList = new Hashtable();
public MisDataFun()
{
InitializeComponent();
Init_dataGridView_CheckOpName();
ListBox1_Item_Init("opName");
MesServerWork.MIS_BASE.InitHashtable_MesServerCode();
//UsingWinForm();
}
private void Init_dataGridView_CheckOpName()
{
DataTable dt;
DataTable dt1;
try
{
//dt = BaseDataSystemMES.GetCheckOpName_BQ();
//dataGridView_CheckOpName.DataSource = dt;
dt1 = BaseDataSystemMES.GetCheckOpName_SY();
comboBox_OpNameList.DataSource = dt1;
comboBox_OpNameList.ValueMember = "工位号";
comboBox_OpNameList.DisplayMember = "工位号";
}
catch (Exception ex) { }
}
public void SaveData_Load(object sender, EventArgs e)
{
MqttLink();
}
private void MqttLink()
{
List<MqttTopicFilter> TopicFilterList = new List<MqttTopicFilter>();
string url;
//string topicMqttTargetTopicPLC;
//string topicMqttTargetTopicTagTypeCodeID;
string TopicList;
string[] TopicListFunItems;
string[] TopicListItems;
url = ConfigurationManager.AppSettings["MqttUrl"];
//与web页面返回监控的主题一样的
//topicMqttTargetTopicPLC = ConfigurationManager.AppSettings["MqttTargetTopicPLC"];
//topicMqttTargetTopicTagTypeCodeID = ConfigurationManager.AppSettings["MqttTargetTopicTagTypeCodeID"];
TopicList = ConfigurationManager.AppSettings["TopicList"];
TopicListItems = TopicList.Split('|');
for (int i = 0; i < TopicListItems.Length; i++)
{
TopicListFunItems = TopicListItems[i].Split(',');
hashtableTopicList.Add(TopicListFunItems[0], TopicListFunItems[1]);
}
//new List<TopicFilter> {
// new TopicFilter(topic, MqttQualityOfServiceLevel.ExactlyOnce)
//变量变化日志
//new InitMqtt2(url, topicMqttTargetTopicTagTypeCodeID);
MesWorkMqtt.Mqtt.StartAsync();
//Task.Run(() => MesWorkMqtt.Mqtt.StartAsync());
foreach (var topic in TopicListItems)
{
TopicListFunItems = topic.Split(',');
MesWorkMqtt.Mqtt.mqttClient.SubscribeAsync(new MqttTopicFilter { Topic = TopicListFunItems[0] });
//Task.Run(() => MesWorkMqtt.Mqtt.mqttClient.SubscribeAsync(new MqttTopicFilter { Topic = topic }));
}
//保存质量数据
//new MisDataSaveDate.Funtion().InitMqtt2(url, topicMqttTargetTopicPLC);
//处理MES业务的Function
//new MisDataFunDll.MisDataFun().InitMqtt2(url, topicMqttTargetTopicPLC);
////mqttClient.ConnectedHandler = new MqttClientConnectedHandlerDelegate(OnSubscriberConnected);
////mqttClient.DisconnectedHandler = new MqttClientDisconnectedHandlerDelegate(OnSubscriberDisconnected);
////mqttClient.ApplicationMessageReceivedHandler = new MqttApplicationMessageReceivedHandlerDelegate(OnSubscriberMessageReceived);
MesWorkMqtt.Mqtt.mqttClient.ConnectedHandler = new MqttClientConnectedHandlerDelegate(OnSubscriberConnected);
MesWorkMqtt.Mqtt.mqttClient.DisconnectedHandler = new MqttClientDisconnectedHandlerDelegate(OnSubscriberDisconnected);
MesWorkMqtt.Mqtt.mqttClient.ApplicationMessageReceivedHandler = new MqttApplicationMessageReceivedHandlerDelegate(OnSubscriberMessageReceived);
}
/// <summary>
///
/// </summary>
/// <param name="x"></param>
private void OnSubscriberConnected(MqttClientConnectedEventArgs x)
{
//var rec = x.AuthenticateResult.ResultCode.ToString();
// label_State.Text = rec;
}
/// <summary>
///
/// </summary>
/// <param name="x"></param>
private void OnSubscriberDisconnected(MqttClientDisconnectedEventArgs x)
{
//var rec = x.AuthenticateResult.ResultCode.ToString();
try
{
MqttLink();
}
catch
{
}
//label_State.Text = rec;
}
/// <summary>
///
/// </summary>
/// <param name="x"></param>
private void OnSubscriberMessageReceived(MqttApplicationMessageReceivedEventArgs x)
{
//var rec = x.ApplicationMessage.ConvertPayloadToString();
// txt_Rec.Text = txt_Rec.Text + rec + System.Environment.NewLine;
ThreadPool.QueueUserWorkItem(MIS_Funtion, x);
}
void MIS_Funtion(object e)
{
MqttApplicationMessageReceivedEventArgs x = (MqttApplicationMessageReceivedEventArgs)e;
var rec = x.ApplicationMessage.ConvertPayloadToString();
//List<string> cmdList = DoWhatPlc.MessageText.GetCmdStringList(rec);
string topic = x.ApplicationMessage.Topic.ToString();
string topicFunItem = topic.Substring(0,3);//.Split('/')[0];// cmdList[0];// rec.Split('|')[0];
MIS_Funtion(topicFunItem, rec);
// rec.Split('|',)
//topicFunItem = hashtableTopicList[topic].ToString();
switch (topicFunItem)
{
//Topic WEB/InstantMessaging/SY/MisServer
//Content WEB|Command|OpName|Walue
//WebSubmit
case "WEB":
try
{
//WEB页面发送的MQTT消息,调用函数 WebSubmit
MisDataFunDll.MisDataFun.TransferInfToMES_WebSubmit(rec);
}
catch (Exception ex)
{
MIS_Funtion(topicFunItem, "Exception:" + ex.Message);
}
break;
//Topic PLC/InstantMessaging/SY/+
//Content PLC|Command|OpName|Walue
//MisDataFun
case "PLC":
case "BAR":
//处理Function
//处理Function
try
{
MisDataFunDll.MisDataFun.TransferInfToMES(rec);
}
catch (Exception ex)
{
MIS_Funtion(topicFunItem, "Exception:" + ex.Message);
}
break;
//Topic TAG/TagTypeCodeID/SY
case "TAG":
try
{
//保存触发信号
MIS_Funtion_TagTypeCodeID(rec);
}
catch (Exception ex)
{
MIS_Funtion(topicFunItem, "Exception:" + ex.Message);
}
break;
//WEB页面向 Function发送的MQTT消息,页面处理和显示
//Topic MES/InstantMessaging/SY/+
//Content MES|Command|OpName|Walue
case "MES":
try
{
//WEB页面发送的MQTT消息,调用函数 WebSubmit
MisDataFunDll.MisDataFun.TransferInfToMES_WebSubmit(rec);
}
catch (Exception ex)
{
MIS_Funtion(topicFunItem, "Exception:" + ex.Message);
}
break;
}
//监控消息
}
void MIS_Funtion(string topicFunItem, string msg)
{
//topicFunItem = hashtableTopicList[topic].ToString();
switch (topicFunItem)
{
//Topic WEB/InstantMessaging/SY/MisServer
//Content WEB|Command|OpName|Walue
case "WEB":
Invoke((new Action(() =>
{
// textBox_WEB_TO_MES.AppendText($">> {msg}{Environment.NewLine}");
})));
//WEB页面发送的MQTT消息,调用函数 WebSubmit
// MesServerFunctions.Functions_BASE_WebSubmit.WebSubmit(rec);
break;
//Topic PLC/InstantMessaging/SY/+
//Content PLC|Command|OpName|Walue
//MisDataFun
case "PLC":
//处理Function
Invoke((new Action(() =>
{
// textBox_PLC_TO_MES.AppendText($">> {msg}{Environment.NewLine}");
})));
//处理Function
break;
//Topic MES/TagTypeCodeID/SY
//case "TAG":
// Invoke((new Action(() =>
// {
// textBox_PLC_TagID.AppendText($">> {msg}{Environment.NewLine}");
// })));
// //保存触发信号
// break;
//Topic MES/InstantMessaging/SY/+
//Content MES|Command|OpName|Walue
//Topic MES/InstantMessaging/SY/MisServer
//Content WEB|Command|OpName|Walue
//WebSubmit
case "MES":
Invoke((new Action(() =>
{
// textBox_MES_TO_WEB.AppendText($">> {msg}{Environment.NewLine}");
})));
break;
}
}
void ListBox1_Item_Init(string opName)
{
List <string> strings= new List <string>();
//listBox1.Items.Clear();
DataTable dt = BaseDataSystemMES.dt_TagTypeDataType();
foreach (DataRow row in dt.Rows)
{
strings.Add("MES|" + row["TagName"].ToString() + "|" + opName + "|1");
}
}
public static void MIS_Funtion_TagTypeCodeID(object e)
{
try
{
string recData = e.ToString();
string[] recDataArr = recData.Split('|');
recData = recDataArr[3];
var msgEvent = Newtonsoft.Json.JsonConvert.DeserializeObject<DoWhatPlc.CustomeEvetnArgs>(recData);
//Console.WriteLine($"【【{rv.TagID}【【【【{ rv.TagKeepTime}");
if (msgEvent == null) return;
int tagType;
string tagValue;
int tagid;
int tagTypeCode;
if (msgEvent.TagValue == null) return;
switch (msgEvent.TagValue.ToString().ToLower())
{
case "1":
case "true":
tagValue = "1";
break;
default:
tagValue = "0";
break;
}
tagType = Convert.ToInt32(msgEvent.TagTypeID);
tagTypeCode = Convert.ToInt32(msgEvent.TagType);
tagid = Convert.ToInt32(msgEvent.TagID);
// 思源项目新增 特殊使用
if(tagTypeCode == 76)
{
new Functions_BASE_24().PartScanOver(msgEvent);
}
string opName;
string TagTypeID;
string TagTypeCodeID;
string TagID;
string TagValue;
DateTime arrivedTime;
DateTime leavedTime;
int TimeDiff;
opName = msgEvent.OpName.ToString();
TagValue = tagValue;
TagTypeCodeID = msgEvent.TagTypeCodeID.ToString();
TagTypeID = msgEvent.TagTypeID.ToString();
TagID = msgEvent.TagID.ToString();
leavedTime = Convert.ToDateTime(msgEvent.TimeStamp);
arrivedTime = Convert.ToDateTime(msgEvent.TimeStampBefore);
TimeDiff = Convert.ToInt32(msgEvent.TagKeepTime);
TagTypeCodeID_Insert(opName, TagTypeCodeID, TagID, TagValue, arrivedTime, leavedTime, TimeDiff);
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, err.Message);
}
}
static public void TagTypeCodeID_Insert(string opName, string TagTypeCodeID, string TagID, string TagValue, DateTime arrivedTime, DateTime leavedTime, int TimeDiff)
{
string procedureName;
procedureName = "测量数据设备状态日志_增加数据";
SqlParameter[] thisParms = new SqlParameter[7];
thisParms[0] = new System.Data.SqlClient.SqlParameter("@工位号", opName);
thisParms[1] = new System.Data.SqlClient.SqlParameter("@信号类型代码", TagTypeCodeID);
thisParms[2] = new System.Data.SqlClient.SqlParameter("@TagID", TagID);
thisParms[3] = new System.Data.SqlClient.SqlParameter("@TagValue", TagValue);
thisParms[4] = new System.Data.SqlClient.SqlParameter("@到达时间", arrivedTime);
thisParms[5] = new System.Data.SqlClient.SqlParameter("@离开时间", leavedTime);
thisParms[6] = new System.Data.SqlClient.SqlParameter("@在线时间", TimeDiff);
DataAccess.ExecuteStoredProcedure(procedureName, ref thisParms);
}
private void button_Test_Click(object sender, EventArgs e)
{
//MisDataSaveDate.MisData dlg = new MisDataSaveDate.MisData();
//dlg.Show();
}
//MisDataName.SecondForm p_SecondForm;
/// <summary>
/// 引用窗体
/// 2021.3.4
/// </summary>
//private void UsingWinForm()
//{
// p_SecondForm = new MisDataName.SecondForm();
// p_SecondForm.TopLevel = false;
// p_SecondForm.FormBorderStyle = FormBorderStyle.None;
// p_SecondForm.Dock = DockStyle.Fill;
// this.panel_MonitorForm.Controls.Add(p_SecondForm);
// p_SecondForm.Show();
//}
private void P_SimDeviceSignal_UsingWinForm()
{
//p_DeviceSignalSimGantt = new DataMirrorToolsPage.P_DeviceSignalSimGantt();
//p_DeviceSignalSimGantt.
//p_SecondForm.TopLevel = false;
//p_SecondForm.FormBorderStyle = FormBorderStyle.None;
//p_SecondForm.Dock = DockStyle.Fill;
//this.panel_MonitorForm.Controls.Add(p_SecondForm);
//p_SecondForm.Show();
}
private void toolStripSplitButton1_Click(object sender, EventArgs e)
{
new AppConfigSetting.AppConfigSetForm().ShowDialog();
}
private void ToolStripMenuItem_OrderForm_Click(object sender, EventArgs e)
{
OrderForm dlg= new OrderForm();
dlg.ShowDialog();
}
private void button_MES_TO_WEB_Small_Click(object sender, EventArgs e)
{
SetShow(2, 1);
//if (this.tableLayoutPanel1.RowStyles[0].Height == 30F) return;
//this.tableLayoutPanel1.RowStyles[0].Height = 30F;
//this.tableLayoutPanel1.RowStyles[1].Height = 40F;
//this.tableLayoutPanel1.RowStyles[2].Height = 30F;
//this.tableLayoutPanel1.RowStyles[3].Height = 100F;
//this.tableLayoutPanel1.Invalidate();
//this.tableLayoutPanel1.RowStyles.Clear();
//this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
//this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
//this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
//this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F));
}
private void button_MES_TO_WEB_Big_Click(object sender, EventArgs e)
{
SetShow(2, 2);
//this.tableLayoutPanel1.RowStyles[0].Height=0F;
//this.tableLayoutPanel1.RowStyles[1].Height=100F;
//this.tableLayoutPanel1.RowStyles[2].Height=0F;
//this.tableLayoutPanel1.RowStyles[3].Height=0F;
//this.tableLayoutPanel1.Invalidate();
//this.tableLayoutPanel1.RowStyles.Clear();
//this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 0F));
//this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
//this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 0F));
//this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 0F));
}
private void button_PLC_TO_MES_Small_Click(object sender, EventArgs e)
{
SetShow(1, 1);
}
/// <summary>
/// PLC_TO_MES
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button_PLC_TO_MES_Big_Click(object sender, EventArgs e)
{
SetShow(1, 2);
}
private void button_PLC_TagID_Small_Click(object sender, EventArgs e)
{
// row small
SetShow(4, 1);
}
private void button_PLC_TagID_Big_Click(object sender, EventArgs e)
{
// row big
SetShow(4, 2);
}
private void button_WEB_TO_MES_Small_Click(object sender, EventArgs e)
{
// row small
SetShow(3, 1);
}
private void button_WEB_TO_MES_Big_Click(object sender, EventArgs e)
{
// row big
SetShow(3, 2);
}
private void SetShow(int ID, int SmallOrBig)
{
//小
if (SmallOrBig == 1)
{
if (this.tableLayoutPanel1.RowStyles[0].Height == 20F) return;
this.tableLayoutPanel1.RowStyles[0].Height = 20F;
this.tableLayoutPanel1.RowStyles[1].Height = 40F;
this.tableLayoutPanel1.RowStyles[2].Height = 20F;
this.tableLayoutPanel1.RowStyles[3].Height = 10F;
this.tableLayoutPanel1.RowStyles[4].Height = 10F;
this.tableLayoutPanel1.Invalidate();
}
else
{
switch (ID)
{
case 1:
this.tableLayoutPanel1.RowStyles[0].Height = 100F;
this.tableLayoutPanel1.RowStyles[1].Height = 0F;
this.tableLayoutPanel1.RowStyles[2].Height = 0F;
this.tableLayoutPanel1.RowStyles[3].Height = 0F;
this.tableLayoutPanel1.RowStyles[4].Height = 0F;
this.tableLayoutPanel1.Invalidate();
break;
case 2:
this.tableLayoutPanel1.RowStyles[0].Height = 0F;
this.tableLayoutPanel1.RowStyles[1].Height = 100F;
this.tableLayoutPanel1.RowStyles[2].Height = 0F;
this.tableLayoutPanel1.RowStyles[3].Height = 0F;
this.tableLayoutPanel1.RowStyles[4].Height = 0F;
this.tableLayoutPanel1.Invalidate();
break;
case 3:
this.tableLayoutPanel1.RowStyles[0].Height = 0F;
this.tableLayoutPanel1.RowStyles[1].Height = 0F;
this.tableLayoutPanel1.RowStyles[2].Height = 100F;
this.tableLayoutPanel1.RowStyles[3].Height = 0F;
this.tableLayoutPanel1.RowStyles[4].Height = 0F;
this.tableLayoutPanel1.Invalidate();
break;
case 4:
this.tableLayoutPanel1.RowStyles[0].Height = 0F;
this.tableLayoutPanel1.RowStyles[1].Height = 0F;
this.tableLayoutPanel1.RowStyles[2].Height = 0F;
this.tableLayoutPanel1.RowStyles[3].Height = 100F;
this.tableLayoutPanel1.RowStyles[4].Height = 0F;
this.tableLayoutPanel1.Invalidate();
break;
case 5:
this.tableLayoutPanel1.RowStyles[0].Height = 0F;
this.tableLayoutPanel1.RowStyles[1].Height = 0F;
this.tableLayoutPanel1.RowStyles[2].Height = 0F;
this.tableLayoutPanel1.RowStyles[3].Height = 0F;
this.tableLayoutPanel1.RowStyles[4].Height = 100F;
this.tableLayoutPanel1.Invalidate();
break;
}
}
}
private void button_ToWEB_Click(object sender, EventArgs e)
{
string msg = textBox_MqttText.Text;
string opName = comboBox_OpNameList.Text;
SendMessage.SendMessageMESToWEB(opName, msg);
}
private void button_WebToMES_Click(object sender, EventArgs e)
{
string msg = textBox_MqttText.Text;
SendMessage.SendMessageWEBToMES( msg);
}
private void ToolStripMenuItem_PlcDebug_Click(object sender, EventArgs e)
{
MisData dlg = new MisData();
dlg.Show();
}
private void ToolStripMenuItem_PrintBarCode_Click(object sender, EventArgs e)
{
PrintBarCode.PrintBarCodeForm dlg = new PrintBarCode.PrintBarCodeForm();
dlg.Show();
}
/// <summary>
/// 数字化工厂仿真
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ToolStripMenuIter_Simulater_Click(object sender, EventArgs e)
{
P_SimDeviceSignal.ProgramShowDlg.Main();
//System.Windows.Forms.Application.EnableVisualStyles();
//System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
////Application.Run(new Form1());
//PP.ProjectCode = "8E7B4E79-783A-4CD2-B42B-A8507B198A87";
//string ProjectCode;
//string ProjectName;
//DtWebApiDT.DataAccess.GetProjectCodeAndProjectName(out ProjectCode, out ProjectName);
//PP.ProjectCode = ProjectCode;
//PP.ConnectionStr = System.Configuration.ConfigurationManager.AppSettings["ConnectionString_DT"];
////RobotManagement.dc_Model_Robot = new Dictionary<String, RobotSolution.RobotSolve>();
//System.Windows.Forms.Application.Run(new P_DeviceSignalSimGantt());
////System.Windows.Forms.Application.Run(new DataMirrorToolsPage.P_DeviceSignalSimGantt());
////P_SimDeviceSignal.Form1.pr
////P_DeviceSignalSimGantt dlg= new P_DeviceSignalSimGantt();
////dlg.sh
}
private void button_PLC_TO_MES_Clear_Click(object sender, EventArgs e)
{
textBox_PLC_TO_MES.Text = "";
}
private void button_MES_TO_WEB_Clear_Click(object sender, EventArgs e)
{
textBox_MES_TO_WEB.Text = "";
}
private void button_WEB_TO_MES_Clear_Click(object sender, EventArgs e)
{
textBox_WEB_TO_MES.Text = "";
}
private void button_SaveData_Click(object sender, EventArgs e)
{
string opName;
string tagID;
opName = comboBox_OpNameList.Text;
tagID = "77777";
DtWebApi.SaveData.SaveQualityData_ByOnlyDataGroup(opName, tagID);
}
private void MisDataFun_FormClosing(object sender, FormClosingEventArgs e)
{
if (MessageBox.Show("您确认要退出MES程序吗该操作会停止MES进行数据处理", "", MessageBoxButtons.OKCancel) == DialogResult.OK)
{
Process.GetCurrentProcess().Kill();
}
else
{
e.Cancel = true;
}
}
}
}

View File

@@ -0,0 +1,302 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{DD9131C7-BF40-45B0-827A-C5E46FC8A89E}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>MisDataFun</RootNamespace>
<AssemblyName>MisDataFun</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\MisDataFun\</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>
<PropertyGroup>
<ApplicationIcon>Mes32X32.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Compile Include="MisDataFun.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MisDataFun.Designer.cs">
<DependentUpon>MisDataFun.cs</DependentUpon>
</Compile>
<Compile Include="OrderForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OrderForm.Designer.cs">
<DependentUpon>OrderForm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="MisDataFun.resx">
<DependentUpon>MisDataFun.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OrderForm.resx">
<DependentUpon>OrderForm.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>
<DesignTime>True</DesignTime>
</Compile>
<None Include="jsconfig1.json" />
<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>
<ItemGroup>
<Reference Include="MQTTnet, Version=3.0.15.0, Culture=neutral, PublicKeyToken=b69712f52770c0a7, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\MQTTnet.dll</HintPath>
</Reference>
<Reference Include="MQTTnet.Extensions.ManagedClient, Version=3.0.15.0, Culture=neutral, PublicKeyToken=b69712f52770c0a7, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\MQTTnet.Extensions.ManagedClient.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\System.Net.Security.dll</HintPath>
</Reference>
<Reference Include="System.Net.WebSockets, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\System.Net.WebSockets.dll</HintPath>
</Reference>
<Reference Include="System.Net.WebSockets.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\System.Net.WebSockets.Client.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\System.Security.Cryptography.Algorithms.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\System.Security.Cryptography.Encoding.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\System.Security.Cryptography.Primitives.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\dll_fun\System.Security.Cryptography.X509Certificates.dll</HintPath>
</Reference>
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Common\00-1Json8.3\Json8.3\00-0Json8.3.1.csproj">
<Project>{1a10fdb2-1a6a-44a8-ab4d-33387563247e}</Project>
<Name>00-0Json8.3.1</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\00-2AppConfigSet\AppConfigSet\00-1AppConfigSetForm.csproj">
<Project>{5fd5de57-cc26-4fd0-b852-5362123bc4ff}</Project>
<Name>00-1AppConfigSetForm</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\00MesWorkMqtt\MesWorkMqtt\00MesWorkMqtt.csproj">
<Project>{f55da1a0-a982-4479-8c47-0d9a5aaf3e18}</Project>
<Name>00MesWorkMqtt</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\01DoWhatPlc\01_01DoWhatPlc.csproj">
<Project>{0d1af432-439a-4920-8692-43ae139f5530}</Project>
<Name>01_01DoWhatPlc</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\02WebApiCall\02_02WebApiCallPLC.csproj">
<Project>{3e6d1dd5-01c9-435f-9941-61f906ce35bb}</Project>
<Name>02_02WebApiCallPLC</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\04DataBaseAccess\DataBaseAccess\04-DataBaseAccess.csproj">
<Project>{f434e066-4c59-47c8-aa82-6f48cc84501a}</Project>
<Name>04-DataBaseAccess</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\07WebBusinessFacade\BusinessFacade\07BusinessFacade.csproj">
<Project>{f0a0c525-03fd-428a-9b17-7f54aa0e4475}</Project>
<Name>07BusinessFacade</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\08WebFun_base\WebFun_base\08-WebFun_base.csproj">
<Project>{d98be764-adeb-488d-9714-61e308aa8201}</Project>
<Name>08-WebFun_base</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\09MesDataFunction\MesDataFunction\09-MesDataFunction.csproj">
<Project>{90e76fb4-646d-45e2-95db-0b8ab4e465d6}</Project>
<Name>09-MesDataFunction</Name>
</ProjectReference>
<ProjectReference Include="..\..\DataMirrorTools_Simulator\BasicOperation.OSql\20-05Function.BasicOperation.OSql.csproj">
<Project>{cc86be60-668f-4730-b8fc-37afe06b2fe4}</Project>
<Name>20-05Function.BasicOperation.OSql</Name>
</ProjectReference>
<ProjectReference Include="..\..\DataMirrorTools_Simulator\Foundation\20-04Foundation.csproj">
<Project>{7a8cc5ec-9795-4fcd-a85f-bb01da377225}</Project>
<Name>20-04Foundation</Name>
</ProjectReference>
<ProjectReference Include="..\..\DataMirrorTools_Simulator\LogNet\20-01LogNet.csproj">
<Project>{4b777069-a494-40ff-8e88-e3d815ed80cb}</Project>
<Name>20-01LogNet</Name>
</ProjectReference>
<ProjectReference Include="..\..\DataMirrorTools_Simulator\MisDataPlcTagID\MisDataPlcTagID\20-12MisDataPlcTagID.csproj">
<Project>{00a7eb2f-f96d-4c97-831d-3d887a0cd018}</Project>
<Name>20-12MisDataPlcTagID</Name>
</ProjectReference>
<ProjectReference Include="..\..\DataMirrorTools_Simulator\ModelBasic\20-06BasicOperation.csproj">
<Project>{b258f56f-59e9-4c6f-bcc0-04a151d51251}</Project>
<Name>20-06BasicOperation</Name>
</ProjectReference>
<ProjectReference Include="..\..\DataMirrorTools_Simulator\P_SignalViewer\P_SignalViewer.csproj">
<Project>{1b65cf27-42af-4022-86da-993a713ed4ab}</Project>
<Name>P_SignalViewer</Name>
</ProjectReference>
<ProjectReference Include="..\..\DataMirrorTools_Simulator\P_SimDeviceSignal\P_SimDeviceSignal.csproj">
<Project>{96e8b39a-b1bc-40b4-9ce5-6afbec4d4850}</Project>
<Name>P_SimDeviceSignal</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function01\Function01.csproj">
<Project>{709e27bc-5141-4b90-9900-09a78cb08fb5}</Project>
<Name>Function01</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function02\Function02.csproj">
<Project>{ca8a12c5-7bf0-4489-93fa-180b1c492bba}</Project>
<Name>Function02</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function03\Function03.csproj">
<Project>{9ec40ad1-f398-4959-8674-bffbd45549d0}</Project>
<Name>Function03</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function04\Function04.csproj">
<Project>{a778b93c-ff1a-453a-9051-18fa3a002af2}</Project>
<Name>Function04</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function05\Function05.csproj">
<Project>{583369bd-af70-4adc-95ee-16658bcaf722}</Project>
<Name>Function05</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function06\Function06.csproj">
<Project>{eb17df24-b22a-4654-8103-0ac6a9079175}</Project>
<Name>Function06</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function07\Function07.csproj">
<Project>{2843ed13-a354-453a-ba14-ae124bbd0944}</Project>
<Name>Function07</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function08\Function08.csproj">
<Project>{5dcbbfdd-f8a2-4edd-a5f1-a49579d0f3f5}</Project>
<Name>Function08</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function09\Function09.csproj">
<Project>{8c73f329-66ce-47d2-8639-21b1d95ea27a}</Project>
<Name>Function09</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function10\Function10.csproj">
<Project>{e5c5cfb9-ddf8-42cc-b188-6d3c02398fdd}</Project>
<Name>Function10</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function11\Function11.csproj">
<Project>{803ab2f6-d4d1-4e3c-8d12-54e89d443daa}</Project>
<Name>Function11</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function15\Function15.csproj">
<Project>{a0850468-74f6-43c3-9871-538cb40e31ee}</Project>
<Name>Function15</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function17\Function17.csproj">
<Project>{afaf85c0-b2dd-4740-8744-2e08d3f59396}</Project>
<Name>Function17</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function22\Function22.csproj">
<Project>{b8922826-d7d3-4d7b-8ada-d7378016631c}</Project>
<Name>Function22</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function23\Function23.csproj">
<Project>{84f00699-923f-4c24-84f1-70d17dca8c52}</Project>
<Name>Function23</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function24\Function24.csproj">
<Project>{d2186d43-34ad-4f5c-919d-0790b9fd0e3d}</Project>
<Name>Function24</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function25\Function25.csproj">
<Project>{8eea1c86-f9b8-4340-a36c-b1588f3f9f46}</Project>
<Name>Function25</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function26\Function26.csproj">
<Project>{b8c8da70-2ef2-40cc-880d-2389b87d92cb}</Project>
<Name>Function26</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function29\Function29.csproj">
<Project>{b8d5d60e-193d-43ff-8eb6-ea310e5a81e3}</Project>
<Name>Function29</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function30\Function30.csproj">
<Project>{ef2cc629-dd9e-4ba2-9098-41f46508ea4f}</Project>
<Name>Function30</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunction\MesServer.Function\Function51\Function51.csproj">
<Project>{b5a0baa3-c1a7-4aab-9486-2e650adaca7e}</Project>
<Name>Function51</Name>
</ProjectReference>
<ProjectReference Include="..\..\MisDataFunDll\MisDataFunDll\13.4MisDataFunction.csproj">
<Project>{a0de975b-3afc-4f39-920e-29a874480a36}</Project>
<Name>13.4MisDataFunction</Name>
</ProjectReference>
<ProjectReference Include="..\..\MIS_FuntionSaveData\MIS_FuntionSaveData\13.3MIS_FuntionSaveData.csproj">
<Project>{55b510c1-59e9-4bfd-ae84-d76d46f6e365}</Project>
<Name>13.3MIS_FuntionSaveData</Name>
</ProjectReference>
<ProjectReference Include="..\..\PrintBarCode\21PrintBarCode.csproj">
<Project>{269c9cbc-4958-4e4d-b43b-307c1d09d87f}</Project>
<Name>21PrintBarCode</Name>
</ProjectReference>
<ProjectReference Include="..\..\TagTypeCodeID\TagTypeCodeID\13.2TagTypeCodeID.csproj">
<Project>{807fcc00-d1d5-45df-a60d-e295640eb6aa}</Project>
<Name>13.2TagTypeCodeID</Name>
</ProjectReference>
<ProjectReference Include="..\SendMessageToWebMqtt\12SendMessageToWeb.csproj">
<Project>{E4EB6420-906D-4672-947A-CA33DDCDADFC}</Project>
<Name>12SendMessageToWeb</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Mes32X32.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,209 @@
<?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="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>138, 17</value>
</metadata>
<metadata name="选择.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="工位号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</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>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAABAAABMLAAATCwAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMgChADIAoQIyAKEgMgChczIA
occyAKHqMgChmTIAoTwyAKEJMgChAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMgChADIAoQQyAKEvMgChdzIA
odYyAKH7MgCh/zIAof8yAKH/MgCh6jIAoacyAKFJMgChEjIAoQAyAKEAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyAKEAMgChADIAoQoyAKE+MgChkTIA
oeoyAKH+MgCh+TIAoe0yAKH+MgCh/zIAofwyAKH3MgCh/jIAofgyAKHBMgChZDIAoR4yAKEBMgChAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyAKEAMgChATIAoRUyAKFcMgChujIA
ofEyAKH/MgCh9DIAobcyAKFPMgChfjIAof8yAKH/MgCh5TIAoVUyAKGLMgCh4jIAofwyAKH9MgCh2TIA
oYcyAKEoMgChBTIAoQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyAKEAMgChAjIAoSYyAKF2MgCh0DIA
ofcyAKH+MgCh8zIAof8yAKGjMgChDTIAoQAyAKFpMgCh/zIAof8yAKHhMgChHjIAoQIyAKEiMgChbjIA
ocoyAKH3MgCh/jIAoeUyAKGfMgChQTIAoQsyAKEAAAAAAAAAAAAAAAAAMgChCDIAoUEyAKGXMgCh4jIA
of4yAKH/MgChzzIAoW0yAKFoMgCh+zIAoZcyAKEAMgChADIAoWkyAKH/MgCh/zIAoeEyAKEeMgChADIA
oQAyAKEBMgChETIAoVAyAKGiMgCh8DIAof8yAKH0MgChuTIAoW0yAKEVMgChADIAoQAyAKG2MgCh7TIA
of8yAKHvMgCh7jIAofgyAKFLMgChADIAoTcyAKH1MgChlzIAoQAyAKEAMgChaTIAof8yAKH/MgCh4TIA
oR4yAKEAAAAAAAAAAAAAAAAAMgChADIAoQcyAKE4MgChijIAod8yAKH9MgCh+zIAoc4yAKFdMgChADIA
of8yAKHlMgChlDIAoToyAKGgMgCh7jIAoSwyAKEAMgChFzIAodgyAKGZMgChADIAoQAyAKFpMgCh/zIA
of8yAKHxMgChfDIAoSkyAKEBMgChAAAAAAAAAAAAAAAAADIAoQAyAKECMgChITIAoW8yAKG/MgCh/zIA
oZYyAKEAMgCh/zIAoZoyAKEBMgChADIAoZkyAKHSMgChEjIAoQAyAKEGMgChujIAoZoyAKEAMgChADIA
oWkyAKH/MgCh/zIAof0yAKH+MgCh4TIAoZIyAKFEMgChDjIAoQAyAKEAAAAAAAAAAAAAAAAAMgChADIA
oUIyAKH7MgChlzIAoQAyAKH/MgChlzIAoQAyAKEAMgChmjIAobMyAKEEMgChADIAoQAyAKGcMgChmzIA
oQAyAKEAMgChaTIAof8yAKH/MgCh4zIAoZYyAKHRMgCh+zIAofQyAKHDMgChZDIAoSIyAKEBMgChAAAA
AAAyAKEAMgChPzIAofsyAKGXMgChADIAof8yAKGXMgChADIAoQAyAKGaMgChiDIAoQAAAAAAMgChADIA
oYgyAKGaMgChADIAoQAyAKFpMgCh/zIAof8yAKHhMgChIDIAoRIyAKFeMgChqzIAoe0yAKH+MgCh3jIA
oYYyAKEqMgChADIAoQAyAKE/MgCh+zIAoZcyAKEAMgCh/zIAoZcyAKEAMgChADIAoZgyAKFtMgChAAAA
AAAyAKEAMgChXDIAoZQyAKEAMgChADIAoWkyAKH/MgCh/zIAoeEyAKEeMgChADIAoQAyAKEGMgChMDIA
oX8yAKHTMgCh+jIAoWkyAKEAMgChADIAoT8yAKH7MgChlzIAoQAyAKH/MgChlzIAoQAyAKEAMgChlTIA
oWMyAKEAAAAAADIAoQAyAKE2MgChhTIAoQAyAKEAMgChaTIAof8yAKH/MgCh4TIAoR4yAKEAAAAAAAAA
AAAyAKEAMgChATIAoRUyAKFYMgChQDIAoQAyAKEAMgChPzIAofsyAKGXMgChADIAof8yAKGXMgChADIA
oQAyAKGLMgChQTIAoQAyAKEFMgChADIAoSMyAKF4MgChADIAoQAyAKFpMgCh/zIAof8yAKHhMgChHjIA
oQAAAAAAAAAAAAAAAAAAAAAAMgChADIAoQAyAKEBMgChADIAoQAyAKE/MgCh+zIAoZcyAKEAMgCh/zIA
oZcyAKEAMgChADIAoXcyAKEkMgChBzIAoUIyAKEBMgChFjIAoWUyAKEBMgChADIAoWkyAKH/MgCh/zIA
oeEyAKEeMgChADIAoQAyAKE5MgChSTIAoQ8yAKEBMgChAAAAAAAAAAAAMgChADIAoT8yAKH7MgChlzIA
oQAyAKH/MgChlzIAoQAyAKECMgChWzIAoQ8yAKEVMgChhTIAoQoyAKEHMgChMzIAoQEyAKEAMgChaTIA
of8yAKH/MgCh4TIAoR4yAKEAMgChADIAoWkyAKH1MgChyzIAoX8yAKE4MgChBTIAoQAyAKEAMgChPzIA
ofsyAKGXMgChADIAof8yAKGXMgChADIAoQMyAKFZMgChCzIAoS4yAKHDMgChGjIAoQAAAAAAAAAAADIA
oQAyAKFpMgCh/zIAof8yAKHhMgChHjIAoQAyAKEAMgChLDIAoaEyAKHkMgCh/DIAoe8yAKGrMgChUzIA
oREyAKFBMgCh+zIAoZcyAKEAMgCh/zIAoZcyAKEAMgChBzIAoVAyAKEEMgChQTIAodoyAKEjMgChAAAA
AAAAAAAAMgChADIAoWkyAKH/MgCh/zIAoeEyAKEeMgChAAAAAAAyAKEAMgChBjIAoSAyAKFyMgChwjIA
ofMyAKH4MgCh0zIAobMyAKH9MgChljIAoQAyAKH/MgChlzIAoQAyAKEBMgChBDIAoQAyAKFKMgCh7jIA
oT0yAKEAAAAAADIAoQAyAKEAMgChbDIAof8yAKH/MgCh4TIAoR8yAKEAAAAAAAAAAAAAAAAAMgChADIA
oQEyAKELMgChRzIAoZYyAKHeMgCh/TIAof8yAKGWMgChADIAof8yAKGXMgChAAAAAAAAAAAAMgChADIA
oW0yAKH/MgChZDIAoQAyAKEEMgChHDIAoWAyAKHPMgCh/zIAof8yAKH3MgChkTIAoS8yAKELMgChADIA
oQAAAAAAAAAAAAAAAAAyAKEAMgChATIAoSAyAKF2MgCh/zIAoZYyAKEAMgCh/zIAoZcyAKEAAAAAADIA
oQAyAKEAMgChljIAof8yAKGeMgChOTIAoZEyAKHcMgCh+TIAof8yAKH/MgCh/zIAof8yAKH+MgCh6jIA
obgyAKFXMgChITIAoQEyAKEAAAAAAAAAAAAAAAAAMgChADIAoT8yAKH7MgChlzIAoQAyAKH/MgChlzIA
oQAAAAAAMgChADIAoQwyAKG9MgCh/zIAofMyAKHyMgCh/jIAof8yAKH/MgCh/zIAofoyAKH3MgCh/jIA
of8yAKH/MgCh/zIAofsyAKHbMgChmzIAoUwyAKENMgChATIAoQAyAKEAMgChPzIAofsyAKGXMgChADIA
of8yAKGXMgChATIAoRkyAKFbMgChsTIAofAyAKH/MgCh/zIAof8yAKH/MgCh/DIAoeYyAKGxMgChVTIA
oUIyAKGFMgCh1TIAofUyAKH/MgCh/zIAof8yAKH/MgCh9DIAocUyAKGDMgChMDIAoQYyAKE/MgCh+zIA
oZcyAKEAMgCh/zIAocEyAKGOMgCh2TIAofcyAKH/MgCh/zIAof8yAKH/MgCh7jIAobMyAKFwMgChJjIA
oQoyAKEAMgChADIAoQEyAKEXMgChTTIAoZsyAKHYMgCh/TIAof8yAKH/MgCh/zIAof4yAKHqMgChszIA
oZgyAKH+MgChljIAoQAyAKH/MgCh/zIAof8yAKH/MgCh/zIAof8yAKH0MgChyTIAoYEyAKE/MgChBzIA
oQAAAAAAMgChADIAoSIyAKF2MgChQjIAoRIyAKEAMgChATIAoR4yAKFjMgChrjIAoecyAKH9MgCh/zIA
of8yAKH/MgCh/zIAof8yAKGWMgChADIAof8yAKH/MgCh/zIAofkyAKHWMgChmjIAoUIyAKERMgChATIA
oQAyAKEGMgChFTIAoQMyAKEAMgChKDIAoZUyAKHHMgChxjIAoXcyAKE3MgChBzIAoQAyAKEGMgChKTIA
oXYyAKHDMgCh7jIAof4yAKH/MgCh/zIAoZYyAKEAMgChrjIAoeYyAKH+MgCh0zIAoVcyAKELMgChADIA
oQAyAKEAMgChADIAoVUyAKHAMgChkjIAoVYyAKEUMgChATIAoRYyAKFhMgChqzIAodUyAKGmMgChZTIA
oR8yAKEDMgChBDIAoS0yAKGiMgCh9DIAofUyAKHGMgChWTIAoQAyAKEGMgChKjIAoWsyAKHBMgCh3DIA
ocEyAKFwMgChJTIAoQYyAKEAMgChDDIAoTgyAKF/MgChyjIAocMyAKGUMgChMzIAoQsyAKEEMgChJjIA
oWUyAKG/MgCh0TIAoaYyAKGoMgCh1TIAodYyAKGNMgChQTIAoRAyAKEAMgChAAAAAAAyAKEAMgChADIA
oQ8yAKE8MgChkDIAoc8yAKHfMgChpDIAoVIyAKEcMgChADIAoQEyAKETMgChRzIAoZ8yAKHGMgChvzIA
oWQyAKEtMgChMzIAoY8yAKHvMgCh5zIAoa8yAKFcMgChHDIAoQMyAKEAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAADIAoQAyAKECMgChFTIAoVcyAKGaMgCh3DIAodEyAKGaMgChSDIAoQsyAKEAMgChATIA
oSUyAKGGMgCh6TIAofEyAKHhMgChtzIAoXAyAKErMgChBTIAoQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMgChADIAoQIyAKElMgChXTIAobgyAKHbMgChxTIA
oYUyAKFbMgChqzIAodEyAKHLMgChhDIAoTsyAKELMgChAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyAKEAMgChCzIA
oTcyAKGTMgCh0zIAofAyAKG2MgChWjIAoRcyAKEBMgChAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAA/+Af//+AB//8AAD/8AAAP8AIAA8AGDABARg+AQEYD4ERGAPxMZgAcTOY
ADEzmDAxM5g8MTKIPzEgCDDxIAgwMSB4MAEgeDgBJHg+ATxAD8E8AAHxOAAAMQAAAAEAAwABABwgAQBE
BAEBwAABAEAAA+AAAA/4AAB//wAD///gD/8=
</value>
</data>
</root>

View File

@@ -0,0 +1,417 @@
namespace MisDataFun
{
partial class OrderForm
{
/// <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.dataGridView_Order = new System.Windows.Forms.DataGridView();
this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.线 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.线 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this. = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridView_OrderOpNameToMobyList = new System.Windows.Forms.DataGridView();
this.comboBox_OpName = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.button_LoadToOpName = new System.Windows.Forms.Button();
this.ID1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.线1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView_Order)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView_OrderOpNameToMobyList)).BeginInit();
this.SuspendLayout();
//
// dataGridView_Order
//
this.dataGridView_Order.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView_Order.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.ID,
this.,
this.,
this.,
this.,
this.,
this.,
this.,
this.线,
this.线,
this.,
this.});
this.dataGridView_Order.Location = new System.Drawing.Point(18, 102);
this.dataGridView_Order.Margin = new System.Windows.Forms.Padding(4);
this.dataGridView_Order.MultiSelect = false;
this.dataGridView_Order.Name = "dataGridView_Order";
this.dataGridView_Order.ReadOnly = true;
this.dataGridView_Order.RowHeadersWidth = 62;
this.dataGridView_Order.RowTemplate.Height = 23;
this.dataGridView_Order.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView_Order.Size = new System.Drawing.Size(1731, 258);
this.dataGridView_Order.TabIndex = 0;
//
// ID
//
this.ID.DataPropertyName = "ID";
this.ID.HeaderText = "ID";
this.ID.MinimumWidth = 8;
this.ID.Name = "ID";
this.ID.ReadOnly = true;
this.ID.Width = 70;
//
// 订单号
//
this..DataPropertyName = "订单号";
this..HeaderText = "订单号";
this..MinimumWidth = 8;
this..Name = "订单号";
this..ReadOnly = true;
this..Width = 150;
//
// 序号
//
this..DataPropertyName = "序号";
this..HeaderText = "序号";
this..MinimumWidth = 8;
this..Name = "序号";
this..ReadOnly = true;
this..Width = 70;
//
// 订单类型
//
this..DataPropertyName = "订单类型";
this..HeaderText = "订单类型";
this..MinimumWidth = 8;
this..Name = "订单类型";
this..ReadOnly = true;
this..Width = 150;
//
// 生产日期
//
this..DataPropertyName = "生产日期";
this..HeaderText = "生产日期";
this..MinimumWidth = 8;
this..Name = "生产日期";
this..ReadOnly = true;
this..Width = 150;
//
// 班次
//
this..DataPropertyName = "班次";
this..HeaderText = "班次";
this..MinimumWidth = 8;
this..Name = "班次";
this..ReadOnly = true;
this..Width = 70;
//
// 零件号
//
this..DataPropertyName = "零件号";
this..HeaderText = "零件号";
this..MinimumWidth = 8;
this..Name = "零件号";
this..ReadOnly = true;
this..Width = 150;
//
// 数量
//
this..DataPropertyName = "数量";
this..HeaderText = "数量";
this..MinimumWidth = 8;
this..Name = "数量";
this..ReadOnly = true;
this..Width = 70;
//
// 上线数量
//
this.线.DataPropertyName = "上线数量";
this.线.HeaderText = "上线数量";
this.线.MinimumWidth = 8;
this.线.Name = "上线数量";
this.线.ReadOnly = true;
this.线.Width = 150;
//
// 下线数量
//
this.线.DataPropertyName = "下线数量";
this.线.HeaderText = "下线数量";
this.线.MinimumWidth = 8;
this.线.Name = "下线数量";
this.线.ReadOnly = true;
this.线.Width = 150;
//
// 订单状态
//
this..DataPropertyName = "订单状态";
this..HeaderText = "订单状态";
this..MinimumWidth = 8;
this..Name = "订单状态";
this..ReadOnly = true;
this..Width = 150;
//
// 备注
//
this..DataPropertyName = "备注";
this..HeaderText = "备注";
this..MinimumWidth = 8;
this..Name = "备注";
this..ReadOnly = true;
this..Width = 150;
//
// dataGridView_OrderOpNameToMobyList
//
this.dataGridView_OrderOpNameToMobyList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView_OrderOpNameToMobyList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.ID1,
this.1,
this.1,
this.1,
this.1,
this.1,
this.1,
this.1,
this.1,
this.线1,
this.1,
this.1});
this.dataGridView_OrderOpNameToMobyList.Location = new System.Drawing.Point(18, 394);
this.dataGridView_OrderOpNameToMobyList.Margin = new System.Windows.Forms.Padding(4);
this.dataGridView_OrderOpNameToMobyList.MultiSelect = false;
this.dataGridView_OrderOpNameToMobyList.Name = "dataGridView_OrderOpNameToMobyList";
this.dataGridView_OrderOpNameToMobyList.ReadOnly = true;
this.dataGridView_OrderOpNameToMobyList.RowHeadersWidth = 62;
this.dataGridView_OrderOpNameToMobyList.RowTemplate.Height = 23;
this.dataGridView_OrderOpNameToMobyList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridView_OrderOpNameToMobyList.Size = new System.Drawing.Size(1731, 342);
this.dataGridView_OrderOpNameToMobyList.TabIndex = 0;
//
// comboBox_OpName
//
this.comboBox_OpName.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox_OpName.FormattingEnabled = true;
this.comboBox_OpName.Location = new System.Drawing.Point(166, 46);
this.comboBox_OpName.Margin = new System.Windows.Forms.Padding(4);
this.comboBox_OpName.Name = "comboBox_OpName";
this.comboBox_OpName.Size = new System.Drawing.Size(260, 26);
this.comboBox_OpName.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(18, 51);
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(98, 18);
this.label1.TabIndex = 2;
this.label1.Text = "上线工位号";
//
// button_LoadToOpName
//
this.button_LoadToOpName.Location = new System.Drawing.Point(534, 42);
this.button_LoadToOpName.Margin = new System.Windows.Forms.Padding(4);
this.button_LoadToOpName.Name = "button_LoadToOpName";
this.button_LoadToOpName.Size = new System.Drawing.Size(244, 34);
this.button_LoadToOpName.TabIndex = 3;
this.button_LoadToOpName.Text = "订单下达到上线工位";
this.button_LoadToOpName.UseVisualStyleBackColor = true;
this.button_LoadToOpName.Click += new System.EventHandler(this.button_LoadToOpName_Click);
//
// ID1
//
this.ID1.DataPropertyName = "ID";
this.ID1.HeaderText = "ID";
this.ID1.MinimumWidth = 8;
this.ID1.Name = "ID1";
this.ID1.ReadOnly = true;
this.ID1.Width = 150;
//
// 工位号1
//
this.1.DataPropertyName = "工位号";
this.1.HeaderText = "工位号";
this.1.MinimumWidth = 8;
this.1.Name = "工位号1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 订单号1
//
this.1.DataPropertyName = "订单号";
this.1.HeaderText = "订单号";
this.1.MinimumWidth = 8;
this.1.Name = "订单号1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 序号1
//
this.1.DataPropertyName = "序号";
this.1.HeaderText = "序号";
this.1.MinimumWidth = 8;
this.1.Name = "序号1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 订单类型1
//
this.1.DataPropertyName = "订单类型";
this.1.HeaderText = "订单类型";
this.1.MinimumWidth = 8;
this.1.Name = "订单类型1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 生产日期1
//
this.1.DataPropertyName = "生产日期";
this.1.HeaderText = "生产日期";
this.1.MinimumWidth = 8;
this.1.Name = "生产日期1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 订单班次1
//
this.1.DataPropertyName = "订单班次";
this.1.HeaderText = "订单班次";
this.1.MinimumWidth = 8;
this.1.Name = "订单班次1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 零件号1
//
this.1.DataPropertyName = "零件号";
this.1.HeaderText = "零件号";
this.1.MinimumWidth = 8;
this.1.Name = "零件号1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 数量1
//
this.1.DataPropertyName = "数量";
this.1.HeaderText = "数量";
this.1.MinimumWidth = 8;
this.1.Name = "数量1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 上线数量1
//
this.线1.DataPropertyName = "上线数量";
this.线1.HeaderText = "上线数量";
this.线1.MinimumWidth = 8;
this.线1.Name = "上线数量1";
this.线1.ReadOnly = true;
this.线1.Width = 150;
//
// 备注1
//
this.1.DataPropertyName = "备注";
this.1.HeaderText = "备注";
this.1.MinimumWidth = 8;
this.1.Name = "备注1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// 操作时间1
//
this.1.DataPropertyName = "操作时间";
this.1.HeaderText = "操作时间";
this.1.MinimumWidth = 8;
this.1.Name = "操作时间1";
this.1.ReadOnly = true;
this.1.Width = 150;
//
// OrderForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1767, 754);
this.Controls.Add(this.button_LoadToOpName);
this.Controls.Add(this.label1);
this.Controls.Add(this.comboBox_OpName);
this.Controls.Add(this.dataGridView_OrderOpNameToMobyList);
this.Controls.Add(this.dataGridView_Order);
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "OrderForm";
this.Text = "OrderForm";
((System.ComponentModel.ISupportInitialize)(this.dataGridView_Order)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataGridView_OrderOpNameToMobyList)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.DataGridView dataGridView_Order;
private System.Windows.Forms.ComboBox comboBox_OpName;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button_LoadToOpName;
private System.Windows.Forms.DataGridViewTextBoxColumn ID;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn 线;
private System.Windows.Forms.DataGridViewTextBoxColumn 线;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridViewTextBoxColumn ;
private System.Windows.Forms.DataGridView dataGridView_OrderOpNameToMobyList;
private System.Windows.Forms.DataGridViewTextBoxColumn ID1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 线1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
private System.Windows.Forms.DataGridViewTextBoxColumn 1;
}
}

View File

@@ -0,0 +1,73 @@
using bizFacade;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.Remoting.Metadata.W3cXsd2001;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MisDataFun
{
public partial class OrderForm : Form
{
public OrderForm()
{
InitializeComponent();
InitiOrder();
InitOrderOpName();
InitOredrToOpNameList();
}
private void InitiOrder()
{
DataTable dt;
dt = BaseDataSystemMES.GetOrder_BQ();
dataGridView_Order.DataSource = dt;
if(dt.Rows.Count>0)
{
dataGridView_Order.Rows[0].Selected = true;
}
}
private void InitOrderOpName()
{
DataTable dt;
dt = BaseDataSystemMES.GetOrderOpName_BQ();
comboBox_OpName.DataSource = dt;
comboBox_OpName.DisplayMember = "工位号";
if(comboBox_OpName.Items.Count > 0 )
{
comboBox_OpName.SelectedIndex= 0;
}
}
/// <summary>
/// 下达订单到线首工位
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button_LoadToOpName_Click(object sender, EventArgs e)
{
string orderForm;
string opName;
orderForm = dataGridView_Order.SelectedRows[0].Cells["订单号"].Value.ToString();
opName = comboBox_OpName.Text;
BaseDataSystemMES.DownOrderToOpName(orderForm, opName);
InitOredrToOpNameList();
}
/// <summary>
/// 各个工位订单列表
/// </summary>
private void InitOredrToOpNameList()
{
DataTable dt;
dt = BaseDataSystemMES.DownOrderToOpNameMobyList();
dataGridView_OrderOpNameToMobyList.DataSource= dt;
}
}
}

View File

@@ -0,0 +1,228 @@
<?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="订单号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="序号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="订单类型.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="生产日期.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="班次.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="零件号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="数量.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="上线数量.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="下线数量.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="订单状态.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="备注.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ID.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="订单号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="序号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="订单类型.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="生产日期.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="班次.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="零件号.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="数量.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="上线数量.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="下线数量.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="订单状态.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="备注.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ID1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="工位号1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="订单号1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="序号1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="订单类型1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="生产日期1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="订单班次1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="零件号1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="数量1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="上线数量1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="备注1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="操作时间1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MisDataSaveDate
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
new System.Threading.Mutex(true, "PassStationSY", out bool bCanRun);
if (!bCanRun)
{
MessageBox.Show("PassStation 程序 已经在运行!不可重复启动!");
return;
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MisDataFun());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("MisDataSaveDate")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MisDataSaveDate")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("9aede061-8490-436a-b38b-9495dc908f19")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace MisDataFun.Properties {
using System;
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.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 (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MisDataFun.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;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?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>

View File

@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace MisDataFun.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.0.3.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;
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?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>

View File

@@ -0,0 +1,10 @@
{
"exclude": [
"**/bin",
"**/bower_components",
"**/jspm_packages",
"**/node_modules",
"**/obj",
"**/platforms"
]
}

View File

@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{E4EB6420-906D-4672-947A-CA33DDCDADFC}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SendMessageToWebMqtt</RootNamespace>
<AssemblyName>SendMessageToWebMqtt</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<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>
</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>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<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.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="SendMessage.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Common\00MesWorkMqtt\MesWorkMqtt\00MesWorkMqtt.csproj">
<Project>{f55da1a0-a982-4479-8c47-0d9a5aaf3e18}</Project>
<Name>00MesWorkMqtt</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\04DataBaseAccess\DataBaseAccess\04-DataBaseAccess.csproj">
<Project>{f434e066-4c59-47c8-aa82-6f48cc84501a}</Project>
<Name>04-DataBaseAccess</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\07WebBusinessFacade\BusinessFacade\07BusinessFacade.csproj">
<Project>{f0a0c525-03fd-428a-9b17-7f54aa0e4475}</Project>
<Name>07BusinessFacade</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("SendMessageToWebMqtt")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SendMessageToWebMqtt")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("e4eb6420-906d-4672-947a-ca33ddcdadfc")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,412 @@
using bizFacade;
using MesWorkMqtt;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace MesServerFunctions
{
/// <summary>
/// 命令
///显示托盘信息√ case "ShowMoby":
///显示操作指南√ case "ProcessList":
///显示物料√ case "MaterialList":
///显示操作图片√ case "PicShow":
///显示拧紧位置√ case "ShaftPosition":
///实时显示质量数据√ case "ShowTimelyQuality":
///手动拧紧实时显示质量数据√case "ShowTimelyQuality_Tight":
///√ case "OrderFormList":
///弹窗消息√ case "Notice":
///LED消息提醒√ case "ScrollNotice":
///物料检测初始化√ case "MaterialCheckPosition":
///返修质量数据显示√ case "RepairQuality"
///
/// </summary>
public class SendMessage
{
/// <summary>
/// MES/InstantMessaging/BQ
/// </summary>
public static string MqttTargetTopic = ConfigurationManager.AppSettings["MqttTargetTopic"];
/// <summary>
/// WEB/InstantMessaging/BQ/MisServer
/// </summary>
public static string MqttTargetTopicWEB = ConfigurationManager.AppSettings["MqttTargetTopicWEB"];
/// <summary>
/// BAR/InstantMessaging/BQ
/// </summary>
public static string MqttTargetTopicBAR = ConfigurationManager.AppSettings["MqttTargetTopicBAR"];
public static void SendMessageBARToMES(string opName, string msgText)
{
var topic = $"{MqttTargetTopicBAR}";
if (msgText.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, msgText));
}
SendMessageMESToWEB(opName, msgText);
}
public static void SendMessageMESToWEB(string opName, string msgText)
{
var topic = $"{MqttTargetTopic}/{opName}";
if (msgText.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, msgText));
}
}
public static void SendMessageWEBToMES(string msgText)
{
var topic = $"{MqttTargetTopicWEB}";
if (msgText.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, msgText));
}
}
/// <summary>
/// 5 显示订单、机型信息
/// </summary>
/// <param name="opName"></param>
public static void ShowMoby(string opName)
{
var topic = $"{MqttTargetTopic}/{opName}";
var responseStr = ShowMoby_String(opName);
string cmd = "ShowMoby";
if (responseStr.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, $"MES|{cmd}_Resources|{opName}|{responseStr}"));
}
}
public static void MaterialList_Dif(string opName,string msgText)
{
var topic = $"{MqttTargetTopic}/{opName}";
string cmd = "MaterialList_Dif";
if (msgText.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, $"MES|{cmd}_Resources|{opName}|{msgText}"));
}
}
public static void AsyncSendMessage_Notice(string opname, string notice)
{
//通知Web界面
BaseDataSystemMES.Web_Notice_Insert(opname, notice);
Notice(opname);
}
public static void Notice(string opName)
{
var topic = $"{MqttTargetTopic}/{opName}";
var responseStr = Notice_String(opName);
string cmd = "Notice";
if (responseStr.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, $"MES|{cmd}_Resources|{opName}|{responseStr}"));
}
}
/// <summary>
/// 1直接在界面通过选择机型确认工序内容
/// </summary>
/// <param name="opName"></param>
public static void ProcessList(string opName)
{
var topic = $"{MqttTargetTopic}/{opName}";
var responseStr = ProcessList_String(opName);
string cmd = "ProcessList";
if (responseStr.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, $"MES|{cmd}_Resources|{opName}|{responseStr}"));
}
}
/// <summary>
/// 2显示物料
/// </summary>
/// <param name="opName"></param>
public static void MaterialList(string opName)
{
var topic = $"{MqttTargetTopic}/{opName}";
var responseStr = MaterialList_String(opName);
string cmd = "MaterialList";
if (responseStr.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, $"MES|{cmd}_Resources|{opName}|{responseStr}"));
}
}
/// <summary>
/// 3显示操作指导图片
/// </summary>
/// <param name="opName"></param>
public static void PicShow(string opName)
{
var topic = $"{MqttTargetTopic}/{opName}";
var responseStr = PicShow_String(opName);
string cmd = "PicShow";
if (responseStr.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, $"MES|{cmd}_Resources|{opName}|{responseStr}"));
}
}
/// <summary>
/// 4订单完工模块刷新完成数量
/// </summary>
/// <param name="opName"></param>
public static void OrderFormList(string opName)
{
var topic = $"{MqttTargetTopic}/{opName}";
var responseStr = OrderFormList_String();
string cmd = "OrderFormList";
if (responseStr.Length > 0)
{
Task.Run(() => Mqtt.Publish(topic, $"MES|{cmd}_Resources|{opName}|{responseStr}"));
}
}
//实时显示质量数据√
public static void ShowTimelyQuality(string opName)
{
}
public static void SendActuallyCount(string OpName, int tagValue)
{
//当工件离开时,更新在线产量、在线节拍
if (tagValue == 0)
{
try
{
int opNameCount = 0;//在线产量
int opNameCountTime = 0;//在线节拍
BaseDataSystemMES.OpNameCount_New(OpName, out opNameCount, out opNameCountTime); //基本数据_工作日历_班次产量查询_New
SendInfomation("ActuallyCount", opNameCount.ToString() + "&" + opNameCountTime.ToString(), OpName);
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function01:SendActuallyCount");
}
}
}
private static void SendInfomation(string Command, string Value, string OpName)
{
string SendMessage = "MES|" + Command + "|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
}
private static void AsyncSendMessage(string Message)
{
//lock (locker)
{
//"MES|MachinePlan|OpName|Value
var array = Message.Split('|');
var cmd = array[1];
var opName = array[2];
var topic = $"{MqttTargetTopic}/{opName}";
Task.Run(() => Mqtt.Publish(topic, Message));
}
}
private static string ProcessList_String(string OpName)
{
string jsonStr_Process = "";
try
{
string orderNum = "";
int EngineTypeID = 0;
string EngineType = "";
string EngineID = "";
string PartPallet_Code = "";
int IsrepairBarcode = 0;
string repairBarcode = "";
DataTable dt_Proccess;
MES1.Moby_Select(OpName, out orderNum, out EngineTypeID, out EngineType, out EngineID, out PartPallet_Code, out IsrepairBarcode, out repairBarcode);
MES.Process_Select(OpName, EngineTypeID, EngineType, out dt_Proccess);
if (dt_Proccess != null)
{
if (dt_Proccess.Rows.Count > 0)
{
jsonStr_Process = JsonHelper.CreateJsonParameters(dt_Proccess);
}
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "MesWebFun_baseFun:ProcessList");
}
return jsonStr_Process;
}
private static string PicShow_String(string OpName)
{
string data = "";
try
{
string orderNum = "";
int EngineTypeID = 0;
string EngineType = "";
string EngineID = "";
string PartPallet_Code = "";
int IsrepairBarcode = 0;
string repairBarcode = "";
byte[] imgBytesIn;
MES1.Moby_Select(OpName, out orderNum, out EngineTypeID, out EngineType, out EngineID, out PartPallet_Code, out IsrepairBarcode, out repairBarcode);
BaseDataSystemMES.GetImageFile(OpName, EngineTypeID.ToString(), out imgBytesIn);
if (imgBytesIn == null)
{
return data;
}
data = Convert.ToBase64String(imgBytesIn);
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "MesWebFun_baseFun:PictureShow");
}
return data;
}
private static string ShowMoby_String(string OpName)
{
string data = "";
try
{
string orderNum = "";
int EngineTypeID = 0;
string EngineType = "";
string EngineID = "";
string PartPallet_Code = "";
int IsrepairBarcode = 0;
string repairBarcode = "";
MES1.Moby_Select(OpName, out orderNum, out EngineTypeID, out EngineType, out EngineID, out PartPallet_Code, out IsrepairBarcode, out repairBarcode);
data = orderNum + "&" + EngineTypeID + "&" + EngineType + "&" + EngineID + "&" + PartPallet_Code + "&" + IsrepairBarcode + "&" + repairBarcode;
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "MesWebFun_baseFun:MobySelect");
}
return data;
}
private static string MaterialList_String(string OpName)
{
string jsonStr_Materail = "";
try
{
string orderNum = "";
int EngineTypeID = 0;
string EngineType = "";
string EngineID = "";
string PartPallet_Code = "";
int IsrepairBarcode = 0;
string repairBarcode = "";
MES1.Moby_Select(OpName, out orderNum, out EngineTypeID, out EngineType, out EngineID, out PartPallet_Code, out IsrepairBarcode, out repairBarcode);
DataTable dt_Material;
MES.PartMaterialVerify_Select(OpName, EngineTypeID, EngineType, out dt_Material);
if (dt_Material != null)
{
if (dt_Material.Rows.Count > 0)
{
jsonStr_Materail = JsonHelper.CreateJsonParameters(dt_Material);
}
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "MesWebFun_baseFun:MaterialList");
}
return jsonStr_Materail;
}
private static string ShowTimelyQuality_String(string OpName)
{
string text = "";
try
{
string orderNum = "";
int EngineTypeID = 0;
string EngineType = "";
string EngineID = "";
string PartPallet_Code = "";
int IsrepairBarcode = 0;
string repairBarcode = "";
DataTable dt;
MES1.Moby_Select(OpName, out orderNum, out EngineTypeID, out EngineType, out EngineID, out PartPallet_Code, out IsrepairBarcode, out repairBarcode);
MES.QualitySelect(OpName, EngineID, out dt);
if (dt != null)
{
if (dt.Rows.Count > 0)
{
text = JsonHelper.CreateJsonParameters(dt);
}
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "MesWebFun_baseFun:Quality_Select");
}
return text;
}
private static string OrderFormList_String()
{
string enginetypelist = "";
try
{
System.Data.DataTable dt = null;
ShaftPosition.EngineType_Select(out dt);
if (dt != null)
{
if (dt.Rows.Count > 0)
{
enginetypelist = JsonHelper.DataTableToJson(dt);
}
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "MesWebFun_baseFun:Orderenginetypeselect");
}
return enginetypelist;
}
/// <summary>
/// 消息提醒
/// </summary>
/// <returns></returns>
private static string Notice_String(string opname)
{
string text = "";
try
{
System.Data.DataTable dt = null;
MES.ShowWindowNotice(opname, out dt);
if (dt != null)
{
if (dt.Rows.Count > 0)
{
text = JsonHelper.DataTableToJson(dt);
}
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "MesWebFun_baseFun:ShowWindowNotice");
}
return text;
}
}
}

View File

@@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{624F0E91-00F5-4ED9-8537-8F9EAAEF2F1F}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>WebSubmit</RootNamespace>
<AssemblyName>WebSubmit</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</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>
</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>
</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.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Db.cs" />
<Compile Include="MesServerFunction\Fun_WebSubmit.cs" />
<Compile Include="Methods\EngineGetOverBaseWork.cs" />
<Compile Include="Methods\SubmitToMisweb.cs" />
<Compile Include="Methods\UDP.Send.cs" />
<Compile Include="OpcServer\Barcode.cs" />
<Compile Include="OpcServer\ConfirmOkGo.cs" />
<Compile Include="OpcServer\EngineGetOver.cs" />
<Compile Include="OpcServer\FalseGO.cs" />
<Compile Include="OpcServer\MesRead.cs" />
<Compile Include="OpcServer\MesReadOver.cs" />
<Compile Include="OpcServer\WebSubmit.cs" />
<Compile Include="OpcServer\WorkStart.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Common\00-1Json8.3\Json8.3\00-0Json8.3.1.csproj">
<Project>{1a10fdb2-1a6a-44a8-ab4d-33387563247e}</Project>
<Name>00-0Json8.3.1</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\00-2AppConfigSet\AppConfigSet\00-1AppConfigSetForm.csproj">
<Project>{5fd5de57-cc26-4fd0-b852-5362123bc4ff}</Project>
<Name>00-1AppConfigSetForm</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\00MesWorkMqtt\MesWorkMqtt\00MesWorkMqtt.csproj">
<Project>{f55da1a0-a982-4479-8c47-0d9a5aaf3e18}</Project>
<Name>00MesWorkMqtt</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\01DoWhatPlc\01_01DoWhatPlc.csproj">
<Project>{0d1af432-439a-4920-8692-43ae139f5530}</Project>
<Name>01_01DoWhatPlc</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\02WebApiCall\02_02WebApiCallPLC.csproj">
<Project>{3e6d1dd5-01c9-435f-9941-61f906ce35bb}</Project>
<Name>02_02WebApiCallPLC</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\04DataBaseAccess\DataBaseAccess\04-DataBaseAccess.csproj">
<Project>{f434e066-4c59-47c8-aa82-6f48cc84501a}</Project>
<Name>04-DataBaseAccess</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\07WebBusinessFacade\BusinessFacade\07BusinessFacade.csproj">
<Project>{f0a0c525-03fd-428a-9b17-7f54aa0e4475}</Project>
<Name>07BusinessFacade</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\08WebFun_base\WebFun_base\08-WebFun_base.csproj">
<Project>{d98be764-adeb-488d-9714-61e308aa8201}</Project>
<Name>08-WebFun_base</Name>
</ProjectReference>
<ProjectReference Include="..\..\Common\09MesDataFunction\MesDataFunction\09-MesDataFunction.csproj">
<Project>{90e76fb4-646d-45e2-95db-0b8ab4e465d6}</Project>
<Name>09-MesDataFunction</Name>
</ProjectReference>
<ProjectReference Include="..\SendMessageToWebMqtt\12SendMessageToWeb.csproj">
<Project>{e4eb6420-906d-4672-947a-ca33ddcdadfc}</Project>
<Name>12SendMessageToWeb</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,74 @@
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataLinkMesWork;
namespace MesServerFunctions
{
public class Db
{
/// <summary>
/// 北汽福田变速器序列号总线上线_获得机型信息
/// </summary>
/// <param name="partSn"></param>
/// <param name="EngineTypeID"></param>
/// <param name="EngineType"></param>
/// <param name="EngineID"></param>
/// <param name="IsRepeatedNumber"> 0 不重号1 重号2失败</param>
/// <returns></returns>
public static bool GetEngineType(string partSn, out int EngineTypeID, out string EngineType, out string EngineID,out int IsRepeatedNumber)
{
DataTable dt = new DataTable();
EngineTypeID = 0;
EngineType = "";
EngineID = "";
IsRepeatedNumber = 2;
string produceName = "北汽福田变速器序列号总线上线_获得机型信息";
SqlParameter[] thisParms = new SqlParameter[1];
thisParms[0] = new System.Data.SqlClient.SqlParameter("@变速器序列号", partSn);
thisParms[2].Direction = ParameterDirection.Output;
if (DataAccess.ExecuteStoredProcedure(produceName, ref thisParms,out dt))
{
if(dt.Rows.Count > 0)
{
IsRepeatedNumber = Convert.ToInt32( dt.Rows[0]["IsRepeatedNumber"]);
EngineTypeID = Convert.ToInt32(dt.Rows[0]["EngineTypeID"]);
EngineType = dt.Rows[0]["EngineType"].ToString();
EngineID = dt.Rows[0]["EngineID"].ToString();
return true;
}
}
return false;
}
/// <summary>
/// 北汽福田变速器序列号总线上线_增加
/// </summary>
/// <param name="partSn"></param>
/// <param name="EngineTypeID"></param>
/// <param name="EngineType"></param>
/// <param name="OpName"></param>
/// <returns></returns>
public static bool UpLoadOpNameInsert(string partSn, int EngineTypeID, string EngineType, string OpName)
{
string produceName = "北汽福田变速器序列号总线上线_增加";
SqlParameter[] thisParms = new SqlParameter[1];
thisParms[0] = new System.Data.SqlClient.SqlParameter("@变速器序列号", partSn);
thisParms[1] = new System.Data.SqlClient.SqlParameter("@基本型号代码", EngineTypeID);
thisParms[2] = new System.Data.SqlClient.SqlParameter("@基本型号", EngineType);
thisParms[3] = new System.Data.SqlClient.SqlParameter("@工位号", OpName);
return DataAccess.ExecuteStoredProcedure(produceName, ref thisParms);
}
// ALTER PROCEDURE[dbo].[北汽福田变速器序列号总线上线_增加]
// @变速器序列号 nvarchar(50)='1333 050 062 0001*146012023*12345678',--'1333 050 062 0001'
//@基本型号代码 int=1,
//@基本型号 nvarchar(50)='1333 050 062 0001',
//@工位号 nvarchar(50) = 'J05PA010'
}
}

View File

@@ -0,0 +1,100 @@
using System.Threading;
namespace MesServerFunctions
{
public partial class Functions_BASE_WebSubmit
{
//1.工件到位后PLC给MES传递机型(DBX0.4)(44)
//2.MES判断是否扫描完成
//3.若扫描完成则MES给出合格放行(DBX2.5)(51)
/// <summary>
/// 扫描条码
/// </summary>
/// <param name="OpName"></param>
/// <param name="barcode"></param>
public static void fun_Barcode(DoWhatPlc.CustomeEvetnArgs e)
{
ThreadPool.QueueUserWorkItem(Barcode, e);
}
/// <summary>
/// 传递机型
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
public static void fun_EngineTypeGetOverPLC(DoWhatPlc.CustomeEvetnArgs e)
{
ThreadPool.QueueUserWorkItem(EngineTypeGetOver_PLC, e);
}
/// <summary>
/// 合格放行
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
public void fun_ConfirmOkGo(DoWhatPlc.CustomeEvetnArgs e)
{
ThreadPool.QueueUserWorkItem(ConfirmOkGo, e);
}
/// <summary>
/// 不合格放行
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
public void fun_FalseGo(DoWhatPlc.CustomeEvetnArgs e)
{
ThreadPool.QueueUserWorkItem(FalseGO, e);
}
/// <summary>
/// 保存完成 20
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
public void fun_MesReadOver(DoWhatPlc.CustomeEvetnArgs e)
{
ThreadPool.QueueUserWorkItem(MesReadOver, e);
}
/// <summary>
/// 保存完成 19
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
public void fun_MesRead(DoWhatPlc.CustomeEvetnArgs e)
{
ThreadPool.QueueUserWorkItem(MesRead, e);
}
/// <summary>
/// 工件到位离开(清空所有的MES信号)
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
public void fun_WorkStart(DoWhatPlc.CustomeEvetnArgs e)
{
ThreadPool.QueueUserWorkItem(WorkStart, e);
}
/// <summary>
/// 处理WEB页面发送过来的请求m_Command + "|" + m_Value;
/// </summary>
/// <param name="OpName"></param>
/// <param name="Content"></param>
public void fun_WebSubmit(DoWhatPlc.CustomeEvetnArgs e)
{
ThreadPool.QueueUserWorkItem(WebSubmit, e);
}
public int fun_SubLineLoadPartCountMatch()
{
return SubLineLoadPartCountMatch;
}
}
}

Binary file not shown.

View File

@@ -0,0 +1,286 @@
using System;
using System.Data;
using bizFacade;
using MesServerWork;
//using SystemFramework;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 分线上总线的数量
/// </summary>
public static int SubLineLoadPartCount = 2;
/// <summary>
/// 分线上总线已经匹配的数量
/// </summary>
public static int SubLineLoadPartCountMatch = 0;
/// <summary>
/// 正常逻辑工作
/// </summary>
/// <param name="OpName"></param>
/// <param name="EngineTypeID"></param>
/// <param name="EngineType"></param>
/// <param name="EngineID"></param>
/// <param name="PartPallet_Code"></param>
private static void EngineTypeGetOver_PLC_Work(string OpName, int EngineTypeID, string EngineType, string EngineID, int PartPallet_Code,string OrderForm)
{
int IsAllowWork;
int MES_QualityMask = 1;
int repairPart;//读取返修标志
int IsrepairBarcode = 0;//拆解返修标志
//string OrderForm = "";//订单号
string repairBarcode = "";//拆解返修条码
DataTable dt;//读取订单信息
MIS_BASE.Read_OnlineRepair(OpName, out repairPart);
BaseDataSystemMES.GetEngineID_Select(OpName, EngineID, out dt);
if (dt != null && dt.Rows.Count > 0)
{
//OrderForm = Convert.ToString(dt.Rows[0]["订单号"]);
IsrepairBarcode = Convert.ToInt32(dt.Rows[0]["拆解标志"]);
repairBarcode = Convert.ToString(dt.Rows[0]["拆解返修条码"]);
}
//记录MOBY信息只限总装工位
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, OrderForm,EngineTypeID, EngineType, EngineID, PartPallet_Code, repairPart, IsrepairBarcode, repairBarcode);
SaveMobyMessage(OpName, EngineTypeID, EngineType, EngineID, OrderForm);
BaseDataSystemMES.MaterialPush_EngineIDStatus_Insert(OpName);
BaseDataSystemMES.MesServer_Process_EngineTypeOver(OpName);
Sendmessage("5123", "1111", OpName);
MIS_BASE.Read_PalletInfo(OpName, out MES_QualityMask);
SendInfomation("QualityMask", Convert.ToString(MES_QualityMask), OpName);
if (MES_QualityMask != 1)
{
//工作完成
MIS_BASE.Write_MaterialVerifyOver(OpName, true);
SendInfomation("NgGO", "1", OpName);//显示不合格标志
return;
}
BaseDataSystemMES.MesServer_Judge_IsCanWork(OpName, out IsAllowWork);
if (IsAllowWork == 1)
{
Match(OpName, EngineID, EngineTypeID, EngineType, PartPallet_Code);//匹配
}
}
/// <summary>
/// 保存MOBY信息
/// </summary>
/// <param name="OpName"></param>
/// <param name="engineTypeID"></param>
/// <param name="engineType"></param>
/// <param name="engineID"></param>
private static void SaveMobyMessage(string OpName, int engineTypeID, string engineType, string engineID, string orderForm)
{
if (MIS_BASE.hashtable_EngineGetOver_EngineTypeID == null)
{
MIS_BASE.InitHashtable_MesServerCode();
}
if (MIS_BASE.hashtable_EngineGetOver_EngineTypeID.ContainsKey(OpName))
{
MIS_BASE.hashtable_EngineGetOver_EngineTypeID[OpName] = engineTypeID;
}
if (MIS_BASE.hashtable_EngineGetOver_EngineType.ContainsKey(OpName))
{
MIS_BASE.hashtable_EngineGetOver_EngineType[OpName] = engineType;
}
if (MIS_BASE.hashtable_EngineGetOver_EngineID.ContainsKey(OpName))
{
MIS_BASE.hashtable_EngineGetOver_EngineID[OpName] = engineID;
}
if (MIS_BASE.hashtable_EngineGetOver_OrderForm.ContainsKey(OpName))
{
MIS_BASE.hashtable_EngineGetOver_OrderForm[OpName] = orderForm;
}
}
/// <summary>
/// 返修件需要工作
/// </summary>
/// <param name="OpName">工位号</param>
private static void IsNeedRepaire_OK(string OpName)
{
int isRepair;
int engineTypeID;
string engineType = "";
string engineID = "";
string palletCode = "";
string orderForm = "";
string repairCode = "";
//从监控系统中查询出本工位信息
BaseDataSystemMES.OpName_MIS_Moby_Select(OpName,
out orderForm, out engineTypeID, out engineType,
out engineID, out palletCode, out isRepair, out repairCode);
EngineTypeGetOver_PLC_Work(OpName, engineTypeID, engineType, engineID, Convert.ToInt32(palletCode),orderForm);
}
/// <summary>
/// 正常匹配分线和总线
/// </summary>
/// <param name="opName"></param>
/// <param name="engineID">总线工件号</param>
/// <param name="engineTypeID">总线工件机型代码</param>
/// <param name="engineType">总线工件机型</param>
private static void Match(string opName, string engineID, int engineTypeID, string engineType, int PartPallet_Code)
{
try
{
bool m_EngineGetOver_PLC_SubLine;
int engineTypeID_SubLine;
int partPallet_Code_SubLine;
int PalletInfo = 1;//总线托盘状态
string opName_SubLine = "";//分线工件信息
string engineID_SubLine;
string engineType_SubLine;
string AlarmStr;
if (MIS_BASE.hashtable_OpNameRepair == null)
{
MIS_BASE.InitHashtable_MesServerCode();
}
//第一步:获取分线中间交互工位号
if (MIS_BASE.hashtable_OpNameRepair.ContainsKey(opName))
{
opName_SubLine = MIS_BASE.hashtable_OpNameRepair[opName].ToString();
}
if (opName_SubLine == "")
{
return;
}
//第二步:获取分线传递机型信号
MIS_BASE.Read_EngineGetOver_PLC(opName_SubLine, out m_EngineGetOver_PLC_SubLine);
if (!m_EngineGetOver_PLC_SubLine) return;//必须工件同时到位才能进行匹配
//第三步:判断合格标志
MIS_BASE.Read_PalletInfo(opName_SubLine, out PalletInfo);
if (PalletInfo == 2) return; //若不合格则返回不进行匹配
string OrderForm;
//第四步:获取分线的信息,匹配验证
MIS_BASE.GetEngineTypeFromPLC(opName_SubLine, out engineTypeID_SubLine, out engineType_SubLine, out engineID_SubLine, out partPallet_Code_SubLine,out OrderForm);
//判断分线数据是否合格
//if (!BaseDataSystemMES.QulityDataVerify(opName, engineID_SubLine, out AlarmStr) && !BaseDataSystemMES.QualityVerifyStatus_Hash_Read(opName))
//{
// SendInfomation("LineoutAlert", AlarmStr, opName);
// return;
//}
if (engineTypeID_SubLine == engineTypeID)
{
BaseDataSystemMES.SubLineLoadPartCountMatch_Select(opName, out SubLineLoadPartCountMatch);
SubLineLoadPartCountMatch = SubLineLoadPartCountMatch + 1;
BaseDataSystemMES.SubLineLoadPartCountMatch_Update(opName, SubLineLoadPartCountMatch);
BaseDataSystemMES.MailLineAndSubLineData_Insert(engineID, engineTypeID, engineType, engineID_SubLine);//分线上总线数据转移
MIS_BASE.Write_Match(opName, true);//匹配结果
MIS_BASE.Write_MatchingCompleted(opName, true);//匹配完成
if(SubLineLoadPartCountMatch== SubLineLoadPartCount)
{
MIS_BASE.Write_FixAllow(opName, true);
SubLineLoadPartCountMatch = 0;
BaseDataSystemMES.SubLineLoadPartCountMatch_Update(opName, SubLineLoadPartCountMatch);
}
SendInfomation("MatchSuccess", "1", opName);
sendmessage(opName, 1, "Match");//匹配结果
}
else
{
MIS_BASE.Write_Match(opName, false);//匹配结果
MIS_BASE.Write_MatchingCompleted(opName, true);//匹配完成//68:1、取消返修2、匹配成功 自己监控发送 MES|MatchingCompleted
//发送匹配完成和匹配结果信息
AsyncSendMessage_Notice(opName,"匹配失败,工件型号不匹配!");
SendInfomation("MatchSuccess", "0", opName);
sendmessage(opName, 0, "Match");//匹配结果
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog("Match:" + err.ToString());
}
}
/// <summary>
/// 强制匹配分线和总线
/// </summary>
/// <param name="opName"></param>
private static void ForceMatch(string opName)
{
try
{
bool m_EngineGetOver_PLC_SubLine;
bool m_EngineGetOver_PLC;
int engineTypeID_SubLine;
int engineTypeID;
int partPallet_Code_SubLine;
int partPallet_Code;
string opName_SubLine = "";//分线工件信息
string engineID_SubLine;
string engineType_SubLine;
string engineID;
string engineType;
if (MIS_BASE.hashtable_OpNameRepair == null)
{
MIS_BASE.InitHashtable_MesServerCode();
}
//获取分线中间交互工位号
if (MIS_BASE.hashtable_OpNameRepair.ContainsKey(opName))
{
opName_SubLine = MIS_BASE.hashtable_OpNameRepair[opName].ToString();
}
if (opName_SubLine == "")
{
return;
}
MIS_BASE.Read_EngineGetOver_PLC(opName_SubLine, out m_EngineGetOver_PLC_SubLine);//1:读取分线工件到位的传递机型信号。
if (!m_EngineGetOver_PLC_SubLine) return;//必须工件同时到位才能进行匹配
MIS_BASE.Read_EngineGetOver_PLC(opName, out m_EngineGetOver_PLC);//2:读取总线工件到位的传递机型信号。
if (!m_EngineGetOver_PLC) return;//必须工件同时到位才能进行匹配
string OrderForm;
MIS_BASE.GetEngineTypeFromPLC(opName_SubLine, out engineTypeID_SubLine, out engineType_SubLine, out engineID_SubLine, out partPallet_Code_SubLine,out OrderForm);//获取分线的信息
MIS_BASE.GetEngineTypeFromPLC(opName, out engineTypeID, out engineType, out engineID, out partPallet_Code, out OrderForm);
BaseDataSystemMES.MailLineAndSubLineData_Insert(engineID, engineTypeID, engineType, engineID_SubLine);//分线上总线数据转移
MIS_BASE.Write_Match(opName, true);//匹配结果
MIS_BASE.Write_MatchingCompleted(opName, true);//匹配完成
SendInfomation("MatchSuccess", "1", opName);//界面显示匹配成功
MIS_BASE.Write_FixAllow(opName, true);//允许PLC工作
//发送匹配完成和匹配结果信息
sendmessage(opName, 1, "MatchingComplete");//匹配完成
sendmessage(opName, 1, "Match");//匹配结果
}
catch
{
}
}
}
}

View File

@@ -0,0 +1,145 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bizFacade;
//using SystemFramework;
namespace MesServerFunctions
{
/// <summary>
/// 此类用于向WEB发送各种类型消息
/// </summary>
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 批量发送WEB消息Value为BOOL值
/// </summary>
/// <param name="MessageNumm">消息编号组合</param>
/// <param name="Value">消息值组合</param>
/// <param name="OpName">工位号</param>
static void Sendmessage(string MessageNumm,string Value, string OpName)
{
for (int i=0;i<MessageNumm.Length;i++)
{
Sendmessage(MessageNumm[i], Value[i].ToString(), OpName);
}
}
/// <summary>
/// 选择发送给WEB的消息
/// </summary>
/// <param name="Num">消息类型</param>
/// <param name="OpName">消息工位</param>
static void Sendmessage(char Num,string Value, string OpName)
{
string SendMessage;
switch (Num)
{
case '1':
//1直接在界面通过选择机型确认工序内容
SendMessage = "MES|ProcessList|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case '2':
//2显示物料
SendMessage = "MES|MaterialList|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case '3':
//3显示操作指导图片
SendMessage = "MES|PicShow|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case '4':
//3显示操作指导图片
SendMessage = "MES|OrderFormList|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case '5':
SendMessage = "MES|ShowMoby|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case '6':
SendMessage = "MES|MaterialCheckPosition|" + OpName + "|" +Value;
AsyncSendMessage(SendMessage);
break;
case '7':
SendMessage = "MES|WorkStart|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case '8':
SendMessage = "MES|OrderFormList|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case '9':
SendMessage = "MES|ConfirmOkGo|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case 'a':
SendMessage = "MES|FixAllow|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case 'b':
SendMessage = "MES|ShaftPosition|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
case 'c':
SendMessage = "MES|ShowQuality|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
break;
}
}
/// <summary>
/// 向WEB发送信息value为字符串
/// </summary>
/// <param name="Command">消息种类</param>
/// <param name="Value">消息内容</param>
/// <param name="OpName">工位号</param>
static void SendInfomation(string Command, string Value, string OpName)
{
string SendMessage = "MES|" + Command + "|" + OpName + "|" + Value;
AsyncSendMessage(SendMessage);
}
/// <summary>
/// 发送在线产量、在线节拍
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
private void SendActuallyCount(string OpName, int tagValue)
{
//当工件离开时,更新在线产量、在线节拍
if (tagValue == 0)
{
try
{
int opNameCount = 0;//在线产量
int opNameCountTime = 0;//在线节拍
BaseDataSystemMES.OpNameCount_New(OpName, out opNameCount, out opNameCountTime); //基本数据_工作日历_班次产量查询_New
SendInfomation("ActuallyCount", opNameCount.ToString() + "&" + opNameCountTime.ToString(), OpName);
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function01:SendActuallyCount");
}
}
}
}
}

View File

@@ -0,0 +1,62 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MesServerWork;
//using BasicData;
using System.Collections;
using bizFacade;
//using SystemFramework;
using System.Data;
using System.Threading;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 发送信息到MES通讯服务器或者其他的
/// </summary>
/// <param name="Message"></param>
private static void AsyncSendMessage(string Message)
{
MIS_BASE.asyncSendMessage(Message);
}
/// <summary>
/// 发送提示消息
/// </summary>
/// <param name="Message"></param>
private static void AsyncSendMessage_Notice(string opname, string notice)
{
//通知Web界面
BaseDataSystemMES.Web_Notice_Insert(opname, notice);
string SendMessage = "MES|Notice|" + opname + "|" + "1";
MIS_BASE.asyncSendMessage(SendMessage);
}
/// <summary>
/// 发送信息到打印机
/// </summary>
/// <param name="Message"></param>
private void asyncSendMessageToMark(string Message)
{
string messageSend = (string)Message;
//UDPClientSend.Send_ALL(ApplicationConfig.MES_MarkPortNum, messageSend);
}
/// <summary>
/// 发送信息到LED
/// </summary>
/// <param name="Message"></param>
private void asyncSendMessageLED(string OpName)
{
//发送到大屏幕显示 41104
string strMessage = "MIS|" + OpName + "|" + "0" + "|" + "1";
//UDPClientSend.Send_ALL(ApplicationConfig.Port_ShowLED_ProductCount, strMessage);
}
}
}

Binary file not shown.

View File

@@ -0,0 +1,86 @@
using System;
using bizFacade;
//using SystemFramework;
using MesServerWork;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
///第一步,判断条码类型,根据条码类型,执行对应的存储过程
///第二步,条码类型(将扫描的条码保存到对应的表中)
///第三步,扫描完成之后给出允许工作信号
/// 处理页面扫描条码
/// </summary>
/// <param name="OpName"></param>
/// <param name="barcode"></param>
public static void Barcode(object e)
{
try
{
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
string barcode = Convert.ToString(msgEvent.TagValue);
int EngineTypeID;//机型代码
string EngineType;//机型
string EngineID;//工件编号
int IsRepeatedNumber = 2;
//1:获得申请上线信息后,扫描条码才处理业务
bool ispartload;
MIS_BASE.Read_PartLoad(OpName, out ispartload);
if(!ispartload)
{
AsyncSendMessage_Notice(OpName, "设备请发出申请上线信号DBX500.3=1");
return;
}
//2: 判断是否重号, 从数据库获得机型、机型代码等信息
string partSn = barcode;
Db.GetEngineType( partSn, out EngineTypeID, out EngineType, out EngineID, out IsRepeatedNumber);
//IsRepeatedNumber 0 不重号1 重号2失败
switch (IsRepeatedNumber)
{
case 0:
////将产品信息写入PLC
MIS_BASE.Write_EngineTypeID_MES(OpName, EngineTypeID);
MIS_BASE.Write_EngineType_MES(OpName, EngineType);
MIS_BASE.Write_EngineID_MES(OpName, EngineID);
// 工位号],[订单号],[产品型号代码],[变速器序列号],[发动机型号],[机型基本代码],[变速器总成号] ,[托盘号]
// [产品型号代码_MES],[变速器序列号_MES],[发动机型号_MES]
// [机床上电],[循环开始],[机床故障],[上料无件],[下料堵塞],[工件到位]
// [传递机型],[申请上件],[允许保存],[保存完成],[合格标志],[前序合格]
// [工号],[班次],[是否返修件],[合格放行],[不合格放行],[扫描条码]
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, "产品型号代码_MES", EngineTypeID.ToString());
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, "发动机型号_MES", EngineType);
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, "变速器序列号_MES", EngineID);
MIS_BASE.Write_EngineTypeGetOver_MES(OpName, true);
//等待PLC将数据写入RFID写入PLC的DB块通知MES验证RFID机型数据是否正确传递
break;
case 1:
AsyncSendMessage_Notice(OpName, "变速器序列号 重号,请确认!");
break;
case 2:
AsyncSendMessage_Notice(OpName, "变速器序列号获取机型代码失败 ,请确认!");
break;
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function08:Barcode");
}
}
}
}

View File

@@ -0,0 +1,35 @@
using System;
//using SystemFramework;
using MesServerWork;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 合格放行
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
private void ConfirmOkGo(object e)
{
try
{
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
int tagValue = Convert.ToInt32(msgEvent.TagValue);
if (tagValue == 1)
{
MIS_BASE.Write_MaterialVerifyOver(OpName, true);//工作完成
SendInfomation("OrderFormList","1", OpName);
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function08:ConfirmOkGo");
}
}
}
}

View File

@@ -0,0 +1,87 @@
using System;
using bizFacade;
using MesServerWork;
//using SystemFramework;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// PLC传递机型处理
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
private static void EngineTypeGetOver_PLC(object e)
{
try
{
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
int tagValue = Convert.ToInt32(msgEvent.TagValue);
//判断PLC机型与MES机型是否一致
if (tagValue == 1)
{
bool MesRead = false;
int EngineTypeID;//机型代码
int PartPallet_Code;//托盘编号
string EngineType;//机型
string EngineID;//工件编号
int EngineTypeID_MES;//机型代码
string EngineType_MES;//机型
string EngineID_MES;//工件编号
MIS_BASE.Read_QualityData_Read_CF(OpName, out MesRead);
//第一步判断允许保存和保存完成信号是否全部被清空若未清空则通知复位MES&PLC
if (MesRead)
{
//未能清空信号,请求复位
SendInfomation("AskReset", "1", OpName);
return;
}
string OrderForm;
MIS_BASE.GetEngineTypeFromPLC(OpName, out EngineTypeID, out EngineType, out EngineID, out PartPallet_Code,out OrderForm);
MIS_BASE.GetEngineTypeFromPLC_MES(OpName, out EngineTypeID_MES, out EngineType_MES, out EngineID_MES);
// 工位号],[订单号],[产品型号代码],[变速器序列号],[发动机型号],[机型基本代码],[变速器总成号] ,[托盘号]
// [产品型号代码_MES],[变速器序列号_MES],[发动机型号_MES]
// [机床上电],[循环开始],[机床故障],[上料无件],[下料堵塞],[工件到位]
// [传递机型],[申请上件],[允许保存],[保存完成],[合格标志],[前序合格]
// [工号],[班次],[是否返修件],[合格放行],[不合格放行],[扫描条码]
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, MobyTagType.EngineTypeID, EngineTypeID.ToString());
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, MobyTagType.EngineType, EngineType);
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, MobyTagType.EngineID, EngineID);
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, MobyTagType.PartPallet_Code, PartPallet_Code.ToString());
//显示当前订单信息
SendMessage.ShowMoby(OpName);
if (EngineTypeID_MES == EngineTypeID & EngineID_MES == EngineID & EngineType_MES== EngineType)
{
MIS_BASE.Write_FixAllow(OpName, true);
//显示 显示绿脸
return;
}
else
{
SendMessage.AsyncSendMessage_Notice(OpName, "码块RFID机型与MES机型不匹配");
}
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function08:EngineTypeGetOver_PLC");
}
}
}
}

View File

@@ -0,0 +1,37 @@
using System;
using MesServerWork;
//using SystemFramework;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 返修放行
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
private void FalseGO(object e)
{
try
{
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
int tagValue = Convert.ToInt32(msgEvent.TagValue);
if (tagValue == 1)
{
MIS_BASE.Write_MaterialVerifyOver(OpName, true);//工作完成
SendInfomation("OrderFormList", "1", OpName);
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function08:FalseGO");
}
}
}
}

View File

@@ -0,0 +1,49 @@
using System;
using bizFacade;
//using SystemFramework;
using MesServerWork;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 保存完成(针对半自动和手动压装工位)
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
private void MesRead(object e)
{
try
{
int EngineTypeID;
string EngineType;
string EngineID;
int PartPallet_Code;
string OrderForm;
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
int tagValue = Convert.ToInt32(msgEvent.TagValue);
if (tagValue == 1)
{
MIS_BASE.GetEngineTypeFromPLC(OpName, out EngineTypeID, out EngineType, out EngineID, out PartPallet_Code, out OrderForm);
//保存数据到线首表
if (Db.UpLoadOpNameInsert(EngineID, EngineTypeID, EngineType, OpName))
{
MIS_BASE.Write_MesReadOver(OpName, true);
SendMessage.SendActuallyCount(OpName, tagValue);//统计在线产量,在线节拍
}
else
{
SendMessage.AsyncSendMessage_Notice(OpName, "保存上线数据失败!");
}
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function08:MesReadOver");
}
}
}
}

View File

@@ -0,0 +1,37 @@
using System;
using bizFacade;
//using SystemFramework;
using MesServerWork;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 保存完成(针对半自动和手动压装工位)
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
private void MesReadOver(object e)
{
try
{
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
int tagValue = Convert.ToInt32(msgEvent.TagValue);
if (tagValue == 1)
{
BaseDataSystemMES.Material_Insert(OpName, tagValue);
MIS_BASE.Write_ConfirmOkGo(OpName, true);
}
}
catch (Exception err)
{
////ApplicationLog.WriteLog(err, "Function08:MesReadOver");
}
}
}
}

View File

@@ -0,0 +1,309 @@
using System;
using MesServerWork;
using bizFacade;
//using SystemFramework;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 处理WEB页面发送过来的请求m_Command + "|" + m_Value;
/// </summary>
/// <param name="OpName"></param>
/// <param name="Content"></param>
public static void WebSubmit(object e)
{
try
{
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
string Content = Convert.ToString(msgEvent.TagValue);
string opName_SubLine = "";
string engineID = "";//工件信息
string[] dataArray = Content.Split('|');
if (dataArray.Length != 2)
return;
string m_Command = dataArray[0].ToString();//消息类型
string m_Value = dataArray[1].ToString();//消息参数
string[] m_Value_array = m_Value.Split('&');//消息参数数量
int m_Value_length = m_Value_array.Length; //消息参数长度
if (MIS_BASE.hashtable_EngineGetOver_EngineTypeID == null)
{
MIS_BASE.InitHashtable_MesServerCode();
}
if (MIS_BASE.hashtable_EngineGetOver_EngineID.ContainsKey(OpName))
{
engineID = MIS_BASE.hashtable_EngineGetOver_EngineID[OpName].ToString();
}
if (MIS_BASE.hashtable_OpNameRepair == null)
{
MIS_BASE.InitHashtable_MesServerCode();
}
//获取分线中间交互工位号
if (MIS_BASE.hashtable_OpNameRepair.ContainsKey(OpName))
{
opName_SubLine = MIS_BASE.hashtable_OpNameRepair[OpName].ToString();
}
//if (opName_SubLine == "")
//{
// return;
//}
DoWhatPlc.CustomeEvetnArgs _e = new DoWhatPlc.CustomeEvetnArgs();
_e.OpName = OpName;
_e.TagValue = m_Value;
//根据请求的命令处理逻辑
switch (m_Command)
{
case "Barcode":
if (m_Value_length > 1) return;
fun_Barcode(_e);
break;
case "ConfirmOkGo"://合格放行
//修改托盘状态
BaseDataSystemMES.BaseData_tagTable_Engine_IsNG_Delete(OpName, engineID);
MIS_BASE.Write_ConfirmOkGo(OpName, true);
MIS_BASE.Write_FalseGO(OpName, false);
break;
case "FalseGO"://返修放行
//修改托盘状态
BaseDataSystemMES.BaseData_tagTable_Engine_IsNG_Delete(OpName, engineID);
MIS_BASE.Write_FalseGO(OpName, true);
MIS_BASE.Write_ConfirmOkGo(OpName, false);
break;
case "NgGO"://不合格放行
//修改托盘状态
//保存不合格信息(必须保存不合格放行信息由于B5A的Moby没有不合格标志位)
BaseDataSystemMES.BaseData_tagTable_Engine_IsNG_Insert(OpName, engineID, "", "");
MIS_BASE.Write_FalseGO(OpName, true);
MIS_BASE.Write_ConfirmOkGo(OpName, false);
break;
case "OnLineState"://在线0、离线1、屏蔽2
try
{
if (m_Value_length > 1) return;
int a = Convert.ToInt32(m_Value);
if (a <= 2)
{
BaseDataSystemMES.IsOnLine_Update(OpName, m_Value.ToString());
MIS_BASE.Write_OnLineState(OpName, Convert.ToInt32(m_Value));
}
}
catch
{
}
break;
case "Reset"://复位将MES所有的信息都复位了
SetMoby(OpName);//将MES所有信号清空
break;
case "FixAllow"://重新拧紧
break;
case "IsAutoGetEngineID"://自动手动申请编号(线首)
if (m_Value_length > 1) return;
MIS_BASE.Write_IsAutoGetEngineID(OpName, Convert.ToInt32(m_Value));
break;
case "PartPalletGoOver"://空托盘放行
MIS_BASE.Write_RepairUpline_MES(opName_SubLine, true);
//MIS_BASE.Write_PalletInfo(opName_SubLine, 4);
//MIS_BASE.Write_UpdatePalletOK(opName_SubLine, true);
MIS_BASE.Write_MaterialVerifyOver(opName_SubLine, true);
break;
case "SetMoby"://清空托盘(线首)
SetMoby(OpName);//将MES所有信号清空
break;
case "RepairUplineMES"://返修上线
MIS_BASE.Write_RepairUpline_MES(OpName, true);
break;
case "CancelRepair"://将返修件置为正常件
break;
case "PartPalletCode"://申请写入托盘号
//MIS_BASE.Write_PartPalletCode_PLC(OpName, 1);
break;
case "WritePartPalletCode"://写入托盘号
if (m_Value_length > 1) return;
MIS_BASE.Write_PalletCode(OpName, Convert.ToInt32(m_Value));
break;
case "Normal"://启用正常拧紧工位
MIS_BASE.Write_Normal(OpName, 1);
MIS_BASE.Write_UnNormal(OpName, 0);
break;
case "UnNormal"://启用备用拧紧工位
MIS_BASE.Write_Normal(OpName, 0);
MIS_BASE.Write_UnNormal(OpName, 1);
break;
case "ResetDevice"://复位设备
MIS_BASE.Write_ResetDevice(OpName, true);
System.Threading.Thread.Sleep(1000);
MIS_BASE.Write_ResetDevice(OpName, false);
break;
case "IsNeedRepaire"://返修上线(返修上线点)
if (Convert.ToInt32(m_Value) == 1)
{
//修改托盘状态
MIS_BASE.Write_PalletInfo(OpName, 3);
//通知修改成功
MIS_BASE.Write_UpdatePalletOK(OpName, true);
IsNeedRepaire_OK(OpName);
}
else if (Convert.ToInt32(m_Value) == 0)
{
//直接给出工作完成
MIS_BASE.Write_MaterialVerifyOver(OpName, true);
}
break;
//强制匹配
case "ForceMatch":
if (Convert.ToInt32(m_Value) == 1)
{
ForceMatch(OpName);
}
break;
case "PalletGO":
if (Convert.ToInt32(m_Value) == 1)
{
//直接给出工作完成
MIS_BASE.Write_MaterialVerifyOver(opName_SubLine, true);
}
break;
case "ContinueMatch":
BaseDataSystemMES.QualityVerifyStatus_Hash_Write(OpName, true);
fun_EngineTypeGetOverPLC(_e);
break;
//初始化网页信号
case "IniSingalToWeb":
InitializeSingalToWeb(OpName);
break;
default: break;
}
}
catch(Exception err)
{
////ApplicationLog.WriteLog(err, "Function08:WebSubmit");
}
}
private static void SetMoby(string OpName)
{
try
{
//清空Moby时需要将MES信号清空
MIS_BASE.Write_ClearMesMoby(OpName);
BaseDataSystemMES.MesServer_Process_EngineTypeOver(OpName);
Sendmessage("5123", "1111", OpName);
MIS_BASE.Write_ResetDevice(OpName, true);
System.Threading.Thread.Sleep(1000);
MIS_BASE.Write_ResetDevice(OpName, false);
}
catch
{
}
}
/// <summary>
/// 网页重现登录,恢复关闭前的页面状态
/// </summary>
/// <param name="Opname">工位号</param>
private static void InitializeSingalToWeb(string Opname)
{
bool S_WorkStart;//工件到位 DBX0.1
bool S_EngineGetOver;//传递机型 DBX0.4
bool S_FixAllow;//允许工作 DBX3.1
bool S_MaterialVerifyOver;//工作完成 DBX2.3
int IsCompleted = 0;
int S_Match = 0;
int PalletInfo_SubLine = 0;//显示分线托盘状态
MIS_BASE.Read_WorkStart(Opname, out S_WorkStart);
if (S_WorkStart == true)
{
SendInfomation("WorkStart", Convert.ToString(Convert.ToInt32(S_WorkStart)), Opname);
sendmessage(Opname, Convert.ToInt32(S_WorkStart), "WorkStart_Subline");
}
sendmessage(Opname, Convert.ToInt32(S_WorkStart), "EngineTypeGetOverMES_Subline");
MIS_BASE.Read_EngineGetOver_PLC(Opname, out S_EngineGetOver);
if (S_EngineGetOver == true)
{
SendInfomation("EngineTypeGetOverPLC", Convert.ToString(Convert.ToInt32(S_EngineGetOver)), Opname);
sendmessage(Opname, Convert.ToInt32(S_EngineGetOver), "EngineTypeGetOverMES_Subline");
}
MIS_BASE.Read_FixAllow(Opname, out S_FixAllow);
if (S_FixAllow == true)
{
SendInfomation("FixAllow", Convert.ToString(Convert.ToInt32(S_FixAllow)), Opname);
}
MIS_BASE.Read_MaterialVerifyOver(Opname, out S_MaterialVerifyOver);
if (S_MaterialVerifyOver == true)
{
SendInfomation("MaterialVerifyOver", Convert.ToString(Convert.ToInt32(S_MaterialVerifyOver)), Opname);
}
MIS_BASE.Read_MatchingCompleted(Opname, out IsCompleted); //DBX1.3 是否匹配
MIS_BASE.Read_Match(Opname, out S_Match); //DBX1.4 匹配结果
if (IsCompleted == 1 && S_Match == 1)//发送匹配完成和匹配结果信息
{
SendInfomation("MatchingCompleted", "1", Opname);
SendInfomation("Match", "1", Opname);
SendInfomation("MatchSuccess", "1", Opname);//界面显示匹配成功
}
else if (IsCompleted == 1 && S_Match == 0)
{
SendInfomation("MatchSuccess", "0", Opname);//界面显示匹配失败
}
if (MIS_BASE.hashtable_OpNameRepair == null)
{
MIS_BASE.InitHashtable_MesServerCode();
}
string Opname_SubLine = "";
if (MIS_BASE.hashtable_OpNameRepair.ContainsKey(Opname))
{
Opname_SubLine = MIS_BASE.hashtable_OpNameRepair[Opname].ToString();
}
if (Opname_SubLine == "")
{
return;
}
MIS_BASE.Read_PalletInfo(Opname, out PalletInfo_SubLine);
sendmessage(Opname, PalletInfo_SubLine, "SubQualityMask");
SendInfomation("ShowMobySubLine", Opname_SubLine, Opname);//显示分线机型及流水号
}
//分线发送工件到位信号函数
private static void sendmessage(string OpName, int tagValue, string Command)
{
string SendMessage;
SendMessage = "MES|" + Command + "|" + OpName + "|" + tagValue;
AsyncSendMessage(SendMessage);
}
}
}

View File

@@ -0,0 +1,59 @@
using System;
using bizFacade;
using MesServerWork;
//using SystemFramework;
namespace MesServerFunctions
{
partial class Functions_BASE_WebSubmit
{
/// <summary>
/// 工件到位与离开时清空MES自身信号
/// </summary>
/// <param name="OpName"></param>
/// <param name="tagValue"></param>
private void WorkStart(object e)
{
try
{
DoWhatPlc.CustomeEvetnArgs msgEvent = (DoWhatPlc.CustomeEvetnArgs)e;
string OpName = Convert.ToString(msgEvent.OpName);
int tagValue = Convert.ToInt32(msgEvent.TagValue);
//线首显示订单信息
if (tagValue == 1)
{
//清空MOBY的产品流水号
// 北汽福田工位状态监控MOBY_增加
// 工位号],[订单号],[产品型号代码],[变速器序列号],[发动机型号],[机型基本代码],[变速器总成号] ,[托盘号]
// [产品型号代码_MES],[变速器序列号_MES],[发动机型号_MES]
// [机床上电],[循环开始],[机床故障],[上料无件],[下料堵塞],[工件到位]
// [传递机型],[申请上件],[允许保存],[保存完成],[合格标志],[前序合格]
// [工号],[班次],[是否返修件],[合格放行],[不合格放行],[扫描条码]
//[到达时间],[离开时间],[持续时间]
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, MobyTagType.WorkStartIn, DateTime.Now.ToString());
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, MobyTagType.EngineID, tagValue.ToString());
//5 显示订单、机型信息
SendMessage.ShowMoby(OpName);
//3显示操作指导图片
SendMessage.PicShow(OpName);
//1直接在界面通过选择机型确认工序内容
SendMessage.ProcessList(OpName);
}
else if (tagValue == 0)
{
BaseDataSystemMES.OpName_MIS_MOBY_Insert(OpName, MobyTagType.WorkStartOut, DateTime.Now.ToString());
}
}
catch(Exception err)
{
////ApplicationLog.WriteLog(err, "Function08:WorkStart");
}
}
}
}

Binary file not shown.

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("WebSubmit")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("WebSubmit")]
[assembly: AssemblyCopyright("Copyright © 2023")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("624f0e91-00f5-4ed9-8537-8f9eaaef2f1f")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]