今日提交

master
nodyang 1 year ago
parent 01025812a6
commit f55495ddf1

@ -0,0 +1,63 @@
namespace Mesnac.Controls.ChemicalWeighing
{
partial class Fay
{
/// <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 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Fay));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(80, 80);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// Fay
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.pictureBox1);
this.Name = "Fay";
this.Size = new System.Drawing.Size(80, 80);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
}
}

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
public partial class Fay : UserControl
{
public Fay()
{
InitializeComponent();
}
}
}

@ -0,0 +1,242 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADoAAACHCAYAAABH70qDAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAABsQSURBVHhe3V1Ld5Vllj69Vteg13LQEwfdMwfdUwc19g9wUQShoAQvZXExgSQkQQmhIEABAbkY
QCFAAAVFtJYICAFSgCAoNiAXXSAaCGD3pAfdA9fqgbWWb+9nX97L970pc+IhKoPNOfnO7X149uXZ+/3O
dyrOuRGxUaNGuVpa8f1/zLIH74dhcfWNDW7+wgVu5epVbsvWre7d9951fX/tc/9x4YK7fuO6Gxi44769
d8/dvXvX3fz6a/f555+7Ux+dcvvf3+96dvS4NWvWuoV/WvTLB1pLK77/j1n24P02LLSptcUt71zpenbu
dEd6e92Fi5dcf3+/+/bbe+72wIC7cuWKO97X5958c7dbvXr1sMDFlj14vw2Lntva6pavFKCHCejFSwb0
Wzdw+7a7fPmyO35cgK76NQP1jO7aoUAvum9uBaBXLl9xfcroqtWvPBhAjxwloN51Fai67hu/ekbnRTF6
9IgwqkBvK6Pmuqt//Yx2SowSoxcuXvSMAujlBOgDEaNgNAC9h6x7W7IuYhSu+6tmdG4co1xeCKgmI3Nd
SUZv/jKA1jc0VBpbmisvtc2vLFy8qLJsxYrK6rVrKhte21TZun1b5Y09uyv7/vJe5cChg5VjfccrH50+
LUDjGO2lGCWgHKP3KBkN5GP04oULlbNnz1VOnDhZOXLkSGX//v3ZNeUse7AaA9AmAjrPA13OQLsY6PbK
mwSUpB4BPQSAvyU7jkUP0/Da3548CaC9lfffH0GgdQ1zKk2tymjHYg90w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>
</Compile>
<Compile Include="Fay.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Fay.Designer.cs">
<DependentUpon>Fay.cs</DependentUpon>
</Compile>
<Compile Include="FenChaXian.cs">
<SubType>UserControl</SubType>
</Compile>
@ -156,6 +162,12 @@
<Compile Include="LouDou.Designer.cs">
<DependentUpon>LouDou.cs</DependentUpon>
</Compile>
<Compile Include="MoFenJi.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="MoFenJi.Designer.cs">
<DependentUpon>MoFenJi.cs</DependentUpon>
</Compile>
<Compile Include="PControl.cs">
<SubType>UserControl</SubType>
</Compile>
@ -182,6 +194,24 @@
<Compile Include="SheBei.Designer.cs">
<DependentUpon>SheBei.cs</DependentUpon>
</Compile>
<Compile Include="SwitchLight.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="SwitchLight.Designer.cs">
<DependentUpon>SwitchLight.cs</DependentUpon>
</Compile>
<Compile Include="SwithDMLight.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="SwithDMLight.Designer.cs">
<DependentUpon>SwithDMLight.cs</DependentUpon>
</Compile>
<Compile Include="SwithHostLight.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="SwithHostLight.Designer.cs">
<DependentUpon>SwithHostLight.cs</DependentUpon>
</Compile>
<Compile Include="ThreeWayValve.cs">
<SubType>UserControl</SubType>
</Compile>
@ -306,6 +336,12 @@
<Compile Include="WayValve.Designer.cs">
<DependentUpon>WayValve.cs</DependentUpon>
</Compile>
<Compile Include="Xie.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="Xie.Designer.cs">
<DependentUpon>Xie.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="AlarmLightNew.resx">
@ -317,6 +353,9 @@
<EmbeddedResource Include="Dou.resx">
<DependentUpon>Dou.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Fay.resx">
<DependentUpon>Fay.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FenChaXian.resx">
<DependentUpon>FenChaXian.cs</DependentUpon>
</EmbeddedResource>
@ -342,6 +381,9 @@
<EmbeddedResource Include="LouDou.resx">
<DependentUpon>LouDou.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MoFenJi.resx">
<DependentUpon>MoFenJi.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="PControl.resx">
<DependentUpon>PControl.cs</DependentUpon>
</EmbeddedResource>
@ -354,6 +396,15 @@
<EmbeddedResource Include="SheBei.resx">
<DependentUpon>SheBei.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SwitchLight.resx">
<DependentUpon>SwitchLight.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SwithDMLight.resx">
<DependentUpon>SwithDMLight.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SwithHostLight.resx">
<DependentUpon>SwithHostLight.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ThreeWayValve.resx">
<DependentUpon>ThreeWayValve.cs</DependentUpon>
</EmbeddedResource>
@ -409,6 +460,9 @@
<EmbeddedResource Include="Wan.resx">
<DependentUpon>Wan.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Xie.resx">
<DependentUpon>Xie.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\AlarmLight.bmp" />
@ -513,6 +567,7 @@
<EmbeddedResource Include="Resources\leftTong.png" />
<EmbeddedResource Include="Resources\rightTong.png" />
<EmbeddedResource Include="Resources\fenchaxian.png" />
<Content Include="Resources\fay.png" />
<Content Include="Resources\qiguan.png" />
<EmbeddedResource Include="Resources\ThreeWayValve0.png" />
<EmbeddedResource Include="Resources\ThreeWayValve1.png" />
@ -527,8 +582,10 @@
<Content Include="Resources\switch_failure.png" />
<Content Include="Resources\switch_ok.png" />
<Content Include="Resources\swith_default.png" />
<Content Include="Resources\xie.png" />
<Content Include="Resources\拆包机.png" />
<EmbeddedResource Include="Resources\loudou.png" />
<Content Include="Resources\磨粉机.png" />
<Content Include="Resources\输送带.png" />
<EmbeddedResource Include="Resources\Trucks.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>

@ -0,0 +1,67 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
partial class MoFenJi
{
/// <summary>
/// Required designer variable.
/// </summary>
private 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 Component 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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MoFenJi));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(112, 61);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// MoFenJi
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.pictureBox1);
this.Name = "MoFenJi";
this.Size = new System.Drawing.Size(112, 61);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private PictureBox pictureBox1;
}
}

@ -0,0 +1,12 @@
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
public partial class MoFenJi : UserControl
{
public MoFenJi()
{
InitializeComponent();
}
}
}

@ -0,0 +1,185 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAABGdBTUEAALGPC/xhBQAADZJJREFUeF7t
nXmsJEUdx58Icqjw9r2u7up5LzCvu3aXLIcKQvAgrEb/EO/jD08MGDXxjCFiROWICV5REo94csXggaJg
AEFxXTRZjCgBI2s0qJh1RQFXg0LW5fJX7/1mmamt7pnp6emumvp+km9e8uZX1VW/qu901XRPzxwAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC4zUqaHpGl4oJcxn/JpXjMVSkpfqcScXaeJDE3HYDpomR8vm0y
uq5MitO5CwBMh1xGZ9omny8ik5zKXQGgXjZG0VNpkj1oTjrPtJ27A0C9qDR+k2XC+ackOZq7BEB90PLk
89YJ55myRJzBXQKgPvI0/oZtwvmmTEbncJfALLGSipNpk/xFGuStLeleknXSkS5VMtrsiqg91xrt69cO
kq1/rSpLxdd023m4waioNDqOEvgbkm2wnZCS8XncXCfQk83WTh+kr92syMUTuSugDL2hpKQ5/8mRvjbC
TXYCmmQX2drpkXZnSXIMdwcUQevlX1iS56K26rOIK6L23Gq0z0fdwtMA2NDvIJakQQFJSXkUTwdgQu+E
77AlDQpIafQ2ng7AZO1mQEvSoIAUfZKnAzDJZPxpe9JWdb350SbkpzIprrCM76r0p3E8HYBJlsSfsSWN
dSmHAc9RibjQMr49XcJhwAQGCQMYpCIwSBjAIBWBQcIABqkIDBIGMEhFYJAwgEEqAoOEAQxSERgkDGCQ
isAgYQCDVAQGCQMYpCIwSBjAIBWBQ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Ao
AQYBoAQYBIASYBAASoBBACgBBgGgBBikRSj5p6pEfFA/ZIL/BUZEJdHLVCrOVknycv7XVIBBWqA7Pz9P
ib/JaOd2JRc2cQgooODBHL/WzzHjkFqBQVogT+Ov2NqZJeIGDgEFUJ6+beZNS0nxHQ6pFRikBahNu8w2
9qT7wmHAYPPc3P6Uo0fMnPWkJyWH1gYM0gLUpsIfEdW/KcFhwGCTEE+x5aynbN26wzi0NmCQFshlfLWt
nbTpvI1DQAGUpy1m3rT0no5DagUGaQH+/ZD7zHaqJHoph4ACso54LuXqP0buHlAyOoVDagUGaYmNUdRZ
/R3AJPq+fjAA9eEofgkMQX9iRbk7l8b2Sv2U/a6UXX6pdmAQAEqAQQAoAQYBoAQYBIASYBAASoBBAChh
Jgxy5NLSoq0RPeHZvFB1zcCzeZeXlw+2NQKCXFWjZxANHdS8ugpBzqp5g6TRVbaGQJCLavw3Cmkzdaqt
IRDkoho/g2jowPhtdMgLtWIQ/mjtp2ZjIMg1tWKQHvohCHkSf4ka8jPSPf0NgyAX1PgeBACXcOpCIQCu
AYMAUAIMAsAQbMboScVxzmEAhAkZYYdpDNae4+fmDuAwAMJknxsdWVkSfZ1DAAgblYgLBwySiq92Op1D
+GUAgFpYOFQlyUnd7vw8/wsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADARebm/g+KcZqtx62rzgAAAABJ
RU5ErkJggg==
</value>
</data>
</root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -0,0 +1,64 @@
namespace Mesnac.Controls.ChemicalWeighing
{
partial class SwitchLight
{
/// <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 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SwitchLight));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Margin = new System.Windows.Forms.Padding(4);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(20, 20);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 2;
this.pictureBox1.TabStop = false;
//
// SwitchLight
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.pictureBox1);
this.Name = "SwitchLight";
this.Size = new System.Drawing.Size(20, 20);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
}
}

@ -0,0 +1,142 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{ /// <summary>
/// 开关灯
/// </summary>
[ToolboxBitmap(typeof(AlarmLight), "Resources.AlarmLight.bmp")]//新添加的代码
public partial class SwitchLight : ChemicalWeighingControl
{
bool bNewPic = false;
string _statusName;
public string StatusName
{
get
{
return _statusName;
}
set
{
_statusName = value;
}
}
public enum Statuses
{
ylNormal = 0, ylMove = 1, ylAlarm = 2
}
Statuses _status;
string[] sImages;
public SwitchLight() : base()
{
InitializeComponent();
Init();
ReloadStream();
}
protected override void Init()
{
base.Init();
_imageStream = null;
sImages = new string[3];
sImages[0] = "Mesnac.Controls.ChemicalWeighing.Resources.AlarmLightNewGray.png";//
sImages[1] = "Mesnac.Controls.ChemicalWeighing.Resources.AlarmLightNewGreen.png";//
sImages[2] = "Mesnac.Controls.ChemicalWeighing.Resources.AlarmLightNewRed.png";//
_status = Statuses.ylNormal;
}
private void ReloadStream()
{
//CloseStream();
int nIndex = (int)_status;
_imageStream = _assembly.GetManifestResourceStream(sImages[nIndex]);
}
public Statuses Status
{
get
{
return _status;
}
set
{
if (bFirstCreated == true)
{
bFirstCreated = false;
}
//if (_status != value &&(this.Size.Width != 150 || this.Size.Height != 150) )
if (_status != value)
{
if (this.DesignMode == true)
{
bNewPic = true;
}
}
if ((int)value < 0)
{
_status = (Statuses)0;
}
else if ((int)value > 2)
{
_status = (Statuses)2;
}
else
{
_status = value;
}
ReloadStream();
Reload();
}
}
private void Reload()
{
if (_imageStream != null)
{
Image img = Image.FromStream(_imageStream);
if (bNewPic == true)
{
//this.Size = img.Size;
bNewPic = false;
}
pictureBox1.Image = img;
pictureBox1.Refresh();
}
}
protected override void OnPaint(PaintEventArgs e)
{
if (_imageStream != null)
{
Graphics g = e.Graphics;
Image img = Image.FromStream(_imageStream);
if (bNewPic == true)
{
//this.Size = img.Size;
bNewPic = false;
}
g.DrawImage(img, 0, 0, this.Width, this.Height);
}
}
private void PressureSwitch_Load(object sender, EventArgs e)
{
if (bFirstCreated == true && this.DesignMode == true)
{
bNewPic = true;
bFirstCreated = false;
Reload();
}
}
}
}

@ -0,0 +1,225 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing"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werWtow0C5
MFFNyqXeWpytu8tACrgpzntOI0HjzIL2LwM5o4WdmdGEvhF2WkGQfoGck0HxXeX2cPi06Bj8RArN3DUa
AQ7rdPbc4u4L7TY7VDrts3X7LlpOyrQpVg0SNEZdewIYN/moqM2r+dHhVy8ZCBAyKCL1m6DTDt8Ec7Ll
BCAAmdF8QRNV3S47n8jKWnYcz+A9ejovIF7dXQJBNxvx7N7I+o1he2D/YWCAQEhXZOY7Eb3hEanDOc16
5SSapWN+XvKKJiiY0fY+11DUoOpZzpuK6YpMnIisjAtdPwybA/8vHBcBJKUrov+jcAKgbmC05BTRlAHZ
QDeRJvnt0J4zeT5H/aDtoaDQuNBrCLz4/1RzCUBSuiK63wsq3RJRXRiOHMzIpnBUJyJNx4noB5UOBeBV
cdndFtn+Sei8aAAplwOkKV0xB10XhfmHoN4/4zIdG7WxNDK2Ll43h2wJyqwPp1dE7UyO5nBbUOuPIf5L
E/5fkvOfy/jqf0GYjBlWbG5QAAAAAElFTkSuQmCC
</value>
</data>
</root>

@ -0,0 +1,67 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
partial class SwithDMLight
{
/// <summary>
/// Required designer variable.
/// </summary>
private 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 Component 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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SwithDMLight));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Margin = new System.Windows.Forms.Padding(2);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(46, 46);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 1;
this.pictureBox1.TabStop = false;
//
// SwithDMLight
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.pictureBox1);
this.Name = "SwithDMLight";
this.Size = new System.Drawing.Size(46, 46);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
private System.Windows.Forms.PictureBox pictureBox1;
#endregion
}
}

@ -0,0 +1,86 @@
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
[ToolboxBitmap(typeof(SwithDMLight), "Resources.AlarmLight.bmp")]//新添加的代码
public partial class SwithDMLight : ChemicalWeighingControl
{
private string[] sImages = new string[3];
private bool _running;
private bool _alarm;
public SwithDMLight()
{
InitializeComponent();
_assembly = Assembly.GetExecutingAssembly();
sImages[0] = "Mesnac.Controls.ChemicalWeighing.Resources.AlarmLightNewGray.png";//
sImages[1] = "Mesnac.Controls.ChemicalWeighing.Resources.AlarmLightNewGreen.png";//
sImages[2] = "Mesnac.Controls.ChemicalWeighing.Resources.AlarmLightNewRed.png";//
}
public string RunningName { get; set; }
public string AlarmName { get; set; }
public bool Running
{
get => _running;
set
{
_running = value;
R();
}
}
public bool Alarm
{
get => _alarm;
set
{
_alarm = value;
R();
}
}
private void Reload()
{
if ( _imageStream != null )
{
Image img = Image.FromStream( _imageStream);
pictureBox1.Image = img;
pictureBox1.Refresh();
}
}
private void ReloadStream()
{
int defaultIndex = 0;
//如果出现报警 就去判断是直还是斜
if (Alarm)
{
defaultIndex = 2;
}
else
{
if (Running)
{
defaultIndex = 1;
}
}
_imageStream = _assembly.GetManifestResourceStream(sImages[defaultIndex]);
}
private void R()
{
ReloadStream();
Reload();
}
}
}

@ -0,0 +1,225 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArou
S49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5RqP+6+Dcl7u0i
vQr43DOI1veH7a/8UuoAYMyKarPrD1vMfgA6tgIgd/8Pm+YhACRFfWu/8cV5aOJ5iRcIUm2MjTMzM424
HJaRuKC/6386/A198T0j8Xa/l4fuyollCpMEdHHdWClJKUI+PT2VyeLQDf88xP848K/zWBrIieXwOTxR
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CXK+xoNjoTdnjVegGJer4pfO39I7bftZoLJLJwp3HeQ6gVN2cdEZlxB+B3m/H/l9AvE2wDISNACG7c
G+Fiy58VOjNyTrqiDY/J0UI3kxnfLXQORi7UAC5V6DXGuKDRmj2f+RF1MjcC6q9W5/+hpw8gsnJVRGKO
+cjc5AuTb3tE4YlOnLuk7Nx1113nrdFjGkBrcxQQ6JwzWzSgxdF8/Mm6F6VS+gRCotV9MZwerWtow0C5
MFFNyqXeWpytu8tACrgpzntOI0HjzIL2LwM5o4WdmdGEvhF2WkGQfoGck0HxXeX2cPi06Bj8RArN3DUa
AQ7rdPbc4u4L7TY7VDrts3X7LlpOyrQpVg0SNEZdewIYN/moqM2r+dHhVy8ZCBAyKCL1m6DTDt8Ec7Ll
BCAAmdF8QRNV3S47n8jKWnYcz+A9ejovIF7dXQJBNxvx7N7I+o1he2D/YWCAQEhXZOY7Eb3hEanDOc16
5SSapWN+XvKKJiiY0fY+11DUoOpZzpuK6YpMnIisjAtdPwybA/8vHBcBJKUrov+jcAKgbmC05BTRlAHZ
QDeRJvnt0J4zeT5H/aDtoaDQuNBrCLz4/1RzCUBSuiK63wsq3RJRXRiOHMzIpnBUJyJNx4noB5UOBeBV
cdndFtn+Sei8aAAplwOkKV0xB10XhfmHoN4/4zIdG7WxNDK2Ll43h2wJyqwPp1dE7UyO5nBbUOuPIf5L
E/5fkvOfy/jqf0GYjBlWbG5QAAAAAElFTkSuQmCC
</value>
</data>
</root>

@ -0,0 +1,67 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
partial class SwithHostLight
{
/// <summary>
/// Required designer variable.
/// </summary>
private 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 Component 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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SwithHostLight));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(69, 69);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// SwithHostLight
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.pictureBox1);
this.Name = "SwithHostLight";
this.Size = new System.Drawing.Size(69, 69);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
}
}

@ -0,0 +1,91 @@
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
[ToolboxBitmap(typeof(SwithHostLight), "Resources.AlarmLight.bmp")]//新添加的代码
public partial class SwithHostLight : ChemicalWeighingControl
{
private string[] sImages = new string[3];
private bool _m;
private bool _t;
private bool _s;
public SwithHostLight()
{
InitializeComponent();
_assembly = Assembly.GetExecutingAssembly();
sImages[0] = "Mesnac.Controls.ChemicalWeighing.Resources.AlarmLightNewGray.png";//
sImages[1] = "Mesnac.Controls.ChemicalWeighing.Resources.AlarmLightNewGreen.png";//
}
/// <summary>
/// 电机Runing 3种状态
/// </summary>
public string MName { get; set; }
public string TName { get; set; }
public string SName { get; set; }
public bool M
{
get => _m;
set
{
_m = value;
R();
}
}
public bool T
{
get => _t;
set
{
_t = value;
R();
}
}
public bool S
{
get => _s;
set
{
_s = value;
R();
}
}
private void Reload()
{
if ( _imageStream != null )
{
Image img = Image.FromStream( _imageStream);
pictureBox1.Image = img;
pictureBox1.Refresh();
}
}
private void ReloadStream()
{
int defaultIndex = 0;
//如果出现报警 就去判断是直还是斜
if (M && (S || T))
{
defaultIndex = 1;
}
_imageStream = _assembly.GetManifestResourceStream(sImages[defaultIndex]);
}
private void R()
{
ReloadStream();
Reload();
}
}
}

@ -0,0 +1,225 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArou
S49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+L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QZ2J8/2X4/tnPQd3d3TUQEkU/
VMoc1MGSYoq0P4qlAEM4lpRrCsebzjvbHwDCrjtHUAHJOym667Tw+fMf6PwclB/27NnztSj6LXkrG8Hd
LbIktZxoM9YpmaF01mvzvf0LASDs6Z6akGuBT5pQZKM77r/vh8+f/2Sq/eYHEgd+DbGRHBeN33hJiY4z
UDCXK+xoNjoTdnjVegGJer4pfO39I7bftZoLJLJwp3HeQ6gVN2cdEZlxB+B3m/H/l9AvE2wDISNACG7c
G+Fiy58VOjNyTrqiDY/J0UI3kxnfLXQORi7UAC5V6DXGuKDRmj2f+RF1MjcC6q9W5/+hpw8gsnJVRGKO
+cjc5AuTb3tE4YlOnLuk7Nx1113nrdFjGkBrcxQQ6JwzWzSgxdF8/Mm6F6VS+gRCotV9MZwerWtow0C5
MFFNyqXeWpytu8tACrgpzntOI0HjzIL2LwM5o4WdmdGEvhF2WkGQfoGck0HxXeX2cPi06Bj8RArN3DUa
AQ7rdPbc4u4L7TY7VDrts3X7LlpOyrQpVg0SNEZdewIYN/moqM2r+dHhVy8ZCBAyKCL1m6DTDt8Ec7Ll
BCAAmdF8QRNV3S47n8jKWnYcz+A9ejovIF7dXQJBNxvx7N7I+o1he2D/YWCAQEhXZOY7Eb3hEanDOc16
5SSapWN+XvKKJiiY0fY+11DUoOpZzpuK6YpMnIisjAtdPwybA/8vHBcBJKUrov+jcAKgbmC05BTRlAHZ
QDeRJvnt0J4zeT5H/aDtoaDQuNBrCLz4/1RzCUBSuiK63wsq3RJRXRiOHMzIpnBUJyJNx4noB5UOBeBV
cdndFtn+Sei8aAAplwOkKV0xB10XhfmHoN4/4zIdG7WxNDK2Ll43h2wJyqwPp1dE7UyO5nBbUOuPIf5L
E/5fkvOfy/jqf0GYjBlWbG5QAAAAAElFTkSuQmCC
</value>
</data>
</root>

@ -0,0 +1,68 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
partial class Xie
{
/// <summary>
/// Required designer variable.
/// </summary>
private 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 Component 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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Xie));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(100, 50);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// Xie
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.pictureBox1);
this.Name = "Xie";
this.Size = new System.Drawing.Size(100, 50);
this.Load += new System.EventHandler(this.Xie_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private PictureBox pictureBox1;
}
}

@ -0,0 +1,17 @@
using System.Windows.Forms;
namespace Mesnac.Controls.ChemicalWeighing
{
public partial class Xie : UserControl
{
public Xie()
{
InitializeComponent();
}
private void Xie_Load(object sender, System.EventArgs e)
{
}
}
}

@ -0,0 +1,169 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMsAAABZCAYAAACQVdB7AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAndSURBVHhe5d29q2VXGcfxSBixiMRCGzHJxEJttNQugrFIYQKRgI5iayshRQJi6QuksNEmTVKY
Cf4FapFGsEk5jURQxJfCl0KwUIeQ6/MMz3NZZ93vOXvttddae+21ig+ZrLP3eX6/B3Jy586Zcx+6urqa
0t27b9X0MXFHf02zWwny1NBFRxfkquFBVxw8g2gZJb0gfic+rv9Os1uxPDV009FZrhquu+LgGQTLKEVf
fX4ursS37Qxnt+IZCuquo/MsBd3oioNnoOUL0lefvwld7K/FB8SDx2h2K56hkC47Os9SCHbFwTPQ8gWE
rz7qP+LT4voamt1KmGODrju6MM8GF7vi4Bn4AjYIX33cd8XJdTS7lThLhu47ujhThsWuOHgG4RJWil99
3D1xS5xcT7NbibOscJiOLs60QnJXHDyDcAkr0KuPek98Qdy4h2a3QnkSHKqjo1wJVnXFwTOIF7Hg3KuP
+7Gg+3B2K5TngkN2dJTrgqyuOHgGtIwzzr36uD+KRwTdi7NboTxnHLajo1xnZHfFwTOgZUSWXn3cM4Lu
f4Bmt0J5Iofv6ChXZHNXHDwDWkZg6dXH/UzQ/ddodiuUJzBER0e5AkW64uAZ0DJE6quP+of4qKDnuUaz
W6E8YqiOjnKJol1x8AxgGamvPu5bgp7nBM1uBfIM19FBruJdcfAMgiWsefVxvxThc5xFs1sJcgzb0QV5
qnXFwTOwBax99VH/FrfFySLPodmtWIahOzrLUrUrDp6BLeBVQQu85EVxssRLaHYrlmHojs6yVO2Kg2dg
C9B3k+p3QGiJ5B3xsDhZ4iU0uxXLMHRHZ1mqdsXBMwiW8EHxtqBlhu6Lz4nw3kU0u5Ugx7AdXZCnWlcc
PINoEY+Ke4KW6r4v4vsW0exWoixDdnRRpipdcXBPKHQlnxB/FrTY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23QMu5Qz/MQFJi1U0sDXKdcEhOzrKd8Ghu+4BlwJWL1bRwNYo1xmH7ego3xmH77oHXEoka7GK
BrZGucChOzrKB4bougdcSiB7sYoGtka5Iofv6ChfZJiue8ClmE2LVTSwNcoVGKKjo3yBobruAZciNi9W
0cDWKJcZpqOjfGa4rnugpRRZrKKBrVEuMVRHR/nEkF33EC+k2GIVDWwNcg3X0UG+YbvuIVxG0cUqGtha
lGnIji7KNnTXPfgiii9W0cDWgjzDdnRBruG77kGXUGWxiga2ZlmG7ugs0xRd96BL0I+pKb5YRQNbsyxD
d3SWaYqu7V099H9Grb8Od13qugAAAABJRU5ErkJggg==
</value>
</data>
</root>

@ -420,6 +420,27 @@
</Propertys>
</Component>
<Component Name="SwitchLight" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="StatusName" Caption="状态" Group="开关" ControlPropertyName="Status"/>
</Propertys>
</Component>
<Component Name="SwithHostLight" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="MName" Caption="状态M" Group="开关状态" ControlPropertyName="M"/>
<Property Name="TName" Caption="状态T" Group="开关状态" ControlPropertyName="T"/>
<Property Name="SName" Caption="状态S" Group="开关状态" ControlPropertyName="S"/>
</Propertys>
</Component>
<Component Name="SwithDMLight" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="AlarmName" Caption="故障状态" Group="开关状态" ControlPropertyName="Alarm"/>
<Property Name="RunningName" Caption="运行状态" Group="开关状态" ControlPropertyName="Running"/>
</Propertys>
</Component>
</Components>

@ -1663,8 +1663,62 @@
<Property Name="Size" Caption="大小" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
<Component Name="Xie" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
<Component Name="SwitchLight" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
<Component Name="MoFenJi" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
<Component Name="SwithHostLight" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
<Component Name="SwithDMLight" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
<Component Name="Fay" Namespace="Mesnac.Controls.ChemicalWeighing" Asm="Mesnac.Controls.ChemicalWeighing.dll">
<Propertys>
<Property Name="Location" Caption="位置" Group=""/>
<Property Name="Name" Caption="名称" Group=""/>
<Property Name="Size" Caption="大小" Group=""/>
</Propertys>
<DataBinding>
</DataBinding>
</Component>
</Components>

@ -1,6 +1,24 @@
<Object type="Mesnac.Gui.Common.FrmRunTemplate, Mesnac.Gui.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Form1" children="Controls">
<Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel1" children="Controls">
<Object type="Mesnac.Controls.ChemicalWeighing.SwithHostLight, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="SwithHostLight1" children="Controls">
<Property name="MName" />
<Property name="TName" />
<Property name="SName" />
<Property name="Location">129, 798</Property>
<Property name="Name">SwithHostLight1</Property>
<Property name="Size">18, 24</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.Xie, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="Xie1" children="Controls">
<Property name="Location">79, 516</Property>
<Property name="Name">Xie1</Property>
<Property name="Size">56, 26</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.ThreeWayValve, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="ThreeWayValve2" children="Controls">
<Property name="Location">297, 718</Property>
<Property name="Name">ThreeWayValve2</Property>
<Property name="Size">101, 51</Property>
</Object>
<Object type="Mesnac.Controls.ChemicalWeighing.FenChaXian, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="FenChaXian1" children="Controls">
<Property name="Location">319, 186</Property>
<Property name="Name">FenChaXian1</Property>
@ -16,10 +34,11 @@
<Object type="Mesnac.Controls.ChemicalWeighing.HslConveyer, Mesnac.Controls.ChemicalWeighing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="HslConveyer1" children="Controls">
<Property name="Text">HslConveyer1</Property>
<Property name="ForeColor">142, 196, 216</Property>
<Property name="MoveSpeed">-3</Property>
<Property name="CircularRadius">20</Property>
<Property name="Location">195, 574</Property>
<Property name="Location">419, 127</Property>
<Property name="Name">HslConveyer1</Property>
<Property name="Size">461, 61</Property>
<Property name="Size">299, 61</Property>
</Object>
<Object type="Mesnac.Controls.Feeding.PressureSwitch, Mesnac.Controls.Feeding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" name="PressureSwitch1" children="Controls">
<Property name="StatusName" />

File diff suppressed because it is too large Load Diff

@ -123,12 +123,14 @@
<!-- <ToolComponent chineseName="横向管道" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.HslPipeLineH" />-->
<!-- <ToolComponent chineseName="纵向管道" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.HslPipeLineV" />-->
<ToolComponent chineseName="直斜管道" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.ThreeWayValve" />
<ToolComponent chineseName="分叉线" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.FenChaXian" />
<ToolComponent chineseName="榄菊开关" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.LjSwith" />
<ToolComponent chineseName="榄菊3斜线" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.Xie" />
<ToolComponent chineseName="榄菊开关灯" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.SwitchLight" />
<ToolComponent chineseName="榄菊磨粉机" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.MoFenJi" />
<ToolComponent chineseName="榄菊设备电机开关" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.SwithHostLight" />
<ToolComponent chineseName="榄菊设备DM电机开关" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.SwithDMLight" />
<ToolComponent chineseName="榄菊设备Fay" assembly="3" enabled="True" class="Mesnac.Controls.ChemicalWeighing.Fay" />
</Category>

Loading…
Cancel
Save