Serial Dll 추가
parent
4dcf8f13d4
commit
d34913d01b
|
@ -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
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -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>
|
|
@ -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>
|
|
@ -28,8 +28,10 @@
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle chartPenStyle5 = new SmartX.SmartDraw_ChartChannelPenStyle.ChartPenStyle();
|
||||
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();
|
||||
|
@ -37,10 +39,9 @@
|
|||
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.labelMesDiffSecSum = new SmartX.SmartLabel();
|
||||
this.smartLabel45 = new SmartX.SmartLabel();
|
||||
this.smartLabel8 = new SmartX.SmartLabel();
|
||||
this.smartLabel9 = new SmartX.SmartLabel();
|
||||
this.labelMesDispMDataMax = new SmartX.SmartLabel();
|
||||
|
@ -59,7 +60,6 @@
|
|||
this.labelMesResult = new SmartX.SmartLabel();
|
||||
this.smartGroupBox11 = new SmartX.SmartGroupBox();
|
||||
this.smartDrawDisp = new SmartX.SmartDraw();
|
||||
this.smartDraw_ChartChannelPenStyle1 = new SmartX.SmartDraw_ChartChannelPenStyle();
|
||||
this.groupBoxMeasuring1.SuspendLayout();
|
||||
this.smartGroupBox2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.smartDrawDiff)).BeginInit();
|
||||
|
@ -72,14 +72,14 @@
|
|||
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.labelMesDiffSecSum);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel45);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel8);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.smartLabel9);
|
||||
this.groupBoxMeasuring1.Controls.Add(this.labelMesDispMDataMax);
|
||||
|
@ -109,6 +109,52 @@
|
|||
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)))));
|
||||
|
@ -116,7 +162,7 @@
|
|||
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, 197);
|
||||
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;
|
||||
|
@ -129,7 +175,7 @@
|
|||
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, 97);
|
||||
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;
|
||||
|
@ -143,7 +189,7 @@
|
|||
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, 149);
|
||||
this.labelMesPressureWork.Location = new System.Drawing.Point(80, 218);
|
||||
this.labelMesPressureWork.Name = "labelMesPressureWork";
|
||||
this.labelMesPressureWork.OverlapOptimize = true;
|
||||
this.labelMesPressureWork.PasswordChar = '\0';
|
||||
|
@ -166,7 +212,7 @@
|
|||
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, 327);
|
||||
this.labelMesDiffSecMax.Location = new System.Drawing.Point(80, 360);
|
||||
this.labelMesDiffSecMax.Name = "labelMesDiffSecMax";
|
||||
this.labelMesDiffSecMax.OverlapOptimize = true;
|
||||
this.labelMesDiffSecMax.PasswordChar = '\0';
|
||||
|
@ -189,7 +235,7 @@
|
|||
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, 327);
|
||||
this.smartLabel41.Location = new System.Drawing.Point(4, 360);
|
||||
this.smartLabel41.Name = "smartLabel41";
|
||||
this.smartLabel41.OverlapOptimize = true;
|
||||
this.smartLabel41.PasswordChar = '\0';
|
||||
|
@ -246,6 +292,13 @@
|
|||
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;
|
||||
|
@ -277,7 +330,7 @@
|
|||
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, 113);
|
||||
this.labelMesPressureMaster.Location = new System.Drawing.Point(80, 182);
|
||||
this.labelMesPressureMaster.Name = "labelMesPressureMaster";
|
||||
this.labelMesPressureMaster.OverlapOptimize = true;
|
||||
this.labelMesPressureMaster.PasswordChar = '\0';
|
||||
|
@ -292,52 +345,6 @@
|
|||
this.labelMesPressureMaster.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesPressureMaster.Wordwrap = false;
|
||||
//
|
||||
// labelMesDiffSecSum
|
||||
//
|
||||
this.labelMesDiffSecSum.BackGround = null;
|
||||
this.labelMesDiffSecSum.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.labelMesDiffSecSum.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelMesDiffSecSum.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelMesDiffSecSum.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.labelMesDiffSecSum.LineSpacing = 0F;
|
||||
this.labelMesDiffSecSum.Location = new System.Drawing.Point(80, 291);
|
||||
this.labelMesDiffSecSum.Name = "labelMesDiffSecSum";
|
||||
this.labelMesDiffSecSum.OverlapOptimize = true;
|
||||
this.labelMesDiffSecSum.PasswordChar = '\0';
|
||||
this.labelMesDiffSecSum.Radius = 3;
|
||||
this.labelMesDiffSecSum.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelMesDiffSecSum.Size = new System.Drawing.Size(90, 30);
|
||||
this.labelMesDiffSecSum.TabIndex = 47;
|
||||
this.labelMesDiffSecSum.Text = "0.0023";
|
||||
this.labelMesDiffSecSum.TextColor = System.Drawing.Color.White;
|
||||
this.labelMesDiffSecSum.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelMesDiffSecSum.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelMesDiffSecSum.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelMesDiffSecSum.Wordwrap = false;
|
||||
//
|
||||
// smartLabel45
|
||||
//
|
||||
this.smartLabel45.BackGround = this.smartGroupBox2;
|
||||
this.smartLabel45.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel45.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel45.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel45.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel45.LineSpacing = 0F;
|
||||
this.smartLabel45.Location = new System.Drawing.Point(4, 291);
|
||||
this.smartLabel45.Name = "smartLabel45";
|
||||
this.smartLabel45.OverlapOptimize = true;
|
||||
this.smartLabel45.PasswordChar = '\0';
|
||||
this.smartLabel45.Radius = 3;
|
||||
this.smartLabel45.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel45.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel45.TabIndex = 46;
|
||||
this.smartLabel45.Text = "LR.Sum";
|
||||
this.smartLabel45.TextColor = System.Drawing.Color.White;
|
||||
this.smartLabel45.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel45.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel45.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel45.Wordwrap = false;
|
||||
//
|
||||
// smartLabel8
|
||||
//
|
||||
this.smartLabel8.BackGround = this.smartGroupBox2;
|
||||
|
@ -346,7 +353,7 @@
|
|||
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, 113);
|
||||
this.smartLabel8.Location = new System.Drawing.Point(4, 182);
|
||||
this.smartLabel8.Name = "smartLabel8";
|
||||
this.smartLabel8.OverlapOptimize = true;
|
||||
this.smartLabel8.PasswordChar = '\0';
|
||||
|
@ -369,7 +376,7 @@
|
|||
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, 149);
|
||||
this.smartLabel9.Location = new System.Drawing.Point(4, 218);
|
||||
this.smartLabel9.Name = "smartLabel9";
|
||||
this.smartLabel9.OverlapOptimize = true;
|
||||
this.smartLabel9.PasswordChar = '\0';
|
||||
|
@ -392,7 +399,7 @@
|
|||
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, 518);
|
||||
this.labelMesDispMDataMax.Location = new System.Drawing.Point(80, 497);
|
||||
this.labelMesDispMDataMax.Name = "labelMesDispMDataMax";
|
||||
this.labelMesDispMDataMax.OverlapOptimize = true;
|
||||
this.labelMesDispMDataMax.PasswordChar = '\0';
|
||||
|
@ -415,7 +422,7 @@
|
|||
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, 518);
|
||||
this.smartLabel48.Location = new System.Drawing.Point(4, 497);
|
||||
this.smartLabel48.Name = "smartLabel48";
|
||||
this.smartLabel48.OverlapOptimize = true;
|
||||
this.smartLabel48.PasswordChar = '\0';
|
||||
|
@ -423,7 +430,7 @@
|
|||
this.smartLabel48.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel48.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel48.TabIndex = 44;
|
||||
this.smartLabel48.Text = "MData max";
|
||||
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;
|
||||
|
@ -438,7 +445,7 @@
|
|||
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, 482);
|
||||
this.labelMesDispMDataDiff.Location = new System.Drawing.Point(80, 533);
|
||||
this.labelMesDispMDataDiff.Name = "labelMesDispMDataDiff";
|
||||
this.labelMesDispMDataDiff.OverlapOptimize = true;
|
||||
this.labelMesDispMDataDiff.PasswordChar = '\0';
|
||||
|
@ -461,7 +468,7 @@
|
|||
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, 482);
|
||||
this.smartLabel53.Location = new System.Drawing.Point(4, 533);
|
||||
this.smartLabel53.Name = "smartLabel53";
|
||||
this.smartLabel53.OverlapOptimize = true;
|
||||
this.smartLabel53.PasswordChar = '\0';
|
||||
|
@ -469,7 +476,7 @@
|
|||
this.smartLabel53.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel53.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel53.TabIndex = 42;
|
||||
this.smartLabel53.Text = "MData diff";
|
||||
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;
|
||||
|
@ -484,7 +491,7 @@
|
|||
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, 219);
|
||||
this.labelMesDiffMadc.Location = new System.Drawing.Point(80, 288);
|
||||
this.labelMesDiffMadc.Name = "labelMesDiffMadc";
|
||||
this.labelMesDiffMadc.OverlapOptimize = true;
|
||||
this.labelMesDiffMadc.PasswordChar = '\0';
|
||||
|
@ -507,7 +514,7 @@
|
|||
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, 219);
|
||||
this.smartLabel23.Location = new System.Drawing.Point(4, 288);
|
||||
this.smartLabel23.Name = "smartLabel23";
|
||||
this.smartLabel23.OverlapOptimize = true;
|
||||
this.smartLabel23.PasswordChar = '\0';
|
||||
|
@ -529,7 +536,7 @@
|
|||
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, 384);
|
||||
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;
|
||||
|
@ -543,7 +550,7 @@
|
|||
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, 255);
|
||||
this.labelMesDiffSecDiff.Location = new System.Drawing.Point(80, 324);
|
||||
this.labelMesDiffSecDiff.Name = "labelMesDiffSecDiff";
|
||||
this.labelMesDiffSecDiff.OverlapOptimize = true;
|
||||
this.labelMesDiffSecDiff.PasswordChar = '\0';
|
||||
|
@ -566,7 +573,7 @@
|
|||
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, 255);
|
||||
this.smartLabel14.Location = new System.Drawing.Point(4, 324);
|
||||
this.smartLabel14.Name = "smartLabel14";
|
||||
this.smartLabel14.OverlapOptimize = true;
|
||||
this.smartLabel14.PasswordChar = '\0';
|
||||
|
@ -589,7 +596,7 @@
|
|||
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, 446);
|
||||
this.labelMesDispMData.Location = new System.Drawing.Point(80, 461);
|
||||
this.labelMesDispMData.Name = "labelMesDispMData";
|
||||
this.labelMesDispMData.OverlapOptimize = true;
|
||||
this.labelMesDispMData.PasswordChar = '\0';
|
||||
|
@ -612,7 +619,7 @@
|
|||
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, 446);
|
||||
this.smartLabel30.Location = new System.Drawing.Point(4, 461);
|
||||
this.smartLabel30.Name = "smartLabel30";
|
||||
this.smartLabel30.OverlapOptimize = true;
|
||||
this.smartLabel30.PasswordChar = '\0';
|
||||
|
@ -620,7 +627,7 @@
|
|||
this.smartLabel30.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel30.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel30.TabIndex = 30;
|
||||
this.smartLabel30.Text = "MData";
|
||||
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;
|
||||
|
@ -635,7 +642,7 @@
|
|||
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, 410);
|
||||
this.labelMesDispRData.Location = new System.Drawing.Point(80, 425);
|
||||
this.labelMesDispRData.Name = "labelMesDispRData";
|
||||
this.labelMesDispRData.OverlapOptimize = true;
|
||||
this.labelMesDispRData.PasswordChar = '\0';
|
||||
|
@ -658,7 +665,7 @@
|
|||
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, 410);
|
||||
this.smartLabel32.Location = new System.Drawing.Point(4, 425);
|
||||
this.smartLabel32.Name = "smartLabel32";
|
||||
this.smartLabel32.OverlapOptimize = true;
|
||||
this.smartLabel32.PasswordChar = '\0';
|
||||
|
@ -666,7 +673,7 @@
|
|||
this.smartLabel32.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel32.Size = new System.Drawing.Size(70, 30);
|
||||
this.smartLabel32.TabIndex = 29;
|
||||
this.smartLabel32.Text = "RData";
|
||||
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;
|
||||
|
@ -679,9 +686,9 @@
|
|||
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", 18F, System.Drawing.FontStyle.Bold);
|
||||
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, 31);
|
||||
this.labelMesResult.Location = new System.Drawing.Point(4, 42);
|
||||
this.labelMesResult.Name = "labelMesResult";
|
||||
this.labelMesResult.OverlapOptimize = true;
|
||||
this.labelMesResult.PasswordChar = '\0';
|
||||
|
@ -737,13 +744,6 @@
|
|||
this.smartDrawDisp.TabIndex = 14;
|
||||
this.smartDrawDisp.Text = "smartDraw2";
|
||||
//
|
||||
// smartDraw_ChartChannelPenStyle1
|
||||
//
|
||||
chartPenStyle5.ChannelColor = System.Drawing.Color.White;
|
||||
chartPenStyle5.PenStyle = SmartX.SmartDraw_ChartChannelPenStyle.PenStyles.SOLID;
|
||||
chartPenStyle5.PenWidth = 3;
|
||||
this.smartDraw_ChartChannelPenStyle1.ChartChannelPenStyle.Add(chartPenStyle5);
|
||||
//
|
||||
// ControlMenuRecipeData
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
||||
|
@ -775,8 +775,6 @@
|
|||
private SmartX.SmartDraw smartDrawDiff;
|
||||
private SmartX.SmartLabel smartLabel61;
|
||||
private SmartX.SmartLabel labelMesPressureMaster;
|
||||
private SmartX.SmartLabel labelMesDiffSecSum;
|
||||
private SmartX.SmartLabel smartLabel45;
|
||||
private SmartX.SmartLabel smartLabel8;
|
||||
private SmartX.SmartLabel smartLabel9;
|
||||
private SmartX.SmartLabel labelMesDispMDataMax;
|
||||
|
@ -796,5 +794,7 @@
|
|||
private SmartX.SmartGroupBox smartGroupBox11;
|
||||
private SmartX.SmartDraw smartDrawDisp;
|
||||
private SmartX.SmartDraw_ChartChannelPenStyle smartDraw_ChartChannelPenStyle1;
|
||||
private SmartX.SmartLabel labelMesResultDisp;
|
||||
private SmartX.SmartLabel labelMesResultDiff;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,14 +56,17 @@ namespace INT_PT002.Controls
|
|||
public void InitializeData()
|
||||
{
|
||||
this.labelMesResult.Text = "-";
|
||||
this.labelMesResult.TextColor = Define.ColorResultNone;
|
||||
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.labelMesDiffSecSum.Text = "0.00";
|
||||
this.labelMesDiffSecMax.Text = "0.00";
|
||||
|
||||
this.labelMesDispRData.Text = "0.00";
|
||||
|
@ -220,23 +223,23 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
value = "-";
|
||||
label2.TextColor = Define.ColorResultNone;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
value = "Pass";
|
||||
label2.TextColor = Define.ColorResultPass;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
label2.TextColor = Define.ColorTextResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
value = "Leak";
|
||||
label2.TextColor = Define.ColorResultNG;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
label2.TextColor = Define.ColorTextResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
value = "Empty";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
value = "Empty";
|
||||
label2.TextColor = Define.ColorResultNone;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
value = "Error";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -245,6 +248,53 @@ namespace INT_PT002.Controls
|
|||
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 = "";
|
||||
|
@ -258,10 +308,6 @@ namespace INT_PT002.Controls
|
|||
if (this.labelMesDiffSecDiff.Text != value)
|
||||
this.labelMesDiffSecDiff.Text = value;
|
||||
|
||||
value = data.SecBufSum;
|
||||
if (this.labelMesDiffSecSum.Text != value)
|
||||
this.labelMesDiffSecSum.Text = value;
|
||||
|
||||
value = data.SecBufMax;
|
||||
if (this.labelMesDiffSecMax.Text != value)
|
||||
this.labelMesDiffSecMax.Text = value;
|
||||
|
@ -308,7 +354,18 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
public void UpdateDisplayMeasuringLeadDataResult(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.labelMesResult);
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
private void InitializeComponent()
|
||||
{
|
||||
this.smartGroupBox1 = new SmartX.SmartGroupBox();
|
||||
this.buttonDispEnable = new SmartX.SmartButton();
|
||||
this.smartLabel40 = new SmartX.SmartLabel();
|
||||
this.labelProgress3 = new SmartX.SmartLabel();
|
||||
this.labelProgress7 = new SmartX.SmartLabel();
|
||||
this.labelProgress6 = new SmartX.SmartLabel();
|
||||
|
@ -49,12 +51,14 @@
|
|||
this.button2 = new SmartX.SmartButton();
|
||||
this.button1 = new SmartX.SmartButton();
|
||||
this.smartGroupBox5 = new SmartX.SmartGroupBox();
|
||||
this.smartLabel20 = new SmartX.SmartLabel();
|
||||
this.smartLabel8 = new SmartX.SmartLabel();
|
||||
this.buttonDispEnable = new SmartX.SmartButton();
|
||||
this.smartLabel40 = new SmartX.SmartLabel();
|
||||
this.smartLabel35 = new SmartX.SmartLabel();
|
||||
this.smartLabel18 = new SmartX.SmartLabel();
|
||||
this.smartLabel34 = new SmartX.SmartLabel();
|
||||
this.smartLabel14 = new SmartX.SmartLabel();
|
||||
this.smartLabel33 = new SmartX.SmartLabel();
|
||||
this.smartLabel9 = new SmartX.SmartLabel();
|
||||
this.smartLabel28 = new SmartX.SmartLabel();
|
||||
this.smartLabel25 = new SmartX.SmartLabel();
|
||||
this.smartLabel19 = new SmartX.SmartLabel();
|
||||
|
@ -77,9 +81,7 @@
|
|||
this.labelVacuumStart = new SmartX.SmartLabel();
|
||||
this.smartLabel22 = new SmartX.SmartLabel();
|
||||
this.smartLabel1 = new SmartX.SmartLabel();
|
||||
this.labelDiffLrCycle = new SmartX.SmartLabel();
|
||||
this.labelDispMinHeight = new SmartX.SmartLabel();
|
||||
this.smartLabel11 = new SmartX.SmartLabel();
|
||||
this.smartLabel17 = new SmartX.SmartLabel();
|
||||
this.labelDiffLrLimit = new SmartX.SmartLabel();
|
||||
this.smartLabel3 = new SmartX.SmartLabel();
|
||||
|
@ -91,6 +93,8 @@
|
|||
this.smartLabel15 = new SmartX.SmartLabel();
|
||||
this.labelDispMaxDiff = new SmartX.SmartLabel();
|
||||
this.smartLabel7 = new SmartX.SmartLabel();
|
||||
this.labelDiffLrCycle = new SmartX.SmartLabel();
|
||||
this.smartLabel11 = new SmartX.SmartLabel();
|
||||
this.smartTimerMessageShow = new SmartX.SmartTimer();
|
||||
this.smartGroupBox1.SuspendLayout();
|
||||
this.smartGroupBox2.SuspendLayout();
|
||||
|
@ -102,6 +106,8 @@
|
|||
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.buttonDispEnable);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel40);
|
||||
this.smartGroupBox1.Controls.Add(this.labelProgress3);
|
||||
this.smartGroupBox1.Controls.Add(this.labelProgress7);
|
||||
this.smartGroupBox1.Controls.Add(this.labelProgress6);
|
||||
|
@ -116,6 +122,8 @@
|
|||
this.smartGroupBox1.Controls.Add(this.button2);
|
||||
this.smartGroupBox1.Controls.Add(this.button1);
|
||||
this.smartGroupBox1.Controls.Add(this.smartGroupBox5);
|
||||
this.smartGroupBox1.Controls.Add(this.labelDiffLrCycle);
|
||||
this.smartGroupBox1.Controls.Add(this.smartLabel11);
|
||||
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;
|
||||
|
@ -129,6 +137,66 @@
|
|||
this.smartGroupBox1.Text = "smartGroupBox1";
|
||||
this.smartGroupBox1.TextColor = System.Drawing.Color.White;
|
||||
//
|
||||
// buttonDispEnable
|
||||
//
|
||||
this.buttonDispEnable.BackGround = this.smartGroupBox1;
|
||||
this.buttonDispEnable.BackGroundColor = System.Drawing.Color.Black;
|
||||
this.buttonDispEnable.ButtonColor = System.Drawing.Color.DarkGray;
|
||||
this.buttonDispEnable.ButtonDownColor = System.Drawing.Color.Teal;
|
||||
this.buttonDispEnable.ButtonImageAutoSize = true;
|
||||
this.buttonDispEnable.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
|
||||
this.buttonDispEnable.ButtonText = "OFF";
|
||||
this.buttonDispEnable.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonDispEnable.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonDispEnable.GroupID = 0;
|
||||
this.buttonDispEnable.ImageDisable = null;
|
||||
this.buttonDispEnable.ImageDown = null;
|
||||
this.buttonDispEnable.ImageUp = null;
|
||||
this.buttonDispEnable.Location = new System.Drawing.Point(513, 631);
|
||||
this.buttonDispEnable.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
||||
this.buttonDispEnable.Name = "buttonDispEnable";
|
||||
this.buttonDispEnable.NestedClickEventPrevent = false;
|
||||
this.buttonDispEnable.OutlinePixel = 2;
|
||||
this.buttonDispEnable.OverlapOptimize = true;
|
||||
this.buttonDispEnable.RepeatInterval = 200;
|
||||
this.buttonDispEnable.RepeatIntervalAccelerate = null;
|
||||
this.buttonDispEnable.RoundSize = 10;
|
||||
this.buttonDispEnable.SafeInterval = 200;
|
||||
this.buttonDispEnable.Size = new System.Drawing.Size(100, 30);
|
||||
this.buttonDispEnable.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.buttonDispEnable.TabIndex = 446;
|
||||
this.buttonDispEnable.Text = null;
|
||||
this.buttonDispEnable.TextColor = System.Drawing.Color.White;
|
||||
this.buttonDispEnable.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.buttonDispEnable.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
|
||||
this.buttonDispEnable.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.buttonDispEnable.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonDispEnable.Visible = false;
|
||||
this.buttonDispEnable.Click += new System.EventHandler(this.buttonDispEnable1_Click);
|
||||
//
|
||||
// smartLabel40
|
||||
//
|
||||
this.smartLabel40.BackGround = null;
|
||||
this.smartLabel40.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel40.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel40.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel40.LineSpacing = 0F;
|
||||
this.smartLabel40.Location = new System.Drawing.Point(387, 631);
|
||||
this.smartLabel40.Name = "smartLabel40";
|
||||
this.smartLabel40.OverlapOptimize = true;
|
||||
this.smartLabel40.PasswordChar = '\0';
|
||||
this.smartLabel40.Radius = 3;
|
||||
this.smartLabel40.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel40.Size = new System.Drawing.Size(120, 30);
|
||||
this.smartLabel40.TabIndex = 445;
|
||||
this.smartLabel40.Text = "Enable";
|
||||
this.smartLabel40.TextColor = System.Drawing.Color.LightGray;
|
||||
this.smartLabel40.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel40.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel40.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel40.Visible = false;
|
||||
this.smartLabel40.Wordwrap = false;
|
||||
//
|
||||
// labelProgress3
|
||||
//
|
||||
this.labelProgress3.BackGround = null;
|
||||
|
@ -626,12 +694,14 @@
|
|||
this.smartGroupBox5.BackGround = null;
|
||||
this.smartGroupBox5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartGroupBox5.BackImage = null;
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel20);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel8);
|
||||
this.smartGroupBox5.Controls.Add(this.buttonDispEnable);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel40);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel35);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel18);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel34);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel14);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel33);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel9);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel28);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel25);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel19);
|
||||
|
@ -654,9 +724,7 @@
|
|||
this.smartGroupBox5.Controls.Add(this.labelVacuumStart);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel22);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel1);
|
||||
this.smartGroupBox5.Controls.Add(this.labelDiffLrCycle);
|
||||
this.smartGroupBox5.Controls.Add(this.labelDispMinHeight);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel11);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel17);
|
||||
this.smartGroupBox5.Controls.Add(this.labelDiffLrLimit);
|
||||
this.smartGroupBox5.Controls.Add(this.smartLabel3);
|
||||
|
@ -681,6 +749,29 @@
|
|||
this.smartGroupBox5.Text = "Recipe";
|
||||
this.smartGroupBox5.TextColor = System.Drawing.Color.White;
|
||||
//
|
||||
// smartLabel20
|
||||
//
|
||||
this.smartLabel20.BackGround = null;
|
||||
this.smartLabel20.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
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.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel20.LineSpacing = 0F;
|
||||
this.smartLabel20.Location = new System.Drawing.Point(129, 561);
|
||||
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(120, 20);
|
||||
this.smartLabel20.TabIndex = 465;
|
||||
this.smartLabel20.Text = "< Diff (NG)";
|
||||
this.smartLabel20.TextColor = System.Drawing.Color.LightGray;
|
||||
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;
|
||||
//
|
||||
// smartLabel8
|
||||
//
|
||||
this.smartLabel8.BackGround = null;
|
||||
|
@ -688,7 +779,7 @@
|
|||
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.LineSpacing = 0F;
|
||||
this.smartLabel8.Location = new System.Drawing.Point(235, 334);
|
||||
this.smartLabel8.Location = new System.Drawing.Point(235, 343);
|
||||
this.smartLabel8.Name = "smartLabel8";
|
||||
this.smartLabel8.OverlapOptimize = true;
|
||||
this.smartLabel8.PasswordChar = '\0';
|
||||
|
@ -703,64 +794,6 @@
|
|||
this.smartLabel8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel8.Wordwrap = false;
|
||||
//
|
||||
// buttonDispEnable
|
||||
//
|
||||
this.buttonDispEnable.BackGround = this.smartGroupBox5;
|
||||
this.buttonDispEnable.BackGroundColor = System.Drawing.Color.Black;
|
||||
this.buttonDispEnable.ButtonColor = System.Drawing.Color.DarkGray;
|
||||
this.buttonDispEnable.ButtonDownColor = System.Drawing.Color.Teal;
|
||||
this.buttonDispEnable.ButtonImageAutoSize = true;
|
||||
this.buttonDispEnable.ButtonStyle = SmartX.SmartButton.ButtonStyles.Round3D;
|
||||
this.buttonDispEnable.ButtonText = "OFF";
|
||||
this.buttonDispEnable.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonDispEnable.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonDispEnable.GroupID = 0;
|
||||
this.buttonDispEnable.ImageDisable = null;
|
||||
this.buttonDispEnable.ImageDown = null;
|
||||
this.buttonDispEnable.ImageUp = null;
|
||||
this.buttonDispEnable.Location = new System.Drawing.Point(129, 586);
|
||||
this.buttonDispEnable.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
||||
this.buttonDispEnable.Name = "buttonDispEnable";
|
||||
this.buttonDispEnable.NestedClickEventPrevent = false;
|
||||
this.buttonDispEnable.OutlinePixel = 2;
|
||||
this.buttonDispEnable.OverlapOptimize = true;
|
||||
this.buttonDispEnable.RepeatInterval = 200;
|
||||
this.buttonDispEnable.RepeatIntervalAccelerate = null;
|
||||
this.buttonDispEnable.RoundSize = 10;
|
||||
this.buttonDispEnable.SafeInterval = 200;
|
||||
this.buttonDispEnable.Size = new System.Drawing.Size(100, 30);
|
||||
this.buttonDispEnable.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.buttonDispEnable.TabIndex = 446;
|
||||
this.buttonDispEnable.Text = null;
|
||||
this.buttonDispEnable.TextColor = System.Drawing.Color.White;
|
||||
this.buttonDispEnable.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.buttonDispEnable.TextDownColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(238)))), ((int)(((byte)(255)))));
|
||||
this.buttonDispEnable.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.buttonDispEnable.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonDispEnable.Click += new System.EventHandler(this.buttonDispEnable1_Click);
|
||||
//
|
||||
// smartLabel40
|
||||
//
|
||||
this.smartLabel40.BackGround = null;
|
||||
this.smartLabel40.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel40.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel40.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel40.LineSpacing = 0F;
|
||||
this.smartLabel40.Location = new System.Drawing.Point(3, 586);
|
||||
this.smartLabel40.Name = "smartLabel40";
|
||||
this.smartLabel40.OverlapOptimize = true;
|
||||
this.smartLabel40.PasswordChar = '\0';
|
||||
this.smartLabel40.Radius = 3;
|
||||
this.smartLabel40.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel40.Size = new System.Drawing.Size(120, 30);
|
||||
this.smartLabel40.TabIndex = 445;
|
||||
this.smartLabel40.Text = "Enable";
|
||||
this.smartLabel40.TextColor = System.Drawing.Color.LightGray;
|
||||
this.smartLabel40.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel40.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel40.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel40.Wordwrap = false;
|
||||
//
|
||||
// smartLabel35
|
||||
//
|
||||
this.smartLabel35.BackGround = null;
|
||||
|
@ -768,7 +801,7 @@
|
|||
this.smartLabel35.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel35.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel35.LineSpacing = 0F;
|
||||
this.smartLabel35.Location = new System.Drawing.Point(235, 118);
|
||||
this.smartLabel35.Location = new System.Drawing.Point(235, 108);
|
||||
this.smartLabel35.Name = "smartLabel35";
|
||||
this.smartLabel35.OverlapOptimize = true;
|
||||
this.smartLabel35.PasswordChar = '\0';
|
||||
|
@ -783,6 +816,29 @@
|
|||
this.smartLabel35.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel35.Wordwrap = false;
|
||||
//
|
||||
// smartLabel18
|
||||
//
|
||||
this.smartLabel18.BackGround = null;
|
||||
this.smartLabel18.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
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.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel18.LineSpacing = 0F;
|
||||
this.smartLabel18.Location = new System.Drawing.Point(129, 508);
|
||||
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(120, 20);
|
||||
this.smartLabel18.TabIndex = 464;
|
||||
this.smartLabel18.Text = "> Max Height (NG)";
|
||||
this.smartLabel18.TextColor = System.Drawing.Color.LightGray;
|
||||
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;
|
||||
//
|
||||
// smartLabel34
|
||||
//
|
||||
this.smartLabel34.BackGround = null;
|
||||
|
@ -790,7 +846,7 @@
|
|||
this.smartLabel34.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel34.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel34.LineSpacing = 0F;
|
||||
this.smartLabel34.Location = new System.Drawing.Point(235, 550);
|
||||
this.smartLabel34.Location = new System.Drawing.Point(235, 582);
|
||||
this.smartLabel34.Name = "smartLabel34";
|
||||
this.smartLabel34.OverlapOptimize = true;
|
||||
this.smartLabel34.PasswordChar = '\0';
|
||||
|
@ -805,6 +861,29 @@
|
|||
this.smartLabel34.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel34.Wordwrap = false;
|
||||
//
|
||||
// smartLabel14
|
||||
//
|
||||
this.smartLabel14.BackGround = null;
|
||||
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("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel14.LineSpacing = 0F;
|
||||
this.smartLabel14.Location = new System.Drawing.Point(129, 455);
|
||||
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(120, 20);
|
||||
this.smartLabel14.TabIndex = 463;
|
||||
this.smartLabel14.Text = "< Level (NG)";
|
||||
this.smartLabel14.TextColor = System.Drawing.Color.LightGray;
|
||||
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;
|
||||
//
|
||||
// smartLabel33
|
||||
//
|
||||
this.smartLabel33.BackGround = null;
|
||||
|
@ -812,7 +891,7 @@
|
|||
this.smartLabel33.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel33.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel33.LineSpacing = 0F;
|
||||
this.smartLabel33.Location = new System.Drawing.Point(235, 478);
|
||||
this.smartLabel33.Location = new System.Drawing.Point(235, 476);
|
||||
this.smartLabel33.Name = "smartLabel33";
|
||||
this.smartLabel33.OverlapOptimize = true;
|
||||
this.smartLabel33.PasswordChar = '\0';
|
||||
|
@ -827,6 +906,29 @@
|
|||
this.smartLabel33.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel33.Wordwrap = false;
|
||||
//
|
||||
// smartLabel9
|
||||
//
|
||||
this.smartLabel9.BackGround = null;
|
||||
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("Arial", 9F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel9.LineSpacing = 0F;
|
||||
this.smartLabel9.Location = new System.Drawing.Point(129, 322);
|
||||
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(120, 20);
|
||||
this.smartLabel9.TabIndex = 448;
|
||||
this.smartLabel9.Text = "< LR.Max (NG)";
|
||||
this.smartLabel9.TextColor = System.Drawing.Color.LightGray;
|
||||
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;
|
||||
//
|
||||
// smartLabel28
|
||||
//
|
||||
this.smartLabel28.BackGround = null;
|
||||
|
@ -834,7 +936,7 @@
|
|||
this.smartLabel28.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel28.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel28.LineSpacing = 0F;
|
||||
this.smartLabel28.Location = new System.Drawing.Point(235, 514);
|
||||
this.smartLabel28.Location = new System.Drawing.Point(235, 529);
|
||||
this.smartLabel28.Name = "smartLabel28";
|
||||
this.smartLabel28.OverlapOptimize = true;
|
||||
this.smartLabel28.PasswordChar = '\0';
|
||||
|
@ -856,7 +958,7 @@
|
|||
this.smartLabel25.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel25.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel25.LineSpacing = 0F;
|
||||
this.smartLabel25.Location = new System.Drawing.Point(235, 406);
|
||||
this.smartLabel25.Location = new System.Drawing.Point(235, 379);
|
||||
this.smartLabel25.Name = "smartLabel25";
|
||||
this.smartLabel25.OverlapOptimize = true;
|
||||
this.smartLabel25.PasswordChar = '\0';
|
||||
|
@ -878,7 +980,7 @@
|
|||
this.smartLabel19.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel19.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel19.LineSpacing = 0F;
|
||||
this.smartLabel19.Location = new System.Drawing.Point(235, 262);
|
||||
this.smartLabel19.Location = new System.Drawing.Point(235, 252);
|
||||
this.smartLabel19.Name = "smartLabel19";
|
||||
this.smartLabel19.OverlapOptimize = true;
|
||||
this.smartLabel19.PasswordChar = '\0';
|
||||
|
@ -900,7 +1002,7 @@
|
|||
this.smartLabel21.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel21.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel21.LineSpacing = 0F;
|
||||
this.smartLabel21.Location = new System.Drawing.Point(235, 226);
|
||||
this.smartLabel21.Location = new System.Drawing.Point(235, 216);
|
||||
this.smartLabel21.Name = "smartLabel21";
|
||||
this.smartLabel21.OverlapOptimize = true;
|
||||
this.smartLabel21.PasswordChar = '\0';
|
||||
|
@ -922,7 +1024,7 @@
|
|||
this.smartLabel16.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel16.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel16.LineSpacing = 0F;
|
||||
this.smartLabel16.Location = new System.Drawing.Point(235, 190);
|
||||
this.smartLabel16.Location = new System.Drawing.Point(235, 180);
|
||||
this.smartLabel16.Name = "smartLabel16";
|
||||
this.smartLabel16.OverlapOptimize = true;
|
||||
this.smartLabel16.PasswordChar = '\0';
|
||||
|
@ -944,7 +1046,7 @@
|
|||
this.smartLabel12.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel12.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel12.LineSpacing = 0F;
|
||||
this.smartLabel12.Location = new System.Drawing.Point(235, 154);
|
||||
this.smartLabel12.Location = new System.Drawing.Point(235, 144);
|
||||
this.smartLabel12.Name = "smartLabel12";
|
||||
this.smartLabel12.OverlapOptimize = true;
|
||||
this.smartLabel12.PasswordChar = '\0';
|
||||
|
@ -966,7 +1068,7 @@
|
|||
this.smartSeparatorLine3.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine3.Line2Width = 1F;
|
||||
this.smartSeparatorLine3.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
|
||||
this.smartSeparatorLine3.Location = new System.Drawing.Point(70, 96);
|
||||
this.smartSeparatorLine3.Location = new System.Drawing.Point(70, 86);
|
||||
this.smartSeparatorLine3.Name = "smartSeparatorLine3";
|
||||
this.smartSeparatorLine3.Size = new System.Drawing.Size(200, 2);
|
||||
this.smartSeparatorLine3.TabIndex = 122;
|
||||
|
@ -980,7 +1082,7 @@
|
|||
this.smartLabel10.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel10.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.smartLabel10.LineSpacing = 0F;
|
||||
this.smartLabel10.Location = new System.Drawing.Point(8, 82);
|
||||
this.smartLabel10.Location = new System.Drawing.Point(8, 72);
|
||||
this.smartLabel10.Name = "smartLabel10";
|
||||
this.smartLabel10.OverlapOptimize = true;
|
||||
this.smartLabel10.PasswordChar = '\0';
|
||||
|
@ -1002,7 +1104,7 @@
|
|||
this.labelVacuumBreak.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelVacuumBreak.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelVacuumBreak.LineSpacing = 0F;
|
||||
this.labelVacuumBreak.Location = new System.Drawing.Point(129, 262);
|
||||
this.labelVacuumBreak.Location = new System.Drawing.Point(129, 252);
|
||||
this.labelVacuumBreak.Name = "labelVacuumBreak";
|
||||
this.labelVacuumBreak.OverlapOptimize = true;
|
||||
this.labelVacuumBreak.PasswordChar = '\0';
|
||||
|
@ -1025,7 +1127,7 @@
|
|||
this.labelDiffDelayTime.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelDiffDelayTime.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelDiffDelayTime.LineSpacing = 0F;
|
||||
this.labelDiffDelayTime.Location = new System.Drawing.Point(129, 406);
|
||||
this.labelDiffDelayTime.Location = new System.Drawing.Point(129, 379);
|
||||
this.labelDiffDelayTime.Name = "labelDiffDelayTime";
|
||||
this.labelDiffDelayTime.OverlapOptimize = true;
|
||||
this.labelDiffDelayTime.PasswordChar = '\0';
|
||||
|
@ -1048,7 +1150,7 @@
|
|||
this.smartLabel2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel2.LineSpacing = 0F;
|
||||
this.smartLabel2.Location = new System.Drawing.Point(3, 262);
|
||||
this.smartLabel2.Location = new System.Drawing.Point(3, 252);
|
||||
this.smartLabel2.Name = "smartLabel2";
|
||||
this.smartLabel2.OverlapOptimize = true;
|
||||
this.smartLabel2.PasswordChar = '\0';
|
||||
|
@ -1070,7 +1172,7 @@
|
|||
this.smartSeparatorLine2.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine2.Line2Width = 1F;
|
||||
this.smartSeparatorLine2.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
|
||||
this.smartSeparatorLine2.Location = new System.Drawing.Point(170, 313);
|
||||
this.smartSeparatorLine2.Location = new System.Drawing.Point(170, 303);
|
||||
this.smartSeparatorLine2.Name = "smartSeparatorLine2";
|
||||
this.smartSeparatorLine2.Size = new System.Drawing.Size(100, 2);
|
||||
this.smartSeparatorLine2.TabIndex = 120;
|
||||
|
@ -1083,7 +1185,7 @@
|
|||
this.labelVacuumHold2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelVacuumHold2.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelVacuumHold2.LineSpacing = 0F;
|
||||
this.labelVacuumHold2.Location = new System.Drawing.Point(129, 226);
|
||||
this.labelVacuumHold2.Location = new System.Drawing.Point(129, 216);
|
||||
this.labelVacuumHold2.Name = "labelVacuumHold2";
|
||||
this.labelVacuumHold2.OverlapOptimize = true;
|
||||
this.labelVacuumHold2.PasswordChar = '\0';
|
||||
|
@ -1106,7 +1208,7 @@
|
|||
this.smartLabel4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel4.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel4.LineSpacing = 0F;
|
||||
this.smartLabel4.Location = new System.Drawing.Point(3, 406);
|
||||
this.smartLabel4.Location = new System.Drawing.Point(3, 379);
|
||||
this.smartLabel4.Name = "smartLabel4";
|
||||
this.smartLabel4.OverlapOptimize = true;
|
||||
this.smartLabel4.PasswordChar = '\0';
|
||||
|
@ -1128,7 +1230,7 @@
|
|||
this.smartLabel26.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel26.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel26.LineSpacing = 0F;
|
||||
this.smartLabel26.Location = new System.Drawing.Point(3, 226);
|
||||
this.smartLabel26.Location = new System.Drawing.Point(3, 216);
|
||||
this.smartLabel26.Name = "smartLabel26";
|
||||
this.smartLabel26.OverlapOptimize = true;
|
||||
this.smartLabel26.PasswordChar = '\0';
|
||||
|
@ -1151,7 +1253,7 @@
|
|||
this.smartLabel6.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel6.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.smartLabel6.LineSpacing = 0F;
|
||||
this.smartLabel6.Location = new System.Drawing.Point(8, 298);
|
||||
this.smartLabel6.Location = new System.Drawing.Point(8, 288);
|
||||
this.smartLabel6.Name = "smartLabel6";
|
||||
this.smartLabel6.OverlapOptimize = true;
|
||||
this.smartLabel6.PasswordChar = '\0';
|
||||
|
@ -1173,7 +1275,7 @@
|
|||
this.labelVacuumHold1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelVacuumHold1.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelVacuumHold1.LineSpacing = 0F;
|
||||
this.labelVacuumHold1.Location = new System.Drawing.Point(129, 190);
|
||||
this.labelVacuumHold1.Location = new System.Drawing.Point(129, 180);
|
||||
this.labelVacuumHold1.Name = "labelVacuumHold1";
|
||||
this.labelVacuumHold1.OverlapOptimize = true;
|
||||
this.labelVacuumHold1.PasswordChar = '\0';
|
||||
|
@ -1196,7 +1298,7 @@
|
|||
this.smartLabel24.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel24.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel24.LineSpacing = 0F;
|
||||
this.smartLabel24.Location = new System.Drawing.Point(3, 190);
|
||||
this.smartLabel24.Location = new System.Drawing.Point(3, 180);
|
||||
this.smartLabel24.Name = "smartLabel24";
|
||||
this.smartLabel24.OverlapOptimize = true;
|
||||
this.smartLabel24.PasswordChar = '\0';
|
||||
|
@ -1218,7 +1320,7 @@
|
|||
this.smartSeparatorLine1.Line2Color = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(92)))), ((int)(((byte)(118)))));
|
||||
this.smartSeparatorLine1.Line2Width = 1F;
|
||||
this.smartSeparatorLine1.LineDirection = SmartX.SmartSeparatorLine.DIR.Horizontal;
|
||||
this.smartSeparatorLine1.Location = new System.Drawing.Point(174, 457);
|
||||
this.smartSeparatorLine1.Location = new System.Drawing.Point(170, 433);
|
||||
this.smartSeparatorLine1.Name = "smartSeparatorLine1";
|
||||
this.smartSeparatorLine1.Size = new System.Drawing.Size(100, 2);
|
||||
this.smartSeparatorLine1.TabIndex = 110;
|
||||
|
@ -1231,7 +1333,7 @@
|
|||
this.labelVacuumStart.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelVacuumStart.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelVacuumStart.LineSpacing = 0F;
|
||||
this.labelVacuumStart.Location = new System.Drawing.Point(129, 154);
|
||||
this.labelVacuumStart.Location = new System.Drawing.Point(129, 144);
|
||||
this.labelVacuumStart.Name = "labelVacuumStart";
|
||||
this.labelVacuumStart.OverlapOptimize = true;
|
||||
this.labelVacuumStart.PasswordChar = '\0';
|
||||
|
@ -1254,7 +1356,7 @@
|
|||
this.smartLabel22.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel22.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel22.LineSpacing = 0F;
|
||||
this.smartLabel22.Location = new System.Drawing.Point(3, 154);
|
||||
this.smartLabel22.Location = new System.Drawing.Point(3, 144);
|
||||
this.smartLabel22.Name = "smartLabel22";
|
||||
this.smartLabel22.OverlapOptimize = true;
|
||||
this.smartLabel22.PasswordChar = '\0';
|
||||
|
@ -1277,7 +1379,7 @@
|
|||
this.smartLabel1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
|
||||
this.smartLabel1.LineSpacing = 0F;
|
||||
this.smartLabel1.Location = new System.Drawing.Point(8, 442);
|
||||
this.smartLabel1.Location = new System.Drawing.Point(8, 422);
|
||||
this.smartLabel1.Name = "smartLabel1";
|
||||
this.smartLabel1.OverlapOptimize = true;
|
||||
this.smartLabel1.PasswordChar = '\0';
|
||||
|
@ -1292,29 +1394,6 @@
|
|||
this.smartLabel1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel1.Wordwrap = false;
|
||||
//
|
||||
// labelDiffLrCycle
|
||||
//
|
||||
this.labelDiffLrCycle.BackGround = null;
|
||||
this.labelDiffLrCycle.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelDiffLrCycle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelDiffLrCycle.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelDiffLrCycle.LineSpacing = 0F;
|
||||
this.labelDiffLrCycle.Location = new System.Drawing.Point(129, 370);
|
||||
this.labelDiffLrCycle.Name = "labelDiffLrCycle";
|
||||
this.labelDiffLrCycle.OverlapOptimize = true;
|
||||
this.labelDiffLrCycle.PasswordChar = '\0';
|
||||
this.labelDiffLrCycle.Radius = 3;
|
||||
this.labelDiffLrCycle.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelDiffLrCycle.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelDiffLrCycle.TabIndex = 104;
|
||||
this.labelDiffLrCycle.Text = "12345.45";
|
||||
this.labelDiffLrCycle.TextColor = System.Drawing.Color.Black;
|
||||
this.labelDiffLrCycle.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelDiffLrCycle.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelDiffLrCycle.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelDiffLrCycle.Wordwrap = false;
|
||||
this.labelDiffLrCycle.Click += new System.EventHandler(this.labelDiffLrCycle_Click);
|
||||
//
|
||||
// labelDispMinHeight
|
||||
//
|
||||
this.labelDispMinHeight.BackGround = null;
|
||||
|
@ -1322,7 +1401,7 @@
|
|||
this.labelDispMinHeight.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelDispMinHeight.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelDispMinHeight.LineSpacing = 0F;
|
||||
this.labelDispMinHeight.Location = new System.Drawing.Point(129, 514);
|
||||
this.labelDispMinHeight.Location = new System.Drawing.Point(129, 529);
|
||||
this.labelDispMinHeight.Name = "labelDispMinHeight";
|
||||
this.labelDispMinHeight.OverlapOptimize = true;
|
||||
this.labelDispMinHeight.PasswordChar = '\0';
|
||||
|
@ -1338,28 +1417,6 @@
|
|||
this.labelDispMinHeight.Wordwrap = false;
|
||||
this.labelDispMinHeight.Click += new System.EventHandler(this.labelDispMinHight_Click);
|
||||
//
|
||||
// smartLabel11
|
||||
//
|
||||
this.smartLabel11.BackGround = null;
|
||||
this.smartLabel11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel11.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel11.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel11.LineSpacing = 0F;
|
||||
this.smartLabel11.Location = new System.Drawing.Point(3, 370);
|
||||
this.smartLabel11.Name = "smartLabel11";
|
||||
this.smartLabel11.OverlapOptimize = true;
|
||||
this.smartLabel11.PasswordChar = '\0';
|
||||
this.smartLabel11.Radius = 3;
|
||||
this.smartLabel11.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel11.Size = new System.Drawing.Size(120, 30);
|
||||
this.smartLabel11.TabIndex = 103;
|
||||
this.smartLabel11.Text = "LR. Cycle";
|
||||
this.smartLabel11.TextColor = System.Drawing.Color.LightGray;
|
||||
this.smartLabel11.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel11.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel11.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel11.Wordwrap = false;
|
||||
//
|
||||
// smartLabel17
|
||||
//
|
||||
this.smartLabel17.BackGround = null;
|
||||
|
@ -1367,7 +1424,7 @@
|
|||
this.smartLabel17.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel17.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel17.LineSpacing = 0F;
|
||||
this.smartLabel17.Location = new System.Drawing.Point(3, 46);
|
||||
this.smartLabel17.Location = new System.Drawing.Point(3, 36);
|
||||
this.smartLabel17.Name = "smartLabel17";
|
||||
this.smartLabel17.OverlapOptimize = true;
|
||||
this.smartLabel17.PasswordChar = '\0';
|
||||
|
@ -1389,7 +1446,7 @@
|
|||
this.labelDiffLrLimit.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelDiffLrLimit.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelDiffLrLimit.LineSpacing = 0F;
|
||||
this.labelDiffLrLimit.Location = new System.Drawing.Point(129, 334);
|
||||
this.labelDiffLrLimit.Location = new System.Drawing.Point(129, 343);
|
||||
this.labelDiffLrLimit.Name = "labelDiffLrLimit";
|
||||
this.labelDiffLrLimit.OverlapOptimize = true;
|
||||
this.labelDiffLrLimit.PasswordChar = '\0';
|
||||
|
@ -1412,7 +1469,7 @@
|
|||
this.smartLabel3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel3.LineSpacing = 0F;
|
||||
this.smartLabel3.Location = new System.Drawing.Point(3, 514);
|
||||
this.smartLabel3.Location = new System.Drawing.Point(3, 529);
|
||||
this.smartLabel3.Name = "smartLabel3";
|
||||
this.smartLabel3.OverlapOptimize = true;
|
||||
this.smartLabel3.PasswordChar = '\0';
|
||||
|
@ -1434,7 +1491,7 @@
|
|||
this.smartLabel13.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel13.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel13.LineSpacing = 0F;
|
||||
this.smartLabel13.Location = new System.Drawing.Point(3, 334);
|
||||
this.smartLabel13.Location = new System.Drawing.Point(3, 343);
|
||||
this.smartLabel13.Name = "smartLabel13";
|
||||
this.smartLabel13.OverlapOptimize = true;
|
||||
this.smartLabel13.PasswordChar = '\0';
|
||||
|
@ -1442,7 +1499,7 @@
|
|||
this.smartLabel13.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel13.Size = new System.Drawing.Size(120, 30);
|
||||
this.smartLabel13.TabIndex = 101;
|
||||
this.smartLabel13.Text = "LR. Limit";
|
||||
this.smartLabel13.Text = "LR";
|
||||
this.smartLabel13.TextColor = System.Drawing.Color.LightGray;
|
||||
this.smartLabel13.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel13.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
|
@ -1456,7 +1513,7 @@
|
|||
this.labelPressureLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelPressureLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelPressureLevel.LineSpacing = 0F;
|
||||
this.labelPressureLevel.Location = new System.Drawing.Point(129, 118);
|
||||
this.labelPressureLevel.Location = new System.Drawing.Point(129, 108);
|
||||
this.labelPressureLevel.Name = "labelPressureLevel";
|
||||
this.labelPressureLevel.OverlapOptimize = true;
|
||||
this.labelPressureLevel.PasswordChar = '\0';
|
||||
|
@ -1479,7 +1536,7 @@
|
|||
this.labelDispEmptyLevel.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelDispEmptyLevel.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelDispEmptyLevel.LineSpacing = 0F;
|
||||
this.labelDispEmptyLevel.Location = new System.Drawing.Point(129, 478);
|
||||
this.labelDispEmptyLevel.Location = new System.Drawing.Point(129, 476);
|
||||
this.labelDispEmptyLevel.Name = "labelDispEmptyLevel";
|
||||
this.labelDispEmptyLevel.OverlapOptimize = true;
|
||||
this.labelDispEmptyLevel.PasswordChar = '\0';
|
||||
|
@ -1502,7 +1559,7 @@
|
|||
this.labelNumber.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelNumber.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelNumber.LineSpacing = 0F;
|
||||
this.labelNumber.Location = new System.Drawing.Point(129, 46);
|
||||
this.labelNumber.Location = new System.Drawing.Point(129, 36);
|
||||
this.labelNumber.Name = "labelNumber";
|
||||
this.labelNumber.OverlapOptimize = true;
|
||||
this.labelNumber.PasswordChar = '\0';
|
||||
|
@ -1525,7 +1582,7 @@
|
|||
this.smartLabel5.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel5.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel5.LineSpacing = 0F;
|
||||
this.smartLabel5.Location = new System.Drawing.Point(3, 478);
|
||||
this.smartLabel5.Location = new System.Drawing.Point(3, 476);
|
||||
this.smartLabel5.Name = "smartLabel5";
|
||||
this.smartLabel5.OverlapOptimize = true;
|
||||
this.smartLabel5.PasswordChar = '\0';
|
||||
|
@ -1533,7 +1590,7 @@
|
|||
this.smartLabel5.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel5.Size = new System.Drawing.Size(120, 30);
|
||||
this.smartLabel5.TabIndex = 105;
|
||||
this.smartLabel5.Text = "Empty level";
|
||||
this.smartLabel5.Text = "Empty Level";
|
||||
this.smartLabel5.TextColor = System.Drawing.Color.LightGray;
|
||||
this.smartLabel5.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
|
@ -1547,7 +1604,7 @@
|
|||
this.smartLabel15.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel15.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel15.LineSpacing = 0F;
|
||||
this.smartLabel15.Location = new System.Drawing.Point(3, 118);
|
||||
this.smartLabel15.Location = new System.Drawing.Point(3, 108);
|
||||
this.smartLabel15.Name = "smartLabel15";
|
||||
this.smartLabel15.OverlapOptimize = true;
|
||||
this.smartLabel15.PasswordChar = '\0';
|
||||
|
@ -1569,7 +1626,7 @@
|
|||
this.labelDispMaxDiff.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelDispMaxDiff.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelDispMaxDiff.LineSpacing = 0F;
|
||||
this.labelDispMaxDiff.Location = new System.Drawing.Point(129, 550);
|
||||
this.labelDispMaxDiff.Location = new System.Drawing.Point(129, 582);
|
||||
this.labelDispMaxDiff.Name = "labelDispMaxDiff";
|
||||
this.labelDispMaxDiff.OverlapOptimize = true;
|
||||
this.labelDispMaxDiff.PasswordChar = '\0';
|
||||
|
@ -1592,7 +1649,7 @@
|
|||
this.smartLabel7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel7.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel7.LineSpacing = 0F;
|
||||
this.smartLabel7.Location = new System.Drawing.Point(3, 550);
|
||||
this.smartLabel7.Location = new System.Drawing.Point(3, 582);
|
||||
this.smartLabel7.Name = "smartLabel7";
|
||||
this.smartLabel7.OverlapOptimize = true;
|
||||
this.smartLabel7.PasswordChar = '\0';
|
||||
|
@ -1607,6 +1664,53 @@
|
|||
this.smartLabel7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel7.Wordwrap = false;
|
||||
//
|
||||
// labelDiffLrCycle
|
||||
//
|
||||
this.labelDiffLrCycle.BackGround = null;
|
||||
this.labelDiffLrCycle.BackGroundColor = System.Drawing.Color.White;
|
||||
this.labelDiffLrCycle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelDiffLrCycle.BorderStyle = SmartX.SmartLabel.BorderStyles.FixedSingle;
|
||||
this.labelDiffLrCycle.LineSpacing = 0F;
|
||||
this.labelDiffLrCycle.Location = new System.Drawing.Point(513, 614);
|
||||
this.labelDiffLrCycle.Name = "labelDiffLrCycle";
|
||||
this.labelDiffLrCycle.OverlapOptimize = true;
|
||||
this.labelDiffLrCycle.PasswordChar = '\0';
|
||||
this.labelDiffLrCycle.Radius = 3;
|
||||
this.labelDiffLrCycle.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelDiffLrCycle.Size = new System.Drawing.Size(100, 30);
|
||||
this.labelDiffLrCycle.TabIndex = 104;
|
||||
this.labelDiffLrCycle.Text = "12345.45";
|
||||
this.labelDiffLrCycle.TextColor = System.Drawing.Color.Black;
|
||||
this.labelDiffLrCycle.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelDiffLrCycle.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelDiffLrCycle.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelDiffLrCycle.Visible = false;
|
||||
this.labelDiffLrCycle.Wordwrap = false;
|
||||
this.labelDiffLrCycle.Click += new System.EventHandler(this.labelDiffLrCycle_Click);
|
||||
//
|
||||
// smartLabel11
|
||||
//
|
||||
this.smartLabel11.BackGround = null;
|
||||
this.smartLabel11.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(24)))), ((int)(((byte)(32)))));
|
||||
this.smartLabel11.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.smartLabel11.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel11.LineSpacing = 0F;
|
||||
this.smartLabel11.Location = new System.Drawing.Point(387, 614);
|
||||
this.smartLabel11.Name = "smartLabel11";
|
||||
this.smartLabel11.OverlapOptimize = true;
|
||||
this.smartLabel11.PasswordChar = '\0';
|
||||
this.smartLabel11.Radius = 3;
|
||||
this.smartLabel11.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel11.Size = new System.Drawing.Size(120, 30);
|
||||
this.smartLabel11.TabIndex = 103;
|
||||
this.smartLabel11.Text = "LR. Cycle";
|
||||
this.smartLabel11.TextColor = System.Drawing.Color.LightGray;
|
||||
this.smartLabel11.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel11.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel11.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel11.Visible = false;
|
||||
this.smartLabel11.Wordwrap = false;
|
||||
//
|
||||
// smartTimerMessageShow
|
||||
//
|
||||
this.smartTimerMessageShow.CounterMode = SmartX.SmartTimer.CounterModes.Up_Counter;
|
||||
|
@ -1696,5 +1800,9 @@
|
|||
private SmartX.SmartLabel labelProgress4;
|
||||
private SmartX.SmartLabel labelProgress2;
|
||||
private SmartX.SmartLabel labelProgress1;
|
||||
private SmartX.SmartLabel smartLabel14;
|
||||
private SmartX.SmartLabel smartLabel9;
|
||||
private SmartX.SmartLabel smartLabel20;
|
||||
private SmartX.SmartLabel smartLabel18;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -943,10 +943,10 @@ namespace INT_PT002.Controls
|
|||
|
||||
this.ChildControlRecipeData1.CalScaleDiff(myKeypad.StringValue);
|
||||
this.ChildControlRecipeData2.CalScaleDiff(myKeypad.StringValue);
|
||||
this.ParentForm.Child_System_Status1.CalScaleDiff(myKeypad.StringValue);
|
||||
this.ParentForm.Child_System_Equipment10.CalScaleDiff(myKeypad.StringValue);
|
||||
this.ChildControlRecipeData1.DrawDiffReferenceLine(myKeypad.StringValue);
|
||||
this.ChildControlRecipeData2.DrawDiffReferenceLine(myKeypad.StringValue);
|
||||
this.ParentForm.Child_System_Status1.DrawDiffReferenceLine(myKeypad.StringValue);
|
||||
this.ParentForm.Child_System_Equipment10.DrawDiffReferenceLine(myKeypad.StringValue);
|
||||
}
|
||||
}
|
||||
private void labelDiffLrCycle_Click(object sender, EventArgs e)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -19,9 +19,12 @@ namespace INT_PT002.Controls
|
|||
#region Field
|
||||
private FormMenu m_ParentForm;
|
||||
|
||||
private Collection<SmartLabel> CollectionLabelResult;
|
||||
private Collection<SmartLabel> CollectionLabelProgress;
|
||||
|
||||
private Collection<SmartLabel> CollectionLabelResult;
|
||||
private Collection<SmartLabel> CollectionLabelResultDiff;
|
||||
private Collection<SmartLabel> CollectionLabelResultDisp;
|
||||
|
||||
private Collection<SmartLabel> CollectionDispRData;
|
||||
private Collection<SmartLabel> CollectionDispMData;
|
||||
private Collection<SmartLabel> CollectionDispMDataDiff;
|
||||
|
@ -86,6 +89,30 @@ namespace INT_PT002.Controls
|
|||
this.CollectionLabelResult.Add(this.labelResult9);
|
||||
this.CollectionLabelResult.Add(this.labelResult10);
|
||||
|
||||
this.CollectionLabelResultDiff = new Collection<SmartLabel>();
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff1);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff2);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff3);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff4);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff5);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff6);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff7);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff8);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff9);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff10);
|
||||
|
||||
this.CollectionLabelResultDisp = new Collection<SmartLabel>();
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp1);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp2);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp3);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp4);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp5);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp6);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp7);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp8);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp9);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp10);
|
||||
|
||||
this.CollectionDispRData = new Collection<SmartLabel>();
|
||||
this.CollectionDispRData.Add(this.labelDispRData1);
|
||||
this.CollectionDispRData.Add(this.labelDispRData2);
|
||||
|
@ -253,7 +280,12 @@ namespace INT_PT002.Controls
|
|||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelResult[i].Text = "-";
|
||||
this.CollectionLabelResult[i].TextColor = Define.ColorResultNone;
|
||||
this.CollectionLabelResult[i].TextColor = Define.ColorTextResultNone;
|
||||
this.CollectionLabelResultDiff[i].TextColor = Define.ColorTextResultNone;
|
||||
this.CollectionLabelResultDiff[i].Visible = false;
|
||||
this.CollectionLabelResultDisp[i].TextColor = Define.ColorTextResultNone;
|
||||
this.CollectionLabelResultDisp[i].Visible = false;
|
||||
|
||||
this.CollectionDispRData[i].Text = "0.00";
|
||||
this.CollectionDispMData[i].Text = "0.00";
|
||||
this.CollectionDispMDataDiff[i].Text = "0.00";
|
||||
|
@ -275,22 +307,27 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
value = "-";
|
||||
label2.TextColor = Define.ColorResultNone;
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
value = "Pass";
|
||||
label2.TextColor = Define.ColorResultPass;
|
||||
label2.TextColor = Define.ColorTextResultPass;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
value = "Leak";
|
||||
label2.TextColor = Define.ColorResultNG;
|
||||
label2.TextColor = Define.ColorTextResultNG;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
value = "Empty";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
value = "Empty";
|
||||
label2.TextColor = Define.ColorResultNone;
|
||||
value = "Error";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
break;
|
||||
default:
|
||||
|
@ -300,6 +337,66 @@ namespace INT_PT002.Controls
|
|||
if (label2.Text != value)
|
||||
label2.Text = value;
|
||||
}
|
||||
private void GetJudgmentResultDiff(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
string value = "Diff";
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
if (label.Text != value)
|
||||
label.Text = value;
|
||||
|
||||
label.Visible = true;
|
||||
}
|
||||
private void GetJudgmentResultDisp(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
string value = "Disp";
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
if (label.Text != value)
|
||||
label.Text = value;
|
||||
|
||||
label.Visible = true;
|
||||
}
|
||||
|
||||
private void SelectProcessLabelRefresh(int index)
|
||||
{
|
||||
|
@ -1104,50 +1201,155 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
|
||||
// 판정결과
|
||||
public void UpdateDisplayJudgmentData(LeakData datas)
|
||||
{
|
||||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
this.GetJudgmentResult(datas.CollJudgment[i], this.CollectionLabelResult[i]);
|
||||
}
|
||||
public void UpdateDisplayJudgmentData1(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[0]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[0]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[0]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[0]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[0]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData2(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[1]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[1]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[1]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[1]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[1]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData3(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[2]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[2]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[2]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[2]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[2]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[2]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData4(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[3]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[3]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[3]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[3]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[3]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[3]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData5(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[4]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[4]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[4]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[4]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[4]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[4]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData6(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[5]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[5]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[5]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[5]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[5]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[5]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData7(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[6]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[6]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[6]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[6]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[6]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[6]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData8(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[7]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[7]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[7]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[7]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[7]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[7]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData9(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[8]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[8]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[8]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[8]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[8]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[8]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData10(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[9]);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[9]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[9]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[9]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[9]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[9]);
|
||||
}
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
|
@ -1188,7 +1390,7 @@ namespace INT_PT002.Controls
|
|||
private void buttonInspection_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.InitializeData();
|
||||
this.ParentForm.Child_System_Status1.InitializeData();
|
||||
this.ParentForm.Child_System_Equipment10.InitializeData();
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
|
||||
}
|
||||
private void buttonDisplay_Click(object sender, EventArgs e)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -22,9 +22,12 @@ namespace INT_PT002.Controls
|
|||
private int CheckLane;
|
||||
private double m_ScaleDiff;
|
||||
|
||||
private Collection<SmartLabel> CollectionLabelResult;
|
||||
private Collection<SmartLabel> CollectionLabelProgress;
|
||||
|
||||
private Collection<SmartLabel> CollectionLabelResult;
|
||||
private Collection<SmartLabel> CollectionLabelResultDiff;
|
||||
private Collection<SmartLabel> CollectionLabelResultDisp;
|
||||
|
||||
private Collection<SmartLabel> CollectionDiffSecDiff;
|
||||
private Collection<SmartLabel> CollectionPressureWork;
|
||||
private Collection<SmartLabel> CollectionPressureMaster;
|
||||
|
@ -88,6 +91,30 @@ namespace INT_PT002.Controls
|
|||
this.CollectionLabelResult.Add(this.labelResult9);
|
||||
this.CollectionLabelResult.Add(this.labelResult10);
|
||||
|
||||
this.CollectionLabelResultDiff = new Collection<SmartLabel>();
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff1);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff2);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff3);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff4);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff5);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff6);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff7);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff8);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff9);
|
||||
this.CollectionLabelResultDiff.Add(this.labelResultDiff10);
|
||||
|
||||
this.CollectionLabelResultDisp = new Collection<SmartLabel>();
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp1);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp2);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp3);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp4);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp5);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp6);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp7);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp8);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp9);
|
||||
this.CollectionLabelResultDisp.Add(this.labelResultDisp10);
|
||||
|
||||
this.CollectionDiffSecDiff = new Collection<SmartLabel>();
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff1);
|
||||
this.CollectionDiffSecDiff.Add(this.labelDiffSecDiff2);
|
||||
|
@ -129,8 +156,17 @@ namespace INT_PT002.Controls
|
|||
for (int i = 0; i < this.ParentForm.ParentForm.SystemConfig.EQUIPMENT_LANE; i++)
|
||||
{
|
||||
this.CollectionLabelResult[i].Text = "-";
|
||||
this.CollectionLabelResult[i].TextColor = Define.ColorResultNone;
|
||||
this.CollectionLabelResult[i].TextColor = Define.ColorTextResultNone;
|
||||
this.CollectionLabelResult[i].Visible = false;
|
||||
|
||||
this.CollectionLabelResultDiff[i].Text = "-";
|
||||
this.CollectionLabelResultDiff[i].TextColor = Define.ColorTextResultNone;
|
||||
this.CollectionLabelResultDiff[i].Visible = false;
|
||||
|
||||
this.CollectionLabelResultDisp[i].Text = "-";
|
||||
this.CollectionLabelResultDisp[i].TextColor = Define.ColorTextResultNone;
|
||||
this.CollectionLabelResultDisp[i].Visible = false;
|
||||
|
||||
this.CollectionDiffSecDiff[i].Text = "0.00";
|
||||
this.CollectionPressureWork[i].Text = "0.0";
|
||||
this.CollectionPressureMaster[i].Text = "0.0";
|
||||
|
@ -197,23 +233,23 @@ namespace INT_PT002.Controls
|
|||
{
|
||||
case Define.E_JudgmentStatus.None:
|
||||
value = "-";
|
||||
label2.TextColor = Define.ColorResultNone;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Pass:
|
||||
value = "Pass";
|
||||
label2.TextColor = Define.ColorResultPass;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
label2.TextColor = Define.ColorTextResultPass;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Ng:
|
||||
value = "Leak";
|
||||
label2.TextColor = Define.ColorResultNG;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
label2.TextColor = Define.ColorTextResultNG;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
value = "Empty";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
value = "Empty";
|
||||
label2.TextColor = Define.ColorResultNone;
|
||||
label2.Font = new Font("New Gulim", 20, FontStyle.Bold);
|
||||
value = "Error";
|
||||
label2.TextColor = Define.ColorTextResultNone;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -221,6 +257,68 @@ namespace INT_PT002.Controls
|
|||
|
||||
if (label2.Text != value)
|
||||
label2.Text = value;
|
||||
|
||||
label2.Visible = true;
|
||||
}
|
||||
private void GetJudgmentResultDiff(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
string value = "Diff";
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
if (label.Text != value)
|
||||
label.Text = value;
|
||||
|
||||
label.Visible = true;
|
||||
}
|
||||
private void GetJudgmentResultDisp(Define.E_JudgmentStatus judg, SmartLabel label)
|
||||
{
|
||||
string value = "Disp";
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
if (label.Text != value)
|
||||
label.Text = value;
|
||||
|
||||
label.Visible = true;
|
||||
}
|
||||
|
||||
public void CalScaleDiff(string limit)
|
||||
|
@ -280,7 +378,7 @@ namespace INT_PT002.Controls
|
|||
|
||||
iValue = int.Parse(string.Format("{0:f0}", dValue));
|
||||
|
||||
this.smartDraw2.Chart.PutData(iValue);
|
||||
this.smartDraw1.Chart.PutData(iValue);
|
||||
}
|
||||
private void UpdateDisplayDotGraphDiff2(DiffData diff)
|
||||
{
|
||||
|
@ -929,63 +1027,153 @@ namespace INT_PT002.Controls
|
|||
// 판정결과
|
||||
public void UpdateDisplayJudgmentData1(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[0]);
|
||||
this.CollectionLabelResult[0].Visible = true;
|
||||
//this.smartDraw1.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[0]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[0]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[0]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[0]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData2(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[1]);
|
||||
this.CollectionLabelResult[1].Visible = true;
|
||||
//this.smartDraw2.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[1]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[1]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[1]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[1]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData3(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[2]);
|
||||
this.CollectionLabelResult[2].Visible = true;
|
||||
//this.smartDraw1.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[2]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[2]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[2]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[2]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[2]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData4(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[3]);
|
||||
this.CollectionLabelResult[3].Visible = true;
|
||||
//this.smartDraw2.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[3]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[3]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[3]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[3]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[3]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData5(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[4]);
|
||||
this.CollectionLabelResult[4].Visible = true;
|
||||
//this.smartDraw1.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[4]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[4]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[4]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[4]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[4]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData6(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[5]);
|
||||
this.CollectionLabelResult[5].Visible = true;
|
||||
//this.smartDraw2.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[5]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[5]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[5]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[5]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[5]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData7(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[6]);
|
||||
this.CollectionLabelResult[6].Visible = true;
|
||||
//this.smartDraw1.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[6]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[6]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[6]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[6]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[6]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData8(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[7]);
|
||||
this.CollectionLabelResult[7].Visible = true;
|
||||
//this.smartDraw2.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[7]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[7]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[7]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[7]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[7]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData9(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[8]);
|
||||
this.CollectionLabelResult[8].Visible = true;
|
||||
//this.smartDraw1.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[8]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[8]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[8]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[8]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[8]);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayJudgmentData10(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.CollectionLabelResult[9]);
|
||||
this.CollectionLabelResult[9].Visible = true;
|
||||
//this.smartDraw2.Chart.PutDataAllClear();
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.CollectionLabelResult[9]);
|
||||
|
||||
if (data.Judgment.Result == Define.E_JudgmentStatus.Empty || data.Judgment.Result == Define.E_JudgmentStatus.Error)
|
||||
{
|
||||
this.GetJudgmentResultDiff(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDiff[9]);
|
||||
this.GetJudgmentResultDisp(Define.E_JudgmentStatus.Empty, this.CollectionLabelResultDisp[9]);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.GetJudgmentResultDiff(data.Judgment.DiffResult, this.CollectionLabelResultDiff[9]);
|
||||
this.GetJudgmentResultDisp(data.Judgment.DispResult, this.CollectionLabelResultDisp[9]);
|
||||
}
|
||||
}
|
||||
|
||||
public void DisplayRefresh()
|
||||
|
@ -1048,7 +1236,7 @@ namespace INT_PT002.Controls
|
|||
private void buttonInspection_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.InitializeData();
|
||||
this.ParentForm.Child_System_Status.InitializeData();
|
||||
this.ParentForm.Child_System_Equipment10_1.InitializeData();
|
||||
this.ParentForm.ParentForm.TransferData(CommunicationCommand.CutInpupt, CommunicationID.MainBoard);
|
||||
}
|
||||
private void buttonDisplay_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -476,7 +476,7 @@ namespace INT_PT002.Controls
|
|||
}
|
||||
public void UpdateDisplayJudgmentData1(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.labelResult1);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.labelResult1);
|
||||
this.labelResult1.Visible = true;
|
||||
//this.smartDraw1.Chart.PutDataAllClear();
|
||||
}
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -14,9 +14,9 @@ namespace INT_PT002.DataStore
|
|||
public static readonly Color ColorProgressOff = Color.Azure;
|
||||
public static readonly Color ColorProgressOn = Color.Lime;
|
||||
|
||||
public static readonly Color ColorResultPass = Color.Green;
|
||||
public static readonly Color ColorResultNG = Color.Red;
|
||||
public static readonly Color ColorResultNone = Color.White;
|
||||
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);
|
||||
|
||||
|
|
|
@ -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; }
|
||||
|
@ -151,18 +151,70 @@ namespace INT_PT002.DataStore
|
|||
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 = Define.E_JudgmentStatus.None;
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -7,15 +7,16 @@ using System.Data;
|
|||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using System.Threading;
|
||||
using System.Net.Sockets;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using SmartX;
|
||||
using InModbus;
|
||||
using INT_PT002.DataStore;
|
||||
using INT_PT002.Part11_UserManager;
|
||||
using INT_PT002.DialogForms;
|
||||
using System.Net.Sockets;
|
||||
using InModbus;
|
||||
using INT_PT002.SerialManger;
|
||||
|
||||
namespace INT_PT002.Forms
|
||||
{
|
||||
|
@ -27,6 +28,8 @@ namespace INT_PT002.Forms
|
|||
private int CommunicationCheckCount;
|
||||
public int FlagAutomaticLogoutWarningTime;
|
||||
private bool ChangeModeRecipe;
|
||||
public bool FlagDllSerial; // DllSerial 사용여부
|
||||
public string ComPortMainToLCD; // DllSerial Port
|
||||
|
||||
// 로그온 색상
|
||||
public Color ColorLogOff;
|
||||
|
@ -64,8 +67,6 @@ namespace INT_PT002.Forms
|
|||
public List<string> ListDllUserName;
|
||||
// IO Test - input data
|
||||
private Collection<string> CollectionIOTest_InputData;
|
||||
// 장비 구동 상태
|
||||
private Define.E_EquipmentStatus m_EquipmentStatus;
|
||||
// 알람
|
||||
private AlarmList CurrentAlarmList;
|
||||
// Modbus
|
||||
|
@ -161,12 +162,6 @@ namespace INT_PT002.Forms
|
|||
get { return this.m_PathDataAlarmFolder; }
|
||||
private set { this.m_PathDataAlarmFolder = value; }
|
||||
}
|
||||
|
||||
public Define.E_EquipmentStatus EquipmentStatus
|
||||
{
|
||||
get { return this.m_EquipmentStatus; }
|
||||
private set { this.m_EquipmentStatus = value; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Method
|
||||
|
@ -204,7 +199,6 @@ namespace INT_PT002.Forms
|
|||
this.ChangeModeRecipe = false;
|
||||
|
||||
this.CurrentUserGroup = new UserGroup();
|
||||
this.EquipmentStatus = Define.E_EquipmentStatus.Stop;
|
||||
|
||||
this.PathLaunchFolder = "SD Card\\";
|
||||
this.PathSystemFileFolder = this.PathLaunchFolder + "SystemFile\\";
|
||||
|
@ -254,6 +248,18 @@ namespace INT_PT002.Forms
|
|||
// DataBackup 폴더 생성
|
||||
if (Directory.Exists(this.PathDataBackupFolder) == false)
|
||||
Directory.CreateDirectory(this.PathDataBackupFolder);
|
||||
|
||||
// DllSerial 사용여부 설정
|
||||
this.FlagDllSerial = true;
|
||||
if (this.FlagDllSerial == true)
|
||||
{
|
||||
// SerialDll Initialize
|
||||
this.ComPortMainToLCD = "COM2:";
|
||||
SerialMgrComm.IntializeSerialManager();
|
||||
SerialMgrComm.SerialPortMessageReceive += this.SerialPort_MessageReceive;
|
||||
SerialMgrComm.SerialPortErrMessageReceive += this.SerialPort_ErrMessageReceive;
|
||||
SerialMgrComm.SerialPortGetVersionDataEvent += this.Serialport_GetVersionDataEvent;
|
||||
}
|
||||
}
|
||||
private void DefaultSetting2()
|
||||
{
|
||||
|
@ -855,10 +861,15 @@ namespace INT_PT002.Forms
|
|||
string fullPath = "";
|
||||
|
||||
try
|
||||
{
|
||||
if (this.FlagDllSerial == true)
|
||||
SerialMgrComm.serialPortOpen(this.ComPortMainToLCD, 115200, 0, 0, 8);
|
||||
else
|
||||
{
|
||||
if (this.smartSerialPortLink.IsOpen == false)
|
||||
this.smartSerialPortLink.Open();
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
|
@ -872,9 +883,13 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
public void CloseSmartUartLink()
|
||||
{
|
||||
if (this.FlagDllSerial == true)
|
||||
SerialMgrComm.serialPortClose(this.ComPortMainToLCD);
|
||||
else
|
||||
this.smartSerialPortLink.Close();
|
||||
|
||||
this.IsCommunicationLogOpen = false;
|
||||
this.smartFileCommunicationLog.Close();
|
||||
this.smartSerialPortLink.Close();
|
||||
}
|
||||
|
||||
private bool SizeCheck(string cmd, string strTemp)
|
||||
|
@ -1013,8 +1028,14 @@ namespace INT_PT002.Forms
|
|||
|
||||
sb.Append(chkSum);
|
||||
|
||||
// Serial Write
|
||||
if (this.FlagDllSerial == true)
|
||||
SerialMgrComm.serialPortMessage(this.ComPortMainToLCD, sb.ToString());
|
||||
else
|
||||
{
|
||||
if (this.smartSerialPortLink.IsOpen == true)
|
||||
this.smartSerialPortLink.WriteFrame(sb.ToString(), SmartSerialPort.CODETYPES.ASCIICODE);
|
||||
}
|
||||
|
||||
// 통신 확인 로그
|
||||
if (this.IsCommunicationLogOpen == true)
|
||||
|
@ -1038,8 +1059,14 @@ namespace INT_PT002.Forms
|
|||
|
||||
sb.Append(chkSum);
|
||||
|
||||
// Serial Write
|
||||
if (this.FlagDllSerial == true)
|
||||
SerialMgrComm.serialPortMessage(this.ComPortMainToLCD, sb.ToString());
|
||||
else
|
||||
{
|
||||
if (this.smartSerialPortLink.IsOpen == true)
|
||||
this.smartSerialPortLink.WriteFrame(sb.ToString(), SmartSerialPort.CODETYPES.ASCIICODE);
|
||||
}
|
||||
|
||||
// 통신 확인 로그
|
||||
if (this.IsCommunicationLogOpen == true)
|
||||
|
@ -1063,8 +1090,14 @@ namespace INT_PT002.Forms
|
|||
|
||||
sb.Append(chkSum);
|
||||
|
||||
// Serial Write
|
||||
if (this.FlagDllSerial == true)
|
||||
SerialMgrComm.serialPortMessage(this.ComPortMainToLCD, sb.ToString());
|
||||
else
|
||||
{
|
||||
if (this.smartSerialPortLink.IsOpen == true)
|
||||
this.smartSerialPortLink.WriteFrame(sb.ToString(), SmartSerialPort.CODETYPES.ASCIICODE);
|
||||
}
|
||||
|
||||
// 통신 확인 로그
|
||||
if (this.IsCommunicationLogOpen == true)
|
||||
|
@ -1088,8 +1121,14 @@ namespace INT_PT002.Forms
|
|||
|
||||
sb.Append(chkSum);
|
||||
|
||||
// Serial Write
|
||||
if (this.FlagDllSerial == true)
|
||||
SerialMgrComm.serialPortMessage(this.ComPortMainToLCD, sb.ToString());
|
||||
else
|
||||
{
|
||||
if (this.smartSerialPortLink.IsOpen == true)
|
||||
this.smartSerialPortLink.WriteFrame(sb.ToString(), SmartSerialPort.CODETYPES.ASCIICODE);
|
||||
}
|
||||
|
||||
// 통신 확인 로그
|
||||
if (this.IsCommunicationLogOpen == true)
|
||||
|
@ -1144,6 +1183,34 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
}
|
||||
}
|
||||
private void ReceiveData(string strTemp)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
try
|
||||
{
|
||||
switch (strTemp[0])
|
||||
{
|
||||
case 'C':
|
||||
if ((ret = this.ReceiveCommandC(strTemp)) != 0)
|
||||
return;
|
||||
break;
|
||||
case 'P':
|
||||
if ((ret = this.ReceiveCommandP(strTemp)) != 0)
|
||||
return;
|
||||
break;
|
||||
case 'S':
|
||||
if ((ret = this.ReceiveCommandS(strTemp)) != 0)
|
||||
return;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
private int ReceiveCommandC(string strTemp)
|
||||
{
|
||||
|
@ -1250,7 +1317,7 @@ namespace INT_PT002.Forms
|
|||
private int ReceiveCommandS(string strTemp)
|
||||
{
|
||||
int ret = 0;
|
||||
string cmd = "", lane = "", receiveData = "";
|
||||
string cmd = "", retryCNT = "", lane = "", receiveData = "";
|
||||
|
||||
// SIZE 확인
|
||||
if (this.SizeCheck("S", strTemp) == false)
|
||||
|
@ -1274,13 +1341,14 @@ namespace INT_PT002.Forms
|
|||
this.smartFileCommunicationLog.StringType.Write(string.Format("Receive ({0:yyyy-MM-dd HH:mm:ss}): {1}", DateTime.Now, strTemp));
|
||||
|
||||
cmd = strTemp.Substring(0, 3);
|
||||
retryCNT = strTemp.Substring(4, 1);
|
||||
lane = strTemp.Substring(5, 1);
|
||||
receiveData = strTemp.Substring(10, strTemp.Length - 12);
|
||||
|
||||
switch (cmd)
|
||||
{
|
||||
case "SLA":
|
||||
if ((ret = this.ReceiveCommandSLA(lane, receiveData)) != 0)
|
||||
if ((ret = this.ReceiveCommandSLA(lane, retryCNT, receiveData)) != 0)
|
||||
return ret;
|
||||
break;
|
||||
case "SLB":
|
||||
|
@ -1397,31 +1465,71 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
|
||||
// 판정 데이터
|
||||
private int ReceiveCommandSLA(string lane, string receiveData)
|
||||
private int ReceiveCommandSLA(string lane, string retryCNT, string receiveData)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
try
|
||||
{
|
||||
// 응답
|
||||
this.TransferData(string.Format("{0}{1}0{2}", CommunicationCommand.Respone, 1, retryCNT), lane);
|
||||
|
||||
switch (lane)
|
||||
{
|
||||
case "A":
|
||||
#region 1열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[0].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[0].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[0].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[0].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
switch (this.CurrentSystemStatus.CurrentDisplayMode)
|
||||
{
|
||||
case Define.E_DisplayModeStore.MainDisplay:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.Recipe:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.UserEditor:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.UserMyPage:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.UserGroupEditor:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.IOTest:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.LogInspection:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.LogHistory:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.LogAlarm:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.Information:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.Ethernet:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.Equipment:
|
||||
break;
|
||||
case Define.E_DisplayModeStore.Equipment1:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (this.SystemConfig.EQUIPMENT_LANE == 1)
|
||||
this.ChildFormMainDisplay4.UpdateDisplayJudgmentData1(this.CurrentLeakDatas[0]);
|
||||
else
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData1(this.CurrentLeakDatas[0]);
|
||||
this.ChildFormMenu.UpdateDisplayEquipmentJudgmentData1(this.CurrentLeakDatas[0]);
|
||||
|
||||
#endregion
|
||||
break;
|
||||
case "B":
|
||||
#region 2열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[1].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[1].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[1].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[1].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData2(this.CurrentLeakDatas[1]);
|
||||
|
@ -1431,7 +1539,9 @@ namespace INT_PT002.Forms
|
|||
case "C":
|
||||
#region 3열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[2].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[2].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[2].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[2].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData3(this.CurrentLeakDatas[2]);
|
||||
|
@ -1441,7 +1551,9 @@ namespace INT_PT002.Forms
|
|||
case "D":
|
||||
#region 4열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[3].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[3].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[3].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[3].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData4(this.CurrentLeakDatas[3]);
|
||||
|
@ -1451,7 +1563,9 @@ namespace INT_PT002.Forms
|
|||
case "E":
|
||||
#region 5열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[4].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[4].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[4].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[4].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData5(this.CurrentLeakDatas[4]);
|
||||
|
@ -1461,7 +1575,9 @@ namespace INT_PT002.Forms
|
|||
case "F":
|
||||
#region 6열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[5].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[5].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[5].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[5].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData6(this.CurrentLeakDatas[5]);
|
||||
|
@ -1471,7 +1587,9 @@ namespace INT_PT002.Forms
|
|||
case "G":
|
||||
#region 7열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[6].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[6].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[6].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[6].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData7(this.CurrentLeakDatas[6]);
|
||||
|
@ -1481,7 +1599,9 @@ namespace INT_PT002.Forms
|
|||
case "H":
|
||||
#region 8열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[7].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[7].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[7].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[7].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData8(this.CurrentLeakDatas[7]);
|
||||
|
@ -1491,7 +1611,9 @@ namespace INT_PT002.Forms
|
|||
case "I":
|
||||
#region 9열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[8].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[8].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[8].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[8].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData9(this.CurrentLeakDatas[8]);
|
||||
|
@ -1501,7 +1623,9 @@ namespace INT_PT002.Forms
|
|||
case "J":
|
||||
#region 10열
|
||||
#region Value Assign
|
||||
this.CurrentLeakDatas[9].Judgment = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[9].Judgment.Result = Helper.StringToJudgmentStatus(receiveData.Substring(0, 1));
|
||||
this.CurrentLeakDatas[9].Judgment.DiffResult = Helper.StringToJudgmentStatus(receiveData.Substring(1, 1));
|
||||
this.CurrentLeakDatas[9].Judgment.DispResult = Helper.StringToJudgmentStatus(receiveData.Substring(2, 1));
|
||||
#endregion
|
||||
// 화면 표시
|
||||
this.ChildFormMainDisplay3.UpdateDisplayJudgmentData10(this.CurrentLeakDatas[9]);
|
||||
|
@ -2349,7 +2473,7 @@ namespace INT_PT002.Forms
|
|||
break;
|
||||
}
|
||||
|
||||
this.Current30000ModbusData.CollectionIsLeak[i] = (short)this.CurrentLeakDatas[i].Judgment;
|
||||
this.Current30000ModbusData.CollectionIsLeak[i] = (short)this.CurrentLeakDatas[i].Judgment.Result;
|
||||
}
|
||||
|
||||
if (this.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
|
@ -2764,9 +2888,12 @@ namespace INT_PT002.Forms
|
|||
case Define.E_JudgmentStatus.Ng:
|
||||
value = "Leak";
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
case Define.E_JudgmentStatus.Empty:
|
||||
value = "Empty";
|
||||
break;
|
||||
case Define.E_JudgmentStatus.Error:
|
||||
value = "Error";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -2812,25 +2939,65 @@ namespace INT_PT002.Forms
|
|||
sw.Write(",");
|
||||
sw.Write("Lot");
|
||||
sw.Write(",");
|
||||
sw.Write("1");
|
||||
sw.Write("#1_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("2");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("3");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("4");
|
||||
sw.Write("#2_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("5");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("6");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("7");
|
||||
sw.Write("#3_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("8");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("9");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("10");
|
||||
sw.Write("#4_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#5_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#6_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#7_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#8_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#9_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#10_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
|
||||
sw.WriteLine();
|
||||
}
|
||||
|
@ -2843,25 +3010,65 @@ namespace INT_PT002.Forms
|
|||
sw.Write(",");
|
||||
sw.Write(this.CurrentRecipe.LOT);
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[0]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[0].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[1]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[0].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[2]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[0].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[3]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[1].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[4]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[1].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[5]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[1].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[6]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[2].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[7]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[2].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[8]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[2].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[9]));
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[3].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[3].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[3].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[4].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[4].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[4].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[5].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[5].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[5].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[6].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[6].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[6].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[7].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[7].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[7].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[8].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[8].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[8].DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[9].Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[9].DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(item.CollJudgment[9].DispResult));
|
||||
sw.WriteLine();
|
||||
|
||||
sw.Close();
|
||||
|
@ -2898,25 +3105,65 @@ namespace INT_PT002.Forms
|
|||
sw.Write(",");
|
||||
sw.Write("Lot");
|
||||
sw.Write(",");
|
||||
sw.Write("1");
|
||||
sw.Write("#1_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("2");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("3");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("4");
|
||||
sw.Write("#2_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("5");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("6");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("7");
|
||||
sw.Write("#3_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("8");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("9");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("10");
|
||||
sw.Write("#4_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#5_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#6_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#7_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#8_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#9_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
sw.Write(",");
|
||||
sw.Write("#10_Result");
|
||||
sw.Write(",");
|
||||
sw.Write("Diff");
|
||||
sw.Write(",");
|
||||
sw.Write("Disp");
|
||||
|
||||
sw.WriteLine();
|
||||
}
|
||||
|
@ -2929,25 +3176,67 @@ namespace INT_PT002.Forms
|
|||
sw.Write(",");
|
||||
sw.Write(this.CurrentRecipe.LOT);
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[0].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[0].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[1].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[0].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[2].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[0].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[3].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[1].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[4].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[1].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[5].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[1].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[6].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[2].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[7].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[2].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[8].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[2].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[9].Judgment));
|
||||
sw.Write(this.GetJudgmentResult(items[3].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[3].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[3].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[4].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[4].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[4].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[5].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[5].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[5].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[6].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[6].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[6].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[7].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[7].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[7].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[8].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[8].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[8].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[9].Judgment.Result));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[9].Judgment.DiffResult));
|
||||
sw.Write(",");
|
||||
sw.Write(this.GetJudgmentResult(items[9].Judgment.DispResult));
|
||||
sw.Write(",");
|
||||
|
||||
sw.WriteLine();
|
||||
|
||||
sw.Close();
|
||||
|
@ -3999,7 +4288,7 @@ namespace INT_PT002.Forms
|
|||
// Splash finish
|
||||
SmartSplash.Finish();
|
||||
|
||||
this.smartForm1.Show(1);
|
||||
this.smartForm1.Show((int)Define.E_FormStore.FormMainDisplay);
|
||||
|
||||
// 초기 파라미터 전송
|
||||
this.TransferSystemParameter9039();
|
||||
|
@ -4418,6 +4707,67 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DLL_SerialportEvent
|
||||
private void Serialport_ReceiveDataEvent(string data)
|
||||
{
|
||||
this.ReceiveData(data);
|
||||
|
||||
// 통신 확인
|
||||
if (this.CommunicationCheckCount / 3 == 1)
|
||||
{
|
||||
if (this.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ChildFormMainDisplay3.labelCommunicationStatus.Visible = true;
|
||||
else
|
||||
this.ChildFormMainDisplay4.labelCommunicationStatus.Visible = true;
|
||||
|
||||
this.CommunicationCheckCount = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
this.ChildFormMainDisplay3.labelCommunicationStatus.Visible = false;
|
||||
else
|
||||
this.ChildFormMainDisplay4.labelCommunicationStatus.Visible = false;
|
||||
|
||||
this.CommunicationCheckCount += 1;
|
||||
}
|
||||
}
|
||||
|
||||
private void SerialPort_MessageReceive(object data)
|
||||
{
|
||||
this.UI_Invoke(delegate
|
||||
{
|
||||
this.Serialport_ReceiveDataEvent(data.ToString());
|
||||
});
|
||||
}
|
||||
private void SerialPort_ErrMessageReceive(object data)
|
||||
{
|
||||
this.UI_Invoke(delegate
|
||||
{
|
||||
if (this.IsCommunicationLogOpen == true)
|
||||
this.smartFileCommunicationLog.StringType.Write(string.Format("Receive ({0:yyyy-MM-dd HH:mm:ss}): {1} : Dll(Err MSG)", DateTime.Now, data));
|
||||
});
|
||||
}
|
||||
|
||||
private void Serialport_GetVersionDataEvent(object data)
|
||||
{
|
||||
try
|
||||
{
|
||||
//if (this.ChildFormInformation != null)
|
||||
//{
|
||||
|
||||
// this.UI_Invoke(delegate
|
||||
// {
|
||||
// this.ChildFormInformation.UpdateSerialportVersionDisplay(data.ToString());
|
||||
// });
|
||||
//}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -784,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;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,16 +30,7 @@
|
|||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMainDisplay3));
|
||||
this.smartForm1 = new SmartX.SmartForm();
|
||||
this.labelResult1 = new SmartX.SmartLabel();
|
||||
this.labelResult9 = new SmartX.SmartLabel();
|
||||
this.labelResult10 = new SmartX.SmartLabel();
|
||||
this.labelResult4 = new SmartX.SmartLabel();
|
||||
this.labelResult3 = new SmartX.SmartLabel();
|
||||
this.labelResult5 = new SmartX.SmartLabel();
|
||||
this.labelResult6 = new SmartX.SmartLabel();
|
||||
this.labelResult8 = new SmartX.SmartLabel();
|
||||
this.labelResult7 = new SmartX.SmartLabel();
|
||||
this.labelResult2 = new SmartX.SmartLabel();
|
||||
this.buttonDisplay = new SmartX.SmartButton();
|
||||
this.labeldispAlarm9 = new SmartX.SmartLabel();
|
||||
this.labeldispAlarm10 = new SmartX.SmartLabel();
|
||||
this.labeldispAlarm7 = new SmartX.SmartLabel();
|
||||
|
@ -97,7 +88,6 @@
|
|||
this.labelProgress3 = new SmartX.SmartLabel();
|
||||
this.labelProgress1 = new SmartX.SmartLabel();
|
||||
this.smartLabel24 = new SmartX.SmartLabel();
|
||||
this.smartLabel25 = new SmartX.SmartLabel();
|
||||
this.smartLabel27 = new SmartX.SmartLabel();
|
||||
this.labelProgress2 = new SmartX.SmartLabel();
|
||||
this.labelDisplacement10 = new SmartX.SmartLabel();
|
||||
|
@ -163,16 +153,7 @@
|
|||
this.smartForm1.BackGroundFillStyle = SmartXUIBase.SmartUIControlFormBase.BackGroundFillStyles.UseBackImage;
|
||||
this.smartForm1.BackImage = ((System.Drawing.Image)(resources.GetObject("smartForm1.BackImage")));
|
||||
this.smartForm1.CenterLocation = false;
|
||||
this.smartForm1.Controls.Add(this.labelResult1);
|
||||
this.smartForm1.Controls.Add(this.labelResult9);
|
||||
this.smartForm1.Controls.Add(this.labelResult10);
|
||||
this.smartForm1.Controls.Add(this.labelResult4);
|
||||
this.smartForm1.Controls.Add(this.labelResult3);
|
||||
this.smartForm1.Controls.Add(this.labelResult5);
|
||||
this.smartForm1.Controls.Add(this.labelResult6);
|
||||
this.smartForm1.Controls.Add(this.labelResult8);
|
||||
this.smartForm1.Controls.Add(this.labelResult7);
|
||||
this.smartForm1.Controls.Add(this.labelResult2);
|
||||
this.smartForm1.Controls.Add(this.buttonDisplay);
|
||||
this.smartForm1.Controls.Add(this.labeldispAlarm9);
|
||||
this.smartForm1.Controls.Add(this.labeldispAlarm10);
|
||||
this.smartForm1.Controls.Add(this.labeldispAlarm7);
|
||||
|
@ -230,7 +211,6 @@
|
|||
this.smartForm1.Controls.Add(this.labelProgress3);
|
||||
this.smartForm1.Controls.Add(this.labelProgress1);
|
||||
this.smartForm1.Controls.Add(this.smartLabel24);
|
||||
this.smartForm1.Controls.Add(this.smartLabel25);
|
||||
this.smartForm1.Controls.Add(this.smartLabel27);
|
||||
this.smartForm1.Controls.Add(this.labelProgress2);
|
||||
this.smartForm1.Controls.Add(this.labelDisplacement10);
|
||||
|
@ -292,245 +272,41 @@
|
|||
this.smartForm1.SpecialFunctionClickPointSize = 100;
|
||||
this.smartForm1.UseMainMenu = false;
|
||||
//
|
||||
// labelResult1
|
||||
// buttonDisplay
|
||||
//
|
||||
this.labelResult1.BackGround = null;
|
||||
this.labelResult1.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult1.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelResult1.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult1.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult1.LineSpacing = 0F;
|
||||
this.labelResult1.Location = new System.Drawing.Point(610, 219);
|
||||
this.labelResult1.Name = "labelResult1";
|
||||
this.labelResult1.OverlapOptimize = true;
|
||||
this.labelResult1.PasswordChar = '\0';
|
||||
this.labelResult1.Radius = 3;
|
||||
this.labelResult1.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult1.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult1.TabIndex = 112;
|
||||
this.labelResult1.Text = "Pass";
|
||||
this.labelResult1.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult1.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult1.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult1.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult1.Visible = false;
|
||||
this.labelResult1.Wordwrap = false;
|
||||
//
|
||||
// labelResult9
|
||||
//
|
||||
this.labelResult9.BackGround = null;
|
||||
this.labelResult9.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.labelResult9.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelResult9.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult9.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult9.LineSpacing = 0F;
|
||||
this.labelResult9.Location = new System.Drawing.Point(610, 667);
|
||||
this.labelResult9.Name = "labelResult9";
|
||||
this.labelResult9.OverlapOptimize = true;
|
||||
this.labelResult9.PasswordChar = '\0';
|
||||
this.labelResult9.Radius = 3;
|
||||
this.labelResult9.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult9.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult9.TabIndex = 120;
|
||||
this.labelResult9.Text = "Leak";
|
||||
this.labelResult9.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult9.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult9.Visible = false;
|
||||
this.labelResult9.Wordwrap = false;
|
||||
//
|
||||
// labelResult10
|
||||
//
|
||||
this.labelResult10.BackGround = null;
|
||||
this.labelResult10.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(70)))), ((int)(((byte)(70)))));
|
||||
this.labelResult10.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelResult10.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult10.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult10.LineSpacing = 0F;
|
||||
this.labelResult10.Location = new System.Drawing.Point(755, 667);
|
||||
this.labelResult10.Name = "labelResult10";
|
||||
this.labelResult10.OverlapOptimize = true;
|
||||
this.labelResult10.PasswordChar = '\0';
|
||||
this.labelResult10.Radius = 3;
|
||||
this.labelResult10.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult10.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult10.TabIndex = 121;
|
||||
this.labelResult10.Text = "Leak";
|
||||
this.labelResult10.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult10.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult10.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult10.Visible = false;
|
||||
this.labelResult10.Wordwrap = false;
|
||||
//
|
||||
// labelResult4
|
||||
//
|
||||
this.labelResult4.BackGround = null;
|
||||
this.labelResult4.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(42)))), ((int)(((byte)(82)))));
|
||||
this.labelResult4.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult4.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult4.LineSpacing = 0F;
|
||||
this.labelResult4.Location = new System.Drawing.Point(755, 331);
|
||||
this.labelResult4.Name = "labelResult4";
|
||||
this.labelResult4.OverlapOptimize = true;
|
||||
this.labelResult4.PasswordChar = '\0';
|
||||
this.labelResult4.Radius = 3;
|
||||
this.labelResult4.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult4.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult4.TabIndex = 115;
|
||||
this.labelResult4.Text = "Pass";
|
||||
this.labelResult4.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult4.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult4.Visible = false;
|
||||
this.labelResult4.Wordwrap = false;
|
||||
//
|
||||
// labelResult3
|
||||
//
|
||||
this.labelResult3.BackGround = null;
|
||||
this.labelResult3.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult3.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult3.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult3.LineSpacing = 0F;
|
||||
this.labelResult3.Location = new System.Drawing.Point(610, 331);
|
||||
this.labelResult3.Name = "labelResult3";
|
||||
this.labelResult3.OverlapOptimize = true;
|
||||
this.labelResult3.PasswordChar = '\0';
|
||||
this.labelResult3.Radius = 3;
|
||||
this.labelResult3.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult3.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult3.TabIndex = 114;
|
||||
this.labelResult3.Text = "Pass";
|
||||
this.labelResult3.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult3.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult3.Visible = false;
|
||||
this.labelResult3.Wordwrap = false;
|
||||
//
|
||||
// labelResult5
|
||||
//
|
||||
this.labelResult5.BackGround = null;
|
||||
this.labelResult5.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult5.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelResult5.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult5.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult5.LineSpacing = 0F;
|
||||
this.labelResult5.Location = new System.Drawing.Point(610, 443);
|
||||
this.labelResult5.Name = "labelResult5";
|
||||
this.labelResult5.OverlapOptimize = true;
|
||||
this.labelResult5.PasswordChar = '\0';
|
||||
this.labelResult5.Radius = 3;
|
||||
this.labelResult5.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult5.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult5.TabIndex = 116;
|
||||
this.labelResult5.Text = "Pass";
|
||||
this.labelResult5.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult5.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult5.Visible = false;
|
||||
this.labelResult5.Wordwrap = false;
|
||||
//
|
||||
// labelResult6
|
||||
//
|
||||
this.labelResult6.BackGround = null;
|
||||
this.labelResult6.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult6.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult6.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult6.LineSpacing = 0F;
|
||||
this.labelResult6.Location = new System.Drawing.Point(755, 443);
|
||||
this.labelResult6.Name = "labelResult6";
|
||||
this.labelResult6.OverlapOptimize = true;
|
||||
this.labelResult6.PasswordChar = '\0';
|
||||
this.labelResult6.Radius = 3;
|
||||
this.labelResult6.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult6.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult6.TabIndex = 117;
|
||||
this.labelResult6.Text = "Pass";
|
||||
this.labelResult6.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult6.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult6.Visible = false;
|
||||
this.labelResult6.Wordwrap = false;
|
||||
//
|
||||
// labelResult8
|
||||
//
|
||||
this.labelResult8.BackGround = null;
|
||||
this.labelResult8.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult8.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult8.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult8.LineSpacing = 0F;
|
||||
this.labelResult8.Location = new System.Drawing.Point(755, 555);
|
||||
this.labelResult8.Name = "labelResult8";
|
||||
this.labelResult8.OverlapOptimize = true;
|
||||
this.labelResult8.PasswordChar = '\0';
|
||||
this.labelResult8.Radius = 3;
|
||||
this.labelResult8.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult8.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult8.TabIndex = 119;
|
||||
this.labelResult8.Text = "Pass";
|
||||
this.labelResult8.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult8.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult8.Visible = false;
|
||||
this.labelResult8.Wordwrap = false;
|
||||
//
|
||||
// labelResult7
|
||||
//
|
||||
this.labelResult7.BackGround = null;
|
||||
this.labelResult7.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult7.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult7.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult7.LineSpacing = 0F;
|
||||
this.labelResult7.Location = new System.Drawing.Point(610, 555);
|
||||
this.labelResult7.Name = "labelResult7";
|
||||
this.labelResult7.OverlapOptimize = true;
|
||||
this.labelResult7.PasswordChar = '\0';
|
||||
this.labelResult7.Radius = 3;
|
||||
this.labelResult7.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult7.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult7.TabIndex = 118;
|
||||
this.labelResult7.Text = "Pass";
|
||||
this.labelResult7.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult7.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult7.Visible = false;
|
||||
this.labelResult7.Wordwrap = false;
|
||||
//
|
||||
// labelResult2
|
||||
//
|
||||
this.labelResult2.BackGround = null;
|
||||
this.labelResult2.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(200)))), ((int)(((byte)(64)))));
|
||||
this.labelResult2.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.labelResult2.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
||||
this.labelResult2.LineSpacing = 0F;
|
||||
this.labelResult2.Location = new System.Drawing.Point(755, 219);
|
||||
this.labelResult2.Name = "labelResult2";
|
||||
this.labelResult2.OverlapOptimize = true;
|
||||
this.labelResult2.PasswordChar = '\0';
|
||||
this.labelResult2.Radius = 3;
|
||||
this.labelResult2.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.labelResult2.Size = new System.Drawing.Size(135, 77);
|
||||
this.labelResult2.TabIndex = 113;
|
||||
this.labelResult2.Text = "Pass";
|
||||
this.labelResult2.TextColor = System.Drawing.Color.White;
|
||||
this.labelResult2.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.labelResult2.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelResult2.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelResult2.Visible = false;
|
||||
this.labelResult2.Wordwrap = false;
|
||||
this.buttonDisplay.BackGround = this.smartForm1;
|
||||
this.buttonDisplay.BackGroundColor = System.Drawing.Color.Gray;
|
||||
this.buttonDisplay.ButtonColor = System.Drawing.Color.Teal;
|
||||
this.buttonDisplay.ButtonDownColor = System.Drawing.Color.DarkSlateGray;
|
||||
this.buttonDisplay.ButtonImageAutoSize = true;
|
||||
this.buttonDisplay.ButtonStyle = SmartX.SmartButton.ButtonStyles.FlatRound;
|
||||
this.buttonDisplay.ButtonText = "Display";
|
||||
this.buttonDisplay.ColorKeySamplePosition = new System.Drawing.Point(0, 0);
|
||||
this.buttonDisplay.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.buttonDisplay.GroupID = 0;
|
||||
this.buttonDisplay.ImageDisable = null;
|
||||
this.buttonDisplay.ImageDown = null;
|
||||
this.buttonDisplay.ImageUp = null;
|
||||
this.buttonDisplay.Location = new System.Drawing.Point(917, 220);
|
||||
this.buttonDisplay.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
||||
this.buttonDisplay.Name = "buttonDisplay";
|
||||
this.buttonDisplay.NestedClickEventPrevent = false;
|
||||
this.buttonDisplay.OutlinePixel = 2;
|
||||
this.buttonDisplay.OverlapOptimize = true;
|
||||
this.buttonDisplay.RepeatInterval = 200;
|
||||
this.buttonDisplay.RepeatIntervalAccelerate = null;
|
||||
this.buttonDisplay.RoundSize = 10;
|
||||
this.buttonDisplay.SafeInterval = 200;
|
||||
this.buttonDisplay.Size = new System.Drawing.Size(100, 60);
|
||||
this.buttonDisplay.SpecialFunction = SmartX.SmartButton.SPECIALFUNC.NONE;
|
||||
this.buttonDisplay.TabIndex = 513;
|
||||
this.buttonDisplay.Text = null;
|
||||
this.buttonDisplay.TextColor = System.Drawing.Color.White;
|
||||
this.buttonDisplay.TextColorDisable = System.Drawing.Color.Gainsboro;
|
||||
this.buttonDisplay.TextDownColor = System.Drawing.Color.Chartreuse;
|
||||
this.buttonDisplay.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.buttonDisplay.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonDisplay.Click += new System.EventHandler(this.buttonDisplay_Click);
|
||||
//
|
||||
// labeldispAlarm9
|
||||
//
|
||||
|
@ -1285,7 +1061,7 @@
|
|||
this.buttonModbus.ImageDisable = null;
|
||||
this.buttonModbus.ImageDown = null;
|
||||
this.buttonModbus.ImageUp = null;
|
||||
this.buttonModbus.Location = new System.Drawing.Point(917, 286);
|
||||
this.buttonModbus.Location = new System.Drawing.Point(917, 352);
|
||||
this.buttonModbus.Mode = SmartX.SmartButton.BUTTONMODE.NORMAL;
|
||||
this.buttonModbus.Name = "buttonModbus";
|
||||
this.buttonModbus.NestedClickEventPrevent = false;
|
||||
|
@ -1311,7 +1087,7 @@
|
|||
//
|
||||
this.pictureBoxEthernetDisconnection.BackColor = System.Drawing.Color.Black;
|
||||
this.pictureBoxEthernetDisconnection.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetDisconnection.Image")));
|
||||
this.pictureBoxEthernetDisconnection.Location = new System.Drawing.Point(151, 44);
|
||||
this.pictureBoxEthernetDisconnection.Location = new System.Drawing.Point(141, 47);
|
||||
this.pictureBoxEthernetDisconnection.Name = "pictureBoxEthernetDisconnection";
|
||||
this.pictureBoxEthernetDisconnection.Size = new System.Drawing.Size(30, 25);
|
||||
this.pictureBoxEthernetDisconnection.Visible = false;
|
||||
|
@ -1320,7 +1096,7 @@
|
|||
//
|
||||
this.pictureBoxEthernetConnection.BackColor = System.Drawing.Color.Black;
|
||||
this.pictureBoxEthernetConnection.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetConnection.Image")));
|
||||
this.pictureBoxEthernetConnection.Location = new System.Drawing.Point(187, 44);
|
||||
this.pictureBoxEthernetConnection.Location = new System.Drawing.Point(141, 47);
|
||||
this.pictureBoxEthernetConnection.Name = "pictureBoxEthernetConnection";
|
||||
this.pictureBoxEthernetConnection.Size = new System.Drawing.Size(30, 25);
|
||||
this.pictureBoxEthernetConnection.Visible = false;
|
||||
|
@ -1329,7 +1105,7 @@
|
|||
//
|
||||
this.pictureBoxEthernetDisable.BackColor = System.Drawing.Color.Black;
|
||||
this.pictureBoxEthernetDisable.Image = ((System.Drawing.Image)(resources.GetObject("pictureBoxEthernetDisable.Image")));
|
||||
this.pictureBoxEthernetDisable.Location = new System.Drawing.Point(151, 13);
|
||||
this.pictureBoxEthernetDisable.Location = new System.Drawing.Point(141, 48);
|
||||
this.pictureBoxEthernetDisable.Name = "pictureBoxEthernetDisable";
|
||||
this.pictureBoxEthernetDisable.Size = new System.Drawing.Size(30, 25);
|
||||
this.pictureBoxEthernetDisable.Visible = false;
|
||||
|
@ -1615,29 +1391,6 @@
|
|||
this.smartLabel24.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel24.Wordwrap = false;
|
||||
//
|
||||
// smartLabel25
|
||||
//
|
||||
this.smartLabel25.BackGround = this.smartForm1;
|
||||
this.smartLabel25.BackGroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111)))));
|
||||
this.smartLabel25.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(226)))), ((int)(((byte)(155)))), ((int)(((byte)(111)))));
|
||||
this.smartLabel25.BorderStyle = SmartX.SmartLabel.BorderStyles.None;
|
||||
this.smartLabel25.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Regular);
|
||||
this.smartLabel25.LineSpacing = 0F;
|
||||
this.smartLabel25.Location = new System.Drawing.Point(393, 254);
|
||||
this.smartLabel25.Name = "smartLabel25";
|
||||
this.smartLabel25.OverlapOptimize = true;
|
||||
this.smartLabel25.PasswordChar = '\0';
|
||||
this.smartLabel25.Radius = 3;
|
||||
this.smartLabel25.RoundRectFillColor = System.Drawing.Color.LightBlue;
|
||||
this.smartLabel25.Size = new System.Drawing.Size(35, 70);
|
||||
this.smartLabel25.TabIndex = 421;
|
||||
this.smartLabel25.Text = "▶";
|
||||
this.smartLabel25.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(222)))), ((int)(((byte)(226)))));
|
||||
this.smartLabel25.TextColorDisable = System.Drawing.Color.Gray;
|
||||
this.smartLabel25.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.smartLabel25.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.smartLabel25.Wordwrap = false;
|
||||
//
|
||||
// smartLabel27
|
||||
//
|
||||
this.smartLabel27.BackGround = this.smartForm1;
|
||||
|
@ -2614,7 +2367,7 @@
|
|||
this.buttonUser.ImageDisable = null;
|
||||
this.buttonUser.ImageDown = null;
|
||||
this.buttonUser.ImageUp = null;
|
||||
this.buttonUser.Location = new System.Drawing.Point(917, 220);
|
||||
this.buttonUser.Location = new System.Drawing.Point(917, 286);
|
||||
this.buttonUser.Mode = SmartX.SmartButton.BUTTONMODE.RADIO;
|
||||
this.buttonUser.Name = "buttonUser";
|
||||
this.buttonUser.NestedClickEventPrevent = false;
|
||||
|
@ -2717,7 +2470,6 @@
|
|||
this.buttonExit.TextDownColor = System.Drawing.Color.Chartreuse;
|
||||
this.buttonExit.TextHAlign = SmartX.SmartButton.TextHorAlign.Middle;
|
||||
this.buttonExit.TextVAlign = SmartX.SmartButton.TextVerAlign.Middle;
|
||||
this.buttonExit.Visible = false;
|
||||
this.buttonExit.Click += new System.EventHandler(this.buttonExit_Click);
|
||||
//
|
||||
// buttonInspection
|
||||
|
@ -2843,7 +2595,7 @@
|
|||
this.buttonTest.ImageDisable = null;
|
||||
this.buttonTest.ImageDown = null;
|
||||
this.buttonTest.ImageUp = null;
|
||||
this.buttonTest.Location = new System.Drawing.Point(917, 352);
|
||||
this.buttonTest.Location = new System.Drawing.Point(917, 418);
|
||||
this.buttonTest.Mode = SmartX.SmartButton.BUTTONMODE.PUSH;
|
||||
this.buttonTest.Name = "buttonTest";
|
||||
this.buttonTest.NestedClickEventPrevent = false;
|
||||
|
@ -2938,10 +2690,6 @@
|
|||
#endregion
|
||||
|
||||
private SmartX.SmartForm smartForm1;
|
||||
private SmartX.SmartLabel labelResult4;
|
||||
private SmartX.SmartLabel labelResult3;
|
||||
private SmartX.SmartLabel labelResult2;
|
||||
private SmartX.SmartLabel labelResult1;
|
||||
private SmartX.SmartButton buttonUser;
|
||||
public SmartX.SmartLabel labelCommunicationStatus;
|
||||
public SmartX.SmartLabel labelSensorStatus1;
|
||||
|
@ -2994,12 +2742,6 @@
|
|||
private SmartX.SmartButton buttonRecipeNo;
|
||||
private SmartX.SmartButton smartButton5;
|
||||
private SmartX.SmartTimer smartTimerProgressBar;
|
||||
private SmartX.SmartLabel labelResult9;
|
||||
private SmartX.SmartLabel labelResult10;
|
||||
private SmartX.SmartLabel labelResult5;
|
||||
private SmartX.SmartLabel labelResult6;
|
||||
private SmartX.SmartLabel labelResult8;
|
||||
private SmartX.SmartLabel labelResult7;
|
||||
private SmartX.SmartTimer timerServer;
|
||||
private System.Windows.Forms.PictureBox pictureBoxEthernetDisconnection;
|
||||
private System.Windows.Forms.PictureBox pictureBoxEthernetConnection;
|
||||
|
@ -3033,7 +2775,6 @@
|
|||
private SmartX.SmartLabel labelProgress3;
|
||||
private SmartX.SmartLabel labelProgress1;
|
||||
private SmartX.SmartLabel smartLabel24;
|
||||
private SmartX.SmartLabel smartLabel25;
|
||||
private SmartX.SmartLabel smartLabel27;
|
||||
private SmartX.SmartLabel labelProgress2;
|
||||
private SmartX.SmartLabel labelNumber4;
|
||||
|
@ -3062,5 +2803,6 @@
|
|||
public SmartX.SmartLabel labeldispAlarm2;
|
||||
public SmartX.SmartLabel labeldispAlarm1;
|
||||
private SmartX.SmartLabel labelDisplacement1;
|
||||
private SmartX.SmartButton buttonDisplay;
|
||||
}
|
||||
}
|
|
@ -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,26 +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> 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
|
||||
|
@ -91,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);
|
||||
|
@ -190,11 +173,33 @@ namespace INT_PT002.Forms
|
|||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm9);
|
||||
this.CollectionLabelDispAlarm.Add(this.labeldispAlarm10);
|
||||
|
||||
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.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);
|
||||
|
@ -202,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);
|
||||
}
|
||||
|
@ -209,7 +220,7 @@ 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.CollectionLabelDisplacement[i].Text = "0.00/0.00";
|
||||
this.CollectionLabelLeakRatePerSec[i].Text = "0.0";
|
||||
|
@ -644,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)
|
||||
|
@ -1187,11 +1169,15 @@ namespace INT_PT002.Forms
|
|||
break;
|
||||
}
|
||||
|
||||
this.ChildMainDisplay10.UpdateDisplayProcessStatus(status);
|
||||
|
||||
// Modbus
|
||||
if (this.ParentForm.SystemConfig.ETHERNET_COMM_MODE == 1)
|
||||
this.ParentForm.Update30000ModbusItem();
|
||||
}
|
||||
public void UpdateDisplayProcessStatus1(Define.E_ProcessStatus status)
|
||||
{
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(8, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(9, this.ColorNumberUnSelected);
|
||||
|
@ -1199,10 +1185,13 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelNumberColor(0, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(1, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus2(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayProcessStatus3(Define.E_ProcessStatus status)
|
||||
{
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(0, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(1, this.ColorNumberUnSelected);
|
||||
|
@ -1210,10 +1199,13 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelNumberColor(2, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(3, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus4(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayProcessStatus5(Define.E_ProcessStatus status)
|
||||
{
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(2, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(3, this.ColorNumberUnSelected);
|
||||
|
@ -1221,10 +1213,13 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelNumberColor(4, this.ColorNumberSelected);
|
||||
this.SetLabelNumberColor(5, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus6(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
public void UpdateDisplayProcessStatus7(Define.E_ProcessStatus status)
|
||||
{
|
||||
if (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
this.SetLabelNumberColor(4, this.ColorNumberUnSelected);
|
||||
this.SetLabelNumberColor(5, this.ColorNumberUnSelected);
|
||||
|
@ -1232,10 +1227,13 @@ namespace INT_PT002.Forms
|
|||
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 (this.ParentForm.CurrentSystemStatus.EquipmentStatus == Define.E_EquipmentStatus.Start)
|
||||
{
|
||||
if (status == Define.E_ProcessStatus._4_MoveToCheck || status == Define.E_ProcessStatus._5_ChamberMerge)
|
||||
{
|
||||
|
@ -1246,6 +1244,7 @@ namespace INT_PT002.Forms
|
|||
this.SetLabelNumberColor(9, this.ColorNumberSelected);
|
||||
}
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayProcessStatus10(Define.E_ProcessStatus status)
|
||||
{
|
||||
}
|
||||
|
@ -1254,42 +1253,52 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayDiffData1(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[0].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData1(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData2(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[1].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData2(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData3(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[2].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData3(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData4(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[3].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData4(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData5(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[4].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData5(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData6(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[5].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData6(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData7(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[6].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData7(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData8(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[7].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData8(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData9(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[8].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData9(data);
|
||||
}
|
||||
public void UpdateDisplayDiffData10(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelLeakRatePerSec[9].Text = data.DiffData.SecBuf;
|
||||
this.ChildMainDisplay10.UpdateDisplayDiffData10(data);
|
||||
}
|
||||
|
||||
// 변위센서 데이터
|
||||
|
@ -1298,102 +1307,132 @@ namespace INT_PT002.Forms
|
|||
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 UpdateDisplayPresData1(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[0].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData1(data);
|
||||
}
|
||||
public void UpdateDisplayPresData2(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[1].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData2(data);
|
||||
}
|
||||
public void UpdateDisplayPresData3(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[2].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData3(data);
|
||||
}
|
||||
public void UpdateDisplayPresData4(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[3].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData4(data);
|
||||
}
|
||||
public void UpdateDisplayPresData5(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[4].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData5(data);
|
||||
}
|
||||
public void UpdateDisplayPresData6(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[5].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData6(data);
|
||||
}
|
||||
public void UpdateDisplayPresData7(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[6].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData7(data);
|
||||
}
|
||||
public void UpdateDisplayPresData8(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[7].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData8(data);
|
||||
}
|
||||
public void UpdateDisplayPresData9(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[8].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData9(data);
|
||||
}
|
||||
public void UpdateDisplayPresData10(LeakData1 data)
|
||||
{
|
||||
this.CollectionLabelPressureWorking[9].Text = data.PresData.WorkingChamber.Trim();
|
||||
this.ChildMainDisplay10.UpdateDisplayPresData10(data);
|
||||
}
|
||||
|
||||
// 판정결과
|
||||
|
@ -1401,152 +1440,162 @@ namespace INT_PT002.Forms
|
|||
{
|
||||
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)
|
||||
|
@ -1643,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)
|
||||
{
|
||||
|
@ -1687,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)
|
||||
|
|
|
@ -3762,11 +3762,11 @@
|
|||
XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS
|
||||
fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+
|
||||
tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/
|
||||
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAAANdJREFUSEvtljEKwjAY
|
||||
hb1D6Zo4SPYsmTNpx0qPpKC3EFz0Iu21fm0l8ZFEqjY1WDp8BNpHP/og+bNgjFEKOvFyJag4Xml7qu80
|
||||
I1F3jtZlxcXhEgiOw3p3fopj/mmWZZTnuUUI4WRqFOOLYXDOSUpp0Vp7mWmITcUhsVt5VLERhsRmNdlp
|
||||
iZVSVJalpaqq34hfMYvTimPwjhjzqasePiTcbeTSbqtHFoZE7LFojk9/MjW02cNYjH0RMLVjve23vYvA
|
||||
J6AAwQyK8Tkyiz1Ckj7+W/wN/WJGNzHmNvHPmRG6AAAAAElFTkSuQmCC
|
||||
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAN9JREFUSEvtlrEOgjAQ
|
||||
hrs46Nowd2NnYWZRVgxvpIk+hrrok5TXOinmyqU9gkqRQCT5QtL+9EsvKVdRPzARAlbrDeTnB+wvuqYa
|
||||
Cd04jMuK89OdCY7D9nBtxSF3KqWEKIoscRw7GU3FdGIYSilIksSSZZmXWYYYS8yJ3ZIHFaOQE+Mbs8sS
|
||||
p2kKRVFYyrL8jbiLv3hacQjeETvfTFrq4U3CPUYu5li9sqRJhG6L+Pv0O1MFu+OtFYe+CGDZaXnN2t5F
|
||||
4BOogEIzVEzHHdjBTjipgWbmLeYkfcxb/A39YgFPemvuIxLWRj4AAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="pictureBoxEthernetConnection.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
@ -3816,11 +3816,12 @@
|
|||
XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS
|
||||
fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+
|
||||
tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/
|
||||
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAAANFJREFUSEvtllEKAiEQ
|
||||
hj2JFET36KX2ta5UULcIeqmLuNeyRpjt35pWR41lYR++1XVGPxRkNNZaPwZBvFitfXN5+P3VvWj/hAsO
|
||||
cnXi5nwXEvUsNwdvjPmCxjlne7y9xbV2SpL4uENxPzGXNHFbT4xHLMU5xkdeTczCITG2szib0cWxe0x9
|
||||
aquLY8zi0ClBI+7m0EdK0pC949IioRNDkSgti7+u0SeUtztBWaz5ECCB/C88BDTgogjHJTHO7/KkwSFw
|
||||
UYTj0xfjIilMX6wlTWz9E6PAYi/MddXpAAAAAElFTkSuQmCC
|
||||
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAPBJREFUSEvtlkEOwiAU
|
||||
RNm40Ft4FBfatR5JEz2GutGT1GshWD8ZJ/+HIhg3bfICDJ+ZQNKAC5//E87P5gvfne5+e+4Djx/RvzJi
|
||||
VgrujjelsJzlaoc7SkRdatb7i+guCG12Onjl9B6DPwu/ZVzwMG4SjEeszcucHPl7XB8sHpYXz8c2MAWX
|
||||
w8YMz8c20C449x/HvrSBdsE5pmDpVMEhGrTmjzuuvSTKguGSqL0Wrd+IiXWbw1XGbR8C0U8fKw+BEtAU
|
||||
sWpQJ1TRBE0RqwZ1QhVN0BSxalAnVDGBJmPgNewHqGICTcbAa9gPUMUq8sHOPwE5Sh2odtFYdgAAAABJ
|
||||
RU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="pictureBoxEthernetDisable.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
@ -3870,13 +3871,13 @@
|
|||
XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriXeW/h/sYH6AdFD6UeVjxS
|
||||
fNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycKnpCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+
|
||||
tfa5zvMffnP8rX82YnbiBf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/
|
||||
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAUBJREFUSEvtlsuqgzAQ
|
||||
QO8fuFAXgi9cuFLxgYK4URBEEBX8/2+ZMoGkiVqatpFCuYtDMJnkxIkm+XNdF74BETuOA5qmga7rYJrm
|
||||
JRiGQUpBjELf9yFJEsiy7BLSNIUoioiHiW3bVibdZy0MQ9aG8qZp7mLP84TOn7Afq23bw/NviGmKz8R8
|
||||
ypWL6RiP3pgvf0tcVRWs68rYto3UXy5+xL+YiPfr8g4yYozDNWdiFciI+XgiVnEqyYgxDjcSJsZOeZ6f
|
||||
dpDl2XJhijFGWGM8j7HyUzmFZpA/mcqyhGEYoK7ruxgpigKmaTqdLQVniwPwEqTve5jnmcXRtNMPClmW
|
||||
BbquI22CWJY4jg/icRyFGF7M1/O8LD77iPaCS8R4W9mL8WbBxygR87+aZVkQBMFBjHcprKdxSsTv7GqX
|
||||
pFqG52IXblgWas7RDhsXAAAAAElFTkSuQmCC
|
||||
6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAUdJREFUSEvtlkGrRUAU
|
||||
gMlOyeJSSJGFFUKxYWGhpITy/3/Lue+oGWPQ9e6lV7envuQ4Mx9nmBnh54A/QgBRFEGWZXg8HqDr+i1o
|
||||
mgaqqs4uKlYUBVzXhSiKIEmSW4jjGIIgAMuyFrFt25dJ+ar5vk/vobwoikXsOM6q8SfwfVVVtbn+DjEp
|
||||
8Z6YLfnlYtLH0Ruz5+8S53kO4zhSpmma47eLj/gXz2J+XN7hjBjzcMyp+ArOiLk2wiWr0hkx5uFEQsXY
|
||||
KE3T3QZneTVcWGLMWY2xYRhz8FM5gVSQXZmyLIOmaWYHFePijMti13W7T0vAp8UOWAlS1zX0fU/zSNnJ
|
||||
B4UMwwBlWYIkSYv4N4RhuBG3bbvKYcVsnGM3eMjeR8QLbhHjboUX486CzblEzP5qpmmC53kbMe6lME7y
|
||||
LhG/M6vdUuozvBYL8AQqKSGTPxSPEQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="pictureBoxProgress3_11.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
|
|
|
@ -902,7 +902,7 @@ namespace INT_PT002.Forms
|
|||
// 판정결과
|
||||
public void UpdateDisplayJudgmentData1(LeakData1 data)
|
||||
{
|
||||
this.GetJudgmentResult(data.Judgment, this.labelResult1);
|
||||
this.GetJudgmentResult(data.Judgment.Result, this.labelResult1);
|
||||
this.labelResult1.Visible = true;
|
||||
|
||||
this.ChildControl.UpdateStartLeakDataDisplay1(data);
|
||||
|
|
|
@ -36,10 +36,10 @@ namespace INT_PT002.Forms
|
|||
private ControlMenuLogAlarm Child_Log_Alarm;
|
||||
// System
|
||||
private ControlMenuSystemInformation Child_System_Information;
|
||||
public ControlMenuSystemStatus Child_System_Status;
|
||||
public ControlMenuSystemEthernet Child_System_Ethernet;
|
||||
public ControlMenuSystemStatus1 Child_System_Status1;
|
||||
private ControlMenuSystemStatus2 Child_System_Status2;
|
||||
public ControlMenuSystemStatus Child_System_Equipment10_1;
|
||||
public ControlMenuSystemStatus1 Child_System_Equipment10;
|
||||
private ControlMenuSystemStatus2 Child_System_Equipment1;
|
||||
private ControlMenuSystemSetting Child_System_Setting;
|
||||
|
||||
public Define.E_TopMenuStore SelectedTopMenu;
|
||||
|
@ -92,7 +92,7 @@ namespace INT_PT002.Forms
|
|||
this.Child_Log_Inspection = new ControlMenuLogInspection(this);
|
||||
this.Child_Log_Alarm = new ControlMenuLogAlarm(this);
|
||||
this.Child_System_Information = new ControlMenuSystemInformation(this);
|
||||
this.Child_System_Status = new ControlMenuSystemStatus(this);
|
||||
this.Child_System_Equipment10_1 = new ControlMenuSystemStatus(this);
|
||||
this.Child_System_Ethernet = new ControlMenuSystemEthernet(this);
|
||||
this.Child_System_Setting = new ControlMenuSystemSetting(this);
|
||||
|
||||
|
@ -105,7 +105,7 @@ namespace INT_PT002.Forms
|
|||
this.Controls.Add(this.Child_Log_History);
|
||||
this.Controls.Add(this.Child_Log_Inspection);
|
||||
this.Controls.Add(this.Child_System_Information);
|
||||
this.Controls.Add(this.Child_System_Status);
|
||||
this.Controls.Add(this.Child_System_Equipment10_1);
|
||||
this.Controls.Add(this.Child_System_Ethernet);
|
||||
this.Controls.Add(this.Child_System_Setting);
|
||||
|
||||
|
@ -118,18 +118,18 @@ namespace INT_PT002.Forms
|
|||
this.Child_Log_History.Location = new Point(0, 39);
|
||||
this.Child_Log_Inspection.Location = new Point(0, 39);
|
||||
this.Child_System_Information.Location = new Point(0, 39);
|
||||
this.Child_System_Status.Location = new Point(0, 39);
|
||||
this.Child_System_Equipment10_1.Location = new Point(0, 39);
|
||||
this.Child_System_Ethernet.Location = new Point(0, 39);
|
||||
this.Child_System_Setting.Location = new Point(0, 39);
|
||||
|
||||
|
||||
this.Child_System_Status1 = new ControlMenuSystemStatus1(this);
|
||||
this.Controls.Add(this.Child_System_Status1);
|
||||
this.Child_System_Status1.Location = new Point(0, 39);
|
||||
this.Child_System_Equipment10 = new ControlMenuSystemStatus1(this);
|
||||
this.Controls.Add(this.Child_System_Equipment10);
|
||||
this.Child_System_Equipment10.Location = new Point(0, 39);
|
||||
|
||||
this.Child_System_Status2 = new ControlMenuSystemStatus2(this);
|
||||
this.Controls.Add(this.Child_System_Status2);
|
||||
this.Child_System_Status2.Location = new Point(0, 39);
|
||||
this.Child_System_Equipment1 = new ControlMenuSystemStatus2(this);
|
||||
this.Controls.Add(this.Child_System_Equipment1);
|
||||
this.Child_System_Equipment1.Location = new Point(0, 39);
|
||||
}
|
||||
|
||||
public void UpdateButtonColor()
|
||||
|
@ -566,9 +566,9 @@ namespace INT_PT002.Forms
|
|||
this.buttonSystem.ButtonDown();
|
||||
|
||||
this.buttonBottom1.ButtonText = "Information";
|
||||
this.buttonBottom2.ButtonText = "Equipment";
|
||||
this.buttonBottom3.ButtonText = "Ethernet";
|
||||
this.buttonBottom4.ButtonText = "Setting";
|
||||
this.buttonBottom2.ButtonText = "Ethernet";
|
||||
this.buttonBottom3.ButtonText = "Setting";
|
||||
this.buttonBottom4.ButtonText = "Equipment";
|
||||
|
||||
this.buttonBottom1.Visible = true;
|
||||
this.buttonBottom2.Visible = true;
|
||||
|
@ -700,46 +700,46 @@ namespace INT_PT002.Forms
|
|||
case Define.E_MenuSystemStore._2_Equipment:
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
{
|
||||
this.Child_System_Status1.DisplayRefresh();
|
||||
this.Child_System_Status1.BringToFront();
|
||||
this.Child_System_Equipment10.DisplayRefresh();
|
||||
this.Child_System_Equipment10.BringToFront();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Child_System_Status2.DisplayRefresh();
|
||||
this.Child_System_Status2.BringToFront();
|
||||
this.Child_System_Equipment1.DisplayRefresh();
|
||||
this.Child_System_Equipment1.BringToFront();
|
||||
}
|
||||
|
||||
this.buttonBottom1.ButtonUp();
|
||||
this.buttonBottom2.ButtonDown();
|
||||
this.buttonBottom2.ButtonUp();
|
||||
this.buttonBottom3.ButtonUp();
|
||||
this.buttonBottom4.ButtonUp();
|
||||
this.buttonBottom4.ButtonDown();
|
||||
break;
|
||||
case Define.E_MenuSystemStore._3_Ethernet:
|
||||
this.Child_System_Ethernet.DisplayRefresh();
|
||||
this.Child_System_Ethernet.BringToFront();
|
||||
|
||||
this.buttonBottom1.ButtonUp();
|
||||
this.buttonBottom2.ButtonUp();
|
||||
this.buttonBottom3.ButtonDown();
|
||||
this.buttonBottom4.ButtonUp();
|
||||
break;
|
||||
case Define.E_MenuSystemStore._4_Equipment1:
|
||||
this.Child_System_Status.DisplayRefresh();
|
||||
this.Child_System_Status.BringToFront();
|
||||
|
||||
this.buttonBottom1.ButtonUp();
|
||||
this.buttonBottom2.ButtonDown();
|
||||
this.buttonBottom3.ButtonUp();
|
||||
this.buttonBottom4.ButtonUp();
|
||||
break;
|
||||
case Define.E_MenuSystemStore._4_Equipment1:
|
||||
this.Child_System_Equipment10_1.DisplayRefresh();
|
||||
this.Child_System_Equipment10_1.BringToFront();
|
||||
|
||||
this.buttonBottom1.ButtonUp();
|
||||
this.buttonBottom2.ButtonUp();
|
||||
this.buttonBottom3.ButtonUp();
|
||||
this.buttonBottom4.ButtonDown();
|
||||
break;
|
||||
case Define.E_MenuSystemStore._5_Setting:
|
||||
this.Child_System_Setting.DisplayRefresh();
|
||||
this.Child_System_Setting.BringToFront();
|
||||
|
||||
this.buttonBottom1.ButtonUp();
|
||||
this.buttonBottom2.ButtonUp();
|
||||
this.buttonBottom3.ButtonUp();
|
||||
this.buttonBottom4.ButtonDown();
|
||||
this.buttonBottom3.ButtonDown();
|
||||
this.buttonBottom4.ButtonUp();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -905,7 +905,7 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
public void UpdateDisplay_Equipment_AlarmView(AlarmList data)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayAlarmView(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayAlarmView(data);
|
||||
}
|
||||
public void UpdateDisplay_Equipment_ProcessStatus(Define.E_ProcessStatus status)
|
||||
{
|
||||
|
@ -936,9 +936,9 @@ namespace INT_PT002.Forms
|
|||
break;
|
||||
case Define.E_DisplayModeStore.Equipment:
|
||||
case Define.E_DisplayModeStore.Equipment1:
|
||||
this.Child_System_Status.UpdateDisplayProcessStatus(status);
|
||||
this.Child_System_Status1.UpdateDisplayProcessStatus(status);
|
||||
this.Child_System_Status2.UpdateDisplayProcessStatus(status);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayProcessStatus(status);
|
||||
this.Child_System_Equipment10.UpdateDisplayProcessStatus(status);
|
||||
this.Child_System_Equipment1.UpdateDisplayProcessStatus(status);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -946,11 +946,11 @@ namespace INT_PT002.Forms
|
|||
}
|
||||
public void UpdateDisplay_Equipment1_ProcessStatusMeasuring1(Define.E_ProcessStatus status, string lane)
|
||||
{
|
||||
this.Child_System_Status1.UpdateDisplayProcessStatusMeasuring1(status, lane);
|
||||
this.Child_System_Equipment10.UpdateDisplayProcessStatusMeasuring1(status, lane);
|
||||
}
|
||||
public void UpdateDisplay_Equipment1_ProcessStatusMeasuring2(Define.E_ProcessStatus status, string lane)
|
||||
{
|
||||
this.Child_System_Status1.UpdateDisplayProcessStatusMeasuring2(status, lane);
|
||||
this.Child_System_Equipment10.UpdateDisplayProcessStatusMeasuring2(status, lane);
|
||||
}
|
||||
// 변위센서 데이터
|
||||
public void UpdateDisplayEquipmentDispData1(LeakData1 data)
|
||||
|
@ -958,11 +958,11 @@ namespace INT_PT002.Forms
|
|||
this.Child_Recipe_Setting.UpdateDisplayDispData1(data);
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
{
|
||||
this.Child_System_Status1.UpdateDisplayDispData1(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData1(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData1(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData1(data);
|
||||
}
|
||||
else
|
||||
this.Child_System_Status2.UpdateDisplayDispData1(data);
|
||||
this.Child_System_Equipment1.UpdateDisplayDispData1(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1006,8 +1006,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData2(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData2(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData2(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData2(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData2(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData2(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1046,8 +1046,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData3(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData3(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData3(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData3(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData3(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData3(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1086,8 +1086,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData4(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData4(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData4(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData4(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData4(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData4(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1126,8 +1126,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData5(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData5(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData5(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData5(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData5(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData5(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1166,8 +1166,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData6(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData6(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData6(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData6(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData6(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData6(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1206,8 +1206,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData7(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData7(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData7(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData7(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData7(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData7(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1246,8 +1246,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData8(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData8(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData8(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData8(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData8(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData8(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1286,8 +1286,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData9(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData9(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData9(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData9(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData9(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData9(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1326,8 +1326,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDispData10(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDispData10(data);
|
||||
this.Child_System_Status.UpdateDisplayDispData10(data);
|
||||
this.Child_System_Status1.UpdateDisplayDispData10(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDispData10(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDispData10(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1369,11 +1369,11 @@ namespace INT_PT002.Forms
|
|||
this.Child_Recipe_Setting.UpdateDisplayDiffData1(data);
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayDiffData1(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData1(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData1(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData1(data);
|
||||
}
|
||||
else
|
||||
this.Child_System_Status2.UpdateDisplayDiffData1(data);
|
||||
this.Child_System_Equipment1.UpdateDisplayDiffData1(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1417,8 +1417,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData2(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData2(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData2(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData2(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData2(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData2(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1457,8 +1457,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData3(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData3(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData3(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData3(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData3(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData3(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1497,8 +1497,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData4(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData4(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData4(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData4(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData4(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData4(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1537,8 +1537,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData5(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData5(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData5(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData5(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData5(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData5(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1577,8 +1577,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData6(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData6(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData6(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData6(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData6(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData6(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1617,8 +1617,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData7(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData7(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData7(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData7(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData7(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData7(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1657,8 +1657,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData8(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData8(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData8(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData8(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData8(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData8(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1697,8 +1697,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData9(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData9(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData9(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData9(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData9(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData9(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1737,8 +1737,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentDiffData10(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayDiffData10(data);
|
||||
this.Child_System_Status.UpdateDisplayDiffData10(data);
|
||||
this.Child_System_Status1.UpdateDisplayDiffData10(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayDiffData10(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayDiffData10(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1780,11 +1780,11 @@ namespace INT_PT002.Forms
|
|||
this.Child_Recipe_Setting.UpdateDisplayPresData1(data);
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayPresData1(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData1(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData1(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData1(data);
|
||||
}
|
||||
else
|
||||
this.Child_System_Status2.UpdateDisplayPresData1(data);
|
||||
this.Child_System_Equipment1.UpdateDisplayPresData1(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1828,8 +1828,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData2(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData2(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData2(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData2(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData2(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData2(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1868,8 +1868,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData3(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData3(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData3(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData3(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData3(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData3(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1908,8 +1908,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData4(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData4(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData4(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData4(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData4(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData4(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1948,8 +1948,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData5(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData5(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData5(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData5(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData5(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData5(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -1988,8 +1988,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData6(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData6(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData6(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData6(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData6(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData6(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2028,8 +2028,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData7(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData7(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData7(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData7(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData7(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData7(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2068,8 +2068,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData8(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData8(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData8(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData8(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData8(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData8(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2108,8 +2108,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData9(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData9(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData9(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData9(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData9(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData9(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2148,8 +2148,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentPresData10(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayPresData10(data);
|
||||
this.Child_System_Status.UpdateDisplayPresData10(data);
|
||||
this.Child_System_Status1.UpdateDisplayPresData10(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayPresData10(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayPresData10(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2191,11 +2191,11 @@ namespace INT_PT002.Forms
|
|||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData1(data);
|
||||
if (this.ParentForm.SystemConfig.EQUIPMENT_LANE == 10)
|
||||
{
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData1(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData1(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData1(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData1(data);
|
||||
}
|
||||
else
|
||||
this.Child_System_Status2.UpdateDisplayJudgmentData1(data);
|
||||
this.Child_System_Equipment1.UpdateDisplayJudgmentData1(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2239,8 +2239,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData2(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData2(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData2(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData2(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData2(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData2(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2279,8 +2279,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData3(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData3(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData3(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData3(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData3(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData3(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2319,8 +2319,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData4(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData4(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData4(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData4(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData4(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData4(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2359,8 +2359,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData5(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData5(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData5(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData5(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData5(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData5(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2399,8 +2399,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData6(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData6(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData6(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData6(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData6(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData6(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2439,8 +2439,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData7(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData7(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData7(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData7(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData7(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData7(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2479,8 +2479,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData8(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData8(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData8(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData8(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData8(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData8(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2519,8 +2519,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData9(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData9(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData9(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData9(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData9(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData9(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2559,8 +2559,8 @@ namespace INT_PT002.Forms
|
|||
public void UpdateDisplayEquipmentJudgmentData10(LeakData1 data)
|
||||
{
|
||||
this.Child_Recipe_Setting.UpdateDisplayJudgmentData10(data);
|
||||
this.Child_System_Status.UpdateDisplayJudgmentData10(data);
|
||||
this.Child_System_Status1.UpdateDisplayJudgmentData10(data);
|
||||
this.Child_System_Equipment10_1.UpdateDisplayJudgmentData10(data);
|
||||
this.Child_System_Equipment10.UpdateDisplayJudgmentData10(data);
|
||||
|
||||
//switch (this.ParentForm.CurrentSystemStatus.CurrentDisplayMode)
|
||||
//{
|
||||
|
@ -2712,7 +2712,7 @@ namespace INT_PT002.Forms
|
|||
this.SetBottomMenuLog(this.SelectedMenuLog);
|
||||
break;
|
||||
case Define.E_TopMenuStore.System:
|
||||
this.SelectedMenuSystem = Define.E_MenuSystemStore._2_Equipment;
|
||||
this.SelectedMenuSystem = Define.E_MenuSystemStore._3_Ethernet;
|
||||
this.SetBottomMenuSystem(this.SelectedMenuSystem);
|
||||
break;
|
||||
default:
|
||||
|
@ -2740,7 +2740,7 @@ namespace INT_PT002.Forms
|
|||
this.SetBottomMenuLog(this.SelectedMenuLog);
|
||||
break;
|
||||
case Define.E_TopMenuStore.System:
|
||||
this.SelectedMenuSystem = Define.E_MenuSystemStore._3_Ethernet;
|
||||
this.SelectedMenuSystem = Define.E_MenuSystemStore._5_Setting;
|
||||
this.SetBottomMenuSystem(this.SelectedMenuSystem);
|
||||
break;
|
||||
default:
|
||||
|
@ -2768,7 +2768,7 @@ namespace INT_PT002.Forms
|
|||
this.SetBottomMenuLog(this.SelectedMenuLog);
|
||||
break;
|
||||
case Define.E_TopMenuStore.System:
|
||||
this.SelectedMenuSystem = Define.E_MenuSystemStore._5_Setting;
|
||||
this.SelectedMenuSystem = Define.E_MenuSystemStore._2_Equipment;
|
||||
this.SetBottomMenuSystem(this.SelectedMenuSystem);
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -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
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue