Compare commits
No commits in common. "fc24c045a8af5b322c48dbf7b2d7732318c1eaee" and "471f0e81cc49c775e9c9df35c0933e017e341343" have entirely different histories.
fc24c045a8
...
471f0e81cc
|
@ -226,7 +226,6 @@
|
||||||
this.labelMotorChamber10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelMotorChamber10.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelMotorChamber10.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelMotorChamber10.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelMotorChamber10.Wordwrap = false;
|
this.labelMotorChamber10.Wordwrap = false;
|
||||||
this.labelMotorChamber10.Click += new System.EventHandler(this.labelMotorChamber10_Click);
|
|
||||||
//
|
//
|
||||||
// buttonMotorChamber10
|
// buttonMotorChamber10
|
||||||
//
|
//
|
||||||
|
@ -285,7 +284,6 @@
|
||||||
this.labelMotorChamber9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelMotorChamber9.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelMotorChamber9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelMotorChamber9.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelMotorChamber9.Wordwrap = false;
|
this.labelMotorChamber9.Wordwrap = false;
|
||||||
this.labelMotorChamber9.Click += new System.EventHandler(this.labelMotorChamber9_Click);
|
|
||||||
//
|
//
|
||||||
// labelMotorChamber8
|
// labelMotorChamber8
|
||||||
//
|
//
|
||||||
|
@ -309,7 +307,6 @@
|
||||||
this.labelMotorChamber8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelMotorChamber8.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelMotorChamber8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelMotorChamber8.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelMotorChamber8.Wordwrap = false;
|
this.labelMotorChamber8.Wordwrap = false;
|
||||||
this.labelMotorChamber8.Click += new System.EventHandler(this.labelMotorChamber8_Click);
|
|
||||||
//
|
//
|
||||||
// buttonMotorChamber9
|
// buttonMotorChamber9
|
||||||
//
|
//
|
||||||
|
@ -403,7 +400,6 @@
|
||||||
this.labelMotorChamber7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelMotorChamber7.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelMotorChamber7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelMotorChamber7.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelMotorChamber7.Wordwrap = false;
|
this.labelMotorChamber7.Wordwrap = false;
|
||||||
this.labelMotorChamber7.Click += new System.EventHandler(this.labelMotorChamber7_Click);
|
|
||||||
//
|
//
|
||||||
// labelMotorChamber6
|
// labelMotorChamber6
|
||||||
//
|
//
|
||||||
|
@ -427,7 +423,6 @@
|
||||||
this.labelMotorChamber6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelMotorChamber6.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelMotorChamber6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelMotorChamber6.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelMotorChamber6.Wordwrap = false;
|
this.labelMotorChamber6.Wordwrap = false;
|
||||||
this.labelMotorChamber6.Click += new System.EventHandler(this.labelMotorChamber6_Click);
|
|
||||||
//
|
//
|
||||||
// buttonMotorChamber7
|
// buttonMotorChamber7
|
||||||
//
|
//
|
||||||
|
@ -521,7 +516,6 @@
|
||||||
this.labelMotorChamber5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelMotorChamber5.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelMotorChamber5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelMotorChamber5.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelMotorChamber5.Wordwrap = false;
|
this.labelMotorChamber5.Wordwrap = false;
|
||||||
this.labelMotorChamber5.Click += new System.EventHandler(this.labelMotorChamber5_Click);
|
|
||||||
//
|
//
|
||||||
// buttonMotorChamber5
|
// buttonMotorChamber5
|
||||||
//
|
//
|
||||||
|
@ -580,7 +574,6 @@
|
||||||
this.labelMotorChamber4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelMotorChamber4.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelMotorChamber4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelMotorChamber4.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelMotorChamber4.Wordwrap = false;
|
this.labelMotorChamber4.Wordwrap = false;
|
||||||
this.labelMotorChamber4.Click += new System.EventHandler(this.labelMotorChamber4_Click);
|
|
||||||
//
|
//
|
||||||
// labelMotorChamber3
|
// labelMotorChamber3
|
||||||
//
|
//
|
||||||
|
@ -604,7 +597,6 @@
|
||||||
this.labelMotorChamber3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelMotorChamber3.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelMotorChamber3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelMotorChamber3.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelMotorChamber3.Wordwrap = false;
|
this.labelMotorChamber3.Wordwrap = false;
|
||||||
this.labelMotorChamber3.Click += new System.EventHandler(this.labelMotorChamber3_Click);
|
|
||||||
//
|
//
|
||||||
// buttonMotorChamber4
|
// buttonMotorChamber4
|
||||||
//
|
//
|
||||||
|
|
|
@ -589,7 +589,7 @@ namespace INT_PT002.Controls
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD2, myKeyPad.IntValue);
|
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD2, myKeyPad.IntValue);
|
||||||
before = myKeyPad.StringValue;
|
before = myKeyPad.StringValue;
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Origin, "", before, after);
|
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M1_Origin, "", before, after);
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
||||||
}
|
}
|
||||||
|
@ -597,9 +597,8 @@ namespace INT_PT002.Controls
|
||||||
}
|
}
|
||||||
private void labelMotorChamber1_Click(object sender, EventArgs e)
|
private void labelMotorChamber1_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string caption = "", before = "", after = "";
|
string caption = "Motor1 Front1", before = "", after = "";
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber1.Text);
|
|
||||||
before = this.labelMotorChamber1.Text;
|
before = this.labelMotorChamber1.Text;
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber1.Text, 7, 0, false);
|
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber1.Text, 7, 0, false);
|
||||||
|
|
||||||
|
@ -613,10 +612,10 @@ namespace INT_PT002.Controls
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD1, myKeyPad.IntValue, this.labelMotorChamber1);
|
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD16, myKeyPad.IntValue, this.labelMotorChamber1);
|
||||||
after = myKeyPad.StringValue;
|
after = myKeyPad.StringValue;
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber1, "", before, after);
|
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M1_Front1, "", before, after);
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
||||||
}
|
}
|
||||||
|
@ -624,9 +623,8 @@ namespace INT_PT002.Controls
|
||||||
}
|
}
|
||||||
private void labelMotorChamber2_Click(object sender, EventArgs e)
|
private void labelMotorChamber2_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
string caption = "", before = "", after = "";
|
string caption = "Motor1 Front2", before = "", after = "";
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber2.Text);
|
|
||||||
before = this.labelMotorChamber2.Text;
|
before = this.labelMotorChamber2.Text;
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber2.Text, 7, 0, false);
|
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber2.Text, 7, 0, false);
|
||||||
|
|
||||||
|
@ -640,226 +638,10 @@ namespace INT_PT002.Controls
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD2, myKeyPad.IntValue, this.labelMotorChamber2);
|
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD17, myKeyPad.IntValue, this.labelMotorChamber2);
|
||||||
after = myKeyPad.StringValue;
|
after = myKeyPad.StringValue;
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber2, "", before, after);
|
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M1_Front2, "", before, after);
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void labelMotorChamber3_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
string caption = "", before = "", after = "";
|
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber3.Text);
|
|
||||||
before = this.labelMotorChamber3.Text;
|
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber3.Text, 7, 0, false);
|
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
if (myKeyPad.doubleValue == 0)
|
|
||||||
{
|
|
||||||
// 입력범위를 확인하세요
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD3, myKeyPad.IntValue, this.labelMotorChamber2);
|
|
||||||
after = myKeyPad.StringValue;
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber3, "", before, after);
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void labelMotorChamber4_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
string caption = "", before = "", after = "";
|
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber4.Text);
|
|
||||||
before = this.labelMotorChamber4.Text;
|
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber4.Text, 7, 0, false);
|
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
if (myKeyPad.doubleValue == 0)
|
|
||||||
{
|
|
||||||
// 입력범위를 확인하세요
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD4, myKeyPad.IntValue, this.labelMotorChamber2);
|
|
||||||
after = myKeyPad.StringValue;
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber4, "", before, after);
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void labelMotorChamber5_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
string caption = "", before = "", after = "";
|
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber5.Text);
|
|
||||||
before = this.labelMotorChamber5.Text;
|
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber5.Text, 7, 0, false);
|
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
if (myKeyPad.doubleValue == 0)
|
|
||||||
{
|
|
||||||
// 입력범위를 확인하세요
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD5, myKeyPad.IntValue, this.labelMotorChamber2);
|
|
||||||
after = myKeyPad.StringValue;
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber5, "", before, after);
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void labelMotorChamber6_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
string caption = "", before = "", after = "";
|
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber6.Text);
|
|
||||||
before = this.labelMotorChamber6.Text;
|
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber6.Text, 7, 0, false);
|
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
if (myKeyPad.doubleValue == 0)
|
|
||||||
{
|
|
||||||
// 입력범위를 확인하세요
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD6, myKeyPad.IntValue, this.labelMotorChamber2);
|
|
||||||
after = myKeyPad.StringValue;
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber6, "", before, after);
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void labelMotorChamber7_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
string caption = "", before = "", after = "";
|
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber7.Text);
|
|
||||||
before = this.labelMotorChamber7.Text;
|
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber7.Text, 7, 0, false);
|
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
if (myKeyPad.doubleValue == 0)
|
|
||||||
{
|
|
||||||
// 입력범위를 확인하세요
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD7, myKeyPad.IntValue, this.labelMotorChamber2);
|
|
||||||
after = myKeyPad.StringValue;
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber7, "", before, after);
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void labelMotorChamber8_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
string caption = "", before = "", after = "";
|
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber8.Text);
|
|
||||||
before = this.labelMotorChamber8.Text;
|
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber8.Text, 7, 0, false);
|
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
if (myKeyPad.doubleValue == 0)
|
|
||||||
{
|
|
||||||
// 입력범위를 확인하세요
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD8, myKeyPad.IntValue, this.labelMotorChamber2);
|
|
||||||
after = myKeyPad.StringValue;
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber8, "", before, after);
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void labelMotorChamber9_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
string caption = "", before = "", after = "";
|
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber9.Text);
|
|
||||||
before = this.labelMotorChamber9.Text;
|
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber9.Text, 7, 0, false);
|
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
if (myKeyPad.doubleValue == 0)
|
|
||||||
{
|
|
||||||
// 입력범위를 확인하세요
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD9, myKeyPad.IntValue, this.labelMotorChamber2);
|
|
||||||
after = myKeyPad.StringValue;
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber9, "", before, after);
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
private void labelMotorChamber10_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
string caption = "", before = "", after = "";
|
|
||||||
|
|
||||||
caption = string.Format("{0} Location", this.buttonMotorChamber10.Text);
|
|
||||||
before = this.labelMotorChamber10.Text;
|
|
||||||
DialogFormNumKeyPad myKeyPad = new DialogFormNumKeyPad(caption, this.labelMotorChamber10.Text, 7, 0, false);
|
|
||||||
|
|
||||||
if (myKeyPad.ShowDialog() == DialogResult.OK)
|
|
||||||
{
|
|
||||||
if (myKeyPad.doubleValue == 0)
|
|
||||||
{
|
|
||||||
// 입력범위를 확인하세요
|
|
||||||
DialogFormMessage myMsg = new DialogFormMessage(1, this.ParentForm.ParentForm.SystemConfig.LANGUAGE);
|
|
||||||
myMsg.ShowDialog();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite2(1, ServoMotorAddress.CMD10, myKeyPad.IntValue, this.labelMotorChamber2);
|
|
||||||
after = myKeyPad.StringValue;
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.M_Chamber10, "", before, after);
|
|
||||||
|
|
||||||
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
this.ParentForm.ParentForm.ServoMotorWrite1(1, ServoMotorAddress.SaveAllParameters, ServoMotorAddress.EEPROM);
|
||||||
}
|
}
|
||||||
|
|
|
@ -452,7 +452,7 @@ namespace INT_PT002.Controls
|
||||||
after = myKeypad.StringValue;
|
after = myKeypad.StringValue;
|
||||||
|
|
||||||
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
|
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard1, CommunicationAddress._5510_DispMinLevel, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5510_DispMinLevel, value);
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Disp_Min1, "", before, after);
|
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Disp_Min1, "", before, after);
|
||||||
}
|
}
|
||||||
|
@ -480,7 +480,7 @@ namespace INT_PT002.Controls
|
||||||
after = myKeypad.StringValue;
|
after = myKeypad.StringValue;
|
||||||
|
|
||||||
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
|
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard2, CommunicationAddress._5510_DispMinLevel, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5510_DispMinLevel, value);
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Disp_Min2, "", before, after);
|
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Disp_Min2, "", before, after);
|
||||||
}
|
}
|
||||||
|
@ -508,7 +508,7 @@ namespace INT_PT002.Controls
|
||||||
after = myKeypad.StringValue;
|
after = myKeypad.StringValue;
|
||||||
|
|
||||||
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
|
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard1, CommunicationAddress._5511_DispEmptyLevel, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5511_DispEmptyLevel, value);
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Disp_IPH1, "", before, after);
|
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Disp_IPH1, "", before, after);
|
||||||
}
|
}
|
||||||
|
@ -536,7 +536,7 @@ namespace INT_PT002.Controls
|
||||||
after = myKeypad.StringValue;
|
after = myKeypad.StringValue;
|
||||||
|
|
||||||
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
|
value = Helper.StringBlankFillDigits6(myKeypad.StringValue);
|
||||||
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard2, CommunicationAddress._5511_DispEmptyLevel, value);
|
this.ParentForm.ParentForm.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._5511_DispEmptyLevel, value);
|
||||||
|
|
||||||
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Disp_IPH2, "", before, after);
|
this.ParentForm.ParentForm.SetTrackingHistoryData(Define.E_TrackingParameter.Disp_IPH2, "", before, after);
|
||||||
}
|
}
|
||||||
|
|
|
@ -182,7 +182,7 @@ namespace INT_PT002.Controls
|
||||||
{
|
{
|
||||||
case Define.E_ProcessStatus._0_None:
|
case Define.E_ProcessStatus._0_None:
|
||||||
break;
|
break;
|
||||||
case Define.E_ProcessStatus._1_Ready:
|
case Define.E_ProcessStatus._1_Read:
|
||||||
this.labelProgress11.BackColor = this.ColorProgressOff;
|
this.labelProgress11.BackColor = this.ColorProgressOff;
|
||||||
this.labelProgress1.BackColor = this.ColorProgressOn;
|
this.labelProgress1.BackColor = this.ColorProgressOn;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -208,17 +208,11 @@ namespace INT_PT002.DataStore
|
||||||
Etc_EquipmentLane,
|
Etc_EquipmentLane,
|
||||||
Etc_CheckLane,
|
Etc_CheckLane,
|
||||||
|
|
||||||
M_Origin,
|
M1_Origin,
|
||||||
M_Chamber1,
|
M1_Front1,
|
||||||
M_Chamber2,
|
M1_Front2,
|
||||||
M_Chamber3,
|
M2_Origin,
|
||||||
M_Chamber4,
|
M2_Turn,
|
||||||
M_Chamber5,
|
|
||||||
M_Chamber6,
|
|
||||||
M_Chamber7,
|
|
||||||
M_Chamber8,
|
|
||||||
M_Chamber9,
|
|
||||||
M_Chamber10,
|
|
||||||
|
|
||||||
ProductNo,
|
ProductNo,
|
||||||
|
|
||||||
|
|
|
@ -25,10 +25,6 @@ namespace INT_PT002.DataStore
|
||||||
public static readonly int CMD1 = 18438;
|
public static readonly int CMD1 = 18438;
|
||||||
// CMD 2 - 0x480A
|
// CMD 2 - 0x480A
|
||||||
public static readonly int CMD2 = 18442;
|
public static readonly int CMD2 = 18442;
|
||||||
// CMD 3 - 0x480E
|
|
||||||
public static readonly int CMD3 = 18446;
|
|
||||||
// CMD 4 - 0x4812
|
|
||||||
public static readonly int CMD4 = 18450;
|
|
||||||
// CMD 5 - 0x4816
|
// CMD 5 - 0x4816
|
||||||
public static readonly int CMD5 = 18454;
|
public static readonly int CMD5 = 18454;
|
||||||
// CMD 6 - 0x481A
|
// CMD 6 - 0x481A
|
||||||
|
@ -37,8 +33,6 @@ namespace INT_PT002.DataStore
|
||||||
public static readonly int CMD7 = 18462;
|
public static readonly int CMD7 = 18462;
|
||||||
// CMD 8 - 0x4822
|
// CMD 8 - 0x4822
|
||||||
public static readonly int CMD8 = 18466;
|
public static readonly int CMD8 = 18466;
|
||||||
// CMD 9 - 0x4826
|
|
||||||
public static readonly int CMD9 = 18470;
|
|
||||||
// CMD 10 - 0x482A
|
// CMD 10 - 0x482A
|
||||||
public static readonly int CMD10 = 18474;
|
public static readonly int CMD10 = 18474;
|
||||||
// CMD 11 - 0x482E
|
// CMD 11 - 0x482E
|
||||||
|
|
|
@ -26,11 +26,11 @@ namespace INT_PT002.Forms
|
||||||
public bool IsCommunicationLogOpen;
|
public bool IsCommunicationLogOpen;
|
||||||
private int CommunicationCheckCount;
|
private int CommunicationCheckCount;
|
||||||
public int FlagAutomaticLogoutWarningTime;
|
public int FlagAutomaticLogoutWarningTime;
|
||||||
private bool ChangeModeRecipe;
|
|
||||||
|
|
||||||
// 로그온 색상
|
// 로그온 색상
|
||||||
public Color ColorLogOff;
|
public Color ColorLogOff;
|
||||||
public Color ColorLogOn;
|
public Color ColorLogOn;
|
||||||
|
|
||||||
private Color ColorButtonEnabled;
|
private Color ColorButtonEnabled;
|
||||||
private Color ColorButtonDisabled;
|
private Color ColorButtonDisabled;
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@ namespace INT_PT002.Forms
|
||||||
private string m_PathDataHistoryFolder;
|
private string m_PathDataHistoryFolder;
|
||||||
private string m_PathDataInspectionFolder;
|
private string m_PathDataInspectionFolder;
|
||||||
private string m_PathDataAlarmFolder;
|
private string m_PathDataAlarmFolder;
|
||||||
|
private static string m_PathBinFolder;
|
||||||
|
|
||||||
// UserGroup
|
// UserGroup
|
||||||
public UserGroup CurrentUserGroup;
|
public UserGroup CurrentUserGroup;
|
||||||
|
@ -51,25 +52,31 @@ namespace INT_PT002.Forms
|
||||||
public UpdateForMainBoard UpdateForMain;
|
public UpdateForMainBoard UpdateForMain;
|
||||||
// 현재 장비 상태
|
// 현재 장비 상태
|
||||||
public SystemStatus CurrentSystemStatus;
|
public SystemStatus CurrentSystemStatus;
|
||||||
|
|
||||||
// SystemConfiguration
|
// SystemConfiguration
|
||||||
public SystemConfiguration SystemConfig;
|
public SystemConfiguration SystemConfig;
|
||||||
|
|
||||||
// Current Recipe
|
// Current Recipe
|
||||||
public Recipe CurrentRecipe;
|
public Recipe CurrentRecipe;
|
||||||
|
|
||||||
// Leak Data
|
// Leak Data
|
||||||
private LeakData CurrentLeakData;
|
private LeakData CurrentLeakData;
|
||||||
private Collection<LeakData1> CurrentLeakDatas;
|
private Collection<LeakData1> CurrentLeakDatas;
|
||||||
|
|
||||||
// Dll User_Name List
|
// Dll User_Name List
|
||||||
public List<string> ListDllUserName;
|
public List<string> ListDllUserName;
|
||||||
|
|
||||||
// IO Test - input data
|
// IO Test - input data
|
||||||
private Collection<string> CollectionIOTest_InputData;
|
private Collection<string> CollectionIOTest_InputData;
|
||||||
|
|
||||||
// 장비 구동 상태
|
// 장비 구동 상태
|
||||||
private Define.E_EquipmentStatus m_EquipmentStatus;
|
private Define.E_EquipmentStatus m_EquipmentStatus;
|
||||||
|
|
||||||
// 알람
|
// 알람
|
||||||
private AlarmList CurrentAlarmList;
|
private AlarmList CurrentAlarmList;
|
||||||
|
|
||||||
// Modbus
|
// Modbus
|
||||||
public Modbus Modbus;
|
public Modbus Modbus;
|
||||||
// Loading Recipe
|
|
||||||
private Recipe LoadingRecipe;
|
|
||||||
|
|
||||||
// Modbus Data
|
// Modbus Data
|
||||||
public _30000_ModbusData Current30000ModbusData;
|
public _30000_ModbusData Current30000ModbusData;
|
||||||
|
@ -198,7 +205,6 @@ namespace INT_PT002.Forms
|
||||||
this.IsSmartFileIOOpen = false;
|
this.IsSmartFileIOOpen = false;
|
||||||
this.IsCommunicationLogOpen = false;
|
this.IsCommunicationLogOpen = false;
|
||||||
this.CommunicationCheckCount = 0;
|
this.CommunicationCheckCount = 0;
|
||||||
this.ChangeModeRecipe = false;
|
|
||||||
|
|
||||||
this.CurrentUserGroup = new UserGroup();
|
this.CurrentUserGroup = new UserGroup();
|
||||||
this.EquipmentStatus = Define.E_EquipmentStatus.Stop;
|
this.EquipmentStatus = Define.E_EquipmentStatus.Stop;
|
||||||
|
@ -251,7 +257,6 @@ namespace INT_PT002.Forms
|
||||||
this.CurrentSystemStatus = new SystemStatus();
|
this.CurrentSystemStatus = new SystemStatus();
|
||||||
this.SystemConfig = new SystemConfiguration();
|
this.SystemConfig = new SystemConfiguration();
|
||||||
this.CurrentRecipe = new Recipe();
|
this.CurrentRecipe = new Recipe();
|
||||||
this.LoadingRecipe = new Recipe();
|
|
||||||
this.UpdateForMain = new UpdateForMainBoard();
|
this.UpdateForMain = new UpdateForMainBoard();
|
||||||
|
|
||||||
this.ListDllUserName = new List<string>();
|
this.ListDllUserName = new List<string>();
|
||||||
|
@ -364,60 +369,30 @@ namespace INT_PT002.Forms
|
||||||
public void TransferRecipeParameter9043(int number)
|
public void TransferRecipeParameter9043(int number)
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
this.LoadingRecipe = new Recipe();
|
Recipe item = new Recipe();
|
||||||
|
|
||||||
this.ChangeModeRecipe = true;
|
this.LoadRecipeFile(ref item, number - 1);
|
||||||
this.LoadRecipeFile(ref this.LoadingRecipe, number - 1);
|
|
||||||
|
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.NUMBER.ToString()));
|
sb.Append(Helper.StringBlankFillDigits4(item.NUMBER.ToString()));
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_RELIEF.ToString()));
|
sb.Append(Helper.StringBlankFillDigits4(item.VACUUM_RELIEF.ToString()));
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_HOLD1.ToString()));
|
sb.Append(Helper.StringBlankFillDigits4(item.VACUUM_HOLD1.ToString()));
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_HOLD2.ToString()));
|
sb.Append(Helper.StringBlankFillDigits4(item.VACUUM_HOLD2.ToString()));
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.VACUUM_BLOWOFF.ToString()));
|
sb.Append(Helper.StringBlankFillDigits4(item.VACUUM_BLOWOFF.ToString()));
|
||||||
|
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_HOLD_DELAY_MSEC.ToString()));
|
sb.Append(Helper.StringBlankFillDigits6(item.DISP_JUDG_STD_LEVEL));
|
||||||
|
sb.Append(Helper.StringBlankFillDigits6(item.DISP_JUDG_MIN_LEVEL1));
|
||||||
|
sb.Append(Helper.StringBlankFillDigits6(item.DISP_JUDG_EMPTY_LEVEL1));
|
||||||
|
sb.Append(Helper.StringBlankFillDigits4(item.DISP_HOLD_DELAY_MSEC.ToString()));
|
||||||
|
|
||||||
sb.Append(Helper.StringBlankFillDigits8(this.LoadingRecipe.DIFF_LR_SECOND));
|
sb.Append(Helper.StringBlankFillDigits8(item.DIFF_LR_SECOND));
|
||||||
sb.Append(Helper.StringBlankFillDigits8(this.LoadingRecipe.DIFF_LR_TOTAL));
|
sb.Append(Helper.StringBlankFillDigits8(item.DIFF_LR_TOTAL));
|
||||||
sb.Append(Helper.StringBlankFillDigits8(this.LoadingRecipe.DIFF_LR_MEAN));
|
sb.Append(Helper.StringBlankFillDigits8(item.DIFF_LR_MEAN));
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DIFF_HOLD_DELAY_MSEC.ToString()));
|
sb.Append(Helper.StringBlankFillDigits4(item.DIFF_HOLD_DELAY_MSEC.ToString()));
|
||||||
|
|
||||||
sb.Append(Helper.StringBlankFillDigits6(this.LoadingRecipe.VACUUM_GUAGE_LEVEL));
|
sb.Append(Helper.StringBlankFillDigits6(item.VACUUM_GUAGE_LEVEL));
|
||||||
|
|
||||||
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9043_RecipeParameter, sb.ToString());
|
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.MainBoard, CommunicationAddress._9043_RecipeParameter, sb.ToString());
|
||||||
}
|
}
|
||||||
public void TransferRecipeParameter5510_A()
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
|
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_JUDG_MIN_LEVEL1.ToString()));
|
|
||||||
|
|
||||||
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard1, CommunicationAddress._5510_DispMinLevel, sb.ToString());
|
|
||||||
}
|
|
||||||
public void TransferRecipeParameter5510_B()
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
|
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_JUDG_MIN_LEVEL2.ToString()));
|
|
||||||
|
|
||||||
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard2, CommunicationAddress._5510_DispMinLevel, sb.ToString());
|
|
||||||
}
|
|
||||||
public void TransferRecipeParameter5511_A()
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
|
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_JUDG_EMPTY_LEVEL1.ToString()));
|
|
||||||
|
|
||||||
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard1, CommunicationAddress._5511_DispEmptyLevel, sb.ToString());
|
|
||||||
}
|
|
||||||
public void TransferRecipeParameter5511_B()
|
|
||||||
{
|
|
||||||
StringBuilder sb = new StringBuilder();
|
|
||||||
|
|
||||||
sb.Append(Helper.StringBlankFillDigits4(this.LoadingRecipe.DISP_JUDG_EMPTY_LEVEL2.ToString()));
|
|
||||||
|
|
||||||
this.TransferDataStream(CommunicationCommand.Write, CommunicationID.SubBoard2, CommunicationAddress._5511_DispEmptyLevel, sb.ToString());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void FormChange(int index)
|
public void FormChange(int index)
|
||||||
{
|
{
|
||||||
|
@ -1365,7 +1340,6 @@ namespace INT_PT002.Forms
|
||||||
return ret = -1;
|
return ret = -1;
|
||||||
|
|
||||||
this.SystemConfig.RECIPE_NUMBER = iValue;
|
this.SystemConfig.RECIPE_NUMBER = iValue;
|
||||||
this.ChangeModeRecipe = false;
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
this.LoadRecipeFile(ref this.CurrentRecipe, this.SystemConfig.RECIPE_NUMBER - 1);
|
this.LoadRecipeFile(ref this.CurrentRecipe, this.SystemConfig.RECIPE_NUMBER - 1);
|
||||||
|
@ -1409,42 +1383,6 @@ namespace INT_PT002.Forms
|
||||||
if (response == Define.E_ResponseData.ACK)
|
if (response == Define.E_ResponseData.ACK)
|
||||||
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress._2001_ProductNumber, "");
|
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress._2001_ProductNumber, "");
|
||||||
break;
|
break;
|
||||||
case "5510":
|
|
||||||
if (this.ChangeModeRecipe == true)
|
|
||||||
{
|
|
||||||
switch (lane)
|
|
||||||
{
|
|
||||||
case "A":
|
|
||||||
if (response == Define.E_ResponseData.ACK)
|
|
||||||
this.TransferRecipeParameter5510_B();
|
|
||||||
break;
|
|
||||||
case "B":
|
|
||||||
if (response == Define.E_ResponseData.ACK)
|
|
||||||
this.TransferRecipeParameter5511_A();
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case "5511":
|
|
||||||
if (this.ChangeModeRecipe == true)
|
|
||||||
{
|
|
||||||
switch (lane)
|
|
||||||
{
|
|
||||||
case "A":
|
|
||||||
if (response == Define.E_ResponseData.ACK)
|
|
||||||
this.TransferRecipeParameter5511_B();
|
|
||||||
break;
|
|
||||||
case "B":
|
|
||||||
if (response == Define.E_ResponseData.ACK)
|
|
||||||
this.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress._2001_ProductNumber, "");
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue