Compare commits
No commits in common. "9f480da358999fdfd383a23134fdf1e5f88f0256" and "9fc5c3421000580b459c34f1ad38ac3a492656b2" have entirely different histories.
9f480da358
...
9fc5c34210
BIN
INT63DC_6CH.suo
BIN
INT63DC_6CH.suo
Binary file not shown.
|
@ -227,7 +227,7 @@
|
||||||
this.labelWeightValue6.BackPictureBox2 = null;
|
this.labelWeightValue6.BackPictureBox2 = null;
|
||||||
this.labelWeightValue6.BorderColor = System.Drawing.Color.Black;
|
this.labelWeightValue6.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelWeightValue6.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelWeightValue6.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelWeightValue6.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
this.labelWeightValue6.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelWeightValue6.InitVisible = true;
|
this.labelWeightValue6.InitVisible = true;
|
||||||
this.labelWeightValue6.LineSpacing = 0F;
|
this.labelWeightValue6.LineSpacing = 0F;
|
||||||
this.labelWeightValue6.Location = new System.Drawing.Point(776, 360);
|
this.labelWeightValue6.Location = new System.Drawing.Point(776, 360);
|
||||||
|
@ -247,7 +247,7 @@
|
||||||
this.labelWeightValue5.BackPictureBox2 = null;
|
this.labelWeightValue5.BackPictureBox2 = null;
|
||||||
this.labelWeightValue5.BorderColor = System.Drawing.Color.Black;
|
this.labelWeightValue5.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelWeightValue5.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelWeightValue5.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelWeightValue5.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
this.labelWeightValue5.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelWeightValue5.InitVisible = true;
|
this.labelWeightValue5.InitVisible = true;
|
||||||
this.labelWeightValue5.LineSpacing = 0F;
|
this.labelWeightValue5.LineSpacing = 0F;
|
||||||
this.labelWeightValue5.Location = new System.Drawing.Point(678, 360);
|
this.labelWeightValue5.Location = new System.Drawing.Point(678, 360);
|
||||||
|
@ -267,7 +267,7 @@
|
||||||
this.labelWeightValue4.BackPictureBox2 = null;
|
this.labelWeightValue4.BackPictureBox2 = null;
|
||||||
this.labelWeightValue4.BorderColor = System.Drawing.Color.Black;
|
this.labelWeightValue4.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelWeightValue4.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelWeightValue4.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelWeightValue4.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
this.labelWeightValue4.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelWeightValue4.InitVisible = true;
|
this.labelWeightValue4.InitVisible = true;
|
||||||
this.labelWeightValue4.LineSpacing = 0F;
|
this.labelWeightValue4.LineSpacing = 0F;
|
||||||
this.labelWeightValue4.Location = new System.Drawing.Point(580, 360);
|
this.labelWeightValue4.Location = new System.Drawing.Point(580, 360);
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
this.labelWeightValue3.BackPictureBox2 = null;
|
this.labelWeightValue3.BackPictureBox2 = null;
|
||||||
this.labelWeightValue3.BorderColor = System.Drawing.Color.Black;
|
this.labelWeightValue3.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelWeightValue3.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelWeightValue3.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelWeightValue3.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
this.labelWeightValue3.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelWeightValue3.InitVisible = true;
|
this.labelWeightValue3.InitVisible = true;
|
||||||
this.labelWeightValue3.LineSpacing = 0F;
|
this.labelWeightValue3.LineSpacing = 0F;
|
||||||
this.labelWeightValue3.Location = new System.Drawing.Point(482, 360);
|
this.labelWeightValue3.Location = new System.Drawing.Point(482, 360);
|
||||||
|
@ -307,7 +307,7 @@
|
||||||
this.labelWeightValue2.BackPictureBox2 = null;
|
this.labelWeightValue2.BackPictureBox2 = null;
|
||||||
this.labelWeightValue2.BorderColor = System.Drawing.Color.Black;
|
this.labelWeightValue2.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelWeightValue2.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelWeightValue2.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelWeightValue2.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
this.labelWeightValue2.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelWeightValue2.InitVisible = true;
|
this.labelWeightValue2.InitVisible = true;
|
||||||
this.labelWeightValue2.LineSpacing = 0F;
|
this.labelWeightValue2.LineSpacing = 0F;
|
||||||
this.labelWeightValue2.Location = new System.Drawing.Point(384, 360);
|
this.labelWeightValue2.Location = new System.Drawing.Point(384, 360);
|
||||||
|
@ -327,7 +327,7 @@
|
||||||
this.labelWeightValue1.BackPictureBox2 = null;
|
this.labelWeightValue1.BackPictureBox2 = null;
|
||||||
this.labelWeightValue1.BorderColor = System.Drawing.Color.Black;
|
this.labelWeightValue1.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelWeightValue1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelWeightValue1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelWeightValue1.Font = new System.Drawing.Font("Arial", 18F, System.Drawing.FontStyle.Bold);
|
this.labelWeightValue1.Font = new System.Drawing.Font("Arial", 20F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelWeightValue1.InitVisible = true;
|
this.labelWeightValue1.InitVisible = true;
|
||||||
this.labelWeightValue1.LineSpacing = 0F;
|
this.labelWeightValue1.LineSpacing = 0F;
|
||||||
this.labelWeightValue1.Location = new System.Drawing.Point(286, 360);
|
this.labelWeightValue1.Location = new System.Drawing.Point(286, 360);
|
||||||
|
|
|
@ -1554,15 +1554,23 @@ namespace INT63DC_6CH
|
||||||
private int m_PassCount;
|
private int m_PassCount;
|
||||||
private int m_OverCount;
|
private int m_OverCount;
|
||||||
private int m_ExNGCount;
|
private int m_ExNGCount;
|
||||||
|
private double m_Weight;
|
||||||
|
private DataStore.JudgmentStatus m_JudgmentStatus;
|
||||||
|
private DataStore.WeightStatus m_Status;
|
||||||
|
|
||||||
private int m_ProductionSpeed;
|
private int m_ProductionSpeed;
|
||||||
|
|
||||||
|
private int PreviousTimeTickCount;
|
||||||
|
private bool m_IsStart;
|
||||||
|
|
||||||
private string m_WeightString;
|
private string m_WeightString;
|
||||||
private string m_Sign;
|
|
||||||
private DataStore.WeightStatus m_Status;
|
|
||||||
private DataStore.JudgmentStatus m_JudgmentStatus;
|
|
||||||
|
|
||||||
private bool m_IsBypassMode;
|
private bool m_IsBypassMode;
|
||||||
|
|
||||||
|
private bool m_IsOPT1;
|
||||||
|
|
||||||
private bool m_IsSamplingData;
|
private bool m_IsSamplingData;
|
||||||
|
|
||||||
private ushort m_UpdateCount;
|
private ushort m_UpdateCount;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -1639,54 +1647,26 @@ namespace INT63DC_6CH
|
||||||
get { return this.m_ExNGCount; }
|
get { return this.m_ExNGCount; }
|
||||||
set { this.m_ExNGCount = value; }
|
set { this.m_ExNGCount = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int TotalNGCount
|
public int TotalNGCount
|
||||||
{
|
{
|
||||||
get { return this.UnderCount + this.OverCount + this.ExNGCount; }
|
get { return this.UnderCount + this.OverCount + this.ExNGCount; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int TotalCount
|
public int TotalCount
|
||||||
{
|
{
|
||||||
get { return this.UnderCount + this.PassCount + this.OverCount + this.ExNGCount; }
|
get { return this.UnderCount + this.PassCount + this.OverCount + this.ExNGCount; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public int ProductionSpeed
|
|
||||||
{
|
|
||||||
get { return this.m_ProductionSpeed; }
|
|
||||||
set { this.m_ProductionSpeed = value; }
|
|
||||||
}
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 소수점 포함된 중량값
|
/// 소수점 포함된 중량값
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public double Weight
|
public double Weight
|
||||||
{
|
{
|
||||||
get
|
get { return this.m_Weight; }
|
||||||
{
|
set { this.m_Weight = value; }
|
||||||
double ret = 0.0;
|
}
|
||||||
|
|
||||||
ret = Helper.StringToWeight(this.WeightString, 3);
|
|
||||||
if (this.Sign == "-")
|
|
||||||
ret *= -1;
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/// <summary>
|
|
||||||
/// 소수점 없는 중량값
|
|
||||||
/// </summary>
|
|
||||||
public string WeightString
|
|
||||||
{
|
|
||||||
get { return this.m_WeightString; }
|
|
||||||
set { this.m_WeightString = value; }
|
|
||||||
}
|
|
||||||
public string Sign
|
|
||||||
{
|
|
||||||
get { return this.m_Sign; }
|
|
||||||
set { this.m_Sign = value; }
|
|
||||||
}
|
|
||||||
public DataStore.WeightStatus Status
|
|
||||||
{
|
|
||||||
get { return this.m_Status; }
|
|
||||||
set { this.m_Status = value; }
|
|
||||||
}
|
|
||||||
public DataStore.JudgmentStatus JudgmentStatus
|
public DataStore.JudgmentStatus JudgmentStatus
|
||||||
{
|
{
|
||||||
get { return this.m_JudgmentStatus; }
|
get { return this.m_JudgmentStatus; }
|
||||||
|
@ -1727,11 +1707,47 @@ namespace INT63DC_6CH
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public DataStore.WeightStatus Status
|
||||||
|
{
|
||||||
|
get { return this.m_Status; }
|
||||||
|
set { this.m_Status = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public int ProductionSpeed
|
||||||
|
{
|
||||||
|
get { return this.m_ProductionSpeed; }
|
||||||
|
set { this.m_ProductionSpeed = value; }
|
||||||
|
}
|
||||||
|
public bool IsStart
|
||||||
|
{
|
||||||
|
get { return this.m_IsStart; }
|
||||||
|
set { this.m_IsStart = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 소수점 없는 중량값
|
||||||
|
/// </summary>
|
||||||
|
public string WeightString
|
||||||
|
{
|
||||||
|
get { return this.m_WeightString; }
|
||||||
|
set { this.m_WeightString = value; }
|
||||||
|
}
|
||||||
|
|
||||||
public bool IsBypassMode
|
public bool IsBypassMode
|
||||||
{
|
{
|
||||||
get { return m_IsBypassMode; }
|
get { return m_IsBypassMode; }
|
||||||
set { m_IsBypassMode = value; }
|
set { m_IsBypassMode = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 스틱2모드에서 데이터 전송이 되었으면 true, 안되었으면 false
|
||||||
|
/// </summary>
|
||||||
|
public bool IsOPT1
|
||||||
|
{
|
||||||
|
get { return this.m_IsOPT1; }
|
||||||
|
set { this.m_IsOPT1 = value; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 샘플링 기능 설정 후 판정데이터가 샘플링 데이터이면 true
|
/// 샘플링 기능 설정 후 판정데이터가 샘플링 데이터이면 true
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1740,6 +1756,7 @@ namespace INT63DC_6CH
|
||||||
get { return this.m_IsSamplingData; }
|
get { return this.m_IsSamplingData; }
|
||||||
set { this.m_IsSamplingData = value; }
|
set { this.m_IsSamplingData = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public ushort UpdateCount
|
public ushort UpdateCount
|
||||||
{
|
{
|
||||||
get { return this.m_UpdateCount; }
|
get { return this.m_UpdateCount; }
|
||||||
|
@ -1763,16 +1780,35 @@ namespace INT63DC_6CH
|
||||||
this.PassCount = 0;
|
this.PassCount = 0;
|
||||||
this.OverCount = 0;
|
this.OverCount = 0;
|
||||||
this.ExNGCount = 0;
|
this.ExNGCount = 0;
|
||||||
|
this.Weight = 0.0;
|
||||||
|
this.JudgmentStatus = DataStore.JudgmentStatus.None;
|
||||||
this.ProductionSpeed = 0;
|
this.ProductionSpeed = 0;
|
||||||
this.WeightString = "0";
|
this.WeightString = "0";
|
||||||
this.Sign = "";
|
|
||||||
this.Status = DataStore.WeightStatus.WeightZero;
|
|
||||||
this.JudgmentStatus = DataStore.JudgmentStatus.None;
|
|
||||||
|
|
||||||
this.IsBypassMode = false;
|
this.IsBypassMode = false;
|
||||||
|
this.IsOPT1 = false;
|
||||||
this.IsSamplingData = false;
|
this.IsSamplingData = false;
|
||||||
this.UpdateCount = 0;
|
}
|
||||||
|
|
||||||
|
private void ProductionSpeedCalculation()
|
||||||
|
{
|
||||||
|
int currentTimeTickCount = 0, gap = 0;
|
||||||
|
double millisecond = 0.0, speed = 0.0;
|
||||||
|
|
||||||
|
if (this.IsStart == false)
|
||||||
|
{
|
||||||
|
this.PreviousTimeTickCount = Environment.TickCount & Int32.MaxValue;
|
||||||
|
this.IsStart = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
currentTimeTickCount = Environment.TickCount & Int32.MaxValue;
|
||||||
|
gap = Math.Abs(currentTimeTickCount - this.PreviousTimeTickCount);
|
||||||
|
millisecond = gap / 1000.0;
|
||||||
|
speed = 60 / millisecond;
|
||||||
|
this.ProductionSpeed = int.Parse(string.Format("{0:f0}", speed));
|
||||||
|
|
||||||
|
this.PreviousTimeTickCount = Environment.TickCount;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,6 +111,7 @@ namespace INT63DC_6CH.Forms
|
||||||
|
|
||||||
// Collection
|
// Collection
|
||||||
public Collection<WeightData> CollectionWeightData; // 열별 중량 데이터
|
public Collection<WeightData> CollectionWeightData; // 열별 중량 데이터
|
||||||
|
public Collection<WeightData> CollectionWeightDataTest; // 장비테스트모드 열별 중량 데이터
|
||||||
private Collection<int> CollectionGraphData; // 판정설정 그래프 데이터
|
private Collection<int> CollectionGraphData; // 판정설정 그래프 데이터
|
||||||
private Collection<string> CollectionIOTest_InputData; // IO Test Input 데이터 취합
|
private Collection<string> CollectionIOTest_InputData; // IO Test Input 데이터 취합
|
||||||
private Collection<string> CollectionIOTest_InputData1; // IO Test Input1 데이터 취합 확장보드
|
private Collection<string> CollectionIOTest_InputData1; // IO Test Input1 데이터 취합 확장보드
|
||||||
|
@ -275,22 +276,29 @@ namespace INT63DC_6CH.Forms
|
||||||
private void CreateCollection()
|
private void CreateCollection()
|
||||||
{
|
{
|
||||||
this.CollectionWeightData = new Collection<WeightData>();
|
this.CollectionWeightData = new Collection<WeightData>();
|
||||||
|
this.CollectionWeightDataTest = new Collection<WeightData>();
|
||||||
this.CollectionGraphData = new Collection<int>();
|
this.CollectionGraphData = new Collection<int>();
|
||||||
this.CollectionIOTest_InputData = new Collection<string>();
|
this.CollectionIOTest_InputData = new Collection<string>();
|
||||||
this.CollectionIOTest_InputData1 = new Collection<string>();
|
this.CollectionIOTest_InputData1 = new Collection<string>();
|
||||||
this.CollectionProductName = new Collection<string>();
|
this.CollectionProductName = new Collection<string>();
|
||||||
|
|
||||||
this.CollectionWeightData.Clear();
|
this.CollectionWeightData.Clear();
|
||||||
|
this.CollectionWeightDataTest.Clear();
|
||||||
this.CollectionGraphData.Clear();
|
this.CollectionGraphData.Clear();
|
||||||
this.CollectionIOTest_InputData.Clear();
|
this.CollectionIOTest_InputData.Clear();
|
||||||
this.CollectionIOTest_InputData1.Clear();
|
this.CollectionIOTest_InputData1.Clear();
|
||||||
this.CollectionProductName.Clear();
|
this.CollectionProductName.Clear();
|
||||||
|
|
||||||
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
||||||
|
{
|
||||||
this.CollectionWeightData.Add(new WeightData());
|
this.CollectionWeightData.Add(new WeightData());
|
||||||
|
this.CollectionWeightDataTest.Add(new WeightData());
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < 100; i++)
|
for (int i = 0; i < 100; i++)
|
||||||
|
{
|
||||||
this.CollectionGraphData.Add(0);
|
this.CollectionGraphData.Add(0);
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 0; i < 16; i++)
|
for (int i = 0; i < 16; i++)
|
||||||
{
|
{
|
||||||
|
@ -495,7 +503,7 @@ namespace INT63DC_6CH.Forms
|
||||||
|
|
||||||
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9054_ParameterSystem, sb.ToString());
|
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9054_ParameterSystem, sb.ToString());
|
||||||
}
|
}
|
||||||
private void TransferProductParameter(int productNumber)
|
private void TransferProductParameter1(int productNumber)
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
ProductItem pItem = new ProductItem();
|
ProductItem pItem = new ProductItem();
|
||||||
|
@ -534,8 +542,6 @@ namespace INT63DC_6CH.Forms
|
||||||
{
|
{
|
||||||
this.ProductChangNumber = productNumber;
|
this.ProductChangNumber = productNumber;
|
||||||
|
|
||||||
this.TransferProductParameter(this.ProductChangNumber);
|
|
||||||
|
|
||||||
this.FlagTimeoutCount = 0;
|
this.FlagTimeoutCount = 0;
|
||||||
this.timerTimeout.Enabled = true;
|
this.timerTimeout.Enabled = true;
|
||||||
}
|
}
|
||||||
|
@ -886,6 +892,7 @@ namespace INT63DC_6CH.Forms
|
||||||
foreach (WeightData data in this.CollectionWeightData)
|
foreach (WeightData data in this.CollectionWeightData)
|
||||||
{
|
{
|
||||||
data.ProductionSpeed = 0;
|
data.ProductionSpeed = 0;
|
||||||
|
data.IsStart = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.ChildFormMainDisplay != null)
|
if (this.ChildFormMainDisplay != null)
|
||||||
|
@ -901,7 +908,9 @@ namespace INT63DC_6CH.Forms
|
||||||
|
|
||||||
// 운전시 중량 0 으로 Clear
|
// 운전시 중량 0 으로 Clear
|
||||||
foreach (WeightData data in this.CollectionWeightData)
|
foreach (WeightData data in this.CollectionWeightData)
|
||||||
data.WeightString = "0";
|
{
|
||||||
|
data.Weight = 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.ChildFormMainDisplay != null)
|
if (this.ChildFormMainDisplay != null)
|
||||||
this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.EquipmentStatus);
|
this.ChildFormMainDisplay.UpdateEquipmentStatusDisplay(this.EquipmentStatus);
|
||||||
|
@ -925,6 +934,7 @@ namespace INT63DC_6CH.Forms
|
||||||
foreach (WeightData data in this.CollectionWeightData)
|
foreach (WeightData data in this.CollectionWeightData)
|
||||||
{
|
{
|
||||||
data.ProductionSpeed = 0;
|
data.ProductionSpeed = 0;
|
||||||
|
data.IsStart = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Respone
|
// Respone
|
||||||
|
@ -1121,6 +1131,7 @@ namespace INT63DC_6CH.Forms
|
||||||
foreach (WeightData data in this.CollectionWeightData)
|
foreach (WeightData data in this.CollectionWeightData)
|
||||||
{
|
{
|
||||||
data.ProductionSpeed = 0;
|
data.ProductionSpeed = 0;
|
||||||
|
data.IsStart = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormMainDisplay)
|
if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormMainDisplay)
|
||||||
|
@ -1223,19 +1234,20 @@ namespace INT63DC_6CH.Forms
|
||||||
{
|
{
|
||||||
case "Z":
|
case "Z":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
|
if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormMainDisplay)
|
||||||
|
{
|
||||||
if (this.SystemConfig.IsWeightViewForward == true)
|
if (this.SystemConfig.IsWeightViewForward == true)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
||||||
{
|
{
|
||||||
if (this.EquipmentStatus == DataStore.EquipmentStatus.Stop)
|
if (this.EquipmentStatus == DataStore.EquipmentStatus.Stop)
|
||||||
{
|
{
|
||||||
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 10, 2));
|
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 9, 2));
|
||||||
this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
|
this.CollectionWeightData[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 3, 7);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 10, 2));
|
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 9, 2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1245,13 +1257,32 @@ namespace INT63DC_6CH.Forms
|
||||||
{
|
{
|
||||||
if (this.EquipmentStatus == DataStore.EquipmentStatus.Stop)
|
if (this.EquipmentStatus == DataStore.EquipmentStatus.Stop)
|
||||||
{
|
{
|
||||||
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Status = Helper.StringToWeightStatus(receiveData.Substring((i - 1) * 10, 2));
|
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Status = Helper.StringToWeightStatus(receiveData.Substring((i-1) * 9, 2));
|
||||||
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Sign = receiveData.Substring((i - 1) * 10 + 2, 1);
|
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Weight = Helper.StringToWeight(receiveData.Substring((i - 1) * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].WeightString = receiveData.Substring((i - 1) * 10 + 3, 7);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Status = Helper.StringToWeightStatus(receiveData.Substring((i - 1) * 10, 2));
|
this.CollectionWeightData[this.SystemConfig.EquipmentColumns - i].Status = Helper.StringToWeightStatus(receiveData.Substring((i - 1) * 9, 2));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormEquipmentTest)
|
||||||
|
{
|
||||||
|
if (this.SystemConfig.IsWeightViewForward == true)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
||||||
|
{
|
||||||
|
this.CollectionWeightDataTest[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 9, 2));
|
||||||
|
this.CollectionWeightDataTest[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for (int i = 1; i <= this.SystemConfig.EquipmentColumns; i++)
|
||||||
|
{
|
||||||
|
this.CollectionWeightDataTest[this.SystemConfig.EquipmentColumns - i].Status = Helper.StringToWeightStatus(receiveData.Substring((i - 1) * 9, 2));
|
||||||
|
this.CollectionWeightDataTest[this.SystemConfig.EquipmentColumns - i].Weight = Helper.StringToWeight(receiveData.Substring((i - 1) * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1261,6 +1292,11 @@ namespace INT63DC_6CH.Forms
|
||||||
if (this.ChildFormMainDisplay != null)
|
if (this.ChildFormMainDisplay != null)
|
||||||
this.ChildFormMainDisplay.UpdateStopWeightDisplay(this.EquipmentStatus, this.CollectionWeightData);
|
this.ChildFormMainDisplay.UpdateStopWeightDisplay(this.EquipmentStatus, this.CollectionWeightData);
|
||||||
}
|
}
|
||||||
|
else if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormEquipmentTest)
|
||||||
|
{
|
||||||
|
if (this.ChildFormEquipmentTest != null)
|
||||||
|
this.ChildFormEquipmentTest.UpdateStopWeightDisplay(this.EquipmentStatus, this.CollectionWeightDataTest);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -1301,21 +1337,61 @@ namespace INT63DC_6CH.Forms
|
||||||
//this.TransferDataRespone(CommunicationCommand.StartDataCMD, lane, transactionID, transferCNT, CommunicationAddress.ACK);
|
//this.TransferDataRespone(CommunicationCommand.StartDataCMD, lane, transactionID, transferCNT, CommunicationAddress.ACK);
|
||||||
//Application.DoEvents();
|
//Application.DoEvents();
|
||||||
|
|
||||||
//if (this.CurrentComRespone.TransactionID != transactionID)
|
if (this.CurrentComRespone.TransactionID != transactionID)
|
||||||
//{
|
{
|
||||||
// this.CurrentComRespone.TransactionID = transactionID;
|
this.CurrentComRespone.TransactionID = transactionID;
|
||||||
// this.CurrentComRespone.TransferCount = transferCNT;
|
this.CurrentComRespone.TransferCount = transferCNT;
|
||||||
|
|
||||||
|
if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormEquipmentTest)
|
||||||
|
{
|
||||||
|
#region FormEquipmentTest
|
||||||
if (this.SystemConfig.IsWeightViewForward == true)
|
if (this.SystemConfig.IsWeightViewForward == true)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
||||||
{
|
{
|
||||||
this.CollectionWeightData[i].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(i * 10, 2));
|
this.CollectionWeightDataTest[i].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(i * 9, 2));
|
||||||
this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
|
this.CollectionWeightDataTest[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 3, 7).Trim();
|
|
||||||
|
|
||||||
// SamplingData Check
|
// SamplingData Check
|
||||||
data = receiveData.Substring(i * 10, 2);
|
data = receiveData.Substring(i * 12, 2);
|
||||||
|
if (data == "sU" || data == "sO" || data == "sP" || data == "sT")
|
||||||
|
this.CollectionWeightDataTest[i].IsSamplingData = true;
|
||||||
|
else
|
||||||
|
this.CollectionWeightDataTest[i].IsSamplingData = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for (int i = 1; i <= this.SystemConfig.EquipmentColumns; i++)
|
||||||
|
{
|
||||||
|
this.CollectionWeightDataTest[this.CollectionWeightDataTest.Count - i].JudgmentStatus =
|
||||||
|
Helper.StringToJudgmentStatus(receiveData.Substring((i - 1) * 9, 2));
|
||||||
|
this.CollectionWeightDataTest[this.CollectionWeightDataTest.Count - i].Weight =
|
||||||
|
Helper.StringToWeight(receiveData.Substring((i - 1) * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
|
||||||
|
// SamplingData Check
|
||||||
|
data = receiveData.Substring((i - 1) * 9, 2);
|
||||||
|
if (data == "sU" || data == "sO" || data == "sP" || data == "sT")
|
||||||
|
this.CollectionWeightDataTest[this.CollectionWeightDataTest.Count - i].IsSamplingData = true;
|
||||||
|
else
|
||||||
|
this.CollectionWeightDataTest[this.CollectionWeightDataTest.Count - i].IsSamplingData = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#region FormMainDisplay
|
||||||
|
if (this.SystemConfig.IsWeightViewForward == true)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
||||||
|
{
|
||||||
|
this.CollectionWeightData[i].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring(i * 9, 2));
|
||||||
|
this.CollectionWeightData[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 9 + 2, 7).Trim();
|
||||||
|
|
||||||
|
// SamplingData Check
|
||||||
|
data = receiveData.Substring(i * 9, 2);
|
||||||
if (data == "sU" || data == "sO" || data == "sP" || data == "sT")
|
if (data == "sU" || data == "sO" || data == "sP" || data == "sT")
|
||||||
this.CollectionWeightData[i].IsSamplingData = true;
|
this.CollectionWeightData[i].IsSamplingData = true;
|
||||||
else
|
else
|
||||||
|
@ -1340,12 +1416,14 @@ namespace INT63DC_6CH.Forms
|
||||||
{
|
{
|
||||||
for (int i = 1; i <= this.SystemConfig.EquipmentColumns; i++)
|
for (int i = 1; i <= this.SystemConfig.EquipmentColumns; i++)
|
||||||
{
|
{
|
||||||
this.CollectionWeightData[this.CollectionWeightData.Count - i].JudgmentStatus = Helper.StringToJudgmentStatus(receiveData.Substring((i - 1) * 10, 2));
|
this.CollectionWeightData[this.CollectionWeightData.Count - i].JudgmentStatus =
|
||||||
this.CollectionWeightData[this.CollectionWeightData.Count - i].Sign = receiveData.Substring((i - 1) * 10 + 2, 1);
|
Helper.StringToJudgmentStatus(receiveData.Substring((i - 1) * 9, 2));
|
||||||
this.CollectionWeightData[this.CollectionWeightData.Count - i].WeightString = receiveData.Substring((i - 1) * 10 + 3, 7).Trim();
|
this.CollectionWeightData[this.CollectionWeightData.Count - i].Weight =
|
||||||
|
Helper.StringToWeight(receiveData.Substring((i - 1) * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
this.CollectionWeightData[this.CollectionWeightData.Count - i].WeightString = receiveData.Substring((i - 1) * 9 + 2, 7).Trim();
|
||||||
|
|
||||||
// SamplingData Check
|
// SamplingData Check
|
||||||
data = receiveData.Substring((i - 1) * 10, 2);
|
data = receiveData.Substring((i - 1) * 9, 2);
|
||||||
if (data == "sU" || data == "sO" || data == "sP" || data == "sT")
|
if (data == "sU" || data == "sO" || data == "sP" || data == "sT")
|
||||||
this.CollectionWeightData[this.CollectionWeightData.Count - i].IsSamplingData = true;
|
this.CollectionWeightData[this.CollectionWeightData.Count - i].IsSamplingData = true;
|
||||||
else
|
else
|
||||||
|
@ -1377,6 +1455,8 @@ namespace INT63DC_6CH.Forms
|
||||||
this.CollectionWeightData[0].ProductionSpeed = 0;
|
this.CollectionWeightData[0].ProductionSpeed = 0;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormMainDisplay)
|
if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormMainDisplay)
|
||||||
{
|
{
|
||||||
|
@ -1418,6 +1498,13 @@ namespace INT63DC_6CH.Forms
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
else if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormEquipmentTest)
|
||||||
|
{
|
||||||
|
#region FormEquipmentTest
|
||||||
|
if (this.ChildFormEquipmentTest != null)
|
||||||
|
this.ChildFormEquipmentTest.UpdateStartWeightDisplay(this.EquipmentStatus, this.CollectionWeightDataTest);
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
else if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormSystemSetting)
|
else if (this.SystemConfig.CurrentForm == DataStore.FormStore.FormSystemSetting)
|
||||||
{
|
{
|
||||||
#region FormSystemSetting
|
#region FormSystemSetting
|
||||||
|
@ -1425,6 +1512,7 @@ namespace INT63DC_6CH.Forms
|
||||||
this.ChildFormSystemSetting.UpdateStartWeightDisplay(this.EquipmentStatus, this.CollectionWeightData);
|
this.ChildFormSystemSetting.UpdateStartWeightDisplay(this.EquipmentStatus, this.CollectionWeightData);
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -1448,9 +1536,8 @@ namespace INT63DC_6CH.Forms
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
||||||
{
|
{
|
||||||
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 10, 2));
|
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 9, 2));
|
||||||
this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
|
this.CollectionWeightData[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 3, 7);
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -1474,9 +1561,8 @@ namespace INT63DC_6CH.Forms
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
for (int i = 0; i < this.SystemConfig.EquipmentColumns; i++)
|
||||||
{
|
{
|
||||||
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 10, 2));
|
this.CollectionWeightData[i].Status = Helper.StringToWeightStatus(receiveData.Substring(i * 9, 2));
|
||||||
this.CollectionWeightData[i].Sign = receiveData.Substring(i * 10 + 2, 1);
|
this.CollectionWeightData[i].Weight = Helper.StringToWeight(receiveData.Substring(i * 9 + 2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
this.CollectionWeightData[i].WeightString = receiveData.Substring(i * 10 + 3, 7);
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -1492,13 +1578,15 @@ namespace INT63DC_6CH.Forms
|
||||||
// 판정설정 그래프
|
// 판정설정 그래프
|
||||||
private int ReceiveCommandSG0(string lane, string receiveData)
|
private int ReceiveCommandSG0(string lane, string receiveData)
|
||||||
{
|
{
|
||||||
int ret = 0, temp = 10;
|
int ret = 0, temp = 20;
|
||||||
|
string time1 = "";
|
||||||
|
|
||||||
switch (lane)
|
switch (lane)
|
||||||
{
|
{
|
||||||
case "A":
|
case "A":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[0].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[0].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1508,11 +1596,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[0], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[0], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "B":
|
case "B":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[1].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[1].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1522,11 +1611,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[1], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[1], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "C":
|
case "C":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[2].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[2].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1536,11 +1626,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[2], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[2], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "D":
|
case "D":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[3].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[3].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1550,11 +1641,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[3], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[3], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "E":
|
case "E":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[4].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[4].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1564,11 +1656,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[4], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[4], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "F":
|
case "F":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[5].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[5].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1578,11 +1671,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[5], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[5], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "G":
|
case "G":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[6].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[6].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1592,11 +1686,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[6], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[6], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "H":
|
case "H":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[7].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[7].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1606,11 +1701,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[7], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[7], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "I":
|
case "I":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[8].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[8].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1620,11 +1716,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[8], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[8], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "J":
|
case "J":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[9].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[9].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1634,11 +1731,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[9], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[9], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "K":
|
case "K":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[10].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[10].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1648,11 +1746,12 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[10], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[10], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
case "L":
|
case "L":
|
||||||
#region Value Assign
|
#region Value Assign
|
||||||
this.CollectionWeightData[11].WeightString = receiveData.Substring(3, 7);
|
this.CollectionWeightData[11].Weight = Helper.StringToWeight(receiveData.Substring(2, 7), this.SystemConfig.DecimalPlaces);
|
||||||
|
time1 = receiveData.Substring(9, 4);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
for (int i = 0; i < this.CollectionGraphData.Count; i++)
|
||||||
{
|
{
|
||||||
|
@ -1662,7 +1761,7 @@ namespace INT63DC_6CH.Forms
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
if (this.ChildFormSystemSetting != null)
|
if (this.ChildFormSystemSetting != null)
|
||||||
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[11], this.CollectionGraphData);
|
this.ChildFormSystemSetting.UpdateGraphDataDisplay(this.EquipmentStatus, this.CollectionWeightData[11], this.CollectionGraphData, time1);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -4578,7 +4677,7 @@ namespace INT63DC_6CH.Forms
|
||||||
this.CurrentProductItem.UnderRange = this.Current40000ModbusData._40018_UnderRange.ToString();
|
this.CurrentProductItem.UnderRange = this.Current40000ModbusData._40018_UnderRange.ToString();
|
||||||
|
|
||||||
this.SaveProductFile(this.CurrentProductItem, this.SystemConfig.ProductNumber - 1);
|
this.SaveProductFile(this.CurrentProductItem, this.SystemConfig.ProductNumber - 1);
|
||||||
this.TransferProductParameter(this.SystemConfig.ProductNumber);
|
this.TransferProductParameter1(this.SystemConfig.ProductNumber);
|
||||||
|
|
||||||
this.Update30000ModbusData();
|
this.Update30000ModbusData();
|
||||||
this.ModbusCommonDataSend();
|
this.ModbusCommonDataSend();
|
||||||
|
@ -4628,7 +4727,7 @@ namespace INT63DC_6CH.Forms
|
||||||
this.CurrentProductItem.PassRange = this.Current40000ModbusData._40021_PassRange.ToString();
|
this.CurrentProductItem.PassRange = this.Current40000ModbusData._40021_PassRange.ToString();
|
||||||
|
|
||||||
this.SaveProductFile(this.CurrentProductItem, this.SystemConfig.ProductNumber - 1);
|
this.SaveProductFile(this.CurrentProductItem, this.SystemConfig.ProductNumber - 1);
|
||||||
this.TransferProductParameter(this.SystemConfig.ProductNumber);
|
this.TransferProductParameter1(this.SystemConfig.ProductNumber);
|
||||||
|
|
||||||
this.Update30000ModbusData();
|
this.Update30000ModbusData();
|
||||||
this.ModbusCommonDataSend();
|
this.ModbusCommonDataSend();
|
||||||
|
@ -4675,7 +4774,7 @@ namespace INT63DC_6CH.Forms
|
||||||
this.CurrentProductItem.OverRange = this.Current40000ModbusData._40024_OverRange.ToString();
|
this.CurrentProductItem.OverRange = this.Current40000ModbusData._40024_OverRange.ToString();
|
||||||
|
|
||||||
this.SaveProductFile(this.CurrentProductItem, this.SystemConfig.ProductNumber - 1);
|
this.SaveProductFile(this.CurrentProductItem, this.SystemConfig.ProductNumber - 1);
|
||||||
this.TransferProductParameter(this.SystemConfig.ProductNumber);
|
this.TransferProductParameter1(this.SystemConfig.ProductNumber);
|
||||||
|
|
||||||
this.Update30000ModbusData();
|
this.Update30000ModbusData();
|
||||||
this.ModbusCommonDataSend();
|
this.ModbusCommonDataSend();
|
||||||
|
@ -4722,7 +4821,7 @@ namespace INT63DC_6CH.Forms
|
||||||
this.CurrentProductItem.TareRange = this.Current40000ModbusData._40027_TareWeight.ToString();
|
this.CurrentProductItem.TareRange = this.Current40000ModbusData._40027_TareWeight.ToString();
|
||||||
|
|
||||||
this.SaveProductFile(this.CurrentProductItem, this.SystemConfig.ProductNumber - 1);
|
this.SaveProductFile(this.CurrentProductItem, this.SystemConfig.ProductNumber - 1);
|
||||||
this.TransferProductParameter(this.SystemConfig.ProductNumber);
|
this.TransferProductParameter1(this.SystemConfig.ProductNumber);
|
||||||
|
|
||||||
this.Update30000ModbusData();
|
this.Update30000ModbusData();
|
||||||
this.ModbusCommonDataSend();
|
this.ModbusCommonDataSend();
|
||||||
|
@ -6943,7 +7042,6 @@ namespace INT63DC_6CH.Forms
|
||||||
this.TrasferSystemParameter(this.SystemConfig);
|
this.TrasferSystemParameter(this.SystemConfig);
|
||||||
|
|
||||||
// User List Timer
|
// User List Timer
|
||||||
if (this.SystemConfig.IsLogin == true)
|
|
||||||
this.timerUserList.Enabled = true;
|
this.timerUserList.Enabled = true;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -6990,7 +7088,7 @@ namespace INT63DC_6CH.Forms
|
||||||
this.ChildFormSystemSetting.UpdateDisplayProductChangeInfo(this.FlagTimeoutCount);
|
this.ChildFormSystemSetting.UpdateDisplayProductChangeInfo(this.FlagTimeoutCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.TransferProductParameter(this.SystemConfig.ProductNumber);
|
this.TransferProductParameter1(this.SystemConfig.ProductNumber);
|
||||||
|
|
||||||
this.FlagTimeoutCount++;
|
this.FlagTimeoutCount++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -139,22 +139,22 @@
|
||||||
<value>899, 17</value>
|
<value>899, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="smartModbus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="smartModbus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 56</value>
|
<value>1026, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="timerEmergencyStop.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="timerEmergencyStop.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>146, 56</value>
|
<value>1155, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="timerEquipmentStatus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="timerEquipmentStatus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>314, 56</value>
|
<value>17, 56</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="smartTCPMultiServer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="smartTCPMultiServer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>489, 56</value>
|
<value>192, 56</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="timerUserList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="timerUserList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>657, 56</value>
|
<value>360, 56</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="smartSerialPortLink.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="smartSerialPortLink.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>781, 56</value>
|
<value>484, 56</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
|
<metadata name="$this.FormFactorShadowProperty" xml:space="preserve">
|
||||||
<value>WEBPAD</value>
|
<value>WEBPAD</value>
|
||||||
|
|
|
@ -721,7 +721,6 @@
|
||||||
this.groupBoxJudgmentSetting.TabIndex = 249;
|
this.groupBoxJudgmentSetting.TabIndex = 249;
|
||||||
this.groupBoxJudgmentSetting.Text = "판정설정";
|
this.groupBoxJudgmentSetting.Text = "판정설정";
|
||||||
this.groupBoxJudgmentSetting.TextColor = System.Drawing.Color.White;
|
this.groupBoxJudgmentSetting.TextColor = System.Drawing.Color.White;
|
||||||
this.groupBoxJudgmentSetting.Visible = false;
|
|
||||||
//
|
//
|
||||||
// labelTurnDelayTime
|
// labelTurnDelayTime
|
||||||
//
|
//
|
||||||
|
@ -734,7 +733,7 @@
|
||||||
this.labelTurnDelayTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
|
this.labelTurnDelayTime.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelTurnDelayTime.InitVisible = true;
|
this.labelTurnDelayTime.InitVisible = true;
|
||||||
this.labelTurnDelayTime.LineSpacing = 0F;
|
this.labelTurnDelayTime.LineSpacing = 0F;
|
||||||
this.labelTurnDelayTime.Location = new System.Drawing.Point(215, 57);
|
this.labelTurnDelayTime.Location = new System.Drawing.Point(215, 93);
|
||||||
this.labelTurnDelayTime.Name = "labelTurnDelayTime";
|
this.labelTurnDelayTime.Name = "labelTurnDelayTime";
|
||||||
this.labelTurnDelayTime.Size = new System.Drawing.Size(60, 30);
|
this.labelTurnDelayTime.Size = new System.Drawing.Size(60, 30);
|
||||||
this.labelTurnDelayTime.TabIndex = 251;
|
this.labelTurnDelayTime.TabIndex = 251;
|
||||||
|
@ -756,7 +755,7 @@
|
||||||
this.labelStaticTurnDelayTime.ForeColor = System.Drawing.Color.White;
|
this.labelStaticTurnDelayTime.ForeColor = System.Drawing.Color.White;
|
||||||
this.labelStaticTurnDelayTime.InitVisible = true;
|
this.labelStaticTurnDelayTime.InitVisible = true;
|
||||||
this.labelStaticTurnDelayTime.LineSpacing = 0F;
|
this.labelStaticTurnDelayTime.LineSpacing = 0F;
|
||||||
this.labelStaticTurnDelayTime.Location = new System.Drawing.Point(19, 57);
|
this.labelStaticTurnDelayTime.Location = new System.Drawing.Point(19, 93);
|
||||||
this.labelStaticTurnDelayTime.Name = "labelStaticTurnDelayTime";
|
this.labelStaticTurnDelayTime.Name = "labelStaticTurnDelayTime";
|
||||||
this.labelStaticTurnDelayTime.Size = new System.Drawing.Size(190, 30);
|
this.labelStaticTurnDelayTime.Size = new System.Drawing.Size(190, 30);
|
||||||
this.labelStaticTurnDelayTime.TabIndex = 250;
|
this.labelStaticTurnDelayTime.TabIndex = 250;
|
||||||
|
@ -777,7 +776,7 @@
|
||||||
this.labelStaticJudgmentCount.ForeColor = System.Drawing.Color.White;
|
this.labelStaticJudgmentCount.ForeColor = System.Drawing.Color.White;
|
||||||
this.labelStaticJudgmentCount.InitVisible = true;
|
this.labelStaticJudgmentCount.InitVisible = true;
|
||||||
this.labelStaticJudgmentCount.LineSpacing = 0F;
|
this.labelStaticJudgmentCount.LineSpacing = 0F;
|
||||||
this.labelStaticJudgmentCount.Location = new System.Drawing.Point(19, 93);
|
this.labelStaticJudgmentCount.Location = new System.Drawing.Point(19, 57);
|
||||||
this.labelStaticJudgmentCount.Name = "labelStaticJudgmentCount";
|
this.labelStaticJudgmentCount.Name = "labelStaticJudgmentCount";
|
||||||
this.labelStaticJudgmentCount.Size = new System.Drawing.Size(190, 30);
|
this.labelStaticJudgmentCount.Size = new System.Drawing.Size(190, 30);
|
||||||
this.labelStaticJudgmentCount.TabIndex = 242;
|
this.labelStaticJudgmentCount.TabIndex = 242;
|
||||||
|
@ -839,7 +838,7 @@
|
||||||
this.labelJudgmentCount.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
|
this.labelJudgmentCount.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelJudgmentCount.InitVisible = true;
|
this.labelJudgmentCount.InitVisible = true;
|
||||||
this.labelJudgmentCount.LineSpacing = 0F;
|
this.labelJudgmentCount.LineSpacing = 0F;
|
||||||
this.labelJudgmentCount.Location = new System.Drawing.Point(215, 93);
|
this.labelJudgmentCount.Location = new System.Drawing.Point(215, 57);
|
||||||
this.labelJudgmentCount.Name = "labelJudgmentCount";
|
this.labelJudgmentCount.Name = "labelJudgmentCount";
|
||||||
this.labelJudgmentCount.Size = new System.Drawing.Size(60, 30);
|
this.labelJudgmentCount.Size = new System.Drawing.Size(60, 30);
|
||||||
this.labelJudgmentCount.TabIndex = 245;
|
this.labelJudgmentCount.TabIndex = 245;
|
||||||
|
|
|
@ -2439,10 +2439,18 @@ namespace INT63DC_6CH.Forms
|
||||||
if (this.ParentForm.SystemConfig.IsLogin == true && this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Developer)
|
if (this.ParentForm.SystemConfig.IsLogin == true && this.ParentForm.SystemConfig.CurrentUser.Group == DataStore.UserGroup.Developer)
|
||||||
{
|
{
|
||||||
this.groupBoxJudgmentSetting.Visible = true;
|
this.groupBoxJudgmentSetting.Visible = true;
|
||||||
|
this.labelJudgmentDelayTime.Visible = true;
|
||||||
|
this.labelJudgmentCount.Visible = true;
|
||||||
|
this.labelStaticJudgmentDelayTime.Visible = true;
|
||||||
|
this.labelStaticJudgmentCount.Visible = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.groupBoxJudgmentSetting.Visible = false;
|
this.groupBoxJudgmentSetting.Visible = false;
|
||||||
|
this.labelJudgmentDelayTime.Visible = false;
|
||||||
|
this.labelJudgmentCount.Visible = false;
|
||||||
|
this.labelStaticJudgmentDelayTime.Visible = false;
|
||||||
|
this.labelStaticJudgmentCount.Visible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.panelSetting.BringToFront();
|
this.panelSetting.BringToFront();
|
||||||
|
|
|
@ -429,7 +429,7 @@ namespace INT63DC_6CH.Forms
|
||||||
if (this.labelWeightJudgment.Text != value)
|
if (this.labelWeightJudgment.Text != value)
|
||||||
this.labelWeightJudgment.Text = value;
|
this.labelWeightJudgment.Text = value;
|
||||||
}
|
}
|
||||||
public void UpdateGraphDataDisplay(DataStore.EquipmentStatus status, WeightData weightData, Collection<int> values)
|
public void UpdateGraphDataDisplay(DataStore.EquipmentStatus status, WeightData weightData, Collection<int> values, string time1)
|
||||||
{
|
{
|
||||||
int iValue = 0, temp = 0, inputValue = 0;
|
int iValue = 0, temp = 0, inputValue = 0;
|
||||||
string sValue = "";
|
string sValue = "";
|
||||||
|
|
|
@ -50,11 +50,11 @@
|
||||||
<Reference Include="mscorlib" />
|
<Reference Include="mscorlib" />
|
||||||
<Reference Include="SmartXCommon, Version=3.2.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SmartXCommon, Version=3.2.4.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V3.2.4_20210120\SmartX3.2.4_IEC1000_DOTNETCF3.5수동설치파일\SmartXCommon.dll</HintPath>
|
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V3.2.4_V3대 마지막버전\SmartX3.2.4_IEC1000_DOTNETCF3.5수동설치파일\SmartXCommon.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="SmartX_IEC1000, Version=3.2.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SmartX_IEC1000, Version=3.2.4.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V3.2.4_20210120\SmartX3.2.4_IEC1000_DOTNETCF3.5수동설치파일\SmartX_IEC1000.dll</HintPath>
|
<HintPath>C:\Program Files (x86)\HNS\Embedded SmartX Component\V3.2.4_V3대 마지막버전\SmartX3.2.4_IEC1000_DOTNETCF3.5수동설치파일\SmartX_IEC1000.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue