Merge branch 'main' of http://intechrnd.iptime.org:3000/SJ84/INT_PT002
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
After Width: | Height: | Size: 3.0 MiB |
|
@ -188,11 +188,11 @@ namespace INT_PT002.Controls
|
|||
if (bValue == true)
|
||||
this.UpdateDotGraphDisplay(diff, disp);
|
||||
}
|
||||
public void UpdateStartLeakDataDisplay(DiffData diff, DispData disp, Define.E_JudgmentStatus judg)
|
||||
public void UpdateStartLeakDataDisplay(DiffData diff, DispData disp, LeakResult judg)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
value = judg.ToString();
|
||||
value = judg.Result.ToString();
|
||||
if (this.labelResult.Text != value)
|
||||
this.labelResult.Text = value;
|
||||
|
||||
|
|
|
@ -231,13 +231,6 @@ namespace INT_PT002.Controls
|
|||
|
||||
this.labelRemainIndex.Text = "0";
|
||||
this.labelTotalIndex.Text = "0";
|
||||
|
||||
if (int.Parse(this.labelCount.Text) == 0)
|
||||
{
|
||||
DialogFormMessage msg = new DialogFormMessage(36, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
||||
msg.ShowDialog();
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -235,13 +235,6 @@ namespace INT_PT002.Controls
|
|||
|
||||
this.labelRemainIndex.Text = "0";
|
||||
this.labelTotalIndex.Text = "0";
|
||||
|
||||
if (int.Parse(this.labelCount.Text) == 0)
|
||||
{
|
||||
DialogFormMessage msg = new DialogFormMessage(36, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
||||
msg.ShowDialog();
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -318,13 +318,6 @@ namespace INT_PT002.Controls
|
|||
this.CollectionPassCount[i].Text = "0";
|
||||
this.CollectionLeakCount[i].Text = "0";
|
||||
}
|
||||
|
||||
if (int.Parse(this.labelCount.Text) == 0)
|
||||
{
|
||||
DialogFormMessage msg = new DialogFormMessage(36, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
||||
msg.ShowDialog();
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -0,0 +1,123 @@
|
|||
<?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=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>
|
||||
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
|
||||
<value>WEBPAD</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -1690,7 +1690,7 @@
|
|||
this.smartLabel24.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel24.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel24.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel24.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel24.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel24.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel24.LineSpacing = 0F;
|
||||
this.smartLabel24.Location = new System.Drawing.Point(120, 552);
|
||||
|
@ -1714,7 +1714,7 @@
|
|||
this.smartLabel25.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel25.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel25.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel25.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel25.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel25.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel25.LineSpacing = 0F;
|
||||
this.smartLabel25.Location = new System.Drawing.Point(120, 502);
|
||||
|
@ -1738,7 +1738,7 @@
|
|||
this.smartLabel20.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel20.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel20.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel20.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel20.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel20.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel20.LineSpacing = 0F;
|
||||
this.smartLabel20.Location = new System.Drawing.Point(120, 451);
|
||||
|
@ -1762,7 +1762,7 @@
|
|||
this.smartLabel21.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel21.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel21.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel21.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel21.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel21.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel21.LineSpacing = 0F;
|
||||
this.smartLabel21.Location = new System.Drawing.Point(120, 401);
|
||||
|
@ -1786,7 +1786,7 @@
|
|||
this.smartLabel22.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel22.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel22.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel22.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel22.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel22.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel22.LineSpacing = 0F;
|
||||
this.smartLabel22.Location = new System.Drawing.Point(120, 352);
|
||||
|
@ -1810,7 +1810,7 @@
|
|||
this.smartLabel23.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel23.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel23.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel23.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel23.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel23.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel23.LineSpacing = 0F;
|
||||
this.smartLabel23.Location = new System.Drawing.Point(120, 301);
|
||||
|
@ -1834,7 +1834,7 @@
|
|||
this.smartLabel18.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel18.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel18.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel18.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel18.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel18.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel18.LineSpacing = 0F;
|
||||
this.smartLabel18.Location = new System.Drawing.Point(120, 251);
|
||||
|
@ -1858,7 +1858,7 @@
|
|||
this.smartLabel19.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel19.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel19.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel19.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel19.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel19.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel19.LineSpacing = 0F;
|
||||
this.smartLabel19.Location = new System.Drawing.Point(120, 201);
|
||||
|
@ -1882,7 +1882,7 @@
|
|||
this.smartLabel17.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel17.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel17.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel17.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel17.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel17.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel17.LineSpacing = 0F;
|
||||
this.smartLabel17.Location = new System.Drawing.Point(120, 152);
|
||||
|
@ -1906,7 +1906,7 @@
|
|||
this.smartLabel16.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartLabel16.BorderColor = System.Drawing.Color.Black;
|
||||
this.smartLabel16.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel16.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel16.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel16.ForeColor = System.Drawing.Color.Black;
|
||||
this.smartLabel16.LineSpacing = 0F;
|
||||
this.smartLabel16.Location = new System.Drawing.Point(120, 102);
|
||||
|
@ -1930,7 +1930,7 @@
|
|||
this.labelTitleLane.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.labelTitleLane.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleLane.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleLane.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleLane.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleLane.ForeColor = System.Drawing.Color.Black;
|
||||
this.labelTitleLane.LineSpacing = 0F;
|
||||
this.labelTitleLane.Location = new System.Drawing.Point(120, 64);
|
||||
|
@ -2266,7 +2266,7 @@
|
|||
this.labelTitleValueHexa.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.labelTitleValueHexa.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleValueHexa.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleValueHexa.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleValueHexa.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleValueHexa.ForeColor = System.Drawing.Color.Black;
|
||||
this.labelTitleValueHexa.LineSpacing = 0F;
|
||||
this.labelTitleValueHexa.Location = new System.Drawing.Point(424, 64);
|
||||
|
@ -2338,7 +2338,7 @@
|
|||
this.labelTitleValueDecimal.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.labelTitleValueDecimal.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleValueDecimal.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleValueDecimal.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleValueDecimal.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleValueDecimal.ForeColor = System.Drawing.Color.Black;
|
||||
this.labelTitleValueDecimal.LineSpacing = 0F;
|
||||
this.labelTitleValueDecimal.Location = new System.Drawing.Point(309, 64);
|
||||
|
@ -2362,7 +2362,7 @@
|
|||
this.labelTitleContents.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.labelTitleContents.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleContents.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleContents.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleContents.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleContents.ForeColor = System.Drawing.Color.Black;
|
||||
this.labelTitleContents.LineSpacing = 0F;
|
||||
this.labelTitleContents.Location = new System.Drawing.Point(158, 64);
|
||||
|
@ -2386,7 +2386,7 @@
|
|||
this.labelTitleOffset.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.labelTitleOffset.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleOffset.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleOffset.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleOffset.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleOffset.ForeColor = System.Drawing.Color.Black;
|
||||
this.labelTitleOffset.LineSpacing = 0F;
|
||||
this.labelTitleOffset.Location = new System.Drawing.Point(37, 64);
|
||||
|
@ -2530,7 +2530,7 @@
|
|||
this.labelTitleReceiveCount2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.labelTitleReceiveCount2.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleReceiveCount2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleReceiveCount2.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleReceiveCount2.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleReceiveCount2.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleReceiveCount2.LineSpacing = 0F;
|
||||
this.labelTitleReceiveCount2.Location = new System.Drawing.Point(345, 32);
|
||||
|
@ -2555,7 +2555,7 @@
|
|||
this.labelTitleStartAddr2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.labelTitleStartAddr2.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleStartAddr2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleStartAddr2.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleStartAddr2.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleStartAddr2.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleStartAddr2.LineSpacing = 0F;
|
||||
this.labelTitleStartAddr2.Location = new System.Drawing.Point(189, 32);
|
||||
|
@ -2580,7 +2580,7 @@
|
|||
this.labelTitleReceiveCount1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.labelTitleReceiveCount1.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleReceiveCount1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleReceiveCount1.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleReceiveCount1.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleReceiveCount1.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleReceiveCount1.LineSpacing = 0F;
|
||||
this.labelTitleReceiveCount1.Location = new System.Drawing.Point(345, 17);
|
||||
|
@ -2605,7 +2605,7 @@
|
|||
this.labelTitleStartAddr1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.labelTitleStartAddr1.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleStartAddr1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleStartAddr1.Font = new System.Drawing.Font("새굴림", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleStartAddr1.Font = new System.Drawing.Font("New Gulim", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleStartAddr1.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitleStartAddr1.LineSpacing = 0F;
|
||||
this.labelTitleStartAddr1.Location = new System.Drawing.Point(189, 17);
|
||||
|
@ -2630,7 +2630,7 @@
|
|||
this.labelTitlePort.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.labelTitlePort.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitlePort.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitlePort.Font = new System.Drawing.Font("새굴림", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.labelTitlePort.Font = new System.Drawing.Font("New Gulim", 15F, System.Drawing.FontStyle.Bold);
|
||||
this.labelTitlePort.ForeColor = System.Drawing.Color.White;
|
||||
this.labelTitlePort.LineSpacing = 0F;
|
||||
this.labelTitlePort.Location = new System.Drawing.Point(37, 17);
|
||||
|
|
|
@ -150,7 +150,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
public void UpdateData(_30000_ModbusData mData)
|
||||
{
|
||||
this.ParentForm.ParentForm.Current30000ModbusData.SettingHexa();
|
||||
mData.SettingHexa();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
|
@ -197,6 +197,18 @@ namespace INT_PT002.Controls
|
|||
this.UpdateOffset(true, this.ParentForm.ParentForm.SystemConfig.MODBUS_TCP_START_ADDRESS);
|
||||
}
|
||||
}
|
||||
public void ClearData()
|
||||
{
|
||||
this.ParentForm.ParentForm.Current30000ModbusData.Initialization();
|
||||
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionDecIsProcessing[i].Text = this.ParentForm.ParentForm.Current30000ModbusData.CollectionIsProcessing[i].ToString();
|
||||
this.CollectionDecIsLeak[i].Text = this.ParentForm.ParentForm.Current30000ModbusData.CollectionIsLeak[i].ToString();
|
||||
this.CollectionHexaIsProcessing[i].Text = this.ParentForm.ParentForm.Current30000ModbusData.CollectionIsProcessingHexa[i].ToString();
|
||||
this.CollectionHexaIsLeak[i].Text = this.ParentForm.ParentForm.Current30000ModbusData.CollectionIsLeakHexa[i].ToString();
|
||||
}
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
{
|
||||
|
|
|
@ -0,0 +1,125 @@
|
|||
namespace INT_PT002.Controls.MainDisplay
|
||||
{
|
||||
partial class ControlMainResult
|
||||
{
|
||||
/// <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 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()
|
||||
{
|
||||
this.labelResultDisp = new SmartX.SmartLabel();
|
||||
this.labelResultDiff = new SmartX.SmartLabel();
|
||||
this.labelResult = new SmartX.SmartLabel();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelResultDisp
|
||||
//
|
||||
this.labelResultDisp.BackGround = null;
|
||||
this.labelResultDisp.BackGroundColor = System.Drawing.Color.Black;
|
||||
this.labelResultDisp.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelResultDisp.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResultDisp.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResultDisp.LineSpacing = 0F;
|
||||
this.labelResultDisp.Location = new System.Drawing.Point(68, 47);
|
||||
this.labelResultDisp.Name = "labelResultDisp";
|
||||
this.labelResultDisp.OverlapOptimize = true;
|
||||
this.labelResultDisp.PasswordChar = '\0';
|
||||
this.labelResultDisp.Radius = 3;
|
||||
this.labelResultDisp.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResultDisp.Size = new System.Drawing.Size(67, 30);
|
||||
this.labelResultDisp.TabIndex = 521;
|
||||
this.labelResultDisp.Text = "DISP";
|
||||
this.labelResultDisp.TextColor = System.Drawing.Color.Gainsboro;
|
||||
this.labelResultDisp.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResultDisp.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResultDisp.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResultDisp.Wordwrap = false;
|
||||
//
|
||||
// labelResultDiff
|
||||
//
|
||||
this.labelResultDiff.BackGround = null;
|
||||
this.labelResultDiff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResultDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelResultDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResultDiff.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResultDiff.LineSpacing = 0F;
|
||||
this.labelResultDiff.Location = new System.Drawing.Point(0, 47);
|
||||
this.labelResultDiff.Name = "labelResultDiff";
|
||||
this.labelResultDiff.OverlapOptimize = true;
|
||||
this.labelResultDiff.PasswordChar = '\0';
|
||||
this.labelResultDiff.Radius = 3;
|
||||
this.labelResultDiff.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResultDiff.Size = new System.Drawing.Size(67, 30);
|
||||
this.labelResultDiff.TabIndex = 520;
|
||||
this.labelResultDiff.Text = "DIFF";
|
||||
this.labelResultDiff.TextColor = System.Drawing.Color.Gainsboro;
|
||||
this.labelResultDiff.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResultDiff.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResultDiff.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResultDiff.Wordwrap = false;
|
||||
//
|
||||
// labelResult
|
||||
//
|
||||
this.labelResult.BackGround = null;
|
||||
this.labelResult.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult.LineSpacing = 0F;
|
||||
this.labelResult.Location = new System.Drawing.Point(0, 0);
|
||||
this.labelResult.Name = "labelResult";
|
||||
this.labelResult.OverlapOptimize = true;
|
||||
this.labelResult.PasswordChar = '\0';
|
||||
this.labelResult.Radius = 3;
|
||||
this.labelResult.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult.Size = new System.Drawing.Size(135, 46);
|
||||
this.labelResult.TabIndex = 519;
|
||||
this.labelResult.Text = "Pass";
|
||||
this.labelResult.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult.Wordwrap = false;
|
||||
//
|
||||
// ControlMainResult
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.BackColor = System.Drawing.Color.Black;
|
||||
this.Controls.Add(this.labelResultDisp);
|
||||
this.Controls.Add(this.labelResultDiff);
|
||||
this.Controls.Add(this.labelResult);
|
||||
this.Name = "ControlMainResult";
|
||||
this.Size = new System.Drawing.Size(135, 77);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private SmartX.SmartLabel labelResultDisp;
|
||||
private SmartX.SmartLabel labelResultDiff;
|
||||
private SmartX.SmartLabel labelResult;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,165 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using INT_PT002.DataStore;
|
||||
using INT_PT002.Forms;
|
||||
|
||||
namespace INT_PT002.Controls.MainDisplay
|
||||
{
|
||||
public partial class ControlMainResult : UserControl
|
||||
{
|
||||
#region Field
|
||||
private FormMainDisplay3 m_ParentForm;
|
||||
|
||||
private Color ColorResultPass;
|
||||
private Color ColorResultNG;
|
||||
private Color ColorResultNone;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ControlMainResult(FormMainDisplay3 parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ParentForm = parent;
|
||||
|
||||
this.Initialize();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
public FormMainDisplay3 ParentForm
|
||||
{
|
||||
get { return this.m_ParentForm; }
|
||||
set { this.m_ParentForm = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void Initialize()
|
||||
{
|
||||
this.ColorResultPass = Color.FromArgb(39, 200, 64);
|
||||
this.ColorResultNG = Color.FromArgb(254, 70, 70);
|
||||
this.ColorResultNone = Color.FromArgb(42, 43, 45);
|
||||
}
|
||||
private void GetJudgmentResult(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
switch (judg)
|
||||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
value = "-";
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
value = "Pass";
|
||||
label.BackGroundColor = this.ColorResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
value = "Leak";
|
||||
label.BackGroundColor = this.ColorResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
value = "Empty";
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
value = "Error";
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (label.Text != value)
|
||||
label.Text = value;
|
||||
}
|
||||
private void GetJudgmentResultDiff(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
string value = "Diff";
|
||||
|
||||
switch (judg)
|
||||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
label.BackGroundColor = this.ColorResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
label.BackGroundColor = this.ColorResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (label.Text != value)
|
||||
label.Text = value;
|
||||
}
|
||||
private void GetJudgmentResultDisp(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
string value = "Disp";
|
||||
|
||||
switch (judg)
|
||||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
label.BackGroundColor = this.ColorResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
label.BackGroundColor = this.ColorResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (label.Text != value)
|
||||
label.Text = value;
|
||||
}
|
||||
|
||||
public void SetResult(LeakResult result)
|
||||
{
|
||||
this.GetJudgmentResult(result.Result, this.labelResult);
|
||||
|
||||
if (result.Result == Define.E_JudgmentStatus.Empty || result.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.labelResultDiff);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.labelResultDisp);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(result.DiffResult, this.labelResultDiff);
|
||||
this.GetJudgmentResultDisp(result.DispResult, this.labelResultDisp);
|
||||
}
|
||||
}
|
||||
public void SetResultTestMode(Define.E_JudgmentStatus judg, Define.E_JudgmentStatus diff, Define.E_JudgmentStatus disp)
|
||||
{
|
||||
this.GetJudgmentResult(judg, this.labelResult);
|
||||
this.GetJudgmentResultDiff(diff, this.labelResultDiff);
|
||||
this.GetJudgmentResultDisp(disp, this.labelResultDisp);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,123 @@
|
|||
<?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=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>
|
||||
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
|
||||
<value>WEBPAD</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -92,6 +92,8 @@
|
|||
this.labelInput3 = new SmartX.SmartLabel();
|
||||
this.labelInput1 = new SmartX.SmartLabel();
|
||||
this.smartTimer = new SmartX.SmartTimer();
|
||||
this.labeldispAlarm2 = new SmartX.SmartLabel();
|
||||
this.labeldispAlarm1 = new SmartX.SmartLabel();
|
||||
this.smartGroupBox1.SuspendLayout();
|
||||
this.smartGroupBox3.SuspendLayout();
|
||||
this.smartGroupBox5.SuspendLayout();
|
||||
|
@ -1303,6 +1305,8 @@
|
|||
this.smartGroupBox4.BackGround = null;
|
||||
this.smartGroupBox4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartGroupBox4.BackImage = null;
|
||||
this.smartGroupBox4.Controls.Add(this.labeldispAlarm2);
|
||||
this.smartGroupBox4.Controls.Add(this.labeldispAlarm1);
|
||||
this.smartGroupBox4.Controls.Add(this.labelVacuum2);
|
||||
this.smartGroupBox4.Controls.Add(this.labelDiff2);
|
||||
this.smartGroupBox4.Controls.Add(this.labelDisp2);
|
||||
|
@ -1540,37 +1544,38 @@
|
|||
// labelSbAlarm2
|
||||
//
|
||||
this.labelSbAlarm2.BackGround = null;
|
||||
this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.SkyBlue;
|
||||
this.labelSbAlarm2.BackGroundColor = System.Drawing.Color.Red;
|
||||
this.labelSbAlarm2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelSbAlarm2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelSbAlarm2.LineSpacing = 0F;
|
||||
this.labelSbAlarm2.Location = new System.Drawing.Point(359, 49);
|
||||
this.labelSbAlarm2.Location = new System.Drawing.Point(279, 49);
|
||||
this.labelSbAlarm2.Name = "labelSbAlarm2";
|
||||
this.labelSbAlarm2.OverlapOptimize = true;
|
||||
this.labelSbAlarm2.PasswordChar = '\0';
|
||||
this.labelSbAlarm2.Radius = 3;
|
||||
this.labelSbAlarm2.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelSbAlarm2.RoundRectFillColor = System.Drawing.Color.Red;
|
||||
this.labelSbAlarm2.Size = new System.Drawing.Size(20, 20);
|
||||
this.labelSbAlarm2.TabIndex = 207;
|
||||
this.labelSbAlarm2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelSbAlarm2.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelSbAlarm2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.labelSbAlarm2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top;
|
||||
this.labelSbAlarm2.Visible = false;
|
||||
this.labelSbAlarm2.Wordwrap = false;
|
||||
//
|
||||
// labelSbAlarm1
|
||||
//
|
||||
this.labelSbAlarm1.BackGround = null;
|
||||
this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.SkyBlue;
|
||||
this.labelSbAlarm1.BackGroundColor = System.Drawing.Color.Red;
|
||||
this.labelSbAlarm1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelSbAlarm1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelSbAlarm1.LineSpacing = 0F;
|
||||
this.labelSbAlarm1.Location = new System.Drawing.Point(253, 49);
|
||||
this.labelSbAlarm1.Location = new System.Drawing.Point(173, 49);
|
||||
this.labelSbAlarm1.Name = "labelSbAlarm1";
|
||||
this.labelSbAlarm1.OverlapOptimize = true;
|
||||
this.labelSbAlarm1.PasswordChar = '\0';
|
||||
this.labelSbAlarm1.Radius = 3;
|
||||
this.labelSbAlarm1.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelSbAlarm1.RoundRectFillColor = System.Drawing.Color.Red;
|
||||
this.labelSbAlarm1.Size = new System.Drawing.Size(20, 20);
|
||||
this.labelSbAlarm1.TabIndex = 208;
|
||||
this.labelSbAlarm1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
|
@ -1878,6 +1883,49 @@
|
|||
this.smartTimer.TimeFormStringSeparator = ":";
|
||||
this.smartTimer.Tick += new System.EventHandler(this.smartTimer_Tick);
|
||||
//
|
||||
// labeldispAlarm2
|
||||
//
|
||||
this.labeldispAlarm2.BackGround = null;
|
||||
this.labeldispAlarm2.BackGroundColor = System.Drawing.Color.Blue;
|
||||
this.labeldispAlarm2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labeldispAlarm2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labeldispAlarm2.LineSpacing = 0F;
|
||||
this.labeldispAlarm2.Location = new System.Drawing.Point(359, 49);
|
||||
this.labeldispAlarm2.Name = "labeldispAlarm2";
|
||||
this.labeldispAlarm2.OverlapOptimize = true;
|
||||
this.labeldispAlarm2.PasswordChar = '\0';
|
||||
this.labeldispAlarm2.Radius = 3;
|
||||
this.labeldispAlarm2.RoundRectFillColor = System.Drawing.Color.Blue;
|
||||
this.labeldispAlarm2.Size = new System.Drawing.Size(20, 20);
|
||||
this.labeldispAlarm2.TabIndex = 209;
|
||||
this.labeldispAlarm2.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labeldispAlarm2.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labeldispAlarm2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.labeldispAlarm2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top;
|
||||
this.labeldispAlarm2.Visible = false;
|
||||
this.labeldispAlarm2.Wordwrap = false;
|
||||
//
|
||||
// labeldispAlarm1
|
||||
//
|
||||
this.labeldispAlarm1.BackGround = null;
|
||||
this.labeldispAlarm1.BackGroundColor = System.Drawing.Color.Blue;
|
||||
this.labeldispAlarm1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labeldispAlarm1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labeldispAlarm1.LineSpacing = 0F;
|
||||
this.labeldispAlarm1.Location = new System.Drawing.Point(253, 49);
|
||||
this.labeldispAlarm1.Name = "labeldispAlarm1";
|
||||
this.labeldispAlarm1.OverlapOptimize = true;
|
||||
this.labeldispAlarm1.PasswordChar = '\0';
|
||||
this.labeldispAlarm1.Radius = 3;
|
||||
this.labeldispAlarm1.RoundRectFillColor = System.Drawing.Color.Blue;
|
||||
this.labeldispAlarm1.Size = new System.Drawing.Size(20, 20);
|
||||
this.labeldispAlarm1.TabIndex = 210;
|
||||
this.labeldispAlarm1.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labeldispAlarm1.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labeldispAlarm1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.labeldispAlarm1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Top;
|
||||
this.labeldispAlarm1.Wordwrap = false;
|
||||
//
|
||||
// ControlMenuManualIoTest
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
|
@ -1960,5 +2008,7 @@
|
|||
private SmartX.SmartButton buttonMotorChamber5;
|
||||
private SmartX.SmartButton buttonOut11;
|
||||
private SmartX.SmartButton buttonOut12;
|
||||
public SmartX.SmartLabel labeldispAlarm2;
|
||||
public SmartX.SmartLabel labeldispAlarm1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@ namespace INT_PT002.Controls
|
|||
private Collection<SmartLabel> CollLabelVacu;
|
||||
private Collection<SmartLabel> CollLabelInput;
|
||||
private Collection<SmartLabel> CollLabelSbAlarm;
|
||||
private Collection<SmartLabel> CollLabelDispAlarm;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
@ -73,6 +74,11 @@ namespace INT_PT002.Controls
|
|||
this.CollLabelSbAlarm.Add(this.labelSbAlarm1);
|
||||
this.CollLabelSbAlarm.Add(this.labelSbAlarm2);
|
||||
|
||||
this.CollLabelDispAlarm = new Collection<SmartLabel>();
|
||||
this.CollLabelDispAlarm.Clear();
|
||||
this.CollLabelDispAlarm.Add(this.labeldispAlarm1);
|
||||
this.CollLabelDispAlarm.Add(this.labeldispAlarm2);
|
||||
|
||||
this.CollLabelInput = new Collection<SmartLabel>();
|
||||
this.CollLabelInput.Add(this.labelInput1);
|
||||
this.CollLabelInput.Add(this.labelInput2);
|
||||
|
@ -86,6 +92,7 @@ namespace INT_PT002.Controls
|
|||
this.CollLabelDisp[i].Text = "0.00";
|
||||
this.CollLabelVacu[i].Text = "0.0";
|
||||
this.CollLabelSbAlarm[i].Visible = false;
|
||||
this.CollLabelDispAlarm[i].Visible = false;
|
||||
}
|
||||
|
||||
for (int i = 0; i < this.CollLabelInput.Count; i++)
|
||||
|
@ -124,11 +131,6 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
|
||||
// 변위센서 데이터
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollLabelDisp[i].Text = datas[i].RData;
|
||||
}
|
||||
public void UpdateDisplayDispData1(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDisp[0].Text = data.DispData.RData;
|
||||
|
@ -138,11 +140,6 @@ namespace INT_PT002.Controls
|
|||
this.CollLabelDisp[1].Text = data.DispData.RData;
|
||||
}
|
||||
// 차압센서 데이터
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollLabelDiff[i].Text = datas[i].MAdc;
|
||||
}
|
||||
public void UpdateDisplayDiffData1(LeakData1 data)
|
||||
{
|
||||
this.CollLabelDiff[0].Text = data.DiffData.MAdc;
|
||||
|
@ -152,11 +149,6 @@ namespace INT_PT002.Controls
|
|||
this.CollLabelDiff[1].Text = data.DiffData.MAdc;
|
||||
}
|
||||
// 압력센서 데이터
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.CollLabelVacu.Count; i++)
|
||||
this.CollLabelVacu[i].Text = datas[i].WorkingChamber;
|
||||
}
|
||||
public void UpdateDisplayPresData1(LeakData1 data)
|
||||
{
|
||||
this.CollLabelVacu[0].Text = data.PresData.WorkingChamber;
|
||||
|
@ -181,16 +173,11 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
public void UpdateDisplayAlarmView(AlarmList alarm)
|
||||
{
|
||||
this.CollLabelSbAlarm[0].Visible = alarm.CollectionIsSensorBoardError[0];
|
||||
this.CollLabelSbAlarm[1].Visible = alarm.CollectionIsSensorBoardError[1];
|
||||
this.CollLabelSbAlarm[2].Visible = alarm.CollectionIsSensorBoardError[2];
|
||||
this.CollLabelSbAlarm[3].Visible = alarm.CollectionIsSensorBoardError[3];
|
||||
this.CollLabelSbAlarm[4].Visible = alarm.CollectionIsSensorBoardError[4];
|
||||
this.CollLabelSbAlarm[5].Visible = alarm.CollectionIsSensorBoardError[5];
|
||||
this.CollLabelSbAlarm[6].Visible = alarm.CollectionIsSensorBoardError[6];
|
||||
this.CollLabelSbAlarm[7].Visible = alarm.CollectionIsSensorBoardError[7];
|
||||
this.CollLabelSbAlarm[8].Visible = alarm.CollectionIsSensorBoardError[8];
|
||||
this.CollLabelSbAlarm[9].Visible = alarm.CollectionIsSensorBoardError[9];
|
||||
for (int i = 0; i < this.CollLabelSbAlarm.Count; i++)
|
||||
{
|
||||
this.CollLabelSbAlarm[i].Visible = alarm.CollectionIsSensorBoardError[i];
|
||||
this.CollLabelDispAlarm[i].Visible = alarm.CollectionIsDisplacementSensorError[i];
|
||||
}
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
|
|
|
@ -0,0 +1,800 @@
|
|||
namespace INT_PT002.Controls
|
||||
{
|
||||
partial class ControlMenuRecipeData
|
||||
{
|
||||
/// <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 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()
|
||||
{
|
||||
SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle chartPenStyle2 = new SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle();
|
||||
this.groupBoxMeasuring1 = new SmartX.SmartGroupBox();
|
||||
this.labelMesResultDisp = new SmartX.SmartLabel();
|
||||
this.labelMesResultDiff = new SmartX.SmartLabel();
|
||||
this.smartSeparatorLine6 = new SmartX.SmartSeparatorLine();
|
||||
this.smartSeparatorLine5 = new SmartX.SmartSeparatorLine();
|
||||
this.labelMesPressureWork = new SmartX.SmartLabel();
|
||||
this.labelMesDiffSecMax = new SmartX.SmartLabel();
|
||||
this.smartLabel41 = new SmartX.SmartLabel();
|
||||
this.smartGroupBox2 = new SmartX.SmartGroupBox();
|
||||
this.smartDrawDiff = new SmartX.SmartDraw();
|
||||
this.smartDraw_ChartChannelPenStyle1 = new SmartX.SmartDraw_ChartChannelPenStyle();
|
||||
this.smartLabel61 = new SmartX.SmartLabel();
|
||||
this.labelMesPressureMaster = new SmartX.SmartLabel();
|
||||
this.smartLabel8 = new SmartX.SmartLabel();
|
||||
this.smartLabel9 = new SmartX.SmartLabel();
|
||||
this.labelMesDispMDataMax = new SmartX.SmartLabel();
|
||||
this.smartLabel48 = new SmartX.SmartLabel();
|
||||
this.labelMesDispMDataDiff = new SmartX.SmartLabel();
|
||||
this.smartLabel53 = new SmartX.SmartLabel();
|
||||
this.labelMesDiffMadc = new SmartX.SmartLabel();
|
||||
this.smartLabel23 = new SmartX.SmartLabel();
|
||||
this.smartSeparatorLine4 = new SmartX.SmartSeparatorLine();
|
||||
this.labelMesDiffSecDiff = new SmartX.SmartLabel();
|
||||
this.smartLabel14 = new SmartX.SmartLabel();
|
||||
this.labelMesDispMData = new SmartX.SmartLabel();
|
||||
this.smartLabel30 = new SmartX.SmartLabel();
|
||||
this.labelMesDispRData = new SmartX.SmartLabel();
|
||||
this.smartLabel32 = new SmartX.SmartLabel();
|
||||
this.labelMesResult = new SmartX.SmartLabel();
|
||||
this.smartGroupBox11 = new SmartX.SmartGroupBox();
|
||||
this.smartDrawDisp = new SmartX.SmartDraw();
|
||||
this.groupBoxMeasuring1.SuspendLayout();
|
||||
this.smartGroupBox2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.smartDrawDiff)).BeginInit();
|
||||
this.smartGroupBox11.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.smartDrawDisp)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// groupBoxMeasuring1
|
||||
//
|
||||
this.groupBoxMeasuring1.BackGround = null;
|
||||
this.groupBoxMeasuring1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.groupBoxMeasuring1.BackImage = null;
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesResultDisp);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesResultDiff);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartSeparatorLine6);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartSeparatorLine5);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesPressureWork);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesDiffSecMax);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel41);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesPressureMaster);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel8);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel9);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispMDataMax);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel48);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispMDataDiff);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel53);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesDiffMadc);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel23);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartSeparatorLine4);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesDiffSecDiff);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel14);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispMData);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel30);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispRData);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel32);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesResult);
|
||||
this.groupBoxMeasuring1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.groupBoxMeasuring1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.groupBoxMeasuring1.FrameLineThickness = 2;
|
||||
this.groupBoxMeasuring1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
|
||||
this.groupBoxMeasuring1.HeaderHeightOffset = 1;
|
||||
this.groupBoxMeasuring1.Location = new System.Drawing.Point(442, 2);
|
||||
this.groupBoxMeasuring1.Name = "groupBoxMeasuring1";
|
||||
this.groupBoxMeasuring1.RoundRadius = 5;
|
||||
this.groupBoxMeasuring1.Size = new System.Drawing.Size(175, 576);
|
||||
this.groupBoxMeasuring1.TabIndex = 119;
|
||||
this.groupBoxMeasuring1.Text = "Measuring";
|
||||
this.groupBoxMeasuring1.TextColor = System.Drawing.Color.White;
|
||||
//
|
||||
// labelMesResultDisp
|
||||
//
|
||||
this.labelMesResultDisp.BackGround = null;
|
||||
this.labelMesResultDisp.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesResultDisp.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesResultDisp.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesResultDisp.Font = new System.Drawing.Font("New Gulim", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.labelMesResultDisp.LineSpacing = 0F;
|
||||
this.labelMesResultDisp.Location = new System.Drawing.Point(89, 108);
|
||||
this.labelMesResultDisp.Name = "labelMesResultDisp";
|
||||
this.labelMesResultDisp.OverlapOptimize = true;
|
||||
this.labelMesResultDisp.PasswordChar = '\0';
|
||||
this.labelMesResultDisp.Radius = 3;
|
||||
this.labelMesResultDisp.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesResultDisp.Size = new System.Drawing.Size(82, 39);
|
||||
this.labelMesResultDisp.TabIndex = 53;
|
||||
this.labelMesResultDisp.Text = "DISP";
|
||||
this.labelMesResultDisp.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesResultDisp.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesResultDisp.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesResultDisp.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesResultDisp.Wordwrap = false;
|
||||
//
|
||||
// labelMesResultDiff
|
||||
//
|
||||
this.labelMesResultDiff.BackGround = null;
|
||||
this.labelMesResultDiff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesResultDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesResultDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesResultDiff.Font = new System.Drawing.Font("New Gulim", 14F, System.Drawing.FontStyle.Bold);
|
||||
this.labelMesResultDiff.LineSpacing = 0F;
|
||||
this.labelMesResultDiff.Location = new System.Drawing.Point(4, 108);
|
||||
this.labelMesResultDiff.Name = "labelMesResultDiff";
|
||||
this.labelMesResultDiff.OverlapOptimize = true;
|
||||
this.labelMesResultDiff.PasswordChar = '\0';
|
||||
this.labelMesResultDiff.Radius = 3;
|
||||
this.labelMesResultDiff.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesResultDiff.Size = new System.Drawing.Size(82, 39);
|
||||
this.labelMesResultDiff.TabIndex = 52;
|
||||
this.labelMesResultDiff.Text = "DIFF";
|
||||
this.labelMesResultDiff.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesResultDiff.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesResultDiff.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesResultDiff.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesResultDiff.Wordwrap = false;
|
||||
//
|
||||
// smartSeparatorLine6
|
||||
//
|
||||
this.smartSeparatorLine6.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine6.Line1Width = 1F;
|
||||
this.smartSeparatorLine6.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine6.Line2Width = 1F;
|
||||
this.smartSeparatorLine6.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
|
||||
this.smartSeparatorLine6.Location = new System.Drawing.Point(2, 266);
|
||||
this.smartSeparatorLine6.Name = "smartSeparatorLine6";
|
||||
this.smartSeparatorLine6.Size = new System.Drawing.Size(171, 2);
|
||||
this.smartSeparatorLine6.TabIndex = 51;
|
||||
this.smartSeparatorLine6.Text = "smartSeparatorLine6";
|
||||
//
|
||||
// smartSeparatorLine5
|
||||
//
|
||||
this.smartSeparatorLine5.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine5.Line1Width = 1F;
|
||||
this.smartSeparatorLine5.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine5.Line2Width = 1F;
|
||||
this.smartSeparatorLine5.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
|
||||
this.smartSeparatorLine5.Location = new System.Drawing.Point(2, 166);
|
||||
this.smartSeparatorLine5.Name = "smartSeparatorLine5";
|
||||
this.smartSeparatorLine5.Size = new System.Drawing.Size(171, 2);
|
||||
this.smartSeparatorLine5.TabIndex = 50;
|
||||
this.smartSeparatorLine5.Text = "smartSeparatorLine5";
|
||||
//
|
||||
// labelMesPressureWork
|
||||
//
|
||||
this.labelMesPressureWork.BackGround = null;
|
||||
this.labelMesPressureWork.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesPressureWork.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesPressureWork.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesPressureWork.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesPressureWork.LineSpacing = 0F;
|
||||
this.labelMesPressureWork.Location = new System.Drawing.Point(80, 218);
|
||||
this.labelMesPressureWork.Name = "labelMesPressureWork";
|
||||
this.labelMesPressureWork.OverlapOptimize = true;
|
||||
this.labelMesPressureWork.PasswordChar = '\0';
|
||||
this.labelMesPressureWork.Radius = 3;
|
||||
this.labelMesPressureWork.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesPressureWork.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesPressureWork.TabIndex = 41;
|
||||
this.labelMesPressureWork.Text = "0.0023";
|
||||
this.labelMesPressureWork.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesPressureWork.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesPressureWork.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesPressureWork.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesPressureWork.Wordwrap = false;
|
||||
//
|
||||
// labelMesDiffSecMax
|
||||
//
|
||||
this.labelMesDiffSecMax.BackGround = null;
|
||||
this.labelMesDiffSecMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesDiffSecMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesDiffSecMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesDiffSecMax.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesDiffSecMax.LineSpacing = 0F;
|
||||
this.labelMesDiffSecMax.Location = new System.Drawing.Point(80, 360);
|
||||
this.labelMesDiffSecMax.Name = "labelMesDiffSecMax";
|
||||
this.labelMesDiffSecMax.OverlapOptimize = true;
|
||||
this.labelMesDiffSecMax.PasswordChar = '\0';
|
||||
this.labelMesDiffSecMax.Radius = 3;
|
||||
this.labelMesDiffSecMax.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesDiffSecMax.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesDiffSecMax.TabIndex = 49;
|
||||
this.labelMesDiffSecMax.Text = "0.0023";
|
||||
this.labelMesDiffSecMax.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesDiffSecMax.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesDiffSecMax.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesDiffSecMax.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesDiffSecMax.Wordwrap = false;
|
||||
//
|
||||
// smartLabel41
|
||||
//
|
||||
this.smartLabel41.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel41.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel41.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel41.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel41.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel41.LineSpacing = 0F;
|
||||
this.smartLabel41.Location = new System.Drawing.Point(4, 360);
|
||||
this.smartLabel41.Name = "smartLabel41";
|
||||
this.smartLabel41.OverlapOptimize = true;
|
||||
this.smartLabel41.PasswordChar = '\0';
|
||||
this.smartLabel41.Radius = 3;
|
||||
this.smartLabel41.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel41.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel41.TabIndex = 48;
|
||||
this.smartLabel41.Text = "LR.Max";
|
||||
this.smartLabel41.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel41.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel41.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel41.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel41.Wordwrap = false;
|
||||
//
|
||||
// smartGroupBox2
|
||||
//
|
||||
this.smartGroupBox2.BackGround = null;
|
||||
this.smartGroupBox2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartGroupBox2.BackImage = null;
|
||||
this.smartGroupBox2.Controls.Add(this.smartDrawDiff);
|
||||
this.smartGroupBox2.Controls.Add(this.smartLabel61);
|
||||
this.smartGroupBox2.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartGroupBox2.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartGroupBox2.FrameLineThickness = 2;
|
||||
this.smartGroupBox2.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
|
||||
this.smartGroupBox2.HeaderHeightOffset = 1;
|
||||
this.smartGroupBox2.Location = new System.Drawing.Point(3, 2);
|
||||
this.smartGroupBox2.Name = "smartGroupBox2";
|
||||
this.smartGroupBox2.RoundRadius = 5;
|
||||
this.smartGroupBox2.Size = new System.Drawing.Size(433, 285);
|
||||
this.smartGroupBox2.TabIndex = 118;
|
||||
this.smartGroupBox2.Text = "Pressure";
|
||||
this.smartGroupBox2.TextColor = System.Drawing.Color.White;
|
||||
//
|
||||
// smartDrawDiff
|
||||
//
|
||||
this.smartDrawDiff.BackGround = null;
|
||||
this.smartDrawDiff.BackGroundColor = System.Drawing.Color.Black;
|
||||
this.smartDrawDiff.Chart.ChartAreaMarkingDesignTime = true;
|
||||
this.smartDrawDiff.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
|
||||
this.smartDrawDiff.Chart.ChartDrawStep = 1;
|
||||
this.smartDrawDiff.Chart.ChartHeight = 230;
|
||||
this.smartDrawDiff.Chart.ChartRefreshMode = SmartX.SmartDraw.ChartRefresh.LEFTSCROLL;
|
||||
this.smartDrawDiff.Chart.ChartWidth = 405;
|
||||
this.smartDrawDiff.Chart.OriginX = 10;
|
||||
this.smartDrawDiff.Chart.OriginY = 242;
|
||||
this.smartDrawDiff.Chart.XIncrement = 1;
|
||||
this.smartDrawDiff.DrawUpdateOption = SmartX.SmartDraw.DrawUpdateOptions.DefaultAuto;
|
||||
this.smartDrawDiff.LayerSupport = SmartX.SmartDraw.LayerSupportOption.BackAndDraw;
|
||||
this.smartDrawDiff.Location = new System.Drawing.Point(3, 28);
|
||||
this.smartDrawDiff.Name = "smartDrawDiff";
|
||||
this.smartDrawDiff.OverlapOptimize = false;
|
||||
this.smartDrawDiff.Size = new System.Drawing.Size(426, 254);
|
||||
this.smartDrawDiff.TabIndex = 13;
|
||||
this.smartDrawDiff.Text = "smartDraw1";
|
||||
//
|
||||
// smartDraw_ChartChannelPenStyle1
|
||||
//
|
||||
chartPenStyle2.ChannelColor = System.Drawing.Color.White;
|
||||
chartPenStyle2.PenStyle = SmartX.SmartDraw_ChartChannelPenStyle.PenStyles.SOLID;
|
||||
chartPenStyle2.PenWidth = 3;
|
||||
this.smartDraw_ChartChannelPenStyle1.ChartChannelPenStyle.Add(chartPenStyle2);
|
||||
//
|
||||
// smartLabel61
|
||||
//
|
||||
this.smartLabel61.BackGround = null;
|
||||
this.smartLabel61.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.smartLabel61.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel61.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel61.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.smartLabel61.LineSpacing = 0F;
|
||||
this.smartLabel61.Location = new System.Drawing.Point(399, 392);
|
||||
this.smartLabel61.Name = "smartLabel61";
|
||||
this.smartLabel61.OverlapOptimize = true;
|
||||
this.smartLabel61.PasswordChar = '\0';
|
||||
this.smartLabel61.Radius = 3;
|
||||
this.smartLabel61.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel61.Size = new System.Drawing.Size(100, 20);
|
||||
this.smartLabel61.TabIndex = 12;
|
||||
this.smartLabel61.Text = "1.2345";
|
||||
this.smartLabel61.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel61.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel61.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel61.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel61.Wordwrap = false;
|
||||
//
|
||||
// labelMesPressureMaster
|
||||
//
|
||||
this.labelMesPressureMaster.BackGround = null;
|
||||
this.labelMesPressureMaster.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesPressureMaster.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesPressureMaster.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesPressureMaster.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesPressureMaster.LineSpacing = 0F;
|
||||
this.labelMesPressureMaster.Location = new System.Drawing.Point(80, 182);
|
||||
this.labelMesPressureMaster.Name = "labelMesPressureMaster";
|
||||
this.labelMesPressureMaster.OverlapOptimize = true;
|
||||
this.labelMesPressureMaster.PasswordChar = '\0';
|
||||
this.labelMesPressureMaster.Radius = 3;
|
||||
this.labelMesPressureMaster.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesPressureMaster.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesPressureMaster.TabIndex = 36;
|
||||
this.labelMesPressureMaster.Text = "0.0023";
|
||||
this.labelMesPressureMaster.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesPressureMaster.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesPressureMaster.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesPressureMaster.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesPressureMaster.Wordwrap = false;
|
||||
//
|
||||
// smartLabel8
|
||||
//
|
||||
this.smartLabel8.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel8.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel8.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel8.LineSpacing = 0F;
|
||||
this.smartLabel8.Location = new System.Drawing.Point(4, 182);
|
||||
this.smartLabel8.Name = "smartLabel8";
|
||||
this.smartLabel8.OverlapOptimize = true;
|
||||
this.smartLabel8.PasswordChar = '\0';
|
||||
this.smartLabel8.Radius = 3;
|
||||
this.smartLabel8.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel8.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel8.TabIndex = 35;
|
||||
this.smartLabel8.Text = "master";
|
||||
this.smartLabel8.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel8.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel8.Wordwrap = false;
|
||||
//
|
||||
// smartLabel9
|
||||
//
|
||||
this.smartLabel9.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel9.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel9.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel9.LineSpacing = 0F;
|
||||
this.smartLabel9.Location = new System.Drawing.Point(4, 218);
|
||||
this.smartLabel9.Name = "smartLabel9";
|
||||
this.smartLabel9.OverlapOptimize = true;
|
||||
this.smartLabel9.PasswordChar = '\0';
|
||||
this.smartLabel9.Radius = 3;
|
||||
this.smartLabel9.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel9.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel9.TabIndex = 34;
|
||||
this.smartLabel9.Text = "work";
|
||||
this.smartLabel9.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel9.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel9.Wordwrap = false;
|
||||
//
|
||||
// labelMesDispMDataMax
|
||||
//
|
||||
this.labelMesDispMDataMax.BackGround = null;
|
||||
this.labelMesDispMDataMax.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesDispMDataMax.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesDispMDataMax.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesDispMDataMax.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesDispMDataMax.LineSpacing = 0F;
|
||||
this.labelMesDispMDataMax.Location = new System.Drawing.Point(80, 497);
|
||||
this.labelMesDispMDataMax.Name = "labelMesDispMDataMax";
|
||||
this.labelMesDispMDataMax.OverlapOptimize = true;
|
||||
this.labelMesDispMDataMax.PasswordChar = '\0';
|
||||
this.labelMesDispMDataMax.Radius = 3;
|
||||
this.labelMesDispMDataMax.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesDispMDataMax.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesDispMDataMax.TabIndex = 45;
|
||||
this.labelMesDispMDataMax.Text = "9.2354";
|
||||
this.labelMesDispMDataMax.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesDispMDataMax.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesDispMDataMax.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesDispMDataMax.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesDispMDataMax.Wordwrap = false;
|
||||
//
|
||||
// smartLabel48
|
||||
//
|
||||
this.smartLabel48.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel48.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel48.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel48.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel48.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel48.LineSpacing = 0F;
|
||||
this.smartLabel48.Location = new System.Drawing.Point(4, 497);
|
||||
this.smartLabel48.Name = "smartLabel48";
|
||||
this.smartLabel48.OverlapOptimize = true;
|
||||
this.smartLabel48.PasswordChar = '\0';
|
||||
this.smartLabel48.Radius = 3;
|
||||
this.smartLabel48.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel48.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel48.TabIndex = 44;
|
||||
this.smartLabel48.Text = "Max Height";
|
||||
this.smartLabel48.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel48.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel48.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel48.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel48.Wordwrap = false;
|
||||
//
|
||||
// labelMesDispMDataDiff
|
||||
//
|
||||
this.labelMesDispMDataDiff.BackGround = null;
|
||||
this.labelMesDispMDataDiff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesDispMDataDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesDispMDataDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesDispMDataDiff.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesDispMDataDiff.LineSpacing = 0F;
|
||||
this.labelMesDispMDataDiff.Location = new System.Drawing.Point(80, 533);
|
||||
this.labelMesDispMDataDiff.Name = "labelMesDispMDataDiff";
|
||||
this.labelMesDispMDataDiff.OverlapOptimize = true;
|
||||
this.labelMesDispMDataDiff.PasswordChar = '\0';
|
||||
this.labelMesDispMDataDiff.Radius = 3;
|
||||
this.labelMesDispMDataDiff.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesDispMDataDiff.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesDispMDataDiff.TabIndex = 43;
|
||||
this.labelMesDispMDataDiff.Text = "9.2354";
|
||||
this.labelMesDispMDataDiff.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesDispMDataDiff.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesDispMDataDiff.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesDispMDataDiff.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesDispMDataDiff.Wordwrap = false;
|
||||
//
|
||||
// smartLabel53
|
||||
//
|
||||
this.smartLabel53.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel53.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel53.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel53.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel53.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel53.LineSpacing = 0F;
|
||||
this.smartLabel53.Location = new System.Drawing.Point(4, 533);
|
||||
this.smartLabel53.Name = "smartLabel53";
|
||||
this.smartLabel53.OverlapOptimize = true;
|
||||
this.smartLabel53.PasswordChar = '\0';
|
||||
this.smartLabel53.Radius = 3;
|
||||
this.smartLabel53.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel53.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel53.TabIndex = 42;
|
||||
this.smartLabel53.Text = "Diff";
|
||||
this.smartLabel53.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel53.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel53.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel53.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel53.Wordwrap = false;
|
||||
//
|
||||
// labelMesDiffMadc
|
||||
//
|
||||
this.labelMesDiffMadc.BackGround = null;
|
||||
this.labelMesDiffMadc.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesDiffMadc.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesDiffMadc.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesDiffMadc.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesDiffMadc.LineSpacing = 0F;
|
||||
this.labelMesDiffMadc.Location = new System.Drawing.Point(80, 288);
|
||||
this.labelMesDiffMadc.Name = "labelMesDiffMadc";
|
||||
this.labelMesDiffMadc.OverlapOptimize = true;
|
||||
this.labelMesDiffMadc.PasswordChar = '\0';
|
||||
this.labelMesDiffMadc.Radius = 3;
|
||||
this.labelMesDiffMadc.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesDiffMadc.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesDiffMadc.TabIndex = 40;
|
||||
this.labelMesDiffMadc.Text = "0.0023";
|
||||
this.labelMesDiffMadc.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesDiffMadc.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesDiffMadc.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesDiffMadc.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesDiffMadc.Wordwrap = false;
|
||||
//
|
||||
// smartLabel23
|
||||
//
|
||||
this.smartLabel23.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel23.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel23.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel23.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel23.LineSpacing = 0F;
|
||||
this.smartLabel23.Location = new System.Drawing.Point(4, 288);
|
||||
this.smartLabel23.Name = "smartLabel23";
|
||||
this.smartLabel23.OverlapOptimize = true;
|
||||
this.smartLabel23.PasswordChar = '\0';
|
||||
this.smartLabel23.Radius = 3;
|
||||
this.smartLabel23.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel23.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel23.TabIndex = 39;
|
||||
this.smartLabel23.Text = "ADC";
|
||||
this.smartLabel23.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel23.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel23.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel23.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel23.Wordwrap = false;
|
||||
//
|
||||
// smartSeparatorLine4
|
||||
//
|
||||
this.smartSeparatorLine4.Line1Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine4.Line1Width = 1F;
|
||||
this.smartSeparatorLine4.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine4.Line2Width = 1F;
|
||||
this.smartSeparatorLine4.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
|
||||
this.smartSeparatorLine4.Location = new System.Drawing.Point(2, 408);
|
||||
this.smartSeparatorLine4.Name = "smartSeparatorLine4";
|
||||
this.smartSeparatorLine4.Size = new System.Drawing.Size(171, 2);
|
||||
this.smartSeparatorLine4.TabIndex = 38;
|
||||
this.smartSeparatorLine4.Text = "smartSeparatorLine4";
|
||||
//
|
||||
// labelMesDiffSecDiff
|
||||
//
|
||||
this.labelMesDiffSecDiff.BackGround = null;
|
||||
this.labelMesDiffSecDiff.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesDiffSecDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesDiffSecDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesDiffSecDiff.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesDiffSecDiff.LineSpacing = 0F;
|
||||
this.labelMesDiffSecDiff.Location = new System.Drawing.Point(80, 324);
|
||||
this.labelMesDiffSecDiff.Name = "labelMesDiffSecDiff";
|
||||
this.labelMesDiffSecDiff.OverlapOptimize = true;
|
||||
this.labelMesDiffSecDiff.PasswordChar = '\0';
|
||||
this.labelMesDiffSecDiff.Radius = 3;
|
||||
this.labelMesDiffSecDiff.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesDiffSecDiff.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesDiffSecDiff.TabIndex = 33;
|
||||
this.labelMesDiffSecDiff.Text = "0.0023";
|
||||
this.labelMesDiffSecDiff.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesDiffSecDiff.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesDiffSecDiff.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesDiffSecDiff.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesDiffSecDiff.Wordwrap = false;
|
||||
//
|
||||
// smartLabel14
|
||||
//
|
||||
this.smartLabel14.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel14.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel14.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel14.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel14.LineSpacing = 0F;
|
||||
this.smartLabel14.Location = new System.Drawing.Point(4, 324);
|
||||
this.smartLabel14.Name = "smartLabel14";
|
||||
this.smartLabel14.OverlapOptimize = true;
|
||||
this.smartLabel14.PasswordChar = '\0';
|
||||
this.smartLabel14.Radius = 3;
|
||||
this.smartLabel14.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel14.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel14.TabIndex = 32;
|
||||
this.smartLabel14.Text = "LR.Sec";
|
||||
this.smartLabel14.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel14.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel14.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel14.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel14.Wordwrap = false;
|
||||
//
|
||||
// labelMesDispMData
|
||||
//
|
||||
this.labelMesDispMData.BackGround = null;
|
||||
this.labelMesDispMData.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesDispMData.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesDispMData.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesDispMData.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesDispMData.LineSpacing = 0F;
|
||||
this.labelMesDispMData.Location = new System.Drawing.Point(80, 461);
|
||||
this.labelMesDispMData.Name = "labelMesDispMData";
|
||||
this.labelMesDispMData.OverlapOptimize = true;
|
||||
this.labelMesDispMData.PasswordChar = '\0';
|
||||
this.labelMesDispMData.Radius = 3;
|
||||
this.labelMesDispMData.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesDispMData.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesDispMData.TabIndex = 31;
|
||||
this.labelMesDispMData.Text = "9.2354";
|
||||
this.labelMesDispMData.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesDispMData.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesDispMData.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesDispMData.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesDispMData.Wordwrap = false;
|
||||
//
|
||||
// smartLabel30
|
||||
//
|
||||
this.smartLabel30.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel30.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel30.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel30.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel30.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel30.LineSpacing = 0F;
|
||||
this.smartLabel30.Location = new System.Drawing.Point(4, 461);
|
||||
this.smartLabel30.Name = "smartLabel30";
|
||||
this.smartLabel30.OverlapOptimize = true;
|
||||
this.smartLabel30.PasswordChar = '\0';
|
||||
this.smartLabel30.Radius = 3;
|
||||
this.smartLabel30.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel30.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel30.TabIndex = 30;
|
||||
this.smartLabel30.Text = "Height";
|
||||
this.smartLabel30.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel30.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel30.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel30.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel30.Wordwrap = false;
|
||||
//
|
||||
// labelMesDispRData
|
||||
//
|
||||
this.labelMesDispRData.BackGround = null;
|
||||
this.labelMesDispRData.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesDispRData.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesDispRData.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesDispRData.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesDispRData.LineSpacing = 0F;
|
||||
this.labelMesDispRData.Location = new System.Drawing.Point(80, 425);
|
||||
this.labelMesDispRData.Name = "labelMesDispRData";
|
||||
this.labelMesDispRData.OverlapOptimize = true;
|
||||
this.labelMesDispRData.PasswordChar = '\0';
|
||||
this.labelMesDispRData.Radius = 3;
|
||||
this.labelMesDispRData.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesDispRData.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesDispRData.TabIndex = 28;
|
||||
this.labelMesDispRData.Text = "-9.23 / -10.00";
|
||||
this.labelMesDispRData.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesDispRData.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesDispRData.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesDispRData.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesDispRData.Wordwrap = false;
|
||||
//
|
||||
// smartLabel32
|
||||
//
|
||||
this.smartLabel32.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel32.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel32.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel32.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel32.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel32.LineSpacing = 0F;
|
||||
this.smartLabel32.Location = new System.Drawing.Point(4, 425);
|
||||
this.smartLabel32.Name = "smartLabel32";
|
||||
this.smartLabel32.OverlapOptimize = true;
|
||||
this.smartLabel32.PasswordChar = '\0';
|
||||
this.smartLabel32.Radius = 3;
|
||||
this.smartLabel32.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel32.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel32.TabIndex = 29;
|
||||
this.smartLabel32.Text = "Level";
|
||||
this.smartLabel32.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel32.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel32.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel32.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel32.Wordwrap = false;
|
||||
//
|
||||
// labelMesResult
|
||||
//
|
||||
this.labelMesResult.BackGround = null;
|
||||
this.labelMesResult.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesResult.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesResult.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesResult.Font = new System.Drawing.Font("New Gulim", 20F, System.Drawing.FontStyle.Bold);
|
||||
this.labelMesResult.LineSpacing = 0F;
|
||||
this.labelMesResult.Location = new System.Drawing.Point(4, 42);
|
||||
this.labelMesResult.Name = "labelMesResult";
|
||||
this.labelMesResult.OverlapOptimize = true;
|
||||
this.labelMesResult.PasswordChar = '\0';
|
||||
this.labelMesResult.Radius = 3;
|
||||
this.labelMesResult.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesResult.Size = new System.Drawing.Size(167, 60);
|
||||
this.labelMesResult.TabIndex = 24;
|
||||
this.labelMesResult.Text = "제품 없음";
|
||||
this.labelMesResult.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesResult.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesResult.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesResult.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesResult.Wordwrap = false;
|
||||
//
|
||||
// smartGroupBox11
|
||||
//
|
||||
this.smartGroupBox11.BackGround = null;
|
||||
this.smartGroupBox11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartGroupBox11.BackImage = null;
|
||||
this.smartGroupBox11.Controls.Add(this.smartDrawDisp);
|
||||
this.smartGroupBox11.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartGroupBox11.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartGroupBox11.FrameLineThickness = 2;
|
||||
this.smartGroupBox11.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
|
||||
this.smartGroupBox11.HeaderHeightOffset = 1;
|
||||
this.smartGroupBox11.Location = new System.Drawing.Point(3, 293);
|
||||
this.smartGroupBox11.Name = "smartGroupBox11";
|
||||
this.smartGroupBox11.RoundRadius = 5;
|
||||
this.smartGroupBox11.Size = new System.Drawing.Size(433, 285);
|
||||
this.smartGroupBox11.TabIndex = 120;
|
||||
this.smartGroupBox11.Text = "Displacement ";
|
||||
this.smartGroupBox11.TextColor = System.Drawing.Color.White;
|
||||
//
|
||||
// smartDrawDisp
|
||||
//
|
||||
this.smartDrawDisp.BackGround = null;
|
||||
this.smartDrawDisp.BackGroundColor = System.Drawing.Color.Black;
|
||||
this.smartDrawDisp.Chart.ChartAreaMarkingDesignTime = true;
|
||||
this.smartDrawDisp.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
|
||||
this.smartDrawDisp.Chart.ChartDrawStep = 1;
|
||||
this.smartDrawDisp.Chart.ChartHeight = 230;
|
||||
this.smartDrawDisp.Chart.ChartRefreshMode = SmartX.SmartDraw.ChartRefresh.LEFTSCROLL;
|
||||
this.smartDrawDisp.Chart.ChartWidth = 405;
|
||||
this.smartDrawDisp.Chart.OriginX = 10;
|
||||
this.smartDrawDisp.Chart.OriginY = 242;
|
||||
this.smartDrawDisp.Chart.XIncrement = 1;
|
||||
this.smartDrawDisp.DrawUpdateOption = SmartX.SmartDraw.DrawUpdateOptions.DefaultAuto;
|
||||
this.smartDrawDisp.LayerSupport = SmartX.SmartDraw.LayerSupportOption.BackAndDraw;
|
||||
this.smartDrawDisp.Location = new System.Drawing.Point(3, 28);
|
||||
this.smartDrawDisp.Name = "smartDrawDisp";
|
||||
this.smartDrawDisp.OverlapOptimize = false;
|
||||
this.smartDrawDisp.Size = new System.Drawing.Size(426, 254);
|
||||
this.smartDrawDisp.TabIndex = 14;
|
||||
this.smartDrawDisp.Text = "smartDraw2";
|
||||
//
|
||||
// ControlMenuRecipeData
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.Controls.Add(this.groupBoxMeasuring1);
|
||||
this.Controls.Add(this.smartGroupBox2);
|
||||
this.Controls.Add(this.smartGroupBox11);
|
||||
this.Name = "ControlMenuRecipeData";
|
||||
this.Size = new System.Drawing.Size(620, 580);
|
||||
this.groupBoxMeasuring1.ResumeLayout(false);
|
||||
this.smartGroupBox2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.smartDrawDiff)).EndInit();
|
||||
this.smartGroupBox11.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.smartDrawDisp)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private SmartX.SmartGroupBox groupBoxMeasuring1;
|
||||
private SmartX.SmartSeparatorLine smartSeparatorLine6;
|
||||
private SmartX.SmartSeparatorLine smartSeparatorLine5;
|
||||
private SmartX.SmartLabel labelMesPressureWork;
|
||||
private SmartX.SmartLabel labelMesDiffSecMax;
|
||||
private SmartX.SmartLabel smartLabel41;
|
||||
private SmartX.SmartGroupBox smartGroupBox2;
|
||||
private SmartX.SmartDraw smartDrawDiff;
|
||||
private SmartX.SmartLabel smartLabel61;
|
||||
private SmartX.SmartLabel labelMesPressureMaster;
|
||||
private SmartX.SmartLabel smartLabel8;
|
||||
private SmartX.SmartLabel smartLabel9;
|
||||
private SmartX.SmartLabel labelMesDispMDataMax;
|
||||
private SmartX.SmartLabel smartLabel48;
|
||||
private SmartX.SmartLabel labelMesDispMDataDiff;
|
||||
private SmartX.SmartLabel smartLabel53;
|
||||
private SmartX.SmartLabel labelMesDiffMadc;
|
||||
private SmartX.SmartLabel smartLabel23;
|
||||
private SmartX.SmartSeparatorLine smartSeparatorLine4;
|
||||
private SmartX.SmartLabel labelMesDiffSecDiff;
|
||||
private SmartX.SmartLabel smartLabel14;
|
||||
private SmartX.SmartLabel labelMesDispMData;
|
||||
private SmartX.SmartLabel smartLabel30;
|
||||
private SmartX.SmartLabel labelMesDispRData;
|
||||
private SmartX.SmartLabel smartLabel32;
|
||||
private SmartX.SmartLabel labelMesResult;
|
||||
private SmartX.SmartGroupBox smartGroupBox11;
|
||||
private SmartX.SmartDraw smartDrawDisp;
|
||||
private SmartX.SmartDraw_ChartChannelPenStyle smartDraw_ChartChannelPenStyle1;
|
||||
private SmartX.SmartLabel labelMesResultDisp;
|
||||
private SmartX.SmartLabel labelMesResultDiff;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,399 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using INT_PT002.DataStore;
|
||||
using INT_PT002.Forms;
|
||||
|
||||
namespace INT_PT002.Controls
|
||||
{
|
||||
public partial class ControlMenuRecipeData : UserControl
|
||||
{
|
||||
#region Field
|
||||
private FormMenu m_ParentForm;
|
||||
|
||||
private double m_ScaleDiff;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ControlMenuRecipeData(FormMenu parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ParentForm = parent;
|
||||
|
||||
this.Initialize();
|
||||
this.InitializeData();
|
||||
this.InitializeDrawDiff();
|
||||
this.InitializeDrawDisp();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
public FormMenu ParentForm
|
||||
{
|
||||
get { return this.m_ParentForm; }
|
||||
set { this.m_ParentForm = value; }
|
||||
}
|
||||
|
||||
public double ScaleDiff
|
||||
{
|
||||
get { return this.m_ScaleDiff; }
|
||||
set { this.m_ScaleDiff = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void Initialize()
|
||||
{
|
||||
}
|
||||
public void InitializeData()
|
||||
{
|
||||
this.labelMesResult.Text = "-";
|
||||
this.labelMesResult.TextColor = Define.ColorTextResultNone;
|
||||
this.labelMesResultDiff.Text = "Diff";
|
||||
this.labelMesResultDiff.TextColor = Define.ColorTextResultNone;
|
||||
this.labelMesResultDisp.Text = "Disp";
|
||||
this.labelMesResultDisp.TextColor = Define.ColorTextResultNone;
|
||||
|
||||
this.labelMesPressureMaster.Text = "0.0";
|
||||
this.labelMesPressureWork.Text = "0.0";
|
||||
|
||||
this.labelMesDiffMadc.Text = "0.00";
|
||||
this.labelMesDiffSecDiff.Text = "0.00";
|
||||
this.labelMesDiffSecMax.Text = "0.00";
|
||||
|
||||
this.labelMesDispRData.Text = "0.00";
|
||||
this.labelMesDispMData.Text = "0.00";
|
||||
this.labelMesDispMDataDiff.Text = "0.00";
|
||||
this.labelMesDispMDataMax.Text = "0.00";
|
||||
}
|
||||
private void InitializeDrawDiff()
|
||||
{
|
||||
// SetChartConfig
|
||||
this.smartDrawDiff.Chart.SetChartConfig(10, 242, 405, 230, 2, SmartDraw.ChartRefresh.LEFTSCROLL);
|
||||
// BackLayer 기준선 표시
|
||||
this.smartDrawDiff.BackLayer.SetPenStyle(Color.Gray, 2);
|
||||
// BackLayer 세로
|
||||
this.smartDrawDiff.BackLayer.Line(10, 12, 10, 242);
|
||||
// BackLayer 가로
|
||||
this.smartDrawDiff.BackLayer.Line(10, 242, 415, 242);
|
||||
}
|
||||
private void InitializeDrawDisp()
|
||||
{
|
||||
// SetChartConfig
|
||||
this.smartDrawDisp.Chart.SetChartConfig(10, 242, 405, 230, 2, SmartDraw.ChartRefresh.LEFTSCROLL);
|
||||
// BackLayer 기준선 표시
|
||||
this.smartDrawDisp.BackLayer.SetPenStyle(Color.Gray, 2);
|
||||
// BackLayer 세로
|
||||
this.smartDrawDisp.BackLayer.Line(10, 12, 10, 242);
|
||||
// BackLayer 가로
|
||||
this.smartDrawDisp.BackLayer.Line(10, 242, 415, 242);
|
||||
}
|
||||
public void DrawPutDataAllClear()
|
||||
{
|
||||
this.smartDrawDiff.Chart.PutDataAllClear();
|
||||
this.smartDrawDisp.Chart.PutDataAllClear();
|
||||
}
|
||||
public void CalScaleDiff(string limit)
|
||||
{
|
||||
int iValue = 0;
|
||||
|
||||
// Lr Limit 설정값
|
||||
// double to int
|
||||
// 소수점 2자리 고정
|
||||
iValue = int.Parse(limit.Replace(".", ""));
|
||||
|
||||
// 그래프 높이 230
|
||||
this.ScaleDiff = (iValue * 10) / 230;
|
||||
}
|
||||
/// <summary>
|
||||
/// 차압센서 그래프 기준선
|
||||
/// </summary>
|
||||
/// <param name="value">Lr.Limit</param>
|
||||
public void DrawDiffReferenceLine(string value)
|
||||
{
|
||||
string sValue = "";
|
||||
int iValue = 0;
|
||||
double dValue = 0.0;
|
||||
|
||||
sValue = value.Replace(".", "");
|
||||
dValue = int.Parse(sValue) / this.ScaleDiff;
|
||||
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 3;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDrawDiff.BackLayer.Erase();
|
||||
this.InitializeDrawDiff();
|
||||
// 가로 기준선
|
||||
//this.smartDrawDiff.BackLayer.Line(10, 242, 415, 242);
|
||||
this.smartDrawDiff.BackLayer.SetPenStyle(Color.Blue, 2);
|
||||
this.smartDrawDiff.BackLayer.Line(10, 242 - iValue, 415, 242 - iValue);
|
||||
}
|
||||
/// <summary>
|
||||
/// 변위센서 그래프 기준선
|
||||
/// </summary>
|
||||
/// <param name="value">Min Hight</param>
|
||||
public void DrawDispReferenceLine(string value)
|
||||
{
|
||||
string sValue = "";
|
||||
int iValue = 0;
|
||||
double dValue = 0.0;
|
||||
|
||||
// 값 표시 범위
|
||||
// 0.00 ~ 15.00
|
||||
// 그래프 영역 높이 230
|
||||
// 1500 / 230 = 6.521739130434783
|
||||
|
||||
sValue = value.Replace(".", "");
|
||||
dValue = int.Parse(sValue) / 6.521739130434783;
|
||||
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 3;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDrawDisp.BackLayer.Erase();
|
||||
this.InitializeDrawDisp();
|
||||
// 가로 기준선
|
||||
//this.smartDrawDisp.BackLayer.Line(10, 242, 415, 242);
|
||||
this.smartDrawDisp.BackLayer.SetPenStyle(Color.Blue, 2);
|
||||
this.smartDrawDisp.BackLayer.Line(10, 242 - iValue, 415, 242 - iValue);
|
||||
}
|
||||
|
||||
private void UpdateDisplayDotGraphDiff(DiffData diff)
|
||||
{
|
||||
string value = "";
|
||||
int iValue = 0;
|
||||
double dValue = 0.0;
|
||||
|
||||
value = diff.SecBuf.Replace(".", "");
|
||||
dValue = int.Parse(value) / this.ScaleDiff;
|
||||
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 3;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDrawDiff.Chart.PutData(iValue);
|
||||
}
|
||||
private void UpdateDisplayDotGraphDisp(DispData disp)
|
||||
{
|
||||
string value = "";
|
||||
int iValue = 0;
|
||||
double dValue = 0.0;
|
||||
|
||||
// 값 표시 범위
|
||||
// 0.00 ~ 15.00
|
||||
// 그래프 영역 높이 230
|
||||
// 1500 / 230 = 6.521739130434783
|
||||
|
||||
value = disp.MData.Replace(".","");
|
||||
dValue = int.Parse(value) / 6.521739130434783;
|
||||
|
||||
if (dValue > 230)
|
||||
dValue = 230;
|
||||
if (dValue < 1)
|
||||
dValue = 3;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDrawDisp.Chart.PutData(iValue);
|
||||
}
|
||||
|
||||
private void GetJudgmentResult(Define.E_JudgmentStatus judg, SmartLabel label2)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
switch (judg)
|
||||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
value = "-";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
value = "Pass";
|
||||
label2.TextColor = Define.ColorTextResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
value = "Leak";
|
||||
label2.TextColor = Define.ColorTextResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
value = "Empty";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
value = "Error";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (label2.Text != value)
|
||||
label2.Text = value;
|
||||
}
|
||||
private void GetJudgmentResultDiff(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
switch (judg)
|
||||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
label.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
label.TextColor = Define.ColorTextResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
label.TextColor = Define.ColorTextResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
label.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
label.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void GetJudgmentResultDisp(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
switch (judg)
|
||||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
label.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
label.TextColor = Define.ColorTextResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
label.TextColor = Define.ColorTextResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
label.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
label.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateDisplayMeasuringLeakDataDiff(DiffData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 차압센서 데이터
|
||||
value = data.MAdc;
|
||||
if (this.labelMesDiffMadc.Text != value)
|
||||
this.labelMesDiffMadc.Text = value;
|
||||
|
||||
value = data.SecBuf;
|
||||
if (this.labelMesDiffSecDiff.Text != value)
|
||||
this.labelMesDiffSecDiff.Text = value;
|
||||
|
||||
value = data.SecBufMax;
|
||||
if (this.labelMesDiffSecMax.Text != value)
|
||||
this.labelMesDiffSecMax.Text = value;
|
||||
|
||||
if (this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
this.UpdateDisplayDotGraphDiff(data);
|
||||
}
|
||||
public void UpdateDisplayMeasuringLeakDataDisp(DispData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 변위센서 데이터
|
||||
value = data.RData;
|
||||
if (this.labelMesDispRData.Text != value)
|
||||
this.labelMesDispRData.Text = value;
|
||||
|
||||
value = data.MData;
|
||||
if (this.labelMesDispMData.Text != value)
|
||||
this.labelMesDispMData.Text = value;
|
||||
|
||||
value = data.MDataDiff;
|
||||
if (this.labelMesDispMDataDiff.Text != value)
|
||||
this.labelMesDispMDataDiff.Text = value;
|
||||
|
||||
value = data.MDataMax;
|
||||
if (this.labelMesDispMDataMax.Text != value)
|
||||
this.labelMesDispMDataMax.Text = value;
|
||||
|
||||
if (this.ParentForm.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
this.UpdateDisplayDotGraphDisp(data);
|
||||
}
|
||||
public void UpdateDisplayMeasuringLeakDataPres(PressureData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 압력 데이터
|
||||
value = data.WorkingChamber;
|
||||
if (this.labelMesPressureWork.Text != value)
|
||||
this.labelMesPressureWork.Text = value;
|
||||
|
||||
value = data.MasterChamber;
|
||||
if (this.labelMesPressureMaster.Text != value)
|
||||
this.labelMesPressureMaster.Text = value;
|
||||
}
|
||||
public void UpdateDisplayMeasuringLeadDataResult(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.labelMesResult);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.labelMesResultDiff);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.labelMesResultDisp);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.labelMesResultDiff);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.labelMesResultDisp);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayDispControl(bool enable)
|
||||
{
|
||||
if (enable == false)
|
||||
{
|
||||
this.labelMesDispRData.Enabled = false;
|
||||
this.labelMesDispMData.Enabled = false;
|
||||
this.labelMesDispMDataDiff.Enabled = false;
|
||||
this.labelMesDispMDataMax.Enabled = false;
|
||||
|
||||
this.smartLabel32.Enabled = false;
|
||||
this.smartLabel30.Enabled = false;
|
||||
this.smartLabel53.Enabled = false;
|
||||
this.smartLabel48.Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.labelMesDispRData.Enabled = true;
|
||||
this.labelMesDispMData.Enabled = true;
|
||||
this.labelMesDispMDataDiff.Enabled = true;
|
||||
this.labelMesDispMDataMax.Enabled = true;
|
||||
|
||||
this.smartLabel32.Enabled = true;
|
||||
this.smartLabel30.Enabled = true;
|
||||
this.smartLabel53.Enabled = true;
|
||||
this.smartLabel48.Enabled = true;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,129 @@
|
|||
<?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=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>
|
||||
<metadata name="smartDraw_ChartChannelPenStyle1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="smartDraw_ChartChannelPenStyle1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
|
||||
<value>WEBPAD</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -282,7 +282,8 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.ETHERNET_OP_MODE == 1)
|
||||
{
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.MainButtonModbusAdd(true);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.MainButtonModbusAdd(true);
|
||||
this.groupBoxModbusSetting.Visible = true;
|
||||
|
||||
this.labelModbusRole.Text = "Slave";
|
||||
|
@ -293,7 +294,8 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.ETHERNET_OP_MODE == 2)
|
||||
{
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.MainButtonModbusAdd(true);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.MainButtonModbusAdd(true);
|
||||
this.groupBoxModbusSetting.Visible = true;
|
||||
|
||||
this.labelModbusRole.Text = "Master";
|
||||
|
@ -305,17 +307,20 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.MainButtonModbusAdd(false);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.MainButtonModbusAdd(false);
|
||||
this.groupBoxModbusSetting.Visible = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.MainButtonModbusAdd(false);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.MainButtonModbusAdd(false);
|
||||
this.groupBoxModbusSetting.Visible = false;
|
||||
}
|
||||
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.InitialEthernetIcon();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.InitialEthernetIcon();
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
|
@ -426,7 +431,8 @@ namespace INT_PT002.Controls
|
|||
this.ParentForm.ParentForm.EthernetClientDisconnect();
|
||||
afterOpMode = "Client";
|
||||
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.TimerServer(false);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.TimerServer(false);
|
||||
|
||||
this.labelConnectedIP.Text = "-";
|
||||
|
||||
|
@ -443,7 +449,8 @@ namespace INT_PT002.Controls
|
|||
this.ParentForm.ParentForm.SystemConfig.ETHERNET_OP_MODE = 0;
|
||||
afterOpMode = "None";
|
||||
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.TimerServer(false);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.TimerServer(false);
|
||||
|
||||
this.buttonStartServer.Enabled = false;
|
||||
this.buttonStopServer.Enabled = false;
|
||||
|
@ -565,7 +572,8 @@ namespace INT_PT002.Controls
|
|||
if (this.timerServer.Enabled != false)
|
||||
this.timerServer.Enabled = false;
|
||||
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.TimerServer(false);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.TimerServer(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -574,7 +582,8 @@ namespace INT_PT002.Controls
|
|||
if (this.timerServer.Enabled != true)
|
||||
this.timerServer.Enabled = true;
|
||||
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.TimerServer(true);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.TimerServer(true);
|
||||
}
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.TryEthernetStart, "Server");
|
||||
|
@ -587,7 +596,8 @@ namespace INT_PT002.Controls
|
|||
if (this.labelServerStatus.Text != ">Stop")
|
||||
this.labelServerStatus.Text = ">Stop";
|
||||
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay.TimerServer(false);
|
||||
if (this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ParentForm.ChildFormMainDisplay3.TimerServer(false);
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.TryEthernetStop, "Server");
|
||||
}
|
||||
private void buttonSaveServer_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -130,7 +130,7 @@ namespace INT_PT002.Controls
|
|||
|
||||
if (check == Define.E_UpdateCheck.Success)
|
||||
{
|
||||
DialogFormProgressBar progressBar = new DialogFormProgressBar(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
||||
DialogFormProgressBar progressBar = new DialogFormProgressBar(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE, this.ParentForm.ParentForm);
|
||||
DialogResult dialogResult = progressBar.ShowDialog();
|
||||
}
|
||||
else if (check == Define.E_UpdateCheck.NoUsbMomery)
|
||||
|
@ -238,7 +238,7 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
this.ParentForm.ParentForm.CloseSmartUartLink();
|
||||
|
||||
DialogFormProgressBar progressBar = new DialogFormProgressBar(2, this.ParentForm.ParentForm.SystemConfig.LANGUAGE, this.ParentForm.ParentForm.UpdateForMain);
|
||||
DialogFormProgressBar progressBar = new DialogFormProgressBar(2, this.ParentForm.ParentForm.SystemConfig.LANGUAGE, this.ParentForm.ParentForm.UpdateForMain, this.ParentForm.ParentForm);
|
||||
DialogResult dialogResult = progressBar.ShowDialog();
|
||||
if (dialogResult == DialogResult.OK)
|
||||
{
|
||||
|
|
|
@ -0,0 +1,537 @@
|
|||
namespace INT_PT002.Controls
|
||||
{
|
||||
partial class ControlMenuSystemSetting
|
||||
{
|
||||
/// <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 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()
|
||||
{
|
||||
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
||||
this.labelCheckLane = new SmartX.SmartLabel();
|
||||
this.smartLabel39 = new SmartX.SmartLabel();
|
||||
this.labelEquipmentLane = new SmartX.SmartLabel();
|
||||
this.smartLabel37 = new SmartX.SmartLabel();
|
||||
this.smartLabel32 = new SmartX.SmartLabel();
|
||||
this.smartLabel31 = new SmartX.SmartLabel();
|
||||
this.smartLabel30 = new SmartX.SmartLabel();
|
||||
this.smartLabel29 = new SmartX.SmartLabel();
|
||||
this.labelSbDiffFilter = new SmartX.SmartLabel();
|
||||
this.smartLabel27 = new SmartX.SmartLabel();
|
||||
this.labelBuzzer = new SmartX.SmartLabel();
|
||||
this.smartLabel23 = new SmartX.SmartLabel();
|
||||
this.labelCutWait = new SmartX.SmartLabel();
|
||||
this.smartLabel20 = new SmartX.SmartLabel();
|
||||
this.labelChattering = new SmartX.SmartLabel();
|
||||
this.smartLabel18 = new SmartX.SmartLabel();
|
||||
this.labelLcdDataPeriod = new SmartX.SmartLabel();
|
||||
this.smartLabel14 = new SmartX.SmartLabel();
|
||||
this.smartTimerMessageShow = new SmartX.SmartTimer();
|
||||
this.smartGroupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// smartGroupBox1
|
||||
//
|
||||
this.smartGroupBox1.BackGround = null;
|
||||
this.smartGroupBox1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartGroupBox1.BackImage = null;
|
||||
this.smartGroupBox1.Controls.Add(this.labelCheckLane);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel39);
|
||||
this.smartGroupBox1.Controls.Add(this.labelEquipmentLane);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel14);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel37);
|
||||
this.smartGroupBox1.Controls.Add(this.labelLcdDataPeriod);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel32);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel18);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel31);
|
||||
this.smartGroupBox1.Controls.Add(this.labelChattering);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel30);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel20);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel29);
|
||||
this.smartGroupBox1.Controls.Add(this.labelCutWait);
|
||||
this.smartGroupBox1.Controls.Add(this.labelSbDiffFilter);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel23);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel27);
|
||||
this.smartGroupBox1.Controls.Add(this.labelBuzzer);
|
||||
this.smartGroupBox1.FrameLineColor1 = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartGroupBox1.FrameLineColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(58)))), ((int)(((byte)(110)))), ((int)(((byte)(165)))));
|
||||
this.smartGroupBox1.FrameLineThickness = 2;
|
||||
this.smartGroupBox1.FrameStyle = SmartX.SmartGroupBox.FRAMESTYLES.HeaderBar;
|
||||
this.smartGroupBox1.HeaderHeightOffset = 9;
|
||||
this.smartGroupBox1.Location = new System.Drawing.Point(0, 0);
|
||||
this.smartGroupBox1.Name = "smartGroupBox1";
|
||||
this.smartGroupBox1.RoundRadius = 5;
|
||||
this.smartGroupBox1.Size = new System.Drawing.Size(909, 664);
|
||||
this.smartGroupBox1.TabIndex = 2;
|
||||
this.smartGroupBox1.Text = "smartGroupBox1";
|
||||
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
|
||||
//
|
||||
// labelCheckLane
|
||||
//
|
||||
this.labelCheckLane.BackGround = null;
|
||||
this.labelCheckLane.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelCheckLane.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelCheckLane.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelCheckLane.LineSpacing = 0F;
|
||||
this.labelCheckLane.Location = new System.Drawing.Point(668, 181);
|
||||
this.labelCheckLane.Name = "labelCheckLane";
|
||||
this.labelCheckLane.OverlapOptimize = true;
|
||||
this.labelCheckLane.PasswordChar = '\0';
|
||||
this.labelCheckLane.Radius = 3;
|
||||
this.labelCheckLane.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelCheckLane.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelCheckLane.TabIndex = 135;
|
||||
this.labelCheckLane.Text = "12345.45";
|
||||
this.labelCheckLane.TextColor = System.Drawing.Color.Black;
|
||||
this.labelCheckLane.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelCheckLane.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelCheckLane.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelCheckLane.Wordwrap = false;
|
||||
this.labelCheckLane.Click += new System.EventHandler(this.labelCheckLane_Click);
|
||||
//
|
||||
// smartLabel39
|
||||
//
|
||||
this.smartLabel39.BackGround = null;
|
||||
this.smartLabel39.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel39.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel39.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel39.LineSpacing = 0F;
|
||||
this.smartLabel39.Location = new System.Drawing.Point(512, 181);
|
||||
this.smartLabel39.Name = "smartLabel39";
|
||||
this.smartLabel39.OverlapOptimize = true;
|
||||
this.smartLabel39.PasswordChar = '\0';
|
||||
this.smartLabel39.Radius = 3;
|
||||
this.smartLabel39.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel39.Size = new System.Drawing.Size(150, 30);
|
||||
this.smartLabel39.TabIndex = 134;
|
||||
this.smartLabel39.Text = "Check Lane";
|
||||
this.smartLabel39.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel39.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel39.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel39.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel39.Wordwrap = false;
|
||||
//
|
||||
// labelEquipmentLane
|
||||
//
|
||||
this.labelEquipmentLane.BackGround = null;
|
||||
this.labelEquipmentLane.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelEquipmentLane.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelEquipmentLane.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelEquipmentLane.LineSpacing = 0F;
|
||||
this.labelEquipmentLane.Location = new System.Drawing.Point(277, 181);
|
||||
this.labelEquipmentLane.Name = "labelEquipmentLane";
|
||||
this.labelEquipmentLane.OverlapOptimize = true;
|
||||
this.labelEquipmentLane.PasswordChar = '\0';
|
||||
this.labelEquipmentLane.Radius = 3;
|
||||
this.labelEquipmentLane.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelEquipmentLane.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelEquipmentLane.TabIndex = 133;
|
||||
this.labelEquipmentLane.Text = "12345.45";
|
||||
this.labelEquipmentLane.TextColor = System.Drawing.Color.Black;
|
||||
this.labelEquipmentLane.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelEquipmentLane.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelEquipmentLane.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelEquipmentLane.Wordwrap = false;
|
||||
this.labelEquipmentLane.Click += new System.EventHandler(this.labelEquipmentLane_Click);
|
||||
//
|
||||
// smartLabel37
|
||||
//
|
||||
this.smartLabel37.BackGround = null;
|
||||
this.smartLabel37.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel37.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel37.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel37.LineSpacing = 0F;
|
||||
this.smartLabel37.Location = new System.Drawing.Point(121, 181);
|
||||
this.smartLabel37.Name = "smartLabel37";
|
||||
this.smartLabel37.OverlapOptimize = true;
|
||||
this.smartLabel37.PasswordChar = '\0';
|
||||
this.smartLabel37.Radius = 3;
|
||||
this.smartLabel37.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel37.Size = new System.Drawing.Size(150, 30);
|
||||
this.smartLabel37.TabIndex = 132;
|
||||
this.smartLabel37.Text = "Equipment Lane";
|
||||
this.smartLabel37.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel37.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel37.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel37.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel37.Wordwrap = false;
|
||||
//
|
||||
// smartLabel32
|
||||
//
|
||||
this.smartLabel32.BackGround = null;
|
||||
this.smartLabel32.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel32.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel32.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel32.LineSpacing = 0F;
|
||||
this.smartLabel32.Location = new System.Drawing.Point(774, 217);
|
||||
this.smartLabel32.Name = "smartLabel32";
|
||||
this.smartLabel32.OverlapOptimize = true;
|
||||
this.smartLabel32.PasswordChar = '\0';
|
||||
this.smartLabel32.Radius = 3;
|
||||
this.smartLabel32.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel32.Size = new System.Drawing.Size(40, 30);
|
||||
this.smartLabel32.TabIndex = 131;
|
||||
this.smartLabel32.Text = "msec";
|
||||
this.smartLabel32.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel32.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel32.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.smartLabel32.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel32.Wordwrap = false;
|
||||
//
|
||||
// smartLabel31
|
||||
//
|
||||
this.smartLabel31.BackGround = null;
|
||||
this.smartLabel31.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel31.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel31.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel31.LineSpacing = 0F;
|
||||
this.smartLabel31.Location = new System.Drawing.Point(383, 289);
|
||||
this.smartLabel31.Name = "smartLabel31";
|
||||
this.smartLabel31.OverlapOptimize = true;
|
||||
this.smartLabel31.PasswordChar = '\0';
|
||||
this.smartLabel31.Radius = 3;
|
||||
this.smartLabel31.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel31.Size = new System.Drawing.Size(40, 30);
|
||||
this.smartLabel31.TabIndex = 130;
|
||||
this.smartLabel31.Text = "msec";
|
||||
this.smartLabel31.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel31.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel31.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.smartLabel31.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel31.Wordwrap = false;
|
||||
//
|
||||
// smartLabel30
|
||||
//
|
||||
this.smartLabel30.BackGround = null;
|
||||
this.smartLabel30.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel30.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel30.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel30.LineSpacing = 0F;
|
||||
this.smartLabel30.Location = new System.Drawing.Point(383, 253);
|
||||
this.smartLabel30.Name = "smartLabel30";
|
||||
this.smartLabel30.OverlapOptimize = true;
|
||||
this.smartLabel30.PasswordChar = '\0';
|
||||
this.smartLabel30.Radius = 3;
|
||||
this.smartLabel30.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel30.Size = new System.Drawing.Size(40, 30);
|
||||
this.smartLabel30.TabIndex = 129;
|
||||
this.smartLabel30.Text = "msec";
|
||||
this.smartLabel30.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel30.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel30.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.smartLabel30.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel30.Wordwrap = false;
|
||||
//
|
||||
// smartLabel29
|
||||
//
|
||||
this.smartLabel29.BackGround = null;
|
||||
this.smartLabel29.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel29.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel29.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel29.LineSpacing = 0F;
|
||||
this.smartLabel29.Location = new System.Drawing.Point(383, 217);
|
||||
this.smartLabel29.Name = "smartLabel29";
|
||||
this.smartLabel29.OverlapOptimize = true;
|
||||
this.smartLabel29.PasswordChar = '\0';
|
||||
this.smartLabel29.Radius = 3;
|
||||
this.smartLabel29.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel29.Size = new System.Drawing.Size(40, 30);
|
||||
this.smartLabel29.TabIndex = 128;
|
||||
this.smartLabel29.Text = "msec";
|
||||
this.smartLabel29.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel29.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel29.TextHAlign = SmartX.SmartLabel.TextHorAlign.Left;
|
||||
this.smartLabel29.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel29.Wordwrap = false;
|
||||
//
|
||||
// labelSbDiffFilter
|
||||
//
|
||||
this.labelSbDiffFilter.BackGround = null;
|
||||
this.labelSbDiffFilter.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelSbDiffFilter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelSbDiffFilter.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelSbDiffFilter.LineSpacing = 0F;
|
||||
this.labelSbDiffFilter.Location = new System.Drawing.Point(668, 253);
|
||||
this.labelSbDiffFilter.Name = "labelSbDiffFilter";
|
||||
this.labelSbDiffFilter.OverlapOptimize = true;
|
||||
this.labelSbDiffFilter.PasswordChar = '\0';
|
||||
this.labelSbDiffFilter.Radius = 3;
|
||||
this.labelSbDiffFilter.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelSbDiffFilter.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelSbDiffFilter.TabIndex = 112;
|
||||
this.labelSbDiffFilter.Text = "12345.45";
|
||||
this.labelSbDiffFilter.TextColor = System.Drawing.Color.Black;
|
||||
this.labelSbDiffFilter.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelSbDiffFilter.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelSbDiffFilter.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelSbDiffFilter.Wordwrap = false;
|
||||
this.labelSbDiffFilter.Click += new System.EventHandler(this.labelSbDiffFilter_Click);
|
||||
//
|
||||
// smartLabel27
|
||||
//
|
||||
this.smartLabel27.BackGround = null;
|
||||
this.smartLabel27.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel27.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel27.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel27.LineSpacing = 0F;
|
||||
this.smartLabel27.Location = new System.Drawing.Point(512, 253);
|
||||
this.smartLabel27.Name = "smartLabel27";
|
||||
this.smartLabel27.OverlapOptimize = true;
|
||||
this.smartLabel27.PasswordChar = '\0';
|
||||
this.smartLabel27.Radius = 3;
|
||||
this.smartLabel27.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel27.Size = new System.Drawing.Size(150, 30);
|
||||
this.smartLabel27.TabIndex = 111;
|
||||
this.smartLabel27.Text = "SB diff filter";
|
||||
this.smartLabel27.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel27.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel27.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel27.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel27.Wordwrap = false;
|
||||
//
|
||||
// labelBuzzer
|
||||
//
|
||||
this.labelBuzzer.BackGround = null;
|
||||
this.labelBuzzer.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelBuzzer.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelBuzzer.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelBuzzer.LineSpacing = 0F;
|
||||
this.labelBuzzer.Location = new System.Drawing.Point(668, 217);
|
||||
this.labelBuzzer.Name = "labelBuzzer";
|
||||
this.labelBuzzer.OverlapOptimize = true;
|
||||
this.labelBuzzer.PasswordChar = '\0';
|
||||
this.labelBuzzer.Radius = 3;
|
||||
this.labelBuzzer.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelBuzzer.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelBuzzer.TabIndex = 110;
|
||||
this.labelBuzzer.Text = "12345.45";
|
||||
this.labelBuzzer.TextColor = System.Drawing.Color.Black;
|
||||
this.labelBuzzer.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelBuzzer.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelBuzzer.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelBuzzer.Wordwrap = false;
|
||||
this.labelBuzzer.Click += new System.EventHandler(this.labelBuzzer_Click);
|
||||
//
|
||||
// smartLabel23
|
||||
//
|
||||
this.smartLabel23.BackGround = null;
|
||||
this.smartLabel23.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel23.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel23.LineSpacing = 0F;
|
||||
this.smartLabel23.Location = new System.Drawing.Point(512, 217);
|
||||
this.smartLabel23.Name = "smartLabel23";
|
||||
this.smartLabel23.OverlapOptimize = true;
|
||||
this.smartLabel23.PasswordChar = '\0';
|
||||
this.smartLabel23.Radius = 3;
|
||||
this.smartLabel23.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel23.Size = new System.Drawing.Size(150, 30);
|
||||
this.smartLabel23.TabIndex = 109;
|
||||
this.smartLabel23.Text = "Buzzer";
|
||||
this.smartLabel23.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel23.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel23.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel23.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel23.Wordwrap = false;
|
||||
//
|
||||
// labelCutWait
|
||||
//
|
||||
this.labelCutWait.BackGround = null;
|
||||
this.labelCutWait.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelCutWait.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelCutWait.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelCutWait.LineSpacing = 0F;
|
||||
this.labelCutWait.Location = new System.Drawing.Point(277, 289);
|
||||
this.labelCutWait.Name = "labelCutWait";
|
||||
this.labelCutWait.OverlapOptimize = true;
|
||||
this.labelCutWait.PasswordChar = '\0';
|
||||
this.labelCutWait.Radius = 3;
|
||||
this.labelCutWait.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelCutWait.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelCutWait.TabIndex = 108;
|
||||
this.labelCutWait.Text = "12345.45";
|
||||
this.labelCutWait.TextColor = System.Drawing.Color.Black;
|
||||
this.labelCutWait.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelCutWait.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelCutWait.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelCutWait.Wordwrap = false;
|
||||
this.labelCutWait.Click += new System.EventHandler(this.labelCutWait_Click);
|
||||
//
|
||||
// smartLabel20
|
||||
//
|
||||
this.smartLabel20.BackGround = null;
|
||||
this.smartLabel20.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel20.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel20.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel20.LineSpacing = 0F;
|
||||
this.smartLabel20.Location = new System.Drawing.Point(121, 289);
|
||||
this.smartLabel20.Name = "smartLabel20";
|
||||
this.smartLabel20.OverlapOptimize = true;
|
||||
this.smartLabel20.PasswordChar = '\0';
|
||||
this.smartLabel20.Radius = 3;
|
||||
this.smartLabel20.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel20.Size = new System.Drawing.Size(150, 30);
|
||||
this.smartLabel20.TabIndex = 107;
|
||||
this.smartLabel20.Text = "Cut wait";
|
||||
this.smartLabel20.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel20.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel20.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel20.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel20.Wordwrap = false;
|
||||
//
|
||||
// labelChattering
|
||||
//
|
||||
this.labelChattering.BackGround = null;
|
||||
this.labelChattering.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelChattering.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelChattering.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelChattering.LineSpacing = 0F;
|
||||
this.labelChattering.Location = new System.Drawing.Point(277, 253);
|
||||
this.labelChattering.Name = "labelChattering";
|
||||
this.labelChattering.OverlapOptimize = true;
|
||||
this.labelChattering.PasswordChar = '\0';
|
||||
this.labelChattering.Radius = 3;
|
||||
this.labelChattering.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelChattering.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelChattering.TabIndex = 106;
|
||||
this.labelChattering.Text = "12345.45";
|
||||
this.labelChattering.TextColor = System.Drawing.Color.Black;
|
||||
this.labelChattering.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelChattering.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelChattering.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelChattering.Wordwrap = false;
|
||||
this.labelChattering.Click += new System.EventHandler(this.labelChattering_Click);
|
||||
//
|
||||
// smartLabel18
|
||||
//
|
||||
this.smartLabel18.BackGround = null;
|
||||
this.smartLabel18.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel18.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel18.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel18.LineSpacing = 0F;
|
||||
this.smartLabel18.Location = new System.Drawing.Point(121, 253);
|
||||
this.smartLabel18.Name = "smartLabel18";
|
||||
this.smartLabel18.OverlapOptimize = true;
|
||||
this.smartLabel18.PasswordChar = '\0';
|
||||
this.smartLabel18.Radius = 3;
|
||||
this.smartLabel18.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel18.Size = new System.Drawing.Size(150, 30);
|
||||
this.smartLabel18.TabIndex = 105;
|
||||
this.smartLabel18.Text = "Chattering";
|
||||
this.smartLabel18.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel18.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel18.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel18.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel18.Wordwrap = false;
|
||||
//
|
||||
// labelLcdDataPeriod
|
||||
//
|
||||
this.labelLcdDataPeriod.BackGround = null;
|
||||
this.labelLcdDataPeriod.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelLcdDataPeriod.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelLcdDataPeriod.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelLcdDataPeriod.LineSpacing = 0F;
|
||||
this.labelLcdDataPeriod.Location = new System.Drawing.Point(277, 217);
|
||||
this.labelLcdDataPeriod.Name = "labelLcdDataPeriod";
|
||||
this.labelLcdDataPeriod.OverlapOptimize = true;
|
||||
this.labelLcdDataPeriod.PasswordChar = '\0';
|
||||
this.labelLcdDataPeriod.Radius = 3;
|
||||
this.labelLcdDataPeriod.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelLcdDataPeriod.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelLcdDataPeriod.TabIndex = 104;
|
||||
this.labelLcdDataPeriod.Text = "12345.45";
|
||||
this.labelLcdDataPeriod.TextColor = System.Drawing.Color.Black;
|
||||
this.labelLcdDataPeriod.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelLcdDataPeriod.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelLcdDataPeriod.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelLcdDataPeriod.Wordwrap = false;
|
||||
this.labelLcdDataPeriod.Click += new System.EventHandler(this.labelLcdDataPeriod_Click);
|
||||
//
|
||||
// smartLabel14
|
||||
//
|
||||
this.smartLabel14.BackGround = null;
|
||||
this.smartLabel14.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(52)))), ((int)(((byte)(51)))), ((int)(((byte)(65)))));
|
||||
this.smartLabel14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel14.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel14.LineSpacing = 0F;
|
||||
this.smartLabel14.Location = new System.Drawing.Point(121, 217);
|
||||
this.smartLabel14.Name = "smartLabel14";
|
||||
this.smartLabel14.OverlapOptimize = true;
|
||||
this.smartLabel14.PasswordChar = '\0';
|
||||
this.smartLabel14.Radius = 3;
|
||||
this.smartLabel14.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel14.Size = new System.Drawing.Size(150, 30);
|
||||
this.smartLabel14.TabIndex = 103;
|
||||
this.smartLabel14.Text = "LCD data period";
|
||||
this.smartLabel14.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel14.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel14.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel14.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel14.Wordwrap = false;
|
||||
//
|
||||
// smartTimerMessageShow
|
||||
//
|
||||
this.smartTimerMessageShow.CounterMode = SmartX.SmartTimer.CounterModes.Up_Counter;
|
||||
this.smartTimerMessageShow.Interval = 10;
|
||||
this.smartTimerMessageShow.IntervalSeries = null;
|
||||
this.smartTimerMessageShow.TimeCount = ((long)(1000000));
|
||||
this.smartTimerMessageShow.TimeFormStringSeparator = ":";
|
||||
this.smartTimerMessageShow.Tick += new System.EventHandler(this.smartTimerMessageShow_Tick);
|
||||
//
|
||||
// ControlMenuSystemSetting
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.Controls.Add(this.smartGroupBox1);
|
||||
this.Name = "ControlMenuSystemSetting";
|
||||
this.Size = new System.Drawing.Size(909, 664);
|
||||
this.smartGroupBox1.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private SmartX.SmartGroupBox smartGroupBox1;
|
||||
private SmartX.SmartLabel labelSbDiffFilter;
|
||||
private SmartX.SmartLabel smartLabel27;
|
||||
private SmartX.SmartLabel labelBuzzer;
|
||||
private SmartX.SmartLabel smartLabel23;
|
||||
private SmartX.SmartLabel labelCutWait;
|
||||
private SmartX.SmartLabel smartLabel20;
|
||||
private SmartX.SmartLabel labelChattering;
|
||||
private SmartX.SmartLabel smartLabel18;
|
||||
private SmartX.SmartLabel labelLcdDataPeriod;
|
||||
private SmartX.SmartLabel smartLabel14;
|
||||
private SmartX.SmartLabel smartLabel32;
|
||||
private SmartX.SmartLabel smartLabel31;
|
||||
private SmartX.SmartLabel smartLabel30;
|
||||
private SmartX.SmartLabel smartLabel29;
|
||||
private SmartX.SmartTimer smartTimerMessageShow;
|
||||
private SmartX.SmartLabel labelCheckLane;
|
||||
private SmartX.SmartLabel smartLabel39;
|
||||
private SmartX.SmartLabel labelEquipmentLane;
|
||||
private SmartX.SmartLabel smartLabel37;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,352 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using INT_PT002.Forms;
|
||||
using INT_PT002.DataStore;
|
||||
using INT_PT002.DialogForms;
|
||||
|
||||
namespace INT_PT002.Controls
|
||||
{
|
||||
public partial class ControlMenuSystemSetting : UserControl
|
||||
{
|
||||
#region Field
|
||||
private FormMenu m_ParentForm;
|
||||
private string MessageBoxRange;
|
||||
|
||||
private Collection<SmartLabel> CollLabel;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ControlMenuSystemSetting(FormMenu parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ParentForm = parent;
|
||||
this.Initialize();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
public FormMenu ParentForm
|
||||
{
|
||||
get { return this.m_ParentForm; }
|
||||
private set { this.m_ParentForm = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void Initialize()
|
||||
{
|
||||
this.smartGroupBox1.Text = "System > Setting";
|
||||
this.MessageBoxRange = "";
|
||||
|
||||
this.CollLabel = new Collection<SmartLabel>();
|
||||
this.CollLabel.Add(this.labelLcdDataPeriod);
|
||||
this.CollLabel.Add(this.labelChattering);
|
||||
this.CollLabel.Add(this.labelCutWait);
|
||||
this.CollLabel.Add(this.labelBuzzer);
|
||||
this.CollLabel.Add(this.labelSbDiffFilter);
|
||||
}
|
||||
|
||||
private void UpdateDisplauUserControls(bool enable)
|
||||
{
|
||||
for (int i = 0; i < this.CollLabel.Count; i++)
|
||||
this.CollLabel[i].Enabled = enable;
|
||||
}
|
||||
private void UpdateDisplayUser(UserItem user)
|
||||
{
|
||||
switch (user.Group)
|
||||
{
|
||||
case Define.E_UserGroup.None:
|
||||
this.UpdateDisplauUserControls(false);
|
||||
break;
|
||||
case Define.E_UserGroup.Level1:
|
||||
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level1.IsMenuRecipe);
|
||||
break;
|
||||
case Define.E_UserGroup.Level2:
|
||||
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level2.IsMenuRecipe);
|
||||
break;
|
||||
case Define.E_UserGroup.Level3:
|
||||
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe);
|
||||
break;
|
||||
case Define.E_UserGroup.Admin:
|
||||
this.UpdateDisplauUserControls(this.ParentForm.ParentForm.CurrentUserGroup.Level3.IsMenuRecipe);
|
||||
break;
|
||||
case Define.E_UserGroup.Developer:
|
||||
this.UpdateDisplauUserControls(true);
|
||||
break;
|
||||
case Define.E_UserGroup.NotLogin:
|
||||
this.UpdateDisplauUserControls(false);
|
||||
break;
|
||||
case Define.E_UserGroup.LogOut:
|
||||
this.UpdateDisplauUserControls(false);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void UpdateDisplayControlData(SystemConfiguration item)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// LCD data period
|
||||
value = item.LCD_DATA_PERIOD.ToString();
|
||||
if (this.labelLcdDataPeriod.Text != value)
|
||||
this.labelLcdDataPeriod.Text = value;
|
||||
|
||||
// Chattering
|
||||
value = item.CHATTERING.ToString();
|
||||
if (this.labelChattering.Text != value)
|
||||
this.labelChattering.Text = value;
|
||||
|
||||
// Cut wait
|
||||
value = item.JUDGMENT_DELAY_MSEC.ToString();
|
||||
if (this.labelCutWait.Text != value)
|
||||
this.labelCutWait.Text = value;
|
||||
|
||||
// Buzzer
|
||||
value = item.BUZZER_OP.ToString();
|
||||
if (this.labelBuzzer.Text != value)
|
||||
this.labelBuzzer.Text = value;
|
||||
|
||||
// Diff filter
|
||||
value = item.SB_DIFF_FILTER.ToString();
|
||||
if (this.labelSbDiffFilter.Text != value)
|
||||
this.labelSbDiffFilter.Text = value;
|
||||
|
||||
// Equipment Lane
|
||||
value = item.EQUIPMENT_LANE.ToString();
|
||||
if (this.labelEquipmentLane.Text != value)
|
||||
this.labelEquipmentLane.Text = value;
|
||||
|
||||
// Check Lane
|
||||
value = item.CHECK_LANE.ToString();
|
||||
if (this.labelCheckLane.Text != value)
|
||||
this.labelCheckLane.Text = value;
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
{
|
||||
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Menu);
|
||||
this.UpdateDisplayControlData(this.ParentForm.ParentForm.SystemConfig);
|
||||
|
||||
this.UpdateDisplayUser(this.ParentForm.ParentForm.CurrentSystemStatus.CurrentUser);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
private void labelLcdDataPeriod_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
||||
before = this.labelLcdDataPeriod.Text;
|
||||
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel14.Text, this.labelLcdDataPeriod.Text, 4, 0, false);
|
||||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 100 || myKeypad.IntValue > 5000)
|
||||
{
|
||||
this.MessageBoxRange = "100 ~ 5000";
|
||||
this.labelLcdDataPeriod.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
}
|
||||
|
||||
this.labelLcdDataPeriod.Text = myKeypad.StringValue;
|
||||
this.ParentForm.ParentForm.SystemConfig.LCD_DATA_PERIOD = myKeypad.IntValue;
|
||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
|
||||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1710_LcdDataPeriod, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_LcdDataPeriod, "", before, after);
|
||||
}
|
||||
}
|
||||
private void labelChattering_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
||||
before = this.labelChattering.Text;
|
||||
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel18.Text, this.labelChattering.Text, 4, 0, false);
|
||||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 50 || myKeypad.IntValue > 500)
|
||||
{
|
||||
this.MessageBoxRange = "50 ~ 500";
|
||||
this.labelChattering.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
}
|
||||
|
||||
this.labelChattering.Text = myKeypad.StringValue;
|
||||
this.ParentForm.ParentForm.SystemConfig.CHATTERING = myKeypad.IntValue;
|
||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
|
||||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._6006_Chattering, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_Chattering, "", before, after);
|
||||
}
|
||||
}
|
||||
private void labelCutWait_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
||||
before = this.labelCutWait.Text;
|
||||
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel20.Text, this.labelCutWait.Text, 4, 0, false);
|
||||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 100 || myKeypad.IntValue > 9999)
|
||||
{
|
||||
this.MessageBoxRange = "100 ~ 9999";
|
||||
this.labelCutWait.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
}
|
||||
|
||||
this.labelCutWait.Text = myKeypad.StringValue;
|
||||
this.ParentForm.ParentForm.SystemConfig.JUDGMENT_DELAY_MSEC = myKeypad.IntValue;
|
||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
|
||||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5508_CuttingWait, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_CutWait, "", before, after);
|
||||
}
|
||||
}
|
||||
private void labelBuzzer_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
||||
before = this.labelBuzzer.Text;
|
||||
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel23.Text, this.labelBuzzer.Text, 4, 0, false);
|
||||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 0 || myKeypad.IntValue > 9999)
|
||||
{
|
||||
this.MessageBoxRange = "0 ~ 9999";
|
||||
this.labelBuzzer.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
}
|
||||
|
||||
this.labelBuzzer.Text = myKeypad.StringValue;
|
||||
this.ParentForm.ParentForm.SystemConfig.BUZZER_OP = myKeypad.IntValue;
|
||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
|
||||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._6001_BuzzerOP, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_Buzzer, "", before, after);
|
||||
}
|
||||
}
|
||||
private void labelSbDiffFilter_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
||||
before = this.labelSbDiffFilter.Text;
|
||||
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel27.Text, this.labelSbDiffFilter.Text, 2, 0, false);
|
||||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 1 || myKeypad.IntValue > 16)
|
||||
{
|
||||
this.MessageBoxRange = "1 ~ 16";
|
||||
this.labelSbDiffFilter.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
}
|
||||
|
||||
this.labelSbDiffFilter.Text = myKeypad.StringValue;
|
||||
this.ParentForm.ParentForm.SystemConfig.SB_DIFF_FILTER = myKeypad.IntValue;
|
||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
|
||||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1706_SbDiffFilter, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_SbDiffFilter, "", before, after);
|
||||
}
|
||||
}
|
||||
private void labelEquipmentLane_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
||||
before = this.labelEquipmentLane.Text;
|
||||
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel37.Text, this.labelEquipmentLane.Text, 4, 0, false);
|
||||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 1 || myKeypad.IntValue > 16)
|
||||
{
|
||||
this.MessageBoxRange = "1 ~ 16";
|
||||
this.labelEquipmentLane.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
}
|
||||
|
||||
this.labelEquipmentLane.Text = myKeypad.StringValue;
|
||||
this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE = myKeypad.IntValue;
|
||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
|
||||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1003_EquipmentLane, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_EquipmentLane, "", before, after);
|
||||
}
|
||||
}
|
||||
private void labelCheckLane_Click(object sender, EventArgs e)
|
||||
{
|
||||
string value = "", before = "", after = "";
|
||||
|
||||
before = this.labelCheckLane.Text;
|
||||
DialogFormNumKeyPad myKeypad = new DialogFormNumKeyPad(this.smartLabel39.Text, this.labelCheckLane.Text, 4, 0, false);
|
||||
|
||||
if (myKeypad.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (myKeypad.IntValue < 1 || myKeypad.IntValue > this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE)
|
||||
{
|
||||
this.MessageBoxRange = string.Format("1 ~ {0}", this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE);
|
||||
this.labelEquipmentLane.Text = before;
|
||||
this.smartTimerMessageShow.Start();
|
||||
return;
|
||||
}
|
||||
|
||||
this.labelCheckLane.Text = myKeypad.StringValue;
|
||||
this.ParentForm.ParentForm.SystemConfig.CHECK_LANE = myKeypad.IntValue;
|
||||
this.ParentForm.ParentForm.SaveSystemConfigurationFile(this.ParentForm.ParentForm.SystemConfig);
|
||||
after = myKeypad.StringValue;
|
||||
|
||||
value = Helper.StringBlankFillDigits4(myKeypad.StringValue);
|
||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._1711_CheckLane, value);
|
||||
|
||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Etc_CheckLane, "", before, after);
|
||||
}
|
||||
}
|
||||
|
||||
private void smartTimerMessageShow_Tick(object sender, EventArgs e)
|
||||
{
|
||||
this.smartTimerMessageShow.Stop();
|
||||
|
||||
DialogFormMessage msg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE, this.MessageBoxRange);
|
||||
msg.ShowDialog();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,129 @@
|
|||
<?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=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>
|
||||
<metadata name="smartTimerMessageShow.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>52</value>
|
||||
</metadata>
|
||||
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
|
||||
<value>WEBPAD</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -117,12 +117,6 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="timerOn.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="timerOff.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>114, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>47</value>
|
||||
</metadata>
|
||||
|
|
|
@ -0,0 +1,522 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using INT_PT002.Forms;
|
||||
using INT_PT002.DataStore;
|
||||
|
||||
namespace INT_PT002.Controls
|
||||
{
|
||||
public partial class ControlMenuSystemStatus2 : UserControl
|
||||
{
|
||||
#region Field
|
||||
private FormMenu m_ParentForm;
|
||||
|
||||
private Color ColorProgressOn;
|
||||
private Color ColorProgressOff;
|
||||
private Color ColorResultPass;
|
||||
private Color ColorResultNG;
|
||||
private Color ColorResultNone;
|
||||
|
||||
private int CheckLane;
|
||||
|
||||
private Collection<SmartLabel> CollectionLabelProgress;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public ControlMenuSystemStatus2(FormMenu parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.ParentForm = parent;
|
||||
this.Initialize();
|
||||
this.InitializeData();
|
||||
this.InitializeDraw();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
public FormMenu ParentForm
|
||||
{
|
||||
get { return this.m_ParentForm; }
|
||||
private set { this.m_ParentForm = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void Initialize()
|
||||
{
|
||||
this.smartGroupBox1.Text = "System > Equipment";
|
||||
|
||||
this.ColorProgressOff = Color.Azure;
|
||||
this.ColorProgressOn = Color.Lime;
|
||||
this.ColorResultPass = Color.Green;
|
||||
this.ColorResultNG = Color.Red;
|
||||
this.ColorResultNone = Color.White;
|
||||
|
||||
this.CheckLane = 0;
|
||||
|
||||
this.CollectionLabelProgress = new Collection<SmartLabel>();
|
||||
this.CollectionLabelProgress.Clear();
|
||||
this.CollectionLabelProgress.Add(this.labelProgress1);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress2);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress3);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress4);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress5);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress6);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress7);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress8);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress9);
|
||||
this.CollectionLabelProgress.Add(this.labelProgress10);
|
||||
}
|
||||
private void InitializeData()
|
||||
{
|
||||
this.InitializeMeasuringData();
|
||||
}
|
||||
private void InitializeDraw()
|
||||
{
|
||||
// SetChartConfig
|
||||
//this.smartDraw1.Chart.SetChartConfig(10, 242, 405, 230, 2, SmartDraw.ChartRefresh.LEFTSCROLL);
|
||||
//this.smartDraw1.Chart.SetChartConfig(10, 535, 690, 525, 4, SmartDraw.ChartRefresh.LEFTSCROLL);
|
||||
this.smartDraw1.Chart.SetChartConfig(10, 350, 870, 340, 4, SmartDraw.ChartRefresh.LEFTSCROLL);
|
||||
|
||||
// BackLayer 기준선 표시
|
||||
this.smartDraw1.BackLayer.SetPenStyle(Color.Gray, 2);
|
||||
// BackLayer 세로
|
||||
this.smartDraw1.BackLayer.Line(10, 12, 10, 350);
|
||||
// BackLayer 가로 -2.000
|
||||
this.smartDraw1.BackLayer.Line(10, 350, 880, 350);
|
||||
|
||||
this.smartDraw1.Chart.ChartChannelPenStyle = this.smartDraw_ChartChannelPenStyle1;
|
||||
}
|
||||
private void InitializeMeasuringData()
|
||||
{
|
||||
// Measuring : 1 Lane
|
||||
this.labelResult1.Text = "-";
|
||||
this.labelResult1.TextColor = this.ColorResultNone;
|
||||
this.labelMesDispRData1.Text = "0.00";
|
||||
this.labelMesDispMData1.Text = "0.00";
|
||||
this.labelMesDispMDataDiff1.Text = "0.00";
|
||||
this.labelMesDispSTD1.Text = "0.00";
|
||||
this.labelMesDiffMadc1.Text = "0.00";
|
||||
this.labelMesDiffSecDiff1.Text = "0.00";
|
||||
this.labelMesDiffSecSum1.Text = "0.00";
|
||||
this.labelMesDiffMean1.Text = "0.00";
|
||||
this.labelMesPressureMaster1.Text = "0.0";
|
||||
this.labelMesPressureWork1.Text = "0.0";
|
||||
|
||||
this.smartDraw1.Chart.PutDataAllClear();
|
||||
}
|
||||
|
||||
private void GetJudgmentResult(Define.E_JudgmentStatus judg, SmartLabel label2)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
switch (judg)
|
||||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
value = "-";
|
||||
label2.TextColor = this.ColorResultNone;
|
||||
label2.Font = new Font("New Gulim", 40, FontStyle.Bold);
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
value = "Pass";
|
||||
label2.TextColor = this.ColorResultPass;
|
||||
label2.Font = new Font("New Gulim", 40, FontStyle.Bold);
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
value = "Leak";
|
||||
label2.TextColor = this.ColorResultNG;
|
||||
label2.Font = new Font("New Gulim", 40, FontStyle.Bold);
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
value = "Empty";
|
||||
label2.TextColor = this.ColorResultNone;
|
||||
label2.Font = new Font("New Gulim", 40, FontStyle.Bold);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (label2.Text != value)
|
||||
label2.Text = value;
|
||||
}
|
||||
|
||||
private void UpdateDisplayDotGraphDiff(SmartDraw draw, DiffData diff)
|
||||
{
|
||||
int iValue = 0;
|
||||
double dValue = 0.0, value = 0.0;
|
||||
|
||||
//// 값 표시 범위
|
||||
//// 1000 ~ 0
|
||||
//// 그래프 영역 높이 230
|
||||
//// 1000 / 230 = 4.347826086956522
|
||||
//value = double.Parse(diff.SecBufDiff);
|
||||
//dValue = int.Parse(string.Format("{0:0}", value)) / 4.347826086956522;
|
||||
|
||||
// 값 표시 범위
|
||||
// 200 ~ 0
|
||||
// 그래프 영역 높이 230
|
||||
// 200 / 230 = 0.8695652173913043
|
||||
//value = double.Parse(diff.SecBufDiff);
|
||||
//dValue = int.Parse(string.Format("{0:0}", value)) / 0.8695652173913043;
|
||||
|
||||
// 값 표시 범위
|
||||
// 200 ~ 0
|
||||
// 그래프 영역 높이 525
|
||||
// 200 / 525 = 0.380952380952381
|
||||
//value = double.Parse(diff.SecBufDiff);
|
||||
//dValue = int.Parse(string.Format("{0:0}", value)) / 0.380952380952381;
|
||||
|
||||
// 값 표시 범위
|
||||
// 50 ~ 0
|
||||
// 그래프 영역 높이 340
|
||||
// 50 / 340 = 0.1470588235294118
|
||||
//value = double.Parse(diff.SecBufDiff);
|
||||
//dValue = int.Parse(string.Format("{0:0}", value)) / 0.1470588235294118;
|
||||
|
||||
// 값 표시 범위
|
||||
// 100 ~ 0
|
||||
// 그래프 영역 높이 340
|
||||
// 100 / 340 = 0.2941176470588235
|
||||
value = double.Parse(diff.SecBuf);
|
||||
dValue = int.Parse(string.Format("{0:0}", value)) / 0.2941176470588235;
|
||||
|
||||
if (dValue > 340)
|
||||
dValue = 340;
|
||||
if (dValue < 1)
|
||||
dValue = 3;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
draw.Chart.PutData(iValue);
|
||||
}
|
||||
private void UpdateDisplayDotGraphDisp(SmartDraw draw, DispData disp)
|
||||
{
|
||||
int iValue = 0;
|
||||
double dValue = 0.0;
|
||||
|
||||
// 값 표시 범위
|
||||
// 15.000 ~ -2.000 (17.000 ~ 0)
|
||||
// 그래프 영역 높이 102
|
||||
// 17000 / 102 = 166.666666~
|
||||
//dValue = (int.Parse(data.CurrentValueSign + data.CurrentValue) + 2000) / 166.66666;
|
||||
|
||||
if (dValue > 110)
|
||||
dValue = 110;
|
||||
if (dValue < 1)
|
||||
dValue = 1;
|
||||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
draw.Chart.PutData(iValue);
|
||||
}
|
||||
public void UpdateEquipmentStatusDisplay(Define.E_EquipmentStatus status)
|
||||
{
|
||||
if (status == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
#region Start
|
||||
//this.labelStart.Visible = true;
|
||||
//this.labelStop.Visible = false;
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
#region Stop
|
||||
//this.labelStart.Visible = false;
|
||||
//this.labelStop.Visible = true;
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayAlarmView(AlarmList alarm)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Process
|
||||
public void UpdateDisplayProcessStatus(Define.E_ProcessStatus status)
|
||||
{
|
||||
switch (status)
|
||||
{
|
||||
case Define.E_ProcessStatus._0_None:
|
||||
break;
|
||||
case Define.E_ProcessStatus._1_Ready:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOn) this.labelProgress1.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._2_ProductEntry:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOn) this.labelProgress2.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
|
||||
this.InitializeData();
|
||||
break;
|
||||
case Define.E_ProcessStatus._3_MoveToLeak:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOn) this.labelProgress3.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._4_MoveToCheck:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOn) this.labelProgress3.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
|
||||
this.smartDraw1.Chart.PutDataAllClear();
|
||||
break;
|
||||
case Define.E_ProcessStatus._5_ChamberMerge:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOn) this.labelProgress4.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._6_VacuumStart:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOn) this.labelProgress5.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._7_VacuumHold:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOn) this.labelProgress6.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._8_Judgment:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOn) this.labelProgress7.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._9_VacuumBreak:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOn) this.labelProgress8.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._10_ChamberRelease:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOn) this.labelProgress9.BackGroundColor = this.ColorProgressOn;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOff) this.labelProgress10.BackGroundColor = this.ColorProgressOff;
|
||||
break;
|
||||
case Define.E_ProcessStatus._11_MoveToReady:
|
||||
if (this.labelProgress1.BackGroundColor != this.ColorProgressOff) this.labelProgress1.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress2.BackGroundColor != this.ColorProgressOff) this.labelProgress2.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress3.BackGroundColor != this.ColorProgressOff) this.labelProgress3.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress4.BackGroundColor != this.ColorProgressOff) this.labelProgress4.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress5.BackGroundColor != this.ColorProgressOff) this.labelProgress5.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress6.BackGroundColor != this.ColorProgressOff) this.labelProgress6.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress7.BackGroundColor != this.ColorProgressOff) this.labelProgress7.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress8.BackGroundColor != this.ColorProgressOff) this.labelProgress8.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress9.BackGroundColor != this.ColorProgressOff) this.labelProgress9.BackGroundColor = this.ColorProgressOff;
|
||||
if (this.labelProgress10.BackGroundColor != this.ColorProgressOn) this.labelProgress10.BackGroundColor = this.ColorProgressOn;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
private void UpdateDisplayMeasuringLeakDataDiff1(DiffData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 차압센서 데이터
|
||||
value = data.MAdc;
|
||||
if (this.labelMesDiffMadc1.Text != value)
|
||||
this.labelMesDiffMadc1.Text = value;
|
||||
|
||||
value = data.SecBuf;
|
||||
if (this.labelMesDiffSecDiff1.Text != value)
|
||||
this.labelMesDiffSecDiff1.Text = value;
|
||||
|
||||
value = data.SecBufSum;
|
||||
if (this.labelMesDiffSecSum1.Text != value)
|
||||
this.labelMesDiffSecSum1.Text = value;
|
||||
|
||||
value = data.SecBufMax;
|
||||
if (this.labelMesDiffMean1.Text != value)
|
||||
this.labelMesDiffMean1.Text = value;
|
||||
}
|
||||
private void UpdateDisplayMeasuringLeakDataDisp1(DispData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 변위센서 데이터
|
||||
value = data.RData;
|
||||
if (this.labelMesDispRData1.Text != value)
|
||||
this.labelMesDispRData1.Text = value;
|
||||
|
||||
value = data.MData;
|
||||
if (this.labelMesDispMData1.Text != value)
|
||||
this.labelMesDispMData1.Text = value;
|
||||
|
||||
value = data.MDataDiff;
|
||||
if (this.labelMesDispMDataDiff1.Text != value)
|
||||
this.labelMesDispMDataDiff1.Text = value;
|
||||
|
||||
value = data.MDataMax;
|
||||
if (this.labelMesDispSTD1.Text != value)
|
||||
this.labelMesDispSTD1.Text = value;
|
||||
|
||||
}
|
||||
private void UpdateDisplayMeasuringLeakDataPres1(PressureData data)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
// 압력 데이터
|
||||
value = data.WorkingChamber;
|
||||
if (this.labelMesPressureWork1.Text != value)
|
||||
this.labelMesPressureWork1.Text = value;
|
||||
|
||||
value = data.MasterChamber;
|
||||
if (this.labelMesPressureMaster1.Text != value)
|
||||
this.labelMesPressureMaster1.Text = value;
|
||||
}
|
||||
|
||||
// 차압센서 데이터
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayDiffData1(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDiff1(data.DiffData);
|
||||
this.UpdateDisplayDotGraphDiff(this.smartDraw1, data.DiffData);
|
||||
}
|
||||
// 변위센서 데이터
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayDispData1(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataDisp1(data.DispData);
|
||||
}
|
||||
// 압력센서 데이터
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayPresData1(LeakData1 data)
|
||||
{
|
||||
this.UpdateDisplayMeasuringLeakDataPres1(data.PresData);
|
||||
}
|
||||
// 판정결과
|
||||
public void UpdateDisplayJudgmentData(LeakData datas)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayJudgmentData1(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.labelResult1);
|
||||
this.labelResult1.Visible = true;
|
||||
//this.smartDraw1.Chart.PutDataAllClear();
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
{
|
||||
this.ParentForm.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.Equipment1;
|
||||
this.ParentForm.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal);
|
||||
|
||||
this.InitializeData();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Event Handler
|
||||
private void buttonInspection_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.InitializeData();
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
|
||||
}
|
||||
private void buttonDisplay_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ParentForm.UpdateDisplayEquipmentTest();
|
||||
}
|
||||
private void buttonContinuousTest_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.buttonContinuousTest.ButtonStatus == SmartButton.BUTSTATUS.DOWN)
|
||||
{
|
||||
this.InitializeData();
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
|
||||
this.smartTimer.Start();
|
||||
}
|
||||
else
|
||||
this.smartTimer.Stop();
|
||||
}
|
||||
|
||||
private void smartTimer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
this.InitializeData();
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,132 @@
|
|||
<?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=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>
|
||||
<metadata name="smartDraw_ChartChannelPenStyle1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="smartTimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>264, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>47</value>
|
||||
</metadata>
|
||||
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
|
||||
<value>WEBPAD</value>
|
||||
</metadata>
|
||||
</root>
|
|
@ -162,7 +162,7 @@
|
|||
this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel1.LineSpacing = 0F;
|
||||
this.smartLabel1.Location = new System.Drawing.Point(158, 544);
|
||||
this.smartLabel1.Location = new System.Drawing.Point(158, 515);
|
||||
this.smartLabel1.Name = "smartLabel1";
|
||||
this.smartLabel1.OverlapOptimize = true;
|
||||
this.smartLabel1.PasswordChar = '\0';
|
||||
|
@ -229,7 +229,7 @@
|
|||
this.buttonGroupNameChange.ButtonDownColor = System.Drawing.Color.SlateGray;
|
||||
this.buttonGroupNameChange.ButtonImageAutoSize = true;
|
||||
this.buttonGroupNameChange.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
|
||||
this.buttonGroupNameChange.ButtonText = "Change No.";
|
||||
this.buttonGroupNameChange.ButtonText = "Change Name";
|
||||
this.buttonGroupNameChange.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonGroupNameChange.GroupID = 0;
|
||||
this.buttonGroupNameChange.ImageDisable = null;
|
||||
|
@ -654,7 +654,7 @@
|
|||
this.checkBoxL3MenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.checkBoxL3MenuEthernet.ImageCheckBox = null;
|
||||
this.checkBoxL3MenuEthernet.ImageUnCheckBox = null;
|
||||
this.checkBoxL3MenuEthernet.Location = new System.Drawing.Point(48, 446);
|
||||
this.checkBoxL3MenuEthernet.Location = new System.Drawing.Point(48, 417);
|
||||
this.checkBoxL3MenuEthernet.Name = "checkBoxL3MenuEthernet";
|
||||
this.checkBoxL3MenuEthernet.OverlapOptimize = true;
|
||||
this.checkBoxL3MenuEthernet.Size = new System.Drawing.Size(23, 23);
|
||||
|
@ -893,7 +893,7 @@
|
|||
this.checkBoxL3MenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.checkBoxL3MenuEquipment.ImageCheckBox = null;
|
||||
this.checkBoxL3MenuEquipment.ImageUnCheckBox = null;
|
||||
this.checkBoxL3MenuEquipment.Location = new System.Drawing.Point(48, 417);
|
||||
this.checkBoxL3MenuEquipment.Location = new System.Drawing.Point(48, 446);
|
||||
this.checkBoxL3MenuEquipment.Name = "checkBoxL3MenuEquipment";
|
||||
this.checkBoxL3MenuEquipment.OverlapOptimize = true;
|
||||
this.checkBoxL3MenuEquipment.Size = new System.Drawing.Size(23, 23);
|
||||
|
@ -995,7 +995,7 @@
|
|||
this.checkBoxL2MenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.checkBoxL2MenuEthernet.ImageCheckBox = null;
|
||||
this.checkBoxL2MenuEthernet.ImageUnCheckBox = null;
|
||||
this.checkBoxL2MenuEthernet.Location = new System.Drawing.Point(51, 446);
|
||||
this.checkBoxL2MenuEthernet.Location = new System.Drawing.Point(51, 417);
|
||||
this.checkBoxL2MenuEthernet.Name = "checkBoxL2MenuEthernet";
|
||||
this.checkBoxL2MenuEthernet.OverlapOptimize = true;
|
||||
this.checkBoxL2MenuEthernet.Size = new System.Drawing.Size(23, 23);
|
||||
|
@ -1234,7 +1234,7 @@
|
|||
this.checkBoxL2MenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.checkBoxL2MenuEquipment.ImageCheckBox = null;
|
||||
this.checkBoxL2MenuEquipment.ImageUnCheckBox = null;
|
||||
this.checkBoxL2MenuEquipment.Location = new System.Drawing.Point(51, 417);
|
||||
this.checkBoxL2MenuEquipment.Location = new System.Drawing.Point(51, 446);
|
||||
this.checkBoxL2MenuEquipment.Name = "checkBoxL2MenuEquipment";
|
||||
this.checkBoxL2MenuEquipment.OverlapOptimize = true;
|
||||
this.checkBoxL2MenuEquipment.Size = new System.Drawing.Size(23, 23);
|
||||
|
@ -1336,7 +1336,7 @@
|
|||
this.checkBoxL1MenuEthernet.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.checkBoxL1MenuEthernet.ImageCheckBox = null;
|
||||
this.checkBoxL1MenuEthernet.ImageUnCheckBox = null;
|
||||
this.checkBoxL1MenuEthernet.Location = new System.Drawing.Point(50, 446);
|
||||
this.checkBoxL1MenuEthernet.Location = new System.Drawing.Point(50, 417);
|
||||
this.checkBoxL1MenuEthernet.Name = "checkBoxL1MenuEthernet";
|
||||
this.checkBoxL1MenuEthernet.OverlapOptimize = true;
|
||||
this.checkBoxL1MenuEthernet.Size = new System.Drawing.Size(23, 23);
|
||||
|
@ -1575,7 +1575,7 @@
|
|||
this.checkBoxL1MenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.checkBoxL1MenuEquipment.ImageCheckBox = null;
|
||||
this.checkBoxL1MenuEquipment.ImageUnCheckBox = null;
|
||||
this.checkBoxL1MenuEquipment.Location = new System.Drawing.Point(50, 417);
|
||||
this.checkBoxL1MenuEquipment.Location = new System.Drawing.Point(50, 446);
|
||||
this.checkBoxL1MenuEquipment.Name = "checkBoxL1MenuEquipment";
|
||||
this.checkBoxL1MenuEquipment.OverlapOptimize = true;
|
||||
this.checkBoxL1MenuEquipment.Size = new System.Drawing.Size(23, 23);
|
||||
|
@ -1639,7 +1639,7 @@
|
|||
this.labelTitleMenuEquipment.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelTitleMenuEquipment.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.labelTitleMenuEquipment.LineSpacing = 0F;
|
||||
this.labelTitleMenuEquipment.Location = new System.Drawing.Point(158, 515);
|
||||
this.labelTitleMenuEquipment.Location = new System.Drawing.Point(158, 544);
|
||||
this.labelTitleMenuEquipment.Name = "labelTitleMenuEquipment";
|
||||
this.labelTitleMenuEquipment.OverlapOptimize = true;
|
||||
this.labelTitleMenuEquipment.PasswordChar = '\0';
|
||||
|
|
|
@ -9,14 +9,14 @@ namespace INT_PT002.DataStore
|
|||
public class AlarmList
|
||||
{
|
||||
#region Field
|
||||
private bool m_IsServo1Alarm;
|
||||
private bool m_IsServo2Alarm;
|
||||
private bool m_IsServo1TorqueAlarm;
|
||||
private bool m_IsServo2TorqueAlarm;
|
||||
private bool m_IsPressureError;
|
||||
private bool m_IsServoEmergencyStop;
|
||||
private bool m_IsServoAlarm;
|
||||
private bool m_IsServoTorqueAlarm;
|
||||
private bool m_IsPressureError;
|
||||
private bool m_IsPressureSensorError;
|
||||
|
||||
private Collection<bool> m_CollectionIsSensorBoardError;
|
||||
private Collection<bool> m_CollectionIsDisplacementSensorError;
|
||||
|
||||
public event Define.EventHandlerAlarmStateChange EventAlarmStateChange;
|
||||
#endregion
|
||||
|
@ -29,35 +29,30 @@ namespace INT_PT002.DataStore
|
|||
#endregion
|
||||
|
||||
#region Property
|
||||
public bool IsServo1Alarm
|
||||
public bool IsServoEmergencyStop
|
||||
{
|
||||
get { return this.m_IsServo1Alarm; }
|
||||
set { this.m_IsServo1Alarm = value; }
|
||||
get { return this.m_IsServoEmergencyStop; }
|
||||
set { this.m_IsServoEmergencyStop = value; }
|
||||
}
|
||||
public bool IsServo2Alarm
|
||||
public bool IsServoAlarm
|
||||
{
|
||||
get { return this.m_IsServo2Alarm; }
|
||||
set { this.m_IsServo2Alarm = value; }
|
||||
get { return this.m_IsServoAlarm; }
|
||||
set { this.m_IsServoAlarm = value; }
|
||||
}
|
||||
public bool IsServoTorque1AlarmTorque
|
||||
public bool IsServoTorqueAlarmTorque
|
||||
{
|
||||
get { return this.m_IsServo1TorqueAlarm; }
|
||||
set { this.m_IsServo1TorqueAlarm = value; }
|
||||
}
|
||||
public bool IsServoTorque2AlarmTorque
|
||||
{
|
||||
get { return this.m_IsServo2TorqueAlarm; }
|
||||
set { this.m_IsServo2TorqueAlarm = value; }
|
||||
get { return this.m_IsServoTorqueAlarm; }
|
||||
set { this.m_IsServoTorqueAlarm = value; }
|
||||
}
|
||||
public bool IsPressureError
|
||||
{
|
||||
get { return this.m_IsPressureError; }
|
||||
set { this.m_IsPressureError = value; }
|
||||
}
|
||||
public bool IsServoEmergencyStop
|
||||
public bool IsPressureSensorError
|
||||
{
|
||||
get { return this.m_IsServoEmergencyStop; }
|
||||
set { this.m_IsServoEmergencyStop = value; }
|
||||
get { return this.m_IsPressureSensorError; }
|
||||
set { this.m_IsPressureSensorError = value; }
|
||||
}
|
||||
|
||||
public Collection<bool> CollectionIsSensorBoardError
|
||||
|
@ -65,21 +60,29 @@ namespace INT_PT002.DataStore
|
|||
get { return this.m_CollectionIsSensorBoardError; }
|
||||
set { this.m_CollectionIsSensorBoardError = value; }
|
||||
}
|
||||
public Collection<bool> CollectionIsDisplacementSensorError
|
||||
{
|
||||
get { return this.m_CollectionIsDisplacementSensorError; }
|
||||
set { this.m_CollectionIsDisplacementSensorError = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
private void Initialize()
|
||||
{
|
||||
this.IsServo1Alarm = false;
|
||||
this.IsServo2Alarm = false;
|
||||
this.IsServoTorque1AlarmTorque = false;
|
||||
this.IsServoTorque2AlarmTorque = false;
|
||||
this.IsPressureError = false;
|
||||
this.IsServoEmergencyStop = false;
|
||||
this.IsServoAlarm = false;
|
||||
this.IsServoTorqueAlarmTorque = false;
|
||||
this.IsPressureError = false;
|
||||
this.IsPressureSensorError = false;
|
||||
|
||||
this.CollectionIsSensorBoardError = new Collection<bool>();
|
||||
this.CollectionIsDisplacementSensorError = new Collection<bool>();
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
this.CollectionIsSensorBoardError.Add(false);
|
||||
this.CollectionIsDisplacementSensorError.Add(false);
|
||||
}
|
||||
}
|
||||
|
||||
public void SetAlarm(string alarm)
|
||||
|
@ -98,13 +101,214 @@ namespace INT_PT002.DataStore
|
|||
sValue7 = Convert.ToString(Convert.ToInt16(alarm.Substring(6, 1), 16), 2).PadLeft((4 <= 1) ? 1 : 4, '0');
|
||||
sValue8 = Convert.ToString(Convert.ToInt16(alarm.Substring(7, 1), 16), 2).PadLeft((4 <= 1) ? 1 : 4, '0');
|
||||
|
||||
// 알람 16-센서보드10 에러
|
||||
if (sValue4[0] == '0')
|
||||
// 알람 32-
|
||||
if (sValue8[0] == '0')
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
// 알람 31-
|
||||
if (sValue8[1] == '0')
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
// 알람 30-변위센서10 에러
|
||||
if (sValue8[2] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[9] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[9] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a30_DisplacementSensor10Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[9] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[9] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a30_DisplacementSensor10Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 29-변위센서9 에러
|
||||
if (sValue8[3] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[8] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[8] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a29_DisplacementSensor9Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[8] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[8] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a29_DisplacementSensor9Error, "ON");
|
||||
}
|
||||
}
|
||||
|
||||
// 알람 28-변위센서8 에러
|
||||
if (sValue7[0] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[7] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[7] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a28_DisplacementSensor8Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[7] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[7] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a28_DisplacementSensor8Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 27-변위센서7 에러
|
||||
if (sValue7[1] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[6] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[6] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a27_DisplacementSensor7Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[6] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[6] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a27_DisplacementSensor7Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 26-변위센서6 에러
|
||||
if (sValue7[2] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[5] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[5] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a26_DisplacementSensor6Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[5] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[5] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a26_DisplacementSensor6Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 25-변위센서5 에러
|
||||
if (sValue7[3] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[4] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[4] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a25_DisplacementSensor5Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[4] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[4] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a25_DisplacementSensor5Error, "ON");
|
||||
}
|
||||
}
|
||||
|
||||
// 알람 24-변위센서4 에러
|
||||
if (sValue6[0] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[3] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[3] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a24_DisplacementSensor4Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[3] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[3] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a24_DisplacementSensor4Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 23-변위센서3 에러
|
||||
if (sValue6[1] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[2] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[2] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a23_DisplacementSensor3Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[2] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[2] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a23_DisplacementSensor3Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 22-변위센서2 에러
|
||||
if (sValue6[2] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[1] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[1] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a22_DisplacementSensor2Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[1] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[1] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a22_DisplacementSensor2Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 21-변위센서1 에러
|
||||
if (sValue6[3] == '0')
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[0] != false)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[0] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a21_DisplacementSensor1Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.CollectionIsDisplacementSensorError[0] != true)
|
||||
{
|
||||
this.CollectionIsDisplacementSensorError[0] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a21_DisplacementSensor1Error, "ON");
|
||||
}
|
||||
}
|
||||
|
||||
// 알람 20-
|
||||
if (sValue5[0] == '0')
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
// 알람 19-
|
||||
if (sValue5[1] == '0')
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
// 알람 18-센서보드10 에러
|
||||
if (sValue5[2] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[9] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[9] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard10Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a18_SensorBoard10Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -112,16 +316,16 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[9] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[9] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard10Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a18_SensorBoard10Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 15-센서보드9 에러
|
||||
if (sValue4[1] == '0')
|
||||
// 알람 17-센서보드9 에러
|
||||
if (sValue5[3] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[8] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[8] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard9Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a17_SensorBoard9Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -129,16 +333,17 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[8] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[8] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard9Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a17_SensorBoard9Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 14-센서보드8 에러
|
||||
if (sValue4[2] == '0')
|
||||
|
||||
// 알람 16-센서보드8 에러
|
||||
if (sValue4[0] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[7] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[7] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard8Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard8Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -146,16 +351,16 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[7] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[7] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard8Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a16_SensorBoard8Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 13-센서보드7 에러
|
||||
if (sValue4[3] == '0')
|
||||
// 알람 15-센서보드7 에러
|
||||
if (sValue4[1] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[6] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[6] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard7Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard7Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -163,17 +368,16 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[6] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[6] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard7Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a15_SensorBoard7Error, "ON");
|
||||
}
|
||||
}
|
||||
|
||||
// 알람 12-센서보드6 에러
|
||||
if (sValue3[0] == '0')
|
||||
// 알람 14-센서보드6 에러
|
||||
if (sValue4[2] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[5] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[5] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard6Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard6Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -181,16 +385,16 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[5] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[5] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard6Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a14_SensorBoard6Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 11-센서보드5 에러
|
||||
if (sValue3[1] == '0')
|
||||
// 알람 13-센서보드5 에러
|
||||
if (sValue4[3] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[4] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[4] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard5Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard5Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -198,16 +402,17 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[4] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[4] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard5Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a13_SensorBoard5Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 10-센서보드4 에러
|
||||
if (sValue3[2] == '0')
|
||||
|
||||
// 알람 12-센서보드4 에러
|
||||
if (sValue3[0] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[3] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[3] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard4Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard4Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -215,16 +420,16 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[3] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[3] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard4Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a12_SensorBoard4Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 9-센서보드3 에러
|
||||
if (sValue3[3] == '0')
|
||||
// 알람 11-센서보드3 에러
|
||||
if (sValue3[1] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[2] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[2] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard3Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard3Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -232,17 +437,16 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[2] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[2] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard3Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a11_SensorBoard3Error, "ON");
|
||||
}
|
||||
}
|
||||
|
||||
// 알람 8-센서보드2 에러
|
||||
if (sValue2[0] == '0')
|
||||
// 알람 10-센서보드2 에러
|
||||
if (sValue3[2] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[1] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[1] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a8_SensorBoard2Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard2Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -250,16 +454,16 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[1] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[1] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a8_SensorBoard2Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a10_SensorBoard2Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 7-센서보드1 에러
|
||||
if (sValue2[1] == '0')
|
||||
// 알람 9-센서보드1 에러
|
||||
if (sValue3[3] == '0')
|
||||
{
|
||||
if (this.CollectionIsSensorBoardError[0] != false)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[0] = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a7_SensorBoard1Error, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard1Error, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -267,16 +471,56 @@ namespace INT_PT002.DataStore
|
|||
if (this.CollectionIsSensorBoardError[0] != true)
|
||||
{
|
||||
this.CollectionIsSensorBoardError[0] = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a7_SensorBoard1Error, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a9_SensorBoard1Error, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 6-압력에러
|
||||
|
||||
// 알람 8-
|
||||
if (sValue2[0] == '0')
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
// 알람 7-
|
||||
if (sValue2[1] == '0')
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
// 알람 6-
|
||||
if (sValue2[2] == '0')
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
}
|
||||
// 알람 5-압력게이지 에러
|
||||
if (sValue2[3] == '0')
|
||||
{
|
||||
if (this.IsPressureSensorError != false)
|
||||
{
|
||||
this.IsPressureSensorError = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_PressureSensorError, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.IsPressureSensorError != true)
|
||||
{
|
||||
this.IsPressureSensorError = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_PressureSensorError, "ON");
|
||||
}
|
||||
}
|
||||
|
||||
// 알람 4-압력에러
|
||||
if (sValue1[0] == '0')
|
||||
{
|
||||
if (this.IsPressureError != false)
|
||||
{
|
||||
this.IsPressureError = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a6_PressureError, "OFF");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_PressureError, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -284,76 +528,41 @@ namespace INT_PT002.DataStore
|
|||
if (this.IsPressureError != true)
|
||||
{
|
||||
this.IsPressureError = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a6_PressureError, "ON");
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_PressureError, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 5-서보2 토크
|
||||
if (sValue2[3] == '0')
|
||||
{
|
||||
if (this.IsServoTorque2AlarmTorque != false)
|
||||
{
|
||||
this.IsServoTorque2AlarmTorque = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_Servo2TorqueAlarm, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.IsServoTorque2AlarmTorque != true)
|
||||
{
|
||||
this.IsServoTorque2AlarmTorque = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a5_Servo2TorqueAlarm, "ON");
|
||||
}
|
||||
}
|
||||
|
||||
// 알람 4-서보1 토크
|
||||
if (sValue1[0] == '0')
|
||||
{
|
||||
if (this.IsServoTorque1AlarmTorque != false)
|
||||
{
|
||||
this.IsServoTorque1AlarmTorque = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_Servo1TorqueAlarm, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.IsServoTorque1AlarmTorque != true)
|
||||
{
|
||||
this.IsServoTorque1AlarmTorque = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a4_Servo1TorqueAlarm, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 3-서보2 알람
|
||||
// 알람 3-서보 토크
|
||||
if (sValue1[1] == '0')
|
||||
{
|
||||
if (this.IsServo2Alarm != false)
|
||||
if (this.IsServoTorqueAlarmTorque != false)
|
||||
{
|
||||
this.IsServo2Alarm = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_Servo2Alarm, "OFF");
|
||||
this.IsServoTorqueAlarmTorque = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_ServoTorqueAlarm, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.IsServo2Alarm != true)
|
||||
if (this.IsServoTorqueAlarmTorque != true)
|
||||
{
|
||||
this.IsServo2Alarm = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_Servo2Alarm, "ON");
|
||||
this.IsServoTorqueAlarmTorque = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a3_ServoTorqueAlarm, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 2-서보1 알람
|
||||
// 알람 2-서보 알람
|
||||
if (sValue1[2] == '0')
|
||||
{
|
||||
if (this.IsServo1Alarm != false)
|
||||
if (this.IsServoAlarm != false)
|
||||
{
|
||||
this.IsServo1Alarm = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_Servo1Alarm, "OFF");
|
||||
this.IsServoAlarm = false;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_ServoAlarm, "OFF");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.IsServo1Alarm != true)
|
||||
if (this.IsServoAlarm != true)
|
||||
{
|
||||
this.IsServo1Alarm = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_Servo1Alarm, "ON");
|
||||
this.IsServoAlarm = true;
|
||||
this.EventAlarmStateChange(Define.E_TrackingAlarm.a2_ServoAlarm, "ON");
|
||||
}
|
||||
}
|
||||
// 알람 1-서보OFF
|
||||
|
|
|
@ -46,6 +46,9 @@ namespace INT_PT002.DataStore
|
|||
public static readonly string Read = "Pr000";
|
||||
// IO테스트 - OUT
|
||||
public static readonly string IOTest = "Pt000";
|
||||
|
||||
// 판정데이터 응답
|
||||
public static readonly string Respone = "Sr";
|
||||
}
|
||||
|
||||
public class CommunicationID
|
||||
|
@ -93,35 +96,37 @@ namespace INT_PT002.DataStore
|
|||
public static readonly string _2301_OverRange = "2301";
|
||||
|
||||
// 진공시간
|
||||
public static readonly string _5504_VacuumRelief = "5504";
|
||||
public static readonly string _5504_VacuumStart = "5504";
|
||||
// 진공유지시간1
|
||||
public static readonly string _5505_VacuumHold1 = "5505";
|
||||
// 진공유지시간2
|
||||
public static readonly string _5506_VacuumHold2 = "5506";
|
||||
// 진공파기시간
|
||||
public static readonly string _5507_VacuumBlowoff = "5507";
|
||||
public static readonly string _5507_VacuumBreak = "5507";
|
||||
// 동작 지연시간
|
||||
public static readonly string _5508_CuttingWait = "5508";
|
||||
// 변위센서 - std level
|
||||
public static readonly string _5509_DispStdLevel = "5509";
|
||||
// 변위센서 - min level
|
||||
public static readonly string _5510_DispMinLevel = "5510";
|
||||
// 변위센서 - Max Diff
|
||||
public static readonly string _5509_DispMaxDiff = "5509";
|
||||
// 변위센서 - Min Hight
|
||||
public static readonly string _5510_DispMinHight = "5510";
|
||||
// 변위센서 - empty level
|
||||
public static readonly string _5511_DispEmptyLevel = "5511";
|
||||
// 변위센서 - delay
|
||||
public static readonly string _5512_DispHoldDelay = "5512";
|
||||
// 차압센서 - lr second
|
||||
public static readonly string _5513_DiffLrSecond = "5513";
|
||||
// 차압센서 - lr total
|
||||
public static readonly string _5514_DiffLrTotal = "5514";
|
||||
// 차압센서 - lr mean
|
||||
public static readonly string _5515_DiffLrMean = "5515";
|
||||
//
|
||||
public static readonly string _5512_ = "5512";
|
||||
// 차압센서 - Lr Limit
|
||||
public static readonly string _5513_DiffLrLimit = "5513";
|
||||
// 차압센서 -
|
||||
public static readonly string _5514_ = "5514";
|
||||
// 차압센서 -
|
||||
public static readonly string _5515_ = "5515";
|
||||
// 차압센서 - delay
|
||||
public static readonly string _5516_DiffHoldDelay = "5516";
|
||||
// 압력게이지 기준압력
|
||||
public static readonly string _5517_VacuumGaugeStdLevel = "5517";
|
||||
// 변위센서 - OPT1
|
||||
public static readonly string _5518_DispOPT1 = "5518";
|
||||
// 변위센서 - 사용유무
|
||||
public static readonly string _5518_DispSensorEnable = "5518";
|
||||
// 차압센서 - Cycle
|
||||
public static readonly string _5519_DiffCycle = "5519";
|
||||
|
||||
// 옵션 - 부저 동작 시간
|
||||
public static readonly string _6001_BuzzerOP = "6001";
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
@ -7,6 +8,16 @@ namespace INT_PT002.DataStore
|
|||
{
|
||||
public class Define
|
||||
{
|
||||
public static readonly Color ColorSelected = Color.MediumSeaGreen;
|
||||
public static readonly Color ColorNoneSelected = Color.White;
|
||||
|
||||
public static readonly Color ColorProgressOff = Color.Azure;
|
||||
public static readonly Color ColorProgressOn = Color.Lime;
|
||||
|
||||
public static readonly Color ColorTextResultPass = Color.Green;
|
||||
public static readonly Color ColorTextResultNG = Color.Red;
|
||||
public static readonly Color ColorTextResultNone = Color.LightGray;
|
||||
|
||||
public delegate void EventHandlerAlarmStateChange(Define.E_TrackingAlarm alarm, string status);
|
||||
|
||||
public enum E_EquipmentStatus
|
||||
|
@ -68,6 +79,7 @@ namespace INT_PT002.DataStore
|
|||
_2_Equipment,
|
||||
_3_Ethernet,
|
||||
_4_Equipment1,
|
||||
_5_Setting,
|
||||
}
|
||||
|
||||
public enum E_DisplayModeStore
|
||||
|
@ -82,8 +94,8 @@ namespace INT_PT002.DataStore
|
|||
LogHistory,
|
||||
LogAlarm,
|
||||
Information,
|
||||
Equipment,
|
||||
Ethernet,
|
||||
Equipment,
|
||||
Equipment1,
|
||||
}
|
||||
|
||||
|
@ -187,17 +199,14 @@ namespace INT_PT002.DataStore
|
|||
Pressure,
|
||||
|
||||
Disp_STD,
|
||||
Disp_IPH1,
|
||||
Disp_IPH2,
|
||||
Disp_Min1,
|
||||
Disp_Min2,
|
||||
Disp_WaitingTime,
|
||||
Disp_OPT1,
|
||||
Disp_EmptyLevel,
|
||||
Disp_MaxDiff,
|
||||
Disp_MinHight,
|
||||
Disp_Enable,
|
||||
|
||||
Diff_SEC,
|
||||
Diff_AVG,
|
||||
Diff_SUM,
|
||||
Diff_WaitingTime,
|
||||
Diff_LrLimit,
|
||||
Diff_Cycle,
|
||||
Diff_HoldDelay,
|
||||
|
||||
P_reliefTime,
|
||||
P_HlodingTime,
|
||||
|
@ -243,21 +252,35 @@ namespace INT_PT002.DataStore
|
|||
{
|
||||
None,
|
||||
a1_ServoEmergencyStop,
|
||||
a2_Servo1Alarm,
|
||||
a3_Servo2Alarm,
|
||||
a4_Servo1TorqueAlarm,
|
||||
a5_Servo2TorqueAlarm,
|
||||
a6_PressureError,
|
||||
a7_SensorBoard1Error,
|
||||
a8_SensorBoard2Error,
|
||||
a9_SensorBoard3Error,
|
||||
a10_SensorBoard4Error,
|
||||
a11_SensorBoard5Error,
|
||||
a12_SensorBoard6Error,
|
||||
a13_SensorBoard7Error,
|
||||
a14_SensorBoard8Error,
|
||||
a15_SensorBoard9Error,
|
||||
a16_SensorBoard10Error,
|
||||
a2_ServoAlarm,
|
||||
a3_ServoTorqueAlarm,
|
||||
a4_PressureError,
|
||||
a5_PressureSensorError,
|
||||
a6_,
|
||||
a7_,
|
||||
a8_,
|
||||
a9_SensorBoard1Error,
|
||||
a10_SensorBoard2Error,
|
||||
a11_SensorBoard3Error,
|
||||
a12_SensorBoard4Error,
|
||||
a13_SensorBoard5Error,
|
||||
a14_SensorBoard6Error,
|
||||
a15_SensorBoard7Error,
|
||||
a16_SensorBoard8Error,
|
||||
a17_SensorBoard9Error,
|
||||
a18_SensorBoard10Error,
|
||||
a19_,
|
||||
a20_,
|
||||
a21_DisplacementSensor1Error,
|
||||
a22_DisplacementSensor2Error,
|
||||
a23_DisplacementSensor3Error,
|
||||
a24_DisplacementSensor4Error,
|
||||
a25_DisplacementSensor5Error,
|
||||
a26_DisplacementSensor6Error,
|
||||
a27_DisplacementSensor7Error,
|
||||
a28_DisplacementSensor8Error,
|
||||
a29_DisplacementSensor9Error,
|
||||
a30_DisplacementSensor10Error,
|
||||
}
|
||||
|
||||
public enum E_TrackingType
|
||||
|
|
|
@ -12,9 +12,9 @@ namespace INT_PT002.DataStore
|
|||
{
|
||||
#region Field
|
||||
private string m_MAdc;
|
||||
private string m_SecBufDiff;
|
||||
private string m_SecBuf;
|
||||
private string m_SecBufSum;
|
||||
private string m_DiffMean;
|
||||
private string m_SecBufMax;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
@ -30,20 +30,20 @@ namespace INT_PT002.DataStore
|
|||
get { return this.m_MAdc; }
|
||||
set { this.m_MAdc = value; }
|
||||
}
|
||||
public string SecBufDiff
|
||||
public string SecBuf
|
||||
{
|
||||
get { return this.m_SecBufDiff; }
|
||||
set { this.m_SecBufDiff = value; }
|
||||
get { return this.m_SecBuf; }
|
||||
set { this.m_SecBuf = value; }
|
||||
}
|
||||
public string SecBufSum
|
||||
{
|
||||
get { return this.m_SecBufSum; }
|
||||
set { this.m_SecBufSum = value; }
|
||||
}
|
||||
public string DiffMean
|
||||
public string SecBufMax
|
||||
{
|
||||
get { return this.m_DiffMean; }
|
||||
set { this.m_DiffMean = value; }
|
||||
get { return this.m_SecBufMax; }
|
||||
set { this.m_SecBufMax = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -51,9 +51,9 @@ namespace INT_PT002.DataStore
|
|||
private void Initialize()
|
||||
{
|
||||
this.MAdc = "0.00";
|
||||
this.SecBufDiff = "0.00";
|
||||
this.SecBuf = "0.00";
|
||||
this.SecBufSum = "0.00";
|
||||
this.DiffMean = "0.00";
|
||||
this.SecBufMax = "0.00";
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace INT_PT002.DataStore
|
|||
private string m_RData;
|
||||
private string m_MData;
|
||||
private string m_MDataDiff;
|
||||
private string m_STD;
|
||||
private string m_MDataMax;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
@ -40,10 +40,10 @@ namespace INT_PT002.DataStore
|
|||
get { return this.m_MDataDiff; }
|
||||
set { this.m_MDataDiff = value; }
|
||||
}
|
||||
public string STD
|
||||
public string MDataMax
|
||||
{
|
||||
get { return this.m_STD; }
|
||||
set { this.m_STD = value; }
|
||||
get { return this.m_MDataMax; }
|
||||
set { this.m_MDataMax = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -53,7 +53,7 @@ namespace INT_PT002.DataStore
|
|||
this.RData = "0.00";
|
||||
this.MData = "0.00";
|
||||
this.MDataDiff = "0.00";
|
||||
this.STD = "0.00";
|
||||
this.MDataMax = "0.00";
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace INT_PT002.DataStore
|
|||
{
|
||||
#region Field
|
||||
private Collection<Define.E_ProcessStatus> m_CollProcessStatus;
|
||||
private Collection<Define.E_JudgmentStatus> m_CollJudgment;
|
||||
private Collection<LeakResult> m_CollJudgment;
|
||||
private Collection<DispData> m_CollDispData;
|
||||
private Collection<DiffData> m_CollDiffData;
|
||||
private Collection<PressureData> m_CollPresData;
|
||||
|
@ -35,7 +35,7 @@ namespace INT_PT002.DataStore
|
|||
/// <summary>
|
||||
/// 판정 결과
|
||||
/// </summary>
|
||||
public Collection<Define.E_JudgmentStatus> CollJudgment
|
||||
public Collection<LeakResult> CollJudgment
|
||||
{
|
||||
get { return this.m_CollJudgment; }
|
||||
set { this.m_CollJudgment = value; }
|
||||
|
@ -70,7 +70,7 @@ namespace INT_PT002.DataStore
|
|||
private void Initialize(int column)
|
||||
{
|
||||
this.CollProcessStatus = new Collection<Define.E_ProcessStatus>();
|
||||
this.CollJudgment = new Collection<Define.E_JudgmentStatus>();
|
||||
this.CollJudgment = new Collection<LeakResult>();
|
||||
this.CollDispData = new Collection<DispData>();
|
||||
this.CollDiffData = new Collection<DiffData>();
|
||||
this.CollPresData = new Collection<PressureData>();
|
||||
|
@ -78,7 +78,7 @@ namespace INT_PT002.DataStore
|
|||
for (int i = 0; i < column; i++)
|
||||
{
|
||||
this.CollProcessStatus.Add(Define.E_ProcessStatus._0_None);
|
||||
this.CollJudgment.Add(Define.E_JudgmentStatus.None);
|
||||
this.CollJudgment.Add(new LeakResult());
|
||||
this.CollDispData.Add(new DispData());
|
||||
this.CollDiffData.Add(new DiffData());
|
||||
this.CollPresData.Add(new PressureData());
|
||||
|
@ -91,7 +91,7 @@ namespace INT_PT002.DataStore
|
|||
{
|
||||
#region Field
|
||||
private Define.E_ProcessStatus m_ProcessStatus;
|
||||
private Define.E_JudgmentStatus m_Judgment;
|
||||
private LeakResult m_Judgment;
|
||||
private DispData m_DispData;
|
||||
private DiffData m_DiffData;
|
||||
private PressureData m_PresData;
|
||||
|
@ -116,7 +116,7 @@ namespace INT_PT002.DataStore
|
|||
/// <summary>
|
||||
/// 판정 결과
|
||||
/// </summary>
|
||||
public Define.E_JudgmentStatus Judgment
|
||||
public LeakResult Judgment
|
||||
{
|
||||
get { return this.m_Judgment; }
|
||||
set { this.m_Judgment = value; }
|
||||
|
@ -148,14 +148,73 @@ namespace INT_PT002.DataStore
|
|||
#endregion
|
||||
|
||||
#region Method
|
||||
public void Initialize()
|
||||
private void Initialize()
|
||||
{
|
||||
this.ProcessStatus = Define.E_ProcessStatus._0_None;
|
||||
this.Judgment = Define.E_JudgmentStatus.None;
|
||||
this.Judgment = new LeakResult();
|
||||
this.DispData = new DispData();
|
||||
this.DiffData = new DiffData();
|
||||
this.PresData = new PressureData();
|
||||
}
|
||||
public void Initialize1()
|
||||
{
|
||||
this.Judgment = new LeakResult();
|
||||
this.DispData = new DispData();
|
||||
this.DiffData = new DiffData();
|
||||
this.PresData = new PressureData();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
public class LeakResult
|
||||
{
|
||||
#region Field
|
||||
private Define.E_JudgmentStatus m_Result;
|
||||
private Define.E_JudgmentStatus m_DiffResult;
|
||||
private Define.E_JudgmentStatus m_DispResult;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public LeakResult()
|
||||
{
|
||||
this.Initialize();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Property
|
||||
/// <summary>
|
||||
/// 리크 판정 결과
|
||||
/// </summary>
|
||||
public Define.E_JudgmentStatus Result
|
||||
{
|
||||
get { return this.m_Result; }
|
||||
set { this.m_Result = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 차압센서 판정 결과
|
||||
/// </summary>
|
||||
public Define.E_JudgmentStatus DiffResult
|
||||
{
|
||||
get { return this.m_DiffResult; }
|
||||
set { this.m_DiffResult = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 변위센서 판정 결과
|
||||
/// </summary>
|
||||
public Define.E_JudgmentStatus DispResult
|
||||
{
|
||||
get { return this.m_DispResult; }
|
||||
set { this.m_DispResult = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
public void Initialize()
|
||||
{
|
||||
this.Result = Define.E_JudgmentStatus.None;
|
||||
this.DiffResult = Define.E_JudgmentStatus.None;
|
||||
this.DispResult = Define.E_JudgmentStatus.None;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,30 +6,28 @@ using System.Text;
|
|||
|
||||
namespace INT_PT002.DataStore
|
||||
{
|
||||
#region Recipe
|
||||
public class Recipe
|
||||
{
|
||||
#region Field
|
||||
private int m_NUMBER;
|
||||
|
||||
private string m_NAME;
|
||||
private string m_LOT;
|
||||
|
||||
private string m_DISP_JUDG_STD_LEVEL;
|
||||
private string m_DISP_JUDG_MIN_LEVEL1;
|
||||
private string m_DISP_JUDG_MIN_LEVEL2;
|
||||
private string m_DISP_JUDG_EMPTY_LEVEL1;
|
||||
private string m_DISP_JUDG_EMPTY_LEVEL2;
|
||||
private int m_DISP_HOLD_DELAY_MSEC;
|
||||
private bool m_DISP_OPT1;
|
||||
private string m_DIFF_LR_LIMIT;
|
||||
private string m_DIFF_LR_DELAY_SEC;
|
||||
private int m_DIFF_LR_CYCLE;
|
||||
|
||||
private string m_DIFF_LR_SECOND;
|
||||
private string m_DIFF_LR_TOTAL;
|
||||
private string m_DIFF_LR_MEAN;
|
||||
private int m_DIFF_HOLD_DELAY_MSEC;
|
||||
private string m_DISP_JUDG_EMPTY_LEVEL;
|
||||
private string m_DISP_JUDG_MAX_DIFF;
|
||||
private string m_DISP_JUDG_MIN_HEIGHT;
|
||||
private bool m_DISP_JUDG_ENABLE;
|
||||
|
||||
private int m_VACUUM_RELIEF;
|
||||
private int m_VACUUM_HOLD1;
|
||||
private int m_VACUUM_HOLD2;
|
||||
private int m_VACUUM_BLOWOFF;
|
||||
private int m_VACUUM_START_SEC;
|
||||
private int m_VACUUM_HOLD1_SEC;
|
||||
private int m_VACUUM_HOLD2_SEC;
|
||||
private int m_VACUUM_BREAK_SEC;
|
||||
private string m_VACUUM_GUAGE_LEVEL;
|
||||
#endregion
|
||||
|
||||
|
@ -46,6 +44,7 @@ namespace INT_PT002.DataStore
|
|||
get { return this.m_NUMBER; }
|
||||
set { this.m_NUMBER = value; }
|
||||
}
|
||||
|
||||
public string NAME
|
||||
{
|
||||
get { return this.m_NAME; }
|
||||
|
@ -57,82 +56,62 @@ namespace INT_PT002.DataStore
|
|||
set { this.m_LOT = value; }
|
||||
}
|
||||
|
||||
public string DISP_JUDG_STD_LEVEL
|
||||
public string DIFF_LR_LIMIT
|
||||
{
|
||||
get { return this.m_DISP_JUDG_STD_LEVEL; }
|
||||
set { this.m_DISP_JUDG_STD_LEVEL = value; }
|
||||
get { return this.m_DIFF_LR_LIMIT; }
|
||||
set { this.m_DIFF_LR_LIMIT = value; }
|
||||
}
|
||||
public string DISP_JUDG_MIN_LEVEL1
|
||||
public string DIFF_LR_DELAY_SEC
|
||||
{
|
||||
get { return this.m_DISP_JUDG_MIN_LEVEL1; }
|
||||
set { this.m_DISP_JUDG_MIN_LEVEL1 = value; }
|
||||
get { return this.m_DIFF_LR_DELAY_SEC; }
|
||||
set { this.m_DIFF_LR_DELAY_SEC = value; }
|
||||
}
|
||||
public string DISP_JUDG_MIN_LEVEL2
|
||||
public int DIFF_LR_CYCLE
|
||||
{
|
||||
get { return this.m_DISP_JUDG_MIN_LEVEL2; }
|
||||
set { this.m_DISP_JUDG_MIN_LEVEL2 = value; }
|
||||
}
|
||||
public string DISP_JUDG_EMPTY_LEVEL1
|
||||
{
|
||||
get { return this.m_DISP_JUDG_EMPTY_LEVEL1; }
|
||||
set { this.m_DISP_JUDG_EMPTY_LEVEL1 = value; }
|
||||
}
|
||||
public string DISP_JUDG_EMPTY_LEVEL2
|
||||
{
|
||||
get { return this.m_DISP_JUDG_EMPTY_LEVEL2; }
|
||||
set { this.m_DISP_JUDG_EMPTY_LEVEL2 = value; }
|
||||
}
|
||||
public int DISP_HOLD_DELAY_MSEC
|
||||
{
|
||||
get { return this.m_DISP_HOLD_DELAY_MSEC; }
|
||||
set { this.m_DISP_HOLD_DELAY_MSEC = value; }
|
||||
}
|
||||
public bool DISP_OPT1
|
||||
{
|
||||
get { return this.m_DISP_OPT1; }
|
||||
set { this.m_DISP_OPT1 = value; }
|
||||
get { return this.m_DIFF_LR_CYCLE; }
|
||||
set { this.m_DIFF_LR_CYCLE = value; }
|
||||
}
|
||||
|
||||
public string DIFF_LR_SECOND
|
||||
public string DISP_JUDG_EMPTY_LEVEL
|
||||
{
|
||||
get { return this.m_DIFF_LR_SECOND; }
|
||||
set { this.m_DIFF_LR_SECOND = value; }
|
||||
get { return this.m_DISP_JUDG_EMPTY_LEVEL; }
|
||||
set { this.m_DISP_JUDG_EMPTY_LEVEL = value; }
|
||||
}
|
||||
public string DIFF_LR_TOTAL
|
||||
public string DISP_JUDG_MAX_DIFF
|
||||
{
|
||||
get { return this.m_DIFF_LR_TOTAL; }
|
||||
set { this.m_DIFF_LR_TOTAL = value; }
|
||||
get { return this.m_DISP_JUDG_MAX_DIFF; }
|
||||
set { this.m_DISP_JUDG_MAX_DIFF = value; }
|
||||
}
|
||||
public string DIFF_LR_MEAN
|
||||
public string DISP_JUDG_MIN_HEIGHT
|
||||
{
|
||||
get { return this.m_DIFF_LR_MEAN; }
|
||||
set { this.m_DIFF_LR_MEAN = value; }
|
||||
get { return this.m_DISP_JUDG_MIN_HEIGHT; }
|
||||
set { this.m_DISP_JUDG_MIN_HEIGHT = value; }
|
||||
}
|
||||
public int DIFF_HOLD_DELAY_MSEC
|
||||
public bool DISP_JUDG_ENABLE
|
||||
{
|
||||
get { return this.m_DIFF_HOLD_DELAY_MSEC; }
|
||||
set { this.m_DIFF_HOLD_DELAY_MSEC = value; }
|
||||
get { return this.m_DISP_JUDG_ENABLE; }
|
||||
set { this.m_DISP_JUDG_ENABLE = value; }
|
||||
}
|
||||
|
||||
public int VACUUM_RELIEF
|
||||
public int VACUUM_START_SEC
|
||||
{
|
||||
get { return this.m_VACUUM_RELIEF; }
|
||||
set { this.m_VACUUM_RELIEF = value; }
|
||||
get { return this.m_VACUUM_START_SEC; }
|
||||
set { this.m_VACUUM_START_SEC = value; }
|
||||
}
|
||||
public int VACUUM_HOLD1
|
||||
public int VACUUM_HOLD1_SEC
|
||||
{
|
||||
get { return this.m_VACUUM_HOLD1; }
|
||||
set { this.m_VACUUM_HOLD1 = value; }
|
||||
get { return this.m_VACUUM_HOLD1_SEC; }
|
||||
set { this.m_VACUUM_HOLD1_SEC = value; }
|
||||
}
|
||||
public int VACUUM_HOLD2
|
||||
public int VACUUM_HOLD2_SEC
|
||||
{
|
||||
get { return this.m_VACUUM_HOLD2; }
|
||||
set { this.m_VACUUM_HOLD2 = value; }
|
||||
get { return this.m_VACUUM_HOLD2_SEC; }
|
||||
set { this.m_VACUUM_HOLD2_SEC = value; }
|
||||
}
|
||||
public int VACUUM_BLOWOFF
|
||||
public int VACUUM_BREAK_SEC
|
||||
{
|
||||
get { return this.m_VACUUM_BLOWOFF; }
|
||||
set { this.m_VACUUM_BLOWOFF = value; }
|
||||
get { return this.m_VACUUM_BREAK_SEC; }
|
||||
set { this.m_VACUUM_BREAK_SEC = value; }
|
||||
}
|
||||
public string VACUUM_GUAGE_LEVEL
|
||||
{
|
||||
|
@ -145,30 +124,27 @@ namespace INT_PT002.DataStore
|
|||
public void Initialize()
|
||||
{
|
||||
this.NUMBER = 1;
|
||||
this.NAME = "INTECH 1";
|
||||
this.LOT = "LOT 1";
|
||||
this.NAME = "INTECH";
|
||||
this.LOT = "LOT";
|
||||
|
||||
this.DISP_JUDG_STD_LEVEL = "0.15";
|
||||
this.DISP_JUDG_MIN_LEVEL1 = "2.50";
|
||||
this.DISP_JUDG_MIN_LEVEL2 = "2.50";
|
||||
this.DISP_JUDG_EMPTY_LEVEL1 = "80.00";
|
||||
this.DISP_JUDG_EMPTY_LEVEL2 = "80.00";
|
||||
this.DISP_HOLD_DELAY_MSEC = 100;
|
||||
this.DISP_OPT1 = false;
|
||||
this.DIFF_LR_LIMIT = "10.00";
|
||||
this.DIFF_LR_DELAY_SEC = "0.5";
|
||||
this.DIFF_LR_CYCLE = 5;
|
||||
|
||||
this.DIFF_LR_SECOND = "500.00";
|
||||
this.DIFF_LR_TOTAL = "5000.00";
|
||||
this.DIFF_LR_MEAN = "2.00";
|
||||
this.DIFF_HOLD_DELAY_MSEC = 1500;
|
||||
this.DISP_JUDG_EMPTY_LEVEL = "70.00";
|
||||
this.DISP_JUDG_MAX_DIFF = "0.5";
|
||||
this.DISP_JUDG_MIN_HEIGHT = "3.00";
|
||||
this.DISP_JUDG_ENABLE = true;
|
||||
|
||||
this.VACUUM_RELIEF = 20;
|
||||
this.VACUUM_HOLD1 = 40;
|
||||
this.VACUUM_HOLD2 = 1;
|
||||
this.VACUUM_BLOWOFF = 5;
|
||||
this.VACUUM_GUAGE_LEVEL = "-88.0";
|
||||
this.VACUUM_START_SEC = 20;
|
||||
this.VACUUM_HOLD1_SEC = 15;
|
||||
this.VACUUM_HOLD2_SEC = 1;
|
||||
this.VACUUM_BREAK_SEC = 5;
|
||||
this.VACUUM_GUAGE_LEVEL = "-85.0";
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region StructRecipe
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
|
@ -181,30 +157,23 @@ namespace INT_PT002.DataStore
|
|||
public string LOT;
|
||||
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string DISP_JUDG_STD_LEVEL;
|
||||
public string DIFF_LR_LIMIT;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string DISP_JUDG_MIN_LEVEL1;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string DISP_JUDG_MIN_LEVEL2;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string DISP_JUDG_EMPTY_LEVEL1;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string DISP_JUDG_EMPTY_LEVEL2;
|
||||
public int DISP_HOLD_DELAY_MSEC;
|
||||
public bool DISP_OPT1;
|
||||
public string DIFF_LR_DELAY_SEC;
|
||||
public int DIFF_LR_CYCLE;
|
||||
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string DIFF_LR_SECOND;
|
||||
public string DISP_JUDG_EMPTY_LEVEL;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string DIFF_LR_TOTAL;
|
||||
public string DISP_JUDG_MAX_DIFF;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 12)]
|
||||
public string DIFF_LR_MEAN;
|
||||
public int DIFF_HOLD_DELAY_MSEC;
|
||||
public string DISP_JUDG_MIN_HEIGHT;
|
||||
public bool DISP_JUDG_ENABLE;
|
||||
|
||||
public int VACUUM_RELIEF;
|
||||
public int VACUUM_HOLD1;
|
||||
public int VACUUM_HOLD2;
|
||||
public int VACUUM_BLOWOFF;
|
||||
public int VACUUM_START_SEC;
|
||||
public int VACUUM_HOLD1_SEC;
|
||||
public int VACUUM_HOLD2_SEC;
|
||||
public int VACUUM_BREAK_SEC;
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 10)]
|
||||
public string VACUUM_GUAGE_LEVEL;
|
||||
}
|
||||
|
|
|
@ -214,7 +214,10 @@ namespace INT_PT002.Forms
|
|||
DialogFormYesNo dlg = new DialogFormYesNo(this.ParentForm.SystemConfig.LANGUAGE, 29);
|
||||
if (dlg.ShowDialog() == DialogResult.Yes)
|
||||
{
|
||||
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ChildFormMainDisplay3.ChangeID = this.textBoxID.Text;
|
||||
else
|
||||
this.ParentForm.ChildFormMainDisplay4.ChangeID = this.textBoxID.Text;
|
||||
this.DialogResult = DialogResult.Abort;
|
||||
this.Close();
|
||||
}
|
||||
|
@ -274,7 +277,10 @@ namespace INT_PT002.Forms
|
|||
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "First login", this.textBoxID.Text);
|
||||
|
||||
// 최초 로그인 시 비밀번호 변경
|
||||
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ChildFormMainDisplay3.ChangeID = this.textBoxID.Text;
|
||||
else
|
||||
this.ParentForm.ChildFormMainDisplay4.ChangeID = this.textBoxID.Text;
|
||||
this.DialogResult = DialogResult.Abort;
|
||||
this.Close();
|
||||
}
|
||||
|
@ -321,7 +327,11 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
this.ParentForm.SetTrackingHistoryData(Define.E_TrackingOperation.Login, "Password expiration", this.textBoxID.Text);
|
||||
|
||||
this.ParentForm.ChildFormMainDisplay.ChangeID = this.textBoxID.Text;
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ChildFormMainDisplay3.ChangeID = this.textBoxID.Text;
|
||||
else
|
||||
this.ParentForm.ChildFormMainDisplay4.ChangeID = this.textBoxID.Text;
|
||||
|
||||
this.DialogResult = DialogResult.Abort;
|
||||
this.Close();
|
||||
}
|
||||
|
@ -371,7 +381,12 @@ namespace INT_PT002.Forms
|
|||
if (this.IsLoginMode == true)
|
||||
id = this.ParentForm.CurrentSystemStatus.CurrentUser.ID;
|
||||
else
|
||||
id = this.ParentForm.ChildFormMainDisplay.ChangeID;
|
||||
{
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
id = this.ParentForm.ChildFormMainDisplay3.ChangeID;
|
||||
else
|
||||
id = this.ParentForm.ChildFormMainDisplay4.ChangeID;
|
||||
}
|
||||
|
||||
pass = this.textBoxID.Text;
|
||||
ret = UserManager.UserManager_UserModifyPWDirect(id, pass);
|
||||
|
@ -447,7 +462,10 @@ namespace INT_PT002.Forms
|
|||
private void buttonLogOn_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Automatic Logout Reset
|
||||
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ChildFormMainDisplay3.Part11AutomaticLogoutReset();
|
||||
else
|
||||
this.ParentForm.ChildFormMainDisplay4.Part11AutomaticLogoutReset();
|
||||
|
||||
if (this.IsChangePassword == false)
|
||||
this.LogOn();
|
||||
|
@ -457,7 +475,10 @@ namespace INT_PT002.Forms
|
|||
private void buttonCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Automatic Logout Reset
|
||||
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ChildFormMainDisplay3.Part11AutomaticLogoutReset();
|
||||
else
|
||||
this.ParentForm.ChildFormMainDisplay4.Part11AutomaticLogoutReset();
|
||||
|
||||
this.DialogResult = DialogResult.Cancel;
|
||||
this.Close();
|
||||
|
@ -466,7 +487,10 @@ namespace INT_PT002.Forms
|
|||
private void textBoxID_GotFocus(object sender, EventArgs e)
|
||||
{
|
||||
// Automatic Logout Reset
|
||||
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ChildFormMainDisplay3.Part11AutomaticLogoutReset();
|
||||
else
|
||||
this.ParentForm.ChildFormMainDisplay4.Part11AutomaticLogoutReset();
|
||||
|
||||
this.smartKeyboard.TargetInputObject = this.textBoxID;
|
||||
|
||||
|
@ -475,7 +499,10 @@ namespace INT_PT002.Forms
|
|||
private void textBoxPassword_GotFocus(object sender, EventArgs e)
|
||||
{
|
||||
// Automatic Logout Reset
|
||||
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ChildFormMainDisplay3.Part11AutomaticLogoutReset();
|
||||
else
|
||||
this.ParentForm.ChildFormMainDisplay4.Part11AutomaticLogoutReset();
|
||||
|
||||
this.smartKeyboard.TargetInputObject = this.textBoxPassword;
|
||||
|
||||
|
@ -490,7 +517,10 @@ namespace INT_PT002.Forms
|
|||
private void smartKeyboard_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Automatic Logout Reset
|
||||
this.ParentForm.ChildFormMainDisplay.Part11AutomaticLogoutReset();
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ParentForm.ChildFormMainDisplay3.Part11AutomaticLogoutReset();
|
||||
else
|
||||
this.ParentForm.ChildFormMainDisplay4.Part11AutomaticLogoutReset();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace INT_PT002.DialogForms
|
|||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public DialogFormProgressBar(int code, Define.E_LanguageID language)
|
||||
public DialogFormProgressBar(int code, Define.E_LanguageID language, FormMain parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
|
@ -46,6 +46,7 @@ namespace INT_PT002.DialogForms
|
|||
this.labelMessage1.Text = "";
|
||||
this.labelMessage2.Text = "";
|
||||
|
||||
this.ParentForm = parent;
|
||||
this.Code = code;
|
||||
this.Language = language;
|
||||
this.buttonCancel.Visible = false;
|
||||
|
@ -91,7 +92,7 @@ namespace INT_PT002.DialogForms
|
|||
|
||||
}
|
||||
}
|
||||
public DialogFormProgressBar(int code, Define.E_LanguageID language, UpdateForMainBoard updateForMain)
|
||||
public DialogFormProgressBar(int code, Define.E_LanguageID language, UpdateForMainBoard updateForMain, FormMain parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
|
@ -99,6 +100,7 @@ namespace INT_PT002.DialogForms
|
|||
this.labelMessage1.Text = "";
|
||||
this.labelMessage2.Text = "";
|
||||
|
||||
this.ParentForm = parent;
|
||||
this.Code = code;
|
||||
this.UpdateForMain = updateForMain;
|
||||
this.Language = language;
|
||||
|
@ -530,8 +532,12 @@ namespace INT_PT002.DialogForms
|
|||
break;
|
||||
}
|
||||
this.Refresh();
|
||||
if(this.Code ==1)
|
||||
this.TransferData(CommunicationCommand.MainboardReboot, CommunicationID.MainBoard);
|
||||
if (this.Code == 1)
|
||||
{
|
||||
this.ParentForm.TransferData(CommunicationCommand.MainboardReboot, CommunicationID.MainBoard);
|
||||
//this.smartTimerReboot.Start();
|
||||
}
|
||||
|
||||
this.smartTimerReboot.Start();
|
||||
}
|
||||
#endregion
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
this.smartSerialPortLink.ErrorCode_Location = SmartX.SmartSerialPort.ERRORCODELOCATION.HEADER;
|
||||
this.smartSerialPortLink.ETXCode = ((byte)(3));
|
||||
this.smartSerialPortLink.ETXCodes = null;
|
||||
this.smartSerialPortLink.FrameBufferSize = ((uint)(1024u));
|
||||
this.smartSerialPortLink.FrameBufferSize = ((uint)(4096u));
|
||||
this.smartSerialPortLink.FrameSeparationType = SmartX.SmartSerialPort.FRAMESEPARATIONTYPES.STXANDETX;
|
||||
this.smartSerialPortLink.HeadErrorCodeOffset = 0;
|
||||
this.smartSerialPortLink.PortNo = SmartX.SmartSerialPort.COMPORTNO.COM2;
|
||||
|
|
|
@ -587,7 +587,7 @@ namespace INT_PT002.Forms
|
|||
if (this.CollectionDiffMadc[i].Text != value)
|
||||
this.CollectionDiffMadc[i].Text = value;
|
||||
|
||||
value = datas[i].SecBufDiff;
|
||||
value = datas[i].SecBuf;
|
||||
if (this.CollectionDiffSecDiff[i].Text != value)
|
||||
this.CollectionDiffSecDiff[i].Text = value;
|
||||
|
||||
|
@ -595,7 +595,7 @@ namespace INT_PT002.Forms
|
|||
if (this.CollectionDiffSecSum[i].Text != value)
|
||||
this.CollectionDiffSecSum[i].Text = value;
|
||||
|
||||
value = datas[i].DiffMean;
|
||||
value = datas[i].SecBufMax;
|
||||
if (this.CollectionDiffMean[i].Text != value)
|
||||
this.CollectionDiffMean[i].Text = value;
|
||||
}
|
||||
|
@ -627,7 +627,7 @@ namespace INT_PT002.Forms
|
|||
if (this.CollectionDispMDataDiff[i].Text != value)
|
||||
this.CollectionDispMDataDiff[i].Text = value;
|
||||
|
||||
value = datas[i].STD;
|
||||
value = datas[i].MDataMax;
|
||||
if (this.CollectionDispSTD[i].Text != value)
|
||||
this.CollectionDispSTD[i].Text = value;
|
||||
}
|
||||
|
@ -766,43 +766,43 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
private void UpdateDisplayJudgmentData1(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[0], this.labelResult1);
|
||||
this.GetJudgmentResult(data.CollJudgment[0].Result, this.labelResult1);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData2(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[1], this.labelResult2);
|
||||
this.GetJudgmentResult(data.CollJudgment[1].Result, this.labelResult2);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData3(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[2], this.labelResult3);
|
||||
this.GetJudgmentResult(data.CollJudgment[2].Result, this.labelResult3);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData4(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[3], this.labelResult4);
|
||||
this.GetJudgmentResult(data.CollJudgment[3].Result, this.labelResult4);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData5(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[4], this.labelResult5);
|
||||
this.GetJudgmentResult(data.CollJudgment[4].Result, this.labelResult5);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData6(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[5], this.labelResult6);
|
||||
this.GetJudgmentResult(data.CollJudgment[5].Result, this.labelResult6);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData7(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[6], this.labelResult7);
|
||||
this.GetJudgmentResult(data.CollJudgment[6].Result, this.labelResult7);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData8(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[7], this.labelResult8);
|
||||
this.GetJudgmentResult(data.CollJudgment[7].Result, this.labelResult8);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData9(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[8], this.labelResult9);
|
||||
this.GetJudgmentResult(data.CollJudgment[8].Result, this.labelResult9);
|
||||
}
|
||||
private void UpdateDisplayJudgmentData10(LeakData data)
|
||||
{
|
||||
this.GetJudgmentResult(data.CollJudgment[9], this.labelResult10);
|
||||
this.GetJudgmentResult(data.CollJudgment[9].Result, this.labelResult10);
|
||||
}
|
||||
public void UpdateDisplayTime()
|
||||
{
|
||||
|
|
|
@ -551,14 +551,14 @@ namespace INT_PT002.Forms
|
|||
this.smartTimerProgressBar.Stop();
|
||||
break;
|
||||
case Define.E_ProcessStatus._4_MoveToCheck:
|
||||
this.progressBar3.Maximum = this.ParentForm.CurrentRecipe.VACUUM_RELIEF * 10;
|
||||
this.progressBar3.Maximum = this.ParentForm.CurrentRecipe.VACUUM_START_SEC * 10;
|
||||
this.progressBar3.Value = this.progressBar3.Maximum;
|
||||
|
||||
this.progressBar3.Visible = true;
|
||||
this.smartTimerProgressBar.Start();
|
||||
break;
|
||||
case Define.E_ProcessStatus._5_ChamberMerge:
|
||||
this.progressBar4.Maximum = this.ParentForm.CurrentRecipe.VACUUM_HOLD1 * 10;
|
||||
this.progressBar4.Maximum = this.ParentForm.CurrentRecipe.VACUUM_HOLD1_SEC * 10;
|
||||
this.progressBar4.Value = this.progressBar4.Maximum;
|
||||
|
||||
if (this.smartTimerProgressBar.IsStart == true)
|
||||
|
@ -568,7 +568,7 @@ namespace INT_PT002.Forms
|
|||
this.smartTimerProgressBar.Start();
|
||||
break;
|
||||
case Define.E_ProcessStatus._7_VacuumHold:
|
||||
this.progressBar6.Maximum = this.ParentForm.CurrentRecipe.VACUUM_BLOWOFF * 10;
|
||||
this.progressBar6.Maximum = this.ParentForm.CurrentRecipe.VACUUM_BREAK_SEC * 10;
|
||||
this.progressBar6.Value = this.progressBar6.Maximum;
|
||||
|
||||
if (this.smartTimerProgressBar.IsStart == true)
|
||||
|
@ -716,20 +716,9 @@ namespace INT_PT002.Forms
|
|||
if (alarm.IsServoEmergencyStop == true)
|
||||
value = "a1_Servo emergency stop ";
|
||||
// Servo1Alarm
|
||||
if (alarm.IsServo1Alarm == true)
|
||||
if (alarm.IsServoAlarm == true)
|
||||
value += "a2_Servo1 ";
|
||||
// Servo2Alarm
|
||||
if (alarm.IsServo2Alarm == true)
|
||||
value += "a3_Servo2 ";
|
||||
// ServoTorque1AlarmTorque
|
||||
if (alarm.IsServoTorque1AlarmTorque == true)
|
||||
value += "a4_Servo1 Torque ";
|
||||
// ServoTorque2AlarmTorque
|
||||
if (alarm.IsServoTorque2AlarmTorque == true)
|
||||
value += "a5_Servo2 Torque ";
|
||||
// PressureError
|
||||
if (alarm.IsPressureError == true)
|
||||
value += "a6_Pressure ";
|
||||
|
||||
|
||||
// SB Alarm
|
||||
this.CollectionLabelSbAlarm[0].Visible = alarm.CollectionIsSensorBoardError[0];
|
||||
|
@ -780,7 +769,7 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBuf;
|
||||
}
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
{
|
||||
|
@ -795,7 +784,7 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
this.GetJudgmentResult(datas.CollJudgment[i].Result, this.CollectionLabelResult[i]);
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ using INT_PT002.DataStore;
|
|||
using INT_PT002.Controls;
|
||||
using INT_PT002.Part11_UserManager;
|
||||
using INT_PT002.DialogForms;
|
||||
using INT_PT002.Controls.MainDisplay;
|
||||
|
||||
namespace INT_PT002.Forms
|
||||
{
|
||||
|
@ -32,25 +33,24 @@ namespace INT_PT002.Forms
|
|||
private Color ColorProgressOff;
|
||||
private Color ColorProgressTextOn;
|
||||
private Color ColorProgressTextOff;
|
||||
private Color ColorResultPass;
|
||||
private Color ColorResultNG;
|
||||
private Color ColorResultNone;
|
||||
private Color ColorSensorNormal;
|
||||
private Color ColorSensorError;
|
||||
private Color ColorNumberSelected;
|
||||
private Color ColorNumberUnSelected;
|
||||
|
||||
private Collection<SmartLabel> CollectionLabelResult;
|
||||
private Collection<SmartLabel> CollectionLabelPressureWorking;
|
||||
private Collection<SmartLabel> CollectionLabelPressureMaster;
|
||||
private Collection<SmartLabel> CollectionLabelLeakRatePerSec;
|
||||
private Collection<SmartLabel> CollectionLabelDisplacement;
|
||||
private Collection<SmartLabel> CollectionLabelSbAlarm;
|
||||
private Collection<SmartLabel> CollectionLabelNumber;
|
||||
private Collection<SmartLabel> CollectionLabelDispAlarm;
|
||||
private Collection<ControlMainResult> CollectionControlResult;
|
||||
|
||||
private FormMain m_ParentForm;
|
||||
|
||||
private ControlMainDisplay ChildControl;
|
||||
//private ControlMainDisplay ChildControl;
|
||||
public ControlMainModbus ChildModbus;
|
||||
private ControlMainDisplay10 ChildMainDisplay10;
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
|
@ -90,27 +90,11 @@ namespace INT_PT002.Forms
|
|||
this.ColorProgressOn = Color.FromArgb(95, 196, 188);
|
||||
this.ColorProgressTextOff = Color.Black;
|
||||
this.ColorProgressTextOn = Color.Black;
|
||||
this.ColorResultPass = Color.FromArgb(39, 200, 64);
|
||||
this.ColorResultNG = Color.FromArgb(254, 70, 70);
|
||||
this.ColorResultNone = Color.FromArgb(42, 43, 45);
|
||||
this.ColorSensorNormal = Color.FromArgb(39, 200, 64);
|
||||
this.ColorSensorError = Color.FromArgb(254, 70, 70);
|
||||
this.ColorNumberSelected = Color.Teal;
|
||||
this.ColorNumberUnSelected = Color.FromArgb(80, 92, 118);
|
||||
|
||||
this.CollectionLabelResult = new Collection<SmartLabel>();
|
||||
this.CollectionLabelResult.Clear();
|
||||
this.CollectionLabelResult.Add(this.labelResult1);
|
||||
this.CollectionLabelResult.Add(this.labelResult2);
|
||||
this.CollectionLabelResult.Add(this.labelResult3);
|
||||
this.CollectionLabelResult.Add(this.labelResult4);
|
||||
this.CollectionLabelResult.Add(this.labelResult5);
|
||||
this.CollectionLabelResult.Add(this.labelResult6);
|
||||
this.CollectionLabelResult.Add(this.labelResult7);
|
||||
this.CollectionLabelResult.Add(this.labelResult8);
|
||||
this.CollectionLabelResult.Add(this.labelResult9);
|
||||
this.CollectionLabelResult.Add(this.labelResult10);
|
||||
|
||||
this.CollectionLabelPressureWorking = new Collection<SmartLabel>();
|
||||
this.CollectionLabelPressureWorking.Clear();
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking1);
|
||||
|
@ -124,18 +108,18 @@ namespace INT_PT002.Forms
|
|||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking9);
|
||||
this.CollectionLabelPressureWorking.Add(this.labelPressureWorking10);
|
||||
|
||||
this.CollectionLabelPressureMaster = new Collection<SmartLabel>();
|
||||
this.CollectionLabelPressureMaster.Clear();
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster1);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster2);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster3);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster4);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster5);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster6);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster7);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster8);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster9);
|
||||
this.CollectionLabelPressureMaster.Add(this.labelPressureMaster10);
|
||||
this.CollectionLabelDisplacement = new Collection<SmartLabel>();
|
||||
this.CollectionLabelDisplacement.Clear();
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement1);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement2);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement3);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement4);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement5);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement6);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement7);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement8);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement9);
|
||||
this.CollectionLabelDisplacement.Add(this.labelDisplacement10);
|
||||
|
||||
this.CollectionLabelLeakRatePerSec = new Collection<SmartLabel>();
|
||||
this.CollectionLabelLeakRatePerSec.Clear();
|
||||
|
@ -176,11 +160,46 @@ namespace INT_PT002.Forms
|
|||
this.CollectionLabelNumber.Add(this.labelNumber9);
|
||||
this.CollectionLabelNumber.Add(this.labelNumber10);
|
||||
|
||||
this.ChildControl = new ControlMainDisplay(this.ParentForm);
|
||||
this.Controls.Add(this.ChildControl);
|
||||
this.ChildControl.Location = new Point(0, 118);
|
||||
this.ChildControl.BringToFront();
|
||||
this.ChildControl.Visible = false;
|
||||
this.CollectionLabelDispAlarm = new Collection<SmartLabel>();
|
||||
this.CollectionLabelDispAlarm.Clear();
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm1);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm2);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm3);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm4);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm5);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm6);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm7);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm8);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm9);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm10);
|
||||
|
||||
this.CollectionControlResult = new Collection<ControlMainResult>();
|
||||
for (int i = 0; i < 10; i++)
|
||||
this.CollectionControlResult.Add(new ControlMainResult(this));
|
||||
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
this.Controls.Add(this.CollectionControlResult[i]);
|
||||
this.CollectionControlResult[i].BringToFront();
|
||||
this.CollectionControlResult[i].Visible = false;
|
||||
}
|
||||
|
||||
this.CollectionControlResult[0].Location = new Point(610, 219);
|
||||
this.CollectionControlResult[1].Location = new Point(755, 219);
|
||||
this.CollectionControlResult[2].Location = new Point(610, 331);
|
||||
this.CollectionControlResult[3].Location = new Point(755, 331);
|
||||
this.CollectionControlResult[4].Location = new Point(610, 443);
|
||||
this.CollectionControlResult[5].Location = new Point(755, 443);
|
||||
this.CollectionControlResult[6].Location = new Point(610, 555);
|
||||
this.CollectionControlResult[7].Location = new Point(755, 555);
|
||||
this.CollectionControlResult[8].Location = new Point(610, 667);
|
||||
this.CollectionControlResult[9].Location = new Point(755, 667);
|
||||
|
||||
//this.ChildControl = new ControlMainDisplay(this.ParentForm);
|
||||
//this.Controls.Add(this.ChildControl);
|
||||
//this.ChildControl.Location = new Point(0, 118);
|
||||
//this.ChildControl.BringToFront();
|
||||
//this.ChildControl.Visible = false;
|
||||
|
||||
this.ChildModbus = new ControlMainModbus(this);
|
||||
this.Controls.Add(this.ChildModbus);
|
||||
|
@ -188,6 +207,12 @@ namespace INT_PT002.Forms
|
|||
this.ChildModbus.BringToFront();
|
||||
this.ChildModbus.Visible = false;
|
||||
|
||||
this.ChildMainDisplay10 = new ControlMainDisplay10(this);
|
||||
this.Controls.Add(this.ChildMainDisplay10);
|
||||
this.ChildMainDisplay10.Location = new Point(0, 147);
|
||||
this.ChildMainDisplay10.BringToFront();
|
||||
this.ChildMainDisplay10.Visible = false;
|
||||
|
||||
this.buttonRecipeNo.ButtonText = this.ParentForm.SystemConfig.RECIPE_NUMBER.ToString();
|
||||
this.UpdateDisplayUser(this.ParentForm.CurrentSystemStatus.CurrentUser);
|
||||
}
|
||||
|
@ -195,11 +220,12 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelResult[i].Visible = false;
|
||||
this.CollectionControlResult[i].Visible = false;
|
||||
this.CollectionLabelPressureWorking[i].Text = "0.0";
|
||||
this.CollectionLabelPressureMaster[i].Text = "0.0";
|
||||
this.CollectionLabelDisplacement[i].Text = "0.00/0.00";
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = "0.0";
|
||||
this.CollectionLabelSbAlarm[i].Visible = false;
|
||||
this.CollectionLabelDispAlarm[i].Visible = false;
|
||||
this.SetLabelNumberColor(i, this.ColorNumberUnSelected);
|
||||
}
|
||||
}
|
||||
|
@ -227,8 +253,12 @@ namespace INT_PT002.Forms
|
|||
private void InitializeProcessStatus()
|
||||
{
|
||||
this.pictureBoxProgress0_1.Visible = false;
|
||||
this.pictureBoxProgress0_2.Visible = false;
|
||||
this.pictureBoxProgress1_34.Visible = false;
|
||||
this.pictureBoxProgress2_5.Visible = false;
|
||||
this.pictureBoxProgress2_6.Visible = false;
|
||||
this.pictureBoxProgress2_78.Visible = false;
|
||||
this.pictureBoxProgress2_910.Visible = false;
|
||||
this.pictureBoxProgress3_11.Visible = false;
|
||||
|
||||
this.progressBar1.Value = this.progressBar1.Minimum;
|
||||
|
@ -408,11 +438,16 @@ namespace INT_PT002.Forms
|
|||
break;
|
||||
}
|
||||
|
||||
// button Color
|
||||
this.buttonRecipeNo.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonRecipeNo.Enabled);
|
||||
this.buttonClear.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonClear.Enabled);
|
||||
this.buttonInspection.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonInspection.Enabled);
|
||||
this.buttonMenu.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonMenu.Enabled);
|
||||
|
||||
if (this.buttonInspection.Enabled == true)
|
||||
this.buttonInspection.ButtonColor = Color.DarkGreen;
|
||||
else
|
||||
this.buttonInspection.ButtonColor = this.ParentForm.ButtonColorChange(this.buttonInspection.Enabled);
|
||||
|
||||
expireDate = this.DisplayExpireOfPassword(user.Group);
|
||||
if (expireDate != "-")
|
||||
{
|
||||
|
@ -620,35 +655,6 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
}
|
||||
|
||||
private void GetJudgmentResult(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
string value = "";
|
||||
|
||||
switch (judg)
|
||||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
value = "-";
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
value = "Pass";
|
||||
label.BackGroundColor = this.ColorResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
value = "Leak";
|
||||
label.BackGroundColor = this.ColorResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
value = "Empty";
|
||||
label.BackGroundColor = this.ColorResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (label.Text != value)
|
||||
label.Text = value;
|
||||
}
|
||||
private void ProgressBarSetting(Define.E_ProcessStatus status)
|
||||
{
|
||||
switch (status)
|
||||
|
@ -791,21 +797,18 @@ namespace INT_PT002.Forms
|
|||
// ServoEmergencyStop
|
||||
if (alarm.IsServoEmergencyStop == true)
|
||||
value = "a1_Servo emergency stop ";
|
||||
// Servo1Alarm
|
||||
if (alarm.IsServo1Alarm == true)
|
||||
value += "a2_Servo1 ";
|
||||
// Servo2Alarm
|
||||
if (alarm.IsServo2Alarm == true)
|
||||
value += "a3_Servo2 ";
|
||||
// ServoTorque1AlarmTorque
|
||||
if (alarm.IsServoTorque1AlarmTorque == true)
|
||||
value += "a4_Servo1 Torque ";
|
||||
// ServoTorque2AlarmTorque
|
||||
if (alarm.IsServoTorque2AlarmTorque == true)
|
||||
value += "a5_Servo2 Torque ";
|
||||
// ServoAlarm
|
||||
if (alarm.IsServoAlarm == true)
|
||||
value += "a2_Servo ";
|
||||
// ServoTorqueAlarmTorque
|
||||
if (alarm.IsServoTorqueAlarmTorque == true)
|
||||
value += "a3_Servo Torque ";
|
||||
// PressureError
|
||||
if (alarm.IsPressureError == true)
|
||||
value += "a6_Pressure ";
|
||||
value += "a4_Pressure ";
|
||||
// PressureSensorError
|
||||
if (alarm.IsPressureError == true)
|
||||
value += "a5_Pressure Sensor ";
|
||||
|
||||
// SB Alarm
|
||||
this.CollectionLabelSbAlarm[0].Visible = alarm.CollectionIsSensorBoardError[0];
|
||||
|
@ -819,6 +822,18 @@ namespace INT_PT002.Forms
|
|||
this.CollectionLabelSbAlarm[8].Visible = alarm.CollectionIsSensorBoardError[8];
|
||||
this.CollectionLabelSbAlarm[9].Visible = alarm.CollectionIsSensorBoardError[9];
|
||||
|
||||
// Displacement Alarm
|
||||
this.CollectionLabelDispAlarm[0].Visible = alarm.CollectionIsDisplacementSensorError[0];
|
||||
this.CollectionLabelDispAlarm[1].Visible = alarm.CollectionIsDisplacementSensorError[1];
|
||||
this.CollectionLabelDispAlarm[2].Visible = alarm.CollectionIsDisplacementSensorError[2];
|
||||
this.CollectionLabelDispAlarm[3].Visible = alarm.CollectionIsDisplacementSensorError[3];
|
||||
this.CollectionLabelDispAlarm[4].Visible = alarm.CollectionIsDisplacementSensorError[4];
|
||||
this.CollectionLabelDispAlarm[5].Visible = alarm.CollectionIsDisplacementSensorError[5];
|
||||
this.CollectionLabelDispAlarm[6].Visible = alarm.CollectionIsDisplacementSensorError[6];
|
||||
this.CollectionLabelDispAlarm[7].Visible = alarm.CollectionIsDisplacementSensorError[7];
|
||||
this.CollectionLabelDispAlarm[8].Visible = alarm.CollectionIsDisplacementSensorError[8];
|
||||
this.CollectionLabelDispAlarm[9].Visible = alarm.CollectionIsDisplacementSensorError[9];
|
||||
|
||||
value = value.Trim();
|
||||
this.labelAlarm.Size = new Size(value.Length * 9, 30);
|
||||
this.labelAlarm.Text = value;
|
||||
|
@ -835,7 +850,6 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
private void ProcessStatusPicturBox(Define.E_ProcessStatus status)
|
||||
{
|
||||
switch (status)
|
||||
|
@ -1028,6 +1042,9 @@ namespace INT_PT002.Forms
|
|||
case Define.E_ProcessStatus._1_Ready:
|
||||
this.ProcessStatusStep1(status);
|
||||
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.ParentForm.CurrentLeakDatas[i].ProcessStatus = Define.E_ProcessStatus._1_Ready;
|
||||
|
||||
this.pictureBoxProgress0_1.Visible = true;
|
||||
this.pictureBoxProgress0_1.BringToFront();
|
||||
this.pictureBoxProgress0_2.Visible = false;
|
||||
|
@ -1042,6 +1059,18 @@ namespace INT_PT002.Forms
|
|||
this.InitializeData();
|
||||
this.ProcessStatusStep1(status);
|
||||
|
||||
// Modbus
|
||||
if (this.ParentForm.SystemConfig.ETHERNET_COMM_MODE == 1)
|
||||
{
|
||||
this.ParentForm.Current30000ModbusData.Initialization();
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.ParentForm.Current30000ModbusData.CollectionIsProcessing[i] = 0;
|
||||
this.ParentForm.Current30000ModbusData.CollectionIsLeak[i] = 0;
|
||||
this.ParentForm.CurrentLeakDatas[i].Initialize1();
|
||||
}
|
||||
}
|
||||
|
||||
this.pictureBoxProgress0_1.Visible = false;
|
||||
this.pictureBoxProgress0_2.Visible = true;
|
||||
this.pictureBoxProgress0_2.BringToFront();
|
||||
|
@ -1123,6 +1152,9 @@ namespace INT_PT002.Forms
|
|||
case Define.E_ProcessStatus._11_MoveToReady:
|
||||
this.ProcessStatusStep4(status);
|
||||
|
||||
// Modbus
|
||||
this.ParentForm.ChildFormMainDisplay3.UpdateDisplayJudgmentTrackingData(this.ParentForm.CurrentLeakDatas);
|
||||
|
||||
this.pictureBoxProgress0_1.Visible = false;
|
||||
this.pictureBoxProgress0_2.Visible = false;
|
||||
this.pictureBoxProgress1_34.Visible = false;
|
||||
|
@ -1136,60 +1168,81 @@ namespace INT_PT002.Forms
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayProcessStatus(status);
|
||||
|
||||
// Modbus
|
||||
if (this.ParentForm.SystemConfig.ETHERNET_COMM_MODE == 1)
|
||||
this.ParentForm.Update30000ModbusItem();
|
||||
}
|
||||
public void UpdateDisplayProcessStatus1(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.SetLabelNumberColor(8, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberUnSelected);
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(8, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberUnSelected);
|
||||
|
||||
this.SetLabelNumberColor(0, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(1, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(0, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(1, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus2(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayProcessStatus3(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.SetLabelNumberColor(0, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(1, this.ColorNumberUnSelected);
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(0, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(1, this.ColorNumberUnSelected);
|
||||
|
||||
this.SetLabelNumberColor(2, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(3, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(2, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(3, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus4(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayProcessStatus5(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.SetLabelNumberColor(2, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(3, this.ColorNumberUnSelected);
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(2, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(3, this.ColorNumberUnSelected);
|
||||
|
||||
this.SetLabelNumberColor(4, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(5, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(4, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(5, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus6(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayProcessStatus7(Define.E_ProcessStatus status)
|
||||
{
|
||||
this.SetLabelNumberColor(4, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(5, this.ColorNumberUnSelected);
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(4, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(5, this.ColorNumberUnSelected);
|
||||
|
||||
this.SetLabelNumberColor(6, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(7, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(6, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(7, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus8(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayProcessStatus9(Define.E_ProcessStatus status)
|
||||
{
|
||||
if (status == Define.E_ProcessStatus._4_MoveToCheck || status == Define.E_ProcessStatus._5_ChamberMerge)
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(6, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(7, this.ColorNumberUnSelected);
|
||||
if (status == Define.E_ProcessStatus._4_MoveToCheck || status == Define.E_ProcessStatus._5_ChamberMerge)
|
||||
{
|
||||
this.SetLabelNumberColor(6, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(7, this.ColorNumberUnSelected);
|
||||
|
||||
this.SetLabelNumberColor(8, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(8, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus10(Define.E_ProcessStatus status)
|
||||
|
@ -1197,320 +1250,352 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
|
||||
// 차압센서 데이터
|
||||
public void UpdateDisplayDiffData(Collection<DiffData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = datas[i].SecBufDiff;
|
||||
}
|
||||
public void UpdateDisplayDiffData1(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[0].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[0].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData1(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData2(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[1].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[1].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData2(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData3(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[2].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[2].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData3(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData4(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[3].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[3].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData4(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData5(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[4].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[4].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData5(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData6(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[5].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[5].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData6(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData7(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[6].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[6].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData7(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData8(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[7].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[7].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData8(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData9(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[8].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[8].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData9(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData10(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[9].Text = data.DiffData.SecBufDiff;
|
||||
this.CollectionLabelLeakRatePerSec[9].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData10(data);
|
||||
}
|
||||
|
||||
// 변위센서 데이터
|
||||
public void UpdateDisplayDispData(Collection<DispData> datas)
|
||||
{
|
||||
|
||||
}
|
||||
public void UpdateDisplayDispData1(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[0].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData1(data);
|
||||
}
|
||||
public void UpdateDisplayDispData2(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[1].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData2(data);
|
||||
}
|
||||
public void UpdateDisplayDispData3(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[2].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData3(data);
|
||||
}
|
||||
public void UpdateDisplayDispData4(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[3].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData4(data);
|
||||
}
|
||||
public void UpdateDisplayDispData5(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[4].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData5(data);
|
||||
}
|
||||
public void UpdateDisplayDispData6(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[5].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData6(data);
|
||||
}
|
||||
public void UpdateDisplayDispData7(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[6].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData7(data);
|
||||
}
|
||||
public void UpdateDisplayDispData8(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[7].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData8(data);
|
||||
}
|
||||
public void UpdateDisplayDispData9(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[8].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData9(data);
|
||||
}
|
||||
public void UpdateDisplayDispData10(LeakData1 data)
|
||||
{
|
||||
string value = "";
|
||||
value = string.Format("{0}/{1}", data.DispData.MData, data.DispData.MDataMax);
|
||||
this.CollectionLabelDisplacement[9].Text = value;
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayDispData10(data);
|
||||
}
|
||||
|
||||
// 압력센서 데이터
|
||||
public void UpdateDisplayPresData(Collection<PressureData> datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[i].Text = datas[i].WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[i].Text = datas[i].MasterChamber.Trim();
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayPresData1(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[0].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[0].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData1(data);
|
||||
}
|
||||
public void UpdateDisplayPresData2(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[1].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[1].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData2(data);
|
||||
}
|
||||
public void UpdateDisplayPresData3(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[2].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[2].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData3(data);
|
||||
}
|
||||
public void UpdateDisplayPresData4(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[3].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[3].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData4(data);
|
||||
}
|
||||
public void UpdateDisplayPresData5(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[4].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[4].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData5(data);
|
||||
}
|
||||
public void UpdateDisplayPresData6(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[5].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[5].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData6(data);
|
||||
}
|
||||
public void UpdateDisplayPresData7(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[6].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[6].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData7(data);
|
||||
}
|
||||
public void UpdateDisplayPresData8(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[7].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[7].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData8(data);
|
||||
}
|
||||
public void UpdateDisplayPresData9(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[8].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[8].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData9(data);
|
||||
}
|
||||
public void UpdateDisplayPresData10(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[9].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.CollectionLabelPressureMaster[9].Text = data.PresData.MasterChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData10(data);
|
||||
}
|
||||
|
||||
// 판정결과
|
||||
public void UpdateDisplayJudgmentData(LeakData datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
this.CollectionLabelResult[i].Visible = true;
|
||||
}
|
||||
|
||||
this.ParentForm.TrackingInspectionData(datas);
|
||||
this.ChildControl.UpdateStartLeakDataDisplay(datas);
|
||||
}
|
||||
public void UpdateDisplayJudgmentData1(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[0]);
|
||||
this.CollectionLabelResult[0].Visible = true;
|
||||
this.CollectionControlResult[0].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[0].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay1(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay1(data);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData1(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Ng, this.CollectionLabelResult[0]);
|
||||
this.CollectionLabelResult[0].Visible = true;
|
||||
this.CollectionControlResult[0].SetResultTestMode(Define.E_JudgmentStatus.Ng, Define.E_JudgmentStatus.Ng, Define.E_JudgmentStatus.Pass);
|
||||
this.CollectionControlResult[0].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData2(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[1]);
|
||||
this.CollectionLabelResult[1].Visible = true;
|
||||
this.CollectionControlResult[1].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[1].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay2(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay2(data);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData2(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Pass, this.CollectionLabelResult[1]);
|
||||
this.CollectionLabelResult[1].Visible = true;
|
||||
this.CollectionControlResult[1].SetResultTestMode(Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass);
|
||||
this.CollectionControlResult[1].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData3(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[2]);
|
||||
this.CollectionLabelResult[2].Visible = true;
|
||||
this.CollectionControlResult[2].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[2].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay3(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay3(data);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData3(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Pass, this.CollectionLabelResult[2]);
|
||||
this.CollectionLabelResult[2].Visible = true;
|
||||
this.CollectionControlResult[2].SetResultTestMode(Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass);
|
||||
this.CollectionControlResult[2].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData4(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[3]);
|
||||
this.CollectionLabelResult[3].Visible = true;
|
||||
this.CollectionControlResult[3].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[3].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay4(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay4(data);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData4(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Ng, this.CollectionLabelResult[3]);
|
||||
this.CollectionLabelResult[3].Visible = true;
|
||||
this.CollectionControlResult[3].SetResultTestMode(Define.E_JudgmentStatus.Ng, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Ng);
|
||||
this.CollectionControlResult[3].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData5(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[4]);
|
||||
this.CollectionLabelResult[4].Visible = true;
|
||||
this.CollectionControlResult[4].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[4].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay5(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay5(data);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData5(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Pass, this.CollectionLabelResult[4]);
|
||||
this.CollectionLabelResult[4].Visible = true;
|
||||
this.CollectionControlResult[4].SetResultTestMode(Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass);
|
||||
this.CollectionControlResult[4].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData6(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[5]);
|
||||
this.CollectionLabelResult[5].Visible = true;
|
||||
this.CollectionControlResult[5].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[5].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay6(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay6(data);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData6(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Pass, this.CollectionLabelResult[5]);
|
||||
this.CollectionLabelResult[5].Visible = true;
|
||||
this.CollectionControlResult[5].SetResultTestMode(Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass);
|
||||
this.CollectionControlResult[5].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData7(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[6]);
|
||||
this.CollectionLabelResult[6].Visible = true;
|
||||
this.CollectionControlResult[6].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[6].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay7(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay7(data);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData7(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Pass, this.CollectionLabelResult[6]);
|
||||
this.CollectionLabelResult[6].Visible = true;
|
||||
this.CollectionControlResult[6].SetResultTestMode(Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass);
|
||||
this.CollectionControlResult[6].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData8(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[7]);
|
||||
this.CollectionLabelResult[7].Visible = true;
|
||||
this.CollectionControlResult[7].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[7].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay8(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay8(data);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData8(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Ng, this.CollectionLabelResult[7]);
|
||||
this.CollectionLabelResult[7].Visible = true;
|
||||
this.CollectionControlResult[7].SetResultTestMode(Define.E_JudgmentStatus.Ng, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Ng);
|
||||
this.CollectionControlResult[7].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData9(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[8]);
|
||||
this.CollectionLabelResult[8].Visible = true;
|
||||
this.CollectionControlResult[8].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[8].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay9(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay9(data);
|
||||
this.SetLabelNumberColor(8, this.ColorNumberUnSelected);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData9(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Pass, this.CollectionLabelResult[8]);
|
||||
this.CollectionLabelResult[8].Visible = true;
|
||||
this.CollectionControlResult[8].SetResultTestMode(Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass);
|
||||
this.CollectionControlResult[8].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData10(LeakData1 data)
|
||||
{
|
||||
if (this.IsTestMode == false)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[9]);
|
||||
this.CollectionLabelResult[9].Visible = true;
|
||||
this.CollectionControlResult[9].SetResult(data.Judgment);
|
||||
this.CollectionControlResult[9].Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay10(data);
|
||||
//this.ChildControl.UpdateStartLeakDataDisplay10(data);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberUnSelected);
|
||||
this.ChildMainDisplay10.UpdateDisplayJudgmentData10(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResult(Define.E_JudgmentStatus.Pass, this.CollectionLabelResult[9]);
|
||||
this.CollectionLabelResult[9].Visible = true;
|
||||
this.CollectionControlResult[9].SetResultTestMode(Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass, Define.E_JudgmentStatus.Pass);
|
||||
this.CollectionControlResult[9].Visible = true;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentTrackingData(Collection<LeakData1> items)
|
||||
|
@ -1521,6 +1606,17 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayRecipeData(Recipe data)
|
||||
{
|
||||
this.buttonRecipeNo.ButtonText = data.NUMBER.ToString();
|
||||
|
||||
if (data.DISP_JUDG_ENABLE == false)
|
||||
{
|
||||
for (int i = 0; i < this.CollectionLabelDisplacement.Count; i++)
|
||||
this.CollectionLabelDisplacement[i].TextColor = Color.Gray;
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < this.CollectionLabelDisplacement.Count; i++)
|
||||
this.CollectionLabelDisplacement[i].TextColor = Color.White;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayTime(DateTime time)
|
||||
{
|
||||
|
@ -1533,12 +1629,11 @@ namespace INT_PT002.Forms
|
|||
this.ParentForm.CurrentSystemStatus.CurrentDisplayMode = Define.E_DisplayModeStore.MainDisplay;
|
||||
this.ParentForm.SetDisplayMode(Define.E_EquipmentMode.Normal);
|
||||
|
||||
this.buttonRecipeNo.ButtonText = this.ParentForm.CurrentRecipe.NUMBER.ToString();
|
||||
this.InitializeProcessStatus();
|
||||
|
||||
this.ChildModbus.Visible = false;
|
||||
|
||||
this.InitializeProcessStatus();
|
||||
this.UpdateDisplayUser(this.ParentForm.CurrentSystemStatus.CurrentUser);
|
||||
this.UpdateDisplayRecipeData(this.ParentForm.CurrentRecipe);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -1597,8 +1692,9 @@ namespace INT_PT002.Forms
|
|||
|
||||
this.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
|
||||
|
||||
//this.InitializeData();
|
||||
this.ChildControl.ClearAllData();
|
||||
this.InitializeData();
|
||||
//this.ChildControl.ClearAllData();
|
||||
this.ChildMainDisplay10.InitializeData();
|
||||
}
|
||||
private void buttonUser_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -1641,65 +1737,23 @@ namespace INT_PT002.Forms
|
|||
else
|
||||
{
|
||||
this.ChildModbus.DisplayRefresh();
|
||||
this.ChildModbus.BringToFront();
|
||||
this.ChildModbus.Visible = true;
|
||||
}
|
||||
}
|
||||
private void buttonDisplay_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (this.ChildMainDisplay10.Visible == false)
|
||||
this.ChildMainDisplay10.Visible = true;
|
||||
else
|
||||
this.ChildMainDisplay10.Visible = false;
|
||||
}
|
||||
|
||||
private void smartDraw1_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(1);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw2_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(2);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw3_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(3);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw4_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(4);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw5_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(5);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw6_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(6);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw7_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(7);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw8_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(8);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw9_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(9);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void smartDraw10_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ChildControl.DisplayRefresh(10);
|
||||
this.ChildControl.Visible = true;
|
||||
}
|
||||
private void buttonClear_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.InitializeData();
|
||||
this.ChildControl.ClearAllData();
|
||||
//this.ChildControl.ClearAllData();
|
||||
this.ChildMainDisplay10.InitializeData();
|
||||
this.ChildModbus.ClearData();
|
||||
}
|
||||
|
||||
private void buttonExit_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -179,6 +179,9 @@ namespace INT_PT002
|
|||
status = Define.E_JudgmentStatus.Ng;
|
||||
break;
|
||||
case "3":
|
||||
status = Define.E_JudgmentStatus.Empty;
|
||||
break;
|
||||
case "4":
|
||||
status = Define.E_JudgmentStatus.Error;
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -0,0 +1,70 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
||||
namespace INT_PT002.SerialManger
|
||||
{
|
||||
public partial class SerialMgrComm
|
||||
{
|
||||
private const string PathDll = "SD Card\\Run\\DllSerialMgr.dll";
|
||||
|
||||
public delegate void fnSerialVersionCB(StringBuilder pVersion);
|
||||
public static fnSerialVersionCB fnSerialVersionCallback;
|
||||
|
||||
public delegate void fnSerialMgrDebugCB(int level, StringBuilder pMessage);
|
||||
public static fnSerialMgrDebugCB fnSerialMgrDebugCallback;
|
||||
|
||||
public delegate void fnSerialMgrPortConnectCB(StringBuilder commPort, int status, int errDetail);
|
||||
public static fnSerialMgrPortConnectCB fnSerialMgrPortConnectCallback;
|
||||
|
||||
public delegate void fnSerialMgrRcvPacketCB(StringBuilder commPort, IntPtr pData, int length);
|
||||
public static fnSerialMgrRcvPacketCB fnSerialMgrRcvPacketCallback;
|
||||
|
||||
public delegate void fnSerialMgrRcvErrPacketCB(StringBuilder commPort, IntPtr pData, int length);
|
||||
public static fnSerialMgrRcvErrPacketCB fnSerialMgrRcvErrPacketCallback;
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_Register_DebugCB(fnSerialMgrDebugCB func);
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_Register_ConnectCB(fnSerialMgrPortConnectCB func);
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_Register_VersionCB(fnSerialVersionCB func);
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_Register_RcvPacketCB(fnSerialMgrRcvPacketCB func);
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_Register_RcvErrPacketCB(fnSerialMgrRcvErrPacketCB func);
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_HelloWorld();
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_Getversion();
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_Activation();
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern void DLL_SerialMgr_Deactivation();
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern int DLL_SerialMgr_PortOpen(IntPtr commPort, int BaudRate, int StopBit, int Parity, int DataBit);
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern int DLL_SerialMgr_PortClose(IntPtr commPort);
|
||||
|
||||
[DllImport(PathDll, CallingConvention = CallingConvention.Winapi)]
|
||||
public static extern int DLL_SerialMgr_PortSendMsg(IntPtr commPort, IntPtr pData, int Length);
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
|
||||
namespace INT_PT002.SerialManger
|
||||
{
|
||||
public partial class SerialMgrComm
|
||||
{
|
||||
//fnSerialMgrDebugCB
|
||||
public const int SERIALMGR_DBG_NORMAL = 0x0001;
|
||||
public const int SERIALMGR_DBG_THREAD = 0x0002;
|
||||
public const int SERIALMGR_DBG_LIST = 0x0004;
|
||||
public const int SERIALMGR_DBG_PORT = 0x0008;
|
||||
|
||||
|
||||
// fnSerialMgrConnectCB : status
|
||||
public const int SERIAL_STATUS_DISCONNECT = 0x00;
|
||||
public const int SERIAL_STATUS_CONNECT = 0x01;
|
||||
public const int SERIAL_STATUS_ERROR = 0x02;
|
||||
|
||||
public const int MAX_COMMPORT_SIZE = 10;
|
||||
|
||||
// fnSerialMgrConnectCB : errDetail
|
||||
public enum serial_error_detail_e
|
||||
{
|
||||
SERIAL_ERR_NONE = 0x00,
|
||||
SERIAL_ERR_CREATE,
|
||||
SERIAL_ERR_PARAMETER,
|
||||
SERIAL_ERR_TIMEOUT,
|
||||
SERIAL_ERR_WRITE,
|
||||
SERIAL_ERR_READ,
|
||||
SERIAL_ERR_MAX
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,266 @@
|
|||
#define CONSOLE_DBUGGING
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Collections;
|
||||
|
||||
namespace INT_PT002.SerialManger
|
||||
{
|
||||
public partial class SerialMgrComm
|
||||
{
|
||||
public delegate void ObjectEventHandler(object data);
|
||||
public static event ObjectEventHandler SerialPortMessageReceive;
|
||||
public static event ObjectEventHandler SerialPortErrMessageReceive;
|
||||
public static event ObjectEventHandler SerialPortGetVersionDataEvent;
|
||||
|
||||
public static void IntializeSerialManager()
|
||||
{
|
||||
//Console.Write("Initialize Serial Manager \n");
|
||||
|
||||
// Register Callback
|
||||
fnSerialMgrDebugCallback = serialDebugCallback;
|
||||
DLL_SerialMgr_Register_DebugCB(fnSerialMgrDebugCallback);
|
||||
|
||||
fnSerialMgrPortConnectCallback = serialPortConnectCallback;
|
||||
DLL_SerialMgr_Register_ConnectCB(fnSerialMgrPortConnectCallback);
|
||||
|
||||
fnSerialVersionCallback = serialVersionCallback;
|
||||
DLL_SerialMgr_Register_VersionCB(fnSerialVersionCallback);
|
||||
|
||||
fnSerialMgrRcvPacketCallback = serialRcvPacketMsgCallback;
|
||||
DLL_SerialMgr_Register_RcvPacketCB(fnSerialMgrRcvPacketCallback);
|
||||
|
||||
fnSerialMgrRcvErrPacketCallback = serialRcvErrPacketMsgCallback;
|
||||
DLL_SerialMgr_Register_RcvErrPacketCB(fnSerialMgrRcvErrPacketCallback);
|
||||
|
||||
// test
|
||||
//DLL_SerialMgr_HelloWorld();
|
||||
|
||||
// get the lib version
|
||||
//DLL_SerialMgr_Getversion();
|
||||
|
||||
// activate the dll thread
|
||||
DLL_SerialMgr_Activation();
|
||||
|
||||
}
|
||||
|
||||
#region DLL_CALLBACK
|
||||
private static void serialVersionCallback(StringBuilder versionInfo)
|
||||
{
|
||||
try
|
||||
{
|
||||
//Console.Write("\n-------------------------------\n");
|
||||
//Console.Write("lib version = " + versionInfo + "\n");
|
||||
//Console.Write("-------------------------------\n");
|
||||
|
||||
if (SerialPortGetVersionDataEvent != null)
|
||||
SerialPortGetVersionDataEvent(versionInfo);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw (e);
|
||||
}
|
||||
}
|
||||
|
||||
private static void serialPortConnectCallback(StringBuilder commPort, int status, int errDetail)
|
||||
{
|
||||
try
|
||||
{
|
||||
//Console.Write(commPort + ": status = " + status.ToString() +" , detail = " + errDetail.ToString() + "\n");
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw (e);
|
||||
}
|
||||
}
|
||||
|
||||
private static void serialDebugCallback(int type, StringBuilder pMessage)
|
||||
{
|
||||
try
|
||||
{
|
||||
//Console.Write(pMessage);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw (e);
|
||||
}
|
||||
}
|
||||
|
||||
// https://stackoverflow.com/questions/22938756/how-to-marshal-c-array-to-c-sharp-via-intptr
|
||||
public static void serialRcvPacketMsgCallback(StringBuilder commPort, IntPtr pData, int length)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (commPort.Length == 0)
|
||||
return;
|
||||
|
||||
if ( (pData == IntPtr.Zero) || (length == 0) )
|
||||
return;
|
||||
|
||||
byte[] data = new byte[length];
|
||||
Marshal.Copy(pData, data, 0, (int)length);
|
||||
|
||||
string sdata = Encoding.Default.GetString(data, 0, data.Length);
|
||||
|
||||
if (SerialPortMessageReceive != null)
|
||||
SerialPortMessageReceive(sdata);
|
||||
|
||||
#if TEST_CB
|
||||
String commPortStr = commPort.ToString();
|
||||
|
||||
serialPortMessageByte(commPortStr, data, length);
|
||||
#endif
|
||||
|
||||
|
||||
//Console.Write("comm port : " + commPort + ", length = " + length.ToString() + "\n");
|
||||
#if TEST_DEBUG
|
||||
// https://stackoverflow.com/questions/1342922/console-writeline-as-hexadecimal
|
||||
int index = 0;
|
||||
foreach (byte temp in data)
|
||||
{
|
||||
Console.Write(temp.ToString("X2") + " ");
|
||||
index++;
|
||||
|
||||
if (index % 16 == 0) Console.Write("\n");
|
||||
}
|
||||
|
||||
Console.Write("\n");
|
||||
#endif
|
||||
|
||||
//data = null;
|
||||
|
||||
//GC.Collect();
|
||||
//GC.WaitForPendingFinalizers();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw (e);
|
||||
}
|
||||
}
|
||||
|
||||
public static void serialRcvErrPacketMsgCallback(StringBuilder commPort, IntPtr pData, int length)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (commPort.Length == 0)
|
||||
return;
|
||||
|
||||
if ((pData == IntPtr.Zero) || (length == 0))
|
||||
return;
|
||||
|
||||
byte[] data = new byte[length];
|
||||
Marshal.Copy(pData, data, 0, (int)length);
|
||||
|
||||
string sdata = Encoding.Default.GetString(data, 0, data.Length);
|
||||
|
||||
if (SerialPortErrMessageReceive != null)
|
||||
SerialPortErrMessageReceive(sdata);
|
||||
|
||||
//String commPortStr = commPort.ToString();
|
||||
//serialPortMessageByte(commPortStr, data, length);
|
||||
|
||||
//Console.Write("Err : comm port : " + commPort + ", length = " + length.ToString() + "\n");
|
||||
|
||||
#if (TEST_DEBUG1)
|
||||
// https://stackoverflow.com/questions/1342922/console-writeline-as-hexadecimal
|
||||
int index = 0;
|
||||
foreach (byte temp in data)
|
||||
{
|
||||
Console.Write(temp.ToString("X2") + " ");
|
||||
index++;
|
||||
|
||||
if (index == 5) break;
|
||||
|
||||
if (index % 16 == 0) Console.Write("\n");
|
||||
}
|
||||
|
||||
Console.Write("\n");
|
||||
#endif
|
||||
|
||||
// https://dhshin94.tistory.com/135
|
||||
//data = null;
|
||||
|
||||
//GC.Collect();
|
||||
//GC.WaitForPendingFinalizers();
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw (e);
|
||||
}
|
||||
}
|
||||
#endregion // DLL_CALLBACK
|
||||
|
||||
#region DLL_COMMAND
|
||||
|
||||
public static void serialPortOpen(String commPort, int BaudRate, int stopBit, int parity, int dataBit)
|
||||
{
|
||||
IntPtr pCommPort = Marshal.StringToBSTR(commPort.ToString());
|
||||
|
||||
DLL_SerialMgr_PortOpen(pCommPort, BaudRate, stopBit, parity, dataBit);
|
||||
}
|
||||
|
||||
public static void serialPortClose(String commPort)
|
||||
{
|
||||
IntPtr pCommPort = Marshal.StringToBSTR(commPort.ToString());
|
||||
|
||||
DLL_SerialMgr_PortClose(pCommPort);
|
||||
}
|
||||
|
||||
|
||||
public static void serialPortMessageByte(String commport, byte[] data, int length)
|
||||
{
|
||||
IntPtr pCommPort = Marshal.StringToBSTR(commport.ToString());
|
||||
|
||||
IntPtr ptr = Marshal.AllocHGlobal(length);
|
||||
Marshal.Copy(data, 0, ptr, length);
|
||||
|
||||
DLL_SerialMgr_PortSendMsg(pCommPort, ptr, length);
|
||||
|
||||
//string sdata = Encoding.Default.GetString(data, 0, data.Length);
|
||||
|
||||
Marshal.FreeHGlobal(ptr);
|
||||
|
||||
// if (SerialPortMessageReceive != null)
|
||||
// SerialPortMessageReceive(sdata);
|
||||
}
|
||||
|
||||
|
||||
//https://stackoverflow.com/questions/13418795/convert-byte-array-to-structure-in-the-compact-framework
|
||||
public static void serialPortMessage(String commPort, String Message)
|
||||
{
|
||||
IntPtr pCommPort = Marshal.StringToBSTR(commPort.ToString());
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append((char)0x02);
|
||||
sb.Append(Message);
|
||||
sb.Append((char)0x03);
|
||||
|
||||
Message = sb.ToString();
|
||||
|
||||
byte[] buffer = Encoding.ASCII.GetBytes(Message);
|
||||
int count = Encoding.ASCII.GetByteCount(Message);
|
||||
//byte[] buffer = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
|
||||
//int count = 10;
|
||||
|
||||
|
||||
IntPtr ptr = Marshal.AllocHGlobal(count);
|
||||
Marshal.Copy(buffer, 0, ptr, count);
|
||||
|
||||
DLL_SerialMgr_PortSendMsg(pCommPort, ptr, count);
|
||||
|
||||
Marshal.FreeHGlobal(ptr);
|
||||
}
|
||||
|
||||
public static void serialPort_GetVersion()
|
||||
{
|
||||
DLL_SerialMgr_Getversion();
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|