일본어 코드 추가
parent
1815561a0e
commit
6db3de20bf
BIN
INT63DC_2C.suo
BIN
INT63DC_2C.suo
Binary file not shown.
|
@ -133,35 +133,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -173,35 +146,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -215,31 +161,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -329,31 +252,9 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
|
@ -371,31 +272,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -407,35 +286,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -458,40 +311,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,35 +141,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -181,35 +154,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -223,31 +169,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -345,31 +268,9 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
|
@ -387,31 +288,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -423,35 +302,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -474,40 +327,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,35 +93,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLane)
|
foreach (SmartButton bt in this.CollectionButtonLane)
|
||||||
{
|
{
|
||||||
|
@ -133,35 +106,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLane)
|
foreach (SmartButton bt in this.CollectionButtonLane)
|
||||||
{
|
{
|
||||||
|
@ -175,31 +121,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLane)
|
foreach (SmartButton bt in this.CollectionButtonLane)
|
||||||
{
|
{
|
||||||
|
@ -313,31 +236,9 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
|
@ -355,31 +256,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLane)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLane)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -391,35 +270,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLane)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLane)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -442,40 +295,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,35 +101,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -141,35 +114,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -183,31 +129,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -265,31 +188,10 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -306,31 +208,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -342,35 +222,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -393,40 +247,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,35 +105,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -145,35 +118,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -187,31 +133,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -273,31 +196,10 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -314,31 +216,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -350,35 +230,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -401,40 +255,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,35 +109,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -149,35 +122,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -191,31 +137,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -281,31 +204,10 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -322,31 +224,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -358,35 +238,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -409,40 +263,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,35 +113,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -153,35 +126,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -195,31 +141,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -289,31 +212,10 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -330,31 +232,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -366,35 +246,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -417,40 +271,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,35 +117,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -157,35 +130,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -199,31 +145,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -297,31 +220,10 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -338,31 +240,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -374,35 +254,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -425,40 +279,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,35 +120,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -160,35 +133,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -202,31 +148,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -304,31 +227,10 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -345,31 +247,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -381,35 +261,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -432,40 +286,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -125,35 +125,8 @@ namespace INT63DC_2C.Controls
|
||||||
|
|
||||||
public void CalibrationBalance()
|
public void CalibrationBalance()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpBalance();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동 계산중 입니다");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Caculating...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("计算...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -165,35 +138,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationStart()
|
public void CalibrationStart()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpStart();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration start.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Wait a minute.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准开始按钮");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("请稍等");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("START kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("čekejte prosím.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierungsstart");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("bitte warten");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -207,32 +153,8 @@ namespace INT63DC_2C.Controls
|
||||||
}
|
}
|
||||||
public void CalibrationCancel()
|
public void CalibrationCancel()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
// Help
|
||||||
{
|
this.ParentForm.UpdateDisplayHelpCancel();
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Cancel the Calibration");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("取消校准");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
|
||||||
}
|
|
||||||
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Brechen Sie die ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung ab");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||||
{
|
{
|
||||||
|
@ -314,31 +236,10 @@ namespace INT63DC_2C.Controls
|
||||||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||||
labelWeight.ForeColor = this.NormalColor;
|
labelWeight.ForeColor = this.NormalColor;
|
||||||
labelADC.Text = weightData.ADCValue;
|
labelADC.Text = weightData.ADCValue;
|
||||||
this.ParentForm.ClearListBox();
|
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("분동을 올려주세요.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Put the balance weight.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("放平衡重");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
// Help
|
||||||
|
this.ParentForm.UpdateDisplayHelpCalStandby();
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
this.ParentForm.CalibrationButtonEnable(false, true, true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -355,31 +256,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalFinish:
|
case DataStore.WeightStatus.CalFinish:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Finished.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("完");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Ukončený.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -391,35 +270,9 @@ namespace INT63DC_2C.Controls
|
||||||
case DataStore.WeightStatus.CalError:
|
case DataStore.WeightStatus.CalError:
|
||||||
if (rbChecked == true)
|
if (rbChecked == true)
|
||||||
{
|
{
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpCalError();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정 에러");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("다시 시도해 주세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration error.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Please try again.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("错误发生,重试");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace chyba.");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zkuste znovu.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Fehler!");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||||
bt.Enabled = true;
|
bt.Enabled = true;
|
||||||
|
@ -442,40 +295,8 @@ namespace INT63DC_2C.Controls
|
||||||
if (bt == null)
|
if (bt == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this.ParentForm.ClearListBox();
|
// Help
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.ParentForm.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("校准");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.ParentForm.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ namespace INT63DC_2C
|
||||||
Chinese,
|
Chinese,
|
||||||
Czech,
|
Czech,
|
||||||
German,
|
German,
|
||||||
Russian,
|
Japanese,
|
||||||
};
|
};
|
||||||
|
|
||||||
public enum UserGroup
|
public enum UserGroup
|
||||||
|
|
|
@ -43,36 +43,53 @@ namespace INT63DC_2C.DialogForms
|
||||||
#region Method
|
#region Method
|
||||||
private void InitializeDesign()
|
private void InitializeDesign()
|
||||||
{
|
{
|
||||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
switch (this.ParentForm.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
this.labelTitleDate.Text = "日期";
|
case DataStore.LanguageID.Korean:
|
||||||
this.labelTitleProductNo.Text = "编号";
|
case DataStore.LanguageID.English:
|
||||||
this.labelTitleID.Text = "标识符";
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitleDate.Text = "日期";
|
||||||
|
this.labelTitleProductNo.Text = "编号";
|
||||||
|
this.labelTitleID.Text = "标识符";
|
||||||
|
|
||||||
this.buttonRead.Text = "读取";
|
this.buttonRead.Text = "读取";
|
||||||
this.buttonClose.Text = "关闭";
|
this.buttonClose.Text = "关闭";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.labelTitleDate.Text = "Datum";
|
#region Czech
|
||||||
this.labelTitleProductNo.Text = "Číslo";
|
this.labelTitleDate.Text = "Datum";
|
||||||
this.labelTitleID.Text = "ID";
|
this.labelTitleProductNo.Text = "Číslo";
|
||||||
|
this.labelTitleID.Text = "ID";
|
||||||
|
|
||||||
this.buttonRead.Text = "Přečíst vše";
|
this.buttonRead.Text = "Přečíst vše";
|
||||||
this.buttonClose.Text = "Zavřít";
|
this.buttonClose.Text = "Zavřít";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
break;
|
||||||
{
|
case DataStore.LanguageID.German:
|
||||||
this.labelTitleDate.Text = "Datum";
|
#region German
|
||||||
this.labelTitleProductNo.Text = "Nummer";
|
this.labelTitleDate.Text = "Datum";
|
||||||
this.labelTitleID.Text = "ID";
|
this.labelTitleProductNo.Text = "Nummer";
|
||||||
|
this.labelTitleID.Text = "ID";
|
||||||
|
|
||||||
this.buttonRead.Text = "Alles lesen";
|
this.buttonRead.Text = "Alles lesen";
|
||||||
this.buttonClose.Text = "Schließen";
|
this.buttonClose.Text = "Schließen";
|
||||||
}
|
#endregion
|
||||||
else
|
break;
|
||||||
{
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitleDate.Text = "日付";
|
||||||
|
this.labelTitleProductNo.Text = "番号";
|
||||||
|
this.labelTitleID.Text = "ID";
|
||||||
|
|
||||||
|
this.buttonRead.Text = "読む";
|
||||||
|
this.buttonClose.Text = "クローズ";
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeContnrol()
|
private void InitializeContnrol()
|
||||||
|
|
|
@ -44,51 +44,66 @@ namespace INT63DC_2C.DialogForms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
||||||
|
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
||||||
|
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
||||||
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDisable));
|
||||||
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDown));
|
||||||
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.smartForm1.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackgroundUserLogin));
|
||||||
|
|
||||||
}
|
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDisable));
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDown));
|
||||||
{
|
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginUp));
|
||||||
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelDisable));
|
||||||
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelDown));
|
||||||
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelUp));
|
||||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDisable));
|
#endregion
|
||||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDown));
|
break;
|
||||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelUp));
|
case DataStore.LanguageID.Czech:
|
||||||
}
|
#region Czech
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
||||||
{
|
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
||||||
this.smartForm1.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackgroundUserLogin));
|
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
||||||
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeMainCancelDisable));
|
||||||
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDisable));
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeMainCancelDown));
|
||||||
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDown));
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeMainCancelUp));
|
||||||
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginUp));
|
#endregion
|
||||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelDisable));
|
break;
|
||||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelDown));
|
case DataStore.LanguageID.German:
|
||||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelUp));
|
#region German
|
||||||
}
|
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
||||||
{
|
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
||||||
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelDisable));
|
||||||
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelDown));
|
||||||
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelUp));
|
||||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeMainCancelDisable));
|
#endregion
|
||||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeMainCancelDown));
|
break;
|
||||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeMainCancelUp));
|
case DataStore.LanguageID.Japanese:
|
||||||
}
|
#region Japanese
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
this.smartForm1.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackgroundUserLogin));
|
||||||
{
|
|
||||||
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
|
||||||
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
|
||||||
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
|
||||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelDisable));
|
|
||||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelDown));
|
|
||||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelUp));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
||||||
|
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
||||||
|
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
||||||
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDisable));
|
||||||
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDown));
|
||||||
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -78,30 +78,37 @@ namespace INT63DC_2C.DialogForms
|
||||||
#region Method
|
#region Method
|
||||||
private void InitializeDesign(DataStore.LanguageID language)
|
private void InitializeDesign(DataStore.LanguageID language)
|
||||||
{
|
{
|
||||||
if (language == DataStore.LanguageID.Chinese)
|
switch (language)
|
||||||
{
|
{
|
||||||
this.label1.Text = "键盘";
|
case DataStore.LanguageID.Korean:
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
this.label1.Text = "键盘";
|
||||||
|
|
||||||
this.buttonCancel.Text = "取消";
|
this.buttonCancel.Text = "取消";
|
||||||
this.buttonEnter.Text = "确认";
|
this.buttonEnter.Text = "确认";
|
||||||
}
|
break;
|
||||||
else if (language == DataStore.LanguageID.Czech)
|
case DataStore.LanguageID.Czech:
|
||||||
{
|
this.label1.Text = "Klávesnice";
|
||||||
this.label1.Text = "Klávesnice";
|
|
||||||
|
|
||||||
this.buttonCancel.Text = "Zrušit";
|
this.buttonCancel.Text = "Zrušit";
|
||||||
this.buttonEnter.Text = "Enter";
|
this.buttonEnter.Text = "Enter";
|
||||||
}
|
break;
|
||||||
else if (language == DataStore.LanguageID.German)
|
case DataStore.LanguageID.German:
|
||||||
{
|
this.label1.Text = "Tastatur";
|
||||||
this.label1.Text = "Tastatur";
|
|
||||||
|
|
||||||
this.buttonCancel.Text = "X";
|
this.buttonCancel.Text = "X";
|
||||||
this.buttonEnter.Text = "Enter";
|
this.buttonEnter.Text = "Enter";
|
||||||
}
|
break;
|
||||||
else
|
case DataStore.LanguageID.Japanese:
|
||||||
{
|
this.label1.Text = "キㅡパッド";
|
||||||
|
|
||||||
|
this.buttonCancel.Text = "ESC";
|
||||||
|
this.buttonEnter.Text = "入力";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeContnrol()
|
private void InitializeContnrol()
|
||||||
|
|
|
@ -116,30 +116,41 @@ namespace INT63DC_2C.DialogForms
|
||||||
|
|
||||||
private void InitializeDesign(DataStore.LanguageID language)
|
private void InitializeDesign(DataStore.LanguageID language)
|
||||||
{
|
{
|
||||||
if (language == DataStore.LanguageID.Chinese)
|
switch (language)
|
||||||
{
|
{
|
||||||
this.labelSubject.Text = "密码";
|
case DataStore.LanguageID.Korean:
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
this.labelSubject.Text = "Password";
|
||||||
|
|
||||||
this.buttonCancel.Text = "取消";
|
this.buttonCancel.Text = "ESC";
|
||||||
this.buttonEnter.Text = "确认";
|
this.buttonEnter.Text = "Enter";
|
||||||
}
|
break;
|
||||||
else if (language == DataStore.LanguageID.Czech)
|
case DataStore.LanguageID.Chinese:
|
||||||
{
|
this.labelSubject.Text = "密码";
|
||||||
this.labelSubject.Text = "Klávesnice";
|
|
||||||
|
|
||||||
this.buttonCancel.Text = "Zrušit";
|
this.buttonCancel.Text = "取消";
|
||||||
this.buttonEnter.Text = "Enter";
|
this.buttonEnter.Text = "确认";
|
||||||
}
|
break;
|
||||||
else if (language == DataStore.LanguageID.German)
|
case DataStore.LanguageID.Czech:
|
||||||
{
|
this.labelSubject.Text = "Klávesnice";
|
||||||
this.labelSubject.Text = "Passwort";
|
|
||||||
|
|
||||||
this.buttonCancel.Text = "X";
|
this.buttonCancel.Text = "Zrušit";
|
||||||
this.buttonEnter.Text = "Enter";
|
this.buttonEnter.Text = "Enter";
|
||||||
}
|
break;
|
||||||
else
|
case DataStore.LanguageID.German:
|
||||||
{
|
this.labelSubject.Text = "Passwort";
|
||||||
|
|
||||||
|
this.buttonCancel.Text = "X";
|
||||||
|
this.buttonEnter.Text = "Enter";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.labelSubject.Text = "パスワード";
|
||||||
|
|
||||||
|
this.buttonCancel.Text = "ESC";
|
||||||
|
this.buttonEnter.Text = "入力";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeContnrol()
|
private void InitializeContnrol()
|
||||||
|
|
|
@ -29,296 +29,359 @@ namespace INT63DC_2C.DialogForms
|
||||||
this.labelMessage1.Text = "";
|
this.labelMessage1.Text = "";
|
||||||
this.labelMessage2.Text = "";
|
this.labelMessage2.Text = "";
|
||||||
|
|
||||||
if (language == DataStore.LanguageID.Korean)
|
switch (language)
|
||||||
{
|
{
|
||||||
switch (ok)
|
case DataStore.LanguageID.Korean:
|
||||||
{
|
#region Korean
|
||||||
case 1:
|
switch (ok)
|
||||||
this.labelErrorCode.Text = "";
|
{
|
||||||
this.labelMessage1.Text = "예전 DLL로 되돌리시겠습니까?";
|
case 1:
|
||||||
break;
|
this.labelErrorCode.Text = "";
|
||||||
case 2:
|
this.labelMessage1.Text = "예전 DLL로 되돌리시겠습니까?";
|
||||||
this.labelErrorCode.Text = "";
|
break;
|
||||||
this.labelMessage1.Text = "언어를 변경하시겠습니까?";
|
case 2:
|
||||||
break;
|
this.labelErrorCode.Text = "";
|
||||||
case 3:
|
this.labelMessage1.Text = "언어를 변경하시겠습니까?";
|
||||||
this.labelErrorCode.Text = "업데이트";
|
break;
|
||||||
this.labelMessage1.Text = "새 버전으로 업데이트됩니다.";
|
case 3:
|
||||||
break;
|
this.labelErrorCode.Text = "업데이트";
|
||||||
case 4:
|
this.labelMessage1.Text = "새 버전으로 업데이트됩니다.";
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 4:
|
||||||
this.labelErrorCode.Text = "공장초기화";
|
break;
|
||||||
this.labelMessage1.Text = "설정된 모든 데이터가 초기화됩니다.";
|
case 5:
|
||||||
break;
|
this.labelErrorCode.Text = "공장초기화";
|
||||||
case 6:
|
this.labelMessage1.Text = "설정된 모든 데이터가 초기화됩니다.";
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 6:
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 7:
|
||||||
this.labelErrorCode.Text = "소거";
|
break;
|
||||||
this.labelMessage1.Text = "카운트 값을 소거 하시겠습니까?";
|
case 8:
|
||||||
break;
|
this.labelErrorCode.Text = "소거";
|
||||||
case 9:
|
this.labelMessage1.Text = "카운트 값을 소거 하시겠습니까?";
|
||||||
this.labelErrorCode.Text = "모터 다운로드";
|
break;
|
||||||
this.labelMessage1.Text = "현재 값을 다운로드 하시겠습니까?";
|
case 9:
|
||||||
break;
|
this.labelErrorCode.Text = "모터 다운로드";
|
||||||
case 10:
|
this.labelMessage1.Text = "현재 값을 다운로드 하시겠습니까?";
|
||||||
break;
|
break;
|
||||||
case 11:
|
case 10:
|
||||||
this.labelErrorCode.Text = "모터 다운로드";
|
break;
|
||||||
this.labelMessage1.Text = "모터에 프로그램을 다운로드 하시겠습니까?";
|
case 11:
|
||||||
break;
|
this.labelErrorCode.Text = "모터 다운로드";
|
||||||
case 12:
|
this.labelMessage1.Text = "모터에 프로그램을 다운로드 하시겠습니까?";
|
||||||
this.labelErrorCode.Text = "로그인";
|
break;
|
||||||
this.labelMessage1.Text = "Log out 하시겠습니까?";
|
case 12:
|
||||||
break;
|
this.labelErrorCode.Text = "로그인";
|
||||||
case 13:
|
this.labelMessage1.Text = "Log out 하시겠습니까?";
|
||||||
this.labelErrorCode.Text = "로그인";
|
break;
|
||||||
this.labelMessage1.Text = "유저 등록 하시겠습니까?";
|
case 13:
|
||||||
break;
|
this.labelErrorCode.Text = "로그인";
|
||||||
case 14:
|
this.labelMessage1.Text = "유저 등록 하시겠습니까?";
|
||||||
this.labelErrorCode.Text = "로그인";
|
break;
|
||||||
this.labelMessage1.Text = "유저 삭제 하시겠습니까?";
|
case 14:
|
||||||
break;
|
this.labelErrorCode.Text = "로그인";
|
||||||
default:
|
this.labelMessage1.Text = "유저 삭제 하시겠습니까?";
|
||||||
break;
|
break;
|
||||||
}
|
default:
|
||||||
}
|
break;
|
||||||
else if (language == DataStore.LanguageID.English)
|
}
|
||||||
{
|
#endregion
|
||||||
switch (ok)
|
break;
|
||||||
{
|
case DataStore.LanguageID.English:
|
||||||
case 1:
|
#region English
|
||||||
this.labelErrorCode.Text = "";
|
switch (ok)
|
||||||
this.labelMessage1.Text = "Do you want to revert to the previous DLL?";
|
{
|
||||||
break;
|
case 1:
|
||||||
case 2:
|
this.labelErrorCode.Text = "";
|
||||||
this.labelErrorCode.Text = "";
|
this.labelMessage1.Text = "Do you want to revert to the previous DLL?";
|
||||||
this.labelMessage1.Text = "Do you change the language?";
|
break;
|
||||||
break;
|
case 2:
|
||||||
case 3:
|
this.labelErrorCode.Text = "";
|
||||||
this.labelErrorCode.Text = "Update";
|
this.labelMessage1.Text = "Do you change the language?";
|
||||||
this.labelMessage1.Text = "Now appilcation program update";
|
break;
|
||||||
break;
|
case 3:
|
||||||
case 4:
|
this.labelErrorCode.Text = "Update";
|
||||||
break;
|
this.labelMessage1.Text = "Now appilcation program update";
|
||||||
case 5:
|
break;
|
||||||
this.labelErrorCode.Text = "Initialization";
|
case 4:
|
||||||
this.labelMessage1.Text = "All datas will be initialized";
|
break;
|
||||||
break;
|
case 5:
|
||||||
case 6:
|
this.labelErrorCode.Text = "Initialization";
|
||||||
break;
|
this.labelMessage1.Text = "All datas will be initialized";
|
||||||
case 7:
|
break;
|
||||||
break;
|
case 6:
|
||||||
case 8:
|
break;
|
||||||
this.labelErrorCode.Text = "Clear";
|
case 7:
|
||||||
this.labelMessage1.Text = "Erase all count?";
|
break;
|
||||||
break;
|
case 8:
|
||||||
case 9:
|
this.labelErrorCode.Text = "Clear";
|
||||||
this.labelErrorCode.Text = "Motor download";
|
this.labelMessage1.Text = "Erase all count?";
|
||||||
this.labelMessage1.Text = "Do you want to download the current value?";
|
break;
|
||||||
break;
|
case 9:
|
||||||
case 10:
|
this.labelErrorCode.Text = "Motor download";
|
||||||
break;
|
this.labelMessage1.Text = "Do you want to download the current value?";
|
||||||
case 11:
|
break;
|
||||||
this.labelErrorCode.Text = "Motor download";
|
case 10:
|
||||||
this.labelMessage1.Text = "Do you want to download the program?";
|
break;
|
||||||
break;
|
case 11:
|
||||||
case 12:
|
this.labelErrorCode.Text = "Motor download";
|
||||||
this.labelErrorCode.Text = "Login";
|
this.labelMessage1.Text = "Do you want to download the program?";
|
||||||
this.labelMessage1.Text = "Do you want to log out?";
|
break;
|
||||||
break;
|
case 12:
|
||||||
case 13:
|
this.labelErrorCode.Text = "Login";
|
||||||
this.labelErrorCode.Text = "Login";
|
this.labelMessage1.Text = "Do you want to log out?";
|
||||||
this.labelMessage1.Text = "Do you want to register the user?";
|
break;
|
||||||
break;
|
case 13:
|
||||||
case 14:
|
this.labelErrorCode.Text = "Login";
|
||||||
this.labelErrorCode.Text = "Login";
|
this.labelMessage1.Text = "Do you want to register the user?";
|
||||||
this.labelMessage1.Text = "Do you want to Delete the user?";
|
break;
|
||||||
break;
|
case 14:
|
||||||
default:
|
this.labelErrorCode.Text = "Login";
|
||||||
break;
|
this.labelMessage1.Text = "Do you want to Delete the user?";
|
||||||
}
|
break;
|
||||||
}
|
default:
|
||||||
else if (language == DataStore.LanguageID.Chinese)
|
break;
|
||||||
{
|
}
|
||||||
this.buttonYes.Text = "是";
|
#endregion
|
||||||
this.buttonNo.Text = "否";
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.buttonYes.Text = "是";
|
||||||
|
this.buttonNo.Text = "否";
|
||||||
|
|
||||||
switch (ok)
|
switch (ok)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
this.labelErrorCode.Text = "";
|
this.labelErrorCode.Text = "";
|
||||||
this.labelMessage1.Text = "你想转变到之前的DLL吗";
|
this.labelMessage1.Text = "你想转变到之前的DLL吗";
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
this.labelErrorCode.Text = "";
|
this.labelErrorCode.Text = "";
|
||||||
this.labelMessage1.Text = "想更换语言吗?";
|
this.labelMessage1.Text = "想更换语言吗?";
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
this.labelErrorCode.Text = "更新";
|
this.labelErrorCode.Text = "更新";
|
||||||
this.labelMessage1.Text = "现在应用程序更新";
|
this.labelMessage1.Text = "现在应用程序更新";
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
this.labelErrorCode.Text = "回复出厂设置";
|
this.labelErrorCode.Text = "回复出厂设置";
|
||||||
this.labelMessage1.Text = "所有数据初始化";
|
this.labelMessage1.Text = "所有数据初始化";
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
this.labelErrorCode.Text = "消除";
|
this.labelErrorCode.Text = "消除";
|
||||||
this.labelMessage1.Text = "您确定清除计数值吗?";
|
this.labelMessage1.Text = "您确定清除计数值吗?";
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
this.labelErrorCode.Text = "下载";
|
this.labelErrorCode.Text = "下载";
|
||||||
this.labelMessage1.Text = "您确定下载当前值吗?";
|
this.labelMessage1.Text = "您确定下载当前值吗?";
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
break;
|
break;
|
||||||
case 11:
|
case 11:
|
||||||
this.labelErrorCode.Text = "下载";
|
this.labelErrorCode.Text = "下载";
|
||||||
this.labelMessage1.Text = "你想下载程序吗?";
|
this.labelMessage1.Text = "你想下载程序吗?";
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
this.labelErrorCode.Text = "登录";
|
this.labelErrorCode.Text = "登录";
|
||||||
this.labelMessage1.Text = "你想注销吗?";
|
this.labelMessage1.Text = "你想注销吗?";
|
||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
this.labelErrorCode.Text = "登录";
|
this.labelErrorCode.Text = "登录";
|
||||||
this.labelMessage1.Text = "你想注册用户吗?";
|
this.labelMessage1.Text = "你想注册用户吗?";
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
this.labelErrorCode.Text = "登录";
|
this.labelErrorCode.Text = "登录";
|
||||||
this.labelMessage1.Text = "要删除用户吗?";
|
this.labelMessage1.Text = "要删除用户吗?";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
#endregion
|
||||||
else if (language == DataStore.LanguageID.Czech)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.buttonYes.Text = "Ano";
|
#region Czech
|
||||||
this.buttonNo.Text = "Ne";
|
this.buttonYes.Text = "Ano";
|
||||||
|
this.buttonNo.Text = "Ne";
|
||||||
|
|
||||||
switch (ok)
|
switch (ok)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
this.labelErrorCode.Text = "";
|
this.labelErrorCode.Text = "";
|
||||||
this.labelMessage1.Text = "Chcete se vrátit k předchozí DLL?";
|
this.labelMessage1.Text = "Chcete se vrátit k předchozí DLL?";
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
this.labelErrorCode.Text = "";
|
this.labelErrorCode.Text = "";
|
||||||
this.labelMessage1.Text = "Chcete změnit jazyk?";
|
this.labelMessage1.Text = "Chcete změnit jazyk?";
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
this.labelErrorCode.Text = "Aktualizace";
|
this.labelErrorCode.Text = "Aktualizace";
|
||||||
this.labelMessage1.Text = "Program byl aktualizován";
|
this.labelMessage1.Text = "Program byl aktualizován";
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
this.labelErrorCode.Text = "Tovární nastavení";
|
this.labelErrorCode.Text = "Tovární nastavení";
|
||||||
this.labelMessage1.Text = "Budou inicializována všechna data";
|
this.labelMessage1.Text = "Budou inicializována všechna data";
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
this.labelErrorCode.Text = "Smazat";
|
this.labelErrorCode.Text = "Smazat";
|
||||||
this.labelMessage1.Text = "Smazat všechny počty?";
|
this.labelMessage1.Text = "Smazat všechny počty?";
|
||||||
break;
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
this.labelErrorCode.Text = "Stažení";
|
this.labelErrorCode.Text = "Stažení";
|
||||||
this.labelMessage1.Text = "Chcete stáhnout aktuální hodnotu?";
|
this.labelMessage1.Text = "Chcete stáhnout aktuální hodnotu?";
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
break;
|
break;
|
||||||
case 11:
|
case 11:
|
||||||
this.labelErrorCode.Text = "Stažení";
|
this.labelErrorCode.Text = "Stažení";
|
||||||
this.labelMessage1.Text = "Chcete program stáhnout na motor?";
|
this.labelMessage1.Text = "Chcete program stáhnout na motor?";
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
this.labelErrorCode.Text = "Přihlásit se";
|
this.labelErrorCode.Text = "Přihlásit se";
|
||||||
this.labelMessage1.Text = "Chcete se odhlásit?";
|
this.labelMessage1.Text = "Chcete se odhlásit?";
|
||||||
break;
|
break;
|
||||||
case 13:
|
case 13:
|
||||||
this.labelErrorCode.Text = "Přihlásit se";
|
this.labelErrorCode.Text = "Přihlásit se";
|
||||||
this.labelMessage1.Text = "Chcete zaregistrovat uživatele?";
|
this.labelMessage1.Text = "Chcete zaregistrovat uživatele?";
|
||||||
break;
|
break;
|
||||||
case 14:
|
case 14:
|
||||||
this.labelErrorCode.Text = "Přihlásit se";
|
this.labelErrorCode.Text = "Přihlásit se";
|
||||||
this.labelMessage1.Text = "Chcete smazat uživatele?";
|
this.labelMessage1.Text = "Chcete smazat uživatele?";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
#endregion
|
||||||
else if (language == DataStore.LanguageID.German)
|
break;
|
||||||
{
|
case DataStore.LanguageID.German:
|
||||||
switch (ok)
|
#region German
|
||||||
{
|
switch (ok)
|
||||||
case 1:
|
{
|
||||||
this.labelErrorCode.Text = "";
|
case 1:
|
||||||
this.labelMessage1.Text = "Möchten Sie die ursprüngliche";
|
this.labelErrorCode.Text = "";
|
||||||
this.labelMessage2.Text = "DDL-Bibliothek wirklich zurückgeben?";
|
this.labelMessage1.Text = "Möchten Sie die ursprüngliche";
|
||||||
break;
|
this.labelMessage2.Text = "DDL-Bibliothek wirklich zurückgeben?";
|
||||||
case 2:
|
break;
|
||||||
this.labelErrorCode.Text = "";
|
case 2:
|
||||||
this.labelMessage1.Text = "Möchten Sie die Sprache wirklich ändern?";
|
this.labelErrorCode.Text = "";
|
||||||
break;
|
this.labelMessage1.Text = "Möchten Sie die Sprache wirklich ändern?";
|
||||||
case 3:
|
break;
|
||||||
this.labelErrorCode.Text = "Aktualisierung";
|
case 3:
|
||||||
this.labelMessage1.Text = "Programm wird aktualisiert";
|
this.labelErrorCode.Text = "Aktualisierung";
|
||||||
break;
|
this.labelMessage1.Text = "Programm wird aktualisiert";
|
||||||
case 4:
|
break;
|
||||||
break;
|
case 4:
|
||||||
case 5:
|
break;
|
||||||
this.labelErrorCode.Text = "Werkseinstellung";
|
case 5:
|
||||||
this.labelMessage1.Text = "Alle Daten werden initialisiert";
|
this.labelErrorCode.Text = "Werkseinstellung";
|
||||||
break;
|
this.labelMessage1.Text = "Alle Daten werden initialisiert";
|
||||||
case 6:
|
break;
|
||||||
break;
|
case 6:
|
||||||
case 7:
|
break;
|
||||||
break;
|
case 7:
|
||||||
case 8:
|
break;
|
||||||
this.labelErrorCode.Text = "Löschen";
|
case 8:
|
||||||
this.labelMessage1.Text = "Wirklich die Zähler löschen? ";
|
this.labelErrorCode.Text = "Löschen";
|
||||||
break;
|
this.labelMessage1.Text = "Wirklich die Zähler löschen? ";
|
||||||
case 9:
|
break;
|
||||||
this.labelErrorCode.Text = "Programm-Download zum Motor";
|
case 9:
|
||||||
this.labelMessage1.Text = "Möchten Sie den aktuellen";
|
this.labelErrorCode.Text = "Programm-Download zum Motor";
|
||||||
this.labelMessage2.Text = "Wert wirklich herunterladen?";
|
this.labelMessage1.Text = "Möchten Sie den aktuellen";
|
||||||
break;
|
this.labelMessage2.Text = "Wert wirklich herunterladen?";
|
||||||
case 10:
|
break;
|
||||||
break;
|
case 10:
|
||||||
case 11:
|
break;
|
||||||
this.labelErrorCode.Text = "Programm-Download zum Motor";
|
case 11:
|
||||||
this.labelMessage1.Text = "Möchten Sie wirklich einen Motor herunterladen?";
|
this.labelErrorCode.Text = "Programm-Download zum Motor";
|
||||||
break;
|
this.labelMessage1.Text = "Möchten Sie wirklich einen Motor herunterladen?";
|
||||||
case 12:
|
break;
|
||||||
this.labelErrorCode.Text = "Einloggen";
|
case 12:
|
||||||
this.labelMessage1.Text = "Möchten Sie sich abmelden?";
|
this.labelErrorCode.Text = "Einloggen";
|
||||||
break;
|
this.labelMessage1.Text = "Möchten Sie sich abmelden?";
|
||||||
case 13:
|
break;
|
||||||
this.labelErrorCode.Text = "Einloggen";
|
case 13:
|
||||||
this.labelMessage1.Text = "Möchten Sie den Benutzer registrieren?";
|
this.labelErrorCode.Text = "Einloggen";
|
||||||
break;
|
this.labelMessage1.Text = "Möchten Sie den Benutzer registrieren?";
|
||||||
case 14:
|
break;
|
||||||
this.labelErrorCode.Text = "Einloggen";
|
case 14:
|
||||||
this.labelMessage1.Text = "Möchten Sie einen Benutzer löschen?";
|
this.labelErrorCode.Text = "Einloggen";
|
||||||
break;
|
this.labelMessage1.Text = "Möchten Sie einen Benutzer löschen?";
|
||||||
default:
|
break;
|
||||||
break;
|
default:
|
||||||
}
|
break;
|
||||||
}
|
}
|
||||||
else
|
#endregion
|
||||||
{
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.buttonYes.Text = "はい";
|
||||||
|
this.buttonNo.Text = "いいえ";
|
||||||
|
|
||||||
|
switch (ok)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
this.labelErrorCode.Text = "";
|
||||||
|
this.labelMessage1.Text = "以前のDLLに戻しますか?";
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
this.labelErrorCode.Text = "";
|
||||||
|
this.labelMessage1.Text = "言語を変更しますか?";
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
this.labelErrorCode.Text = "更新";
|
||||||
|
this.labelMessage1.Text = "これよりアプリケㅡションプログラムの更新となる";
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
break;
|
||||||
|
case 5:
|
||||||
|
this.labelErrorCode.Text = "初期化";
|
||||||
|
this.labelMessage1.Text = "すべてのデㅡタが初期化される";
|
||||||
|
break;
|
||||||
|
case 6:
|
||||||
|
break;
|
||||||
|
case 7:
|
||||||
|
break;
|
||||||
|
case 8:
|
||||||
|
this.labelErrorCode.Text = "クリア";
|
||||||
|
this.labelMessage1.Text = "カウントをすべて消去しますか?";
|
||||||
|
break;
|
||||||
|
case 9:
|
||||||
|
break;
|
||||||
|
case 10:
|
||||||
|
break;
|
||||||
|
case 11:
|
||||||
|
break;
|
||||||
|
case 12:
|
||||||
|
this.labelErrorCode.Text = "ログイン";
|
||||||
|
this.labelMessage1.Text = "ログアウトしますか?";
|
||||||
|
break;
|
||||||
|
case 13:
|
||||||
|
this.labelErrorCode.Text = "ログイン";
|
||||||
|
this.labelMessage1.Text = "ユㅡザㅡ登録しますか?";
|
||||||
|
break;
|
||||||
|
case 14:
|
||||||
|
this.labelErrorCode.Text = "ログイン";
|
||||||
|
this.labelMessage1.Text = "このユㅡザㅡを削除しますか?";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -208,7 +208,7 @@
|
||||||
this.groupBoxSetting.InitVisible = true;
|
this.groupBoxSetting.InitVisible = true;
|
||||||
this.groupBoxSetting.Location = new System.Drawing.Point(270, 569);
|
this.groupBoxSetting.Location = new System.Drawing.Point(270, 569);
|
||||||
this.groupBoxSetting.Name = "groupBoxSetting";
|
this.groupBoxSetting.Name = "groupBoxSetting";
|
||||||
this.groupBoxSetting.RoundRadius = 0;
|
this.groupBoxSetting.RoundRadius = 5;
|
||||||
this.groupBoxSetting.Size = new System.Drawing.Size(298, 181);
|
this.groupBoxSetting.Size = new System.Drawing.Size(298, 181);
|
||||||
this.groupBoxSetting.TabIndex = 5;
|
this.groupBoxSetting.TabIndex = 5;
|
||||||
this.groupBoxSetting.Text = "설정";
|
this.groupBoxSetting.Text = "설정";
|
||||||
|
@ -348,7 +348,7 @@
|
||||||
this.groupBoxHelp.InitVisible = true;
|
this.groupBoxHelp.InitVisible = true;
|
||||||
this.groupBoxHelp.Location = new System.Drawing.Point(574, 569);
|
this.groupBoxHelp.Location = new System.Drawing.Point(574, 569);
|
||||||
this.groupBoxHelp.Name = "groupBoxHelp";
|
this.groupBoxHelp.Name = "groupBoxHelp";
|
||||||
this.groupBoxHelp.RoundRadius = 0;
|
this.groupBoxHelp.RoundRadius = 5;
|
||||||
this.groupBoxHelp.Size = new System.Drawing.Size(322, 181);
|
this.groupBoxHelp.Size = new System.Drawing.Size(322, 181);
|
||||||
this.groupBoxHelp.TabIndex = 5;
|
this.groupBoxHelp.TabIndex = 5;
|
||||||
this.groupBoxHelp.Text = "도움말";
|
this.groupBoxHelp.Text = "도움말";
|
||||||
|
@ -416,7 +416,7 @@
|
||||||
private SmartX.SmartGroupBox groupBoxHelp;
|
private SmartX.SmartGroupBox groupBoxHelp;
|
||||||
private System.Windows.Forms.Timer timer;
|
private System.Windows.Forms.Timer timer;
|
||||||
private SmartX.SmartLabel labelTitle;
|
private SmartX.SmartLabel labelTitle;
|
||||||
public System.Windows.Forms.ListBox listBoxHelp;
|
|
||||||
public SmartX.SmartLabel labelBalanceWeight;
|
public SmartX.SmartLabel labelBalanceWeight;
|
||||||
|
private System.Windows.Forms.ListBox listBoxHelp;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -53,115 +53,141 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "Calibration";
|
||||||
|
|
||||||
}
|
this.groupBoxSetting.Text = "Setting";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.groupBoxHelp.Text = "Help";
|
||||||
{
|
this.labelStaticBalanceWeight.Text = "Balance weight";
|
||||||
this.labelTitle.Text = "Calibration";
|
this.labelStaticMaxWeight.Text = "Max weight";
|
||||||
|
this.labelStaticDigit.Text = "Digit";
|
||||||
|
|
||||||
this.groupBoxSetting.Text = "Setting";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
this.groupBoxHelp.Text = "Help";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
this.labelStaticBalanceWeight.Text = "Balance weight";
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
this.labelStaticMaxWeight.Text = "Max weight";
|
|
||||||
this.labelStaticDigit.Text = "Digit";
|
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartUp));
|
||||||
|
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceDisable));
|
||||||
|
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceDown));
|
||||||
|
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceUp));
|
||||||
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelDisable));
|
||||||
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelDown));
|
||||||
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "校准";
|
||||||
|
|
||||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartDisable));
|
this.groupBoxSetting.Text = "设定";
|
||||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartDown));
|
this.groupBoxHelp.Text = "帮助";
|
||||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartUp));
|
this.labelStaticBalanceWeight.Text = "砝码重量";
|
||||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceDisable));
|
this.labelStaticMaxWeight.Text = "最大重量";
|
||||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceDown));
|
this.labelStaticDigit.Text = "数字";
|
||||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceUp));
|
|
||||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelDisable));
|
|
||||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelDown));
|
|
||||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelUp));
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "校准";
|
|
||||||
|
|
||||||
this.groupBoxSetting.Text = "设定";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.groupBoxHelp.Text = "帮助";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
this.labelStaticBalanceWeight.Text = "砝码重量";
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
this.labelStaticMaxWeight.Text = "最大重量";
|
|
||||||
this.labelStaticDigit.Text = "数字";
|
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartUp));
|
||||||
|
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceDisable));
|
||||||
|
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceDown));
|
||||||
|
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceUp));
|
||||||
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelDisable));
|
||||||
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelDown));
|
||||||
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Kalibrace";
|
||||||
|
|
||||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartDisable));
|
this.groupBoxSetting.Text = "Seřízení";
|
||||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartDown));
|
this.groupBoxHelp.Text = "Pomoc";
|
||||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartUp));
|
this.labelStaticBalanceWeight.Text = "Vyvažovací závaží";
|
||||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceDisable));
|
this.labelStaticMaxWeight.Text = "Max. hmotnost";
|
||||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceDown));
|
this.labelStaticDigit.Text = "Číslice";
|
||||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceUp));
|
|
||||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelDisable));
|
|
||||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelDown));
|
|
||||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelUp));
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Kalibrace";
|
|
||||||
|
|
||||||
this.groupBoxSetting.Text = "Seřízení";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
this.groupBoxHelp.Text = "Pomoc";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
this.labelStaticBalanceWeight.Text = "Vyvažovací závaží";
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
this.labelStaticMaxWeight.Text = "Max. hmotnost";
|
|
||||||
this.labelStaticDigit.Text = "Číslice";
|
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartUp));
|
||||||
|
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceDisable));
|
||||||
|
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceDown));
|
||||||
|
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceUp));
|
||||||
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelDisable));
|
||||||
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelDown));
|
||||||
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
#region German
|
||||||
|
this.labelTitle.Text = "Kalibrierung";
|
||||||
|
|
||||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartDisable));
|
this.groupBoxSetting.Text = "Einstellung";
|
||||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartDown));
|
this.groupBoxHelp.Text = "Hilfe";
|
||||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartUp));
|
this.labelStaticBalanceWeight.Text = "Gewicht der Waage";
|
||||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceDisable));
|
this.labelStaticMaxWeight.Text = "Maximalgewicht";
|
||||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceDown));
|
this.labelStaticDigit.Text = "Nummer";
|
||||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceUp));
|
|
||||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelDisable));
|
|
||||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelDown));
|
|
||||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelUp));
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Kalibrierung";
|
|
||||||
|
|
||||||
this.groupBoxSetting.Text = "Einstellung";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.groupBoxHelp.Text = "Hilfe";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
this.labelStaticBalanceWeight.Text = "Gewicht der Waage";
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
this.labelStaticMaxWeight.Text = "Maximalgewicht";
|
|
||||||
this.labelStaticDigit.Text = "Nummer";
|
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartUp));
|
||||||
|
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceDisable));
|
||||||
|
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceDown));
|
||||||
|
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceUp));
|
||||||
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelDisable));
|
||||||
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelDown));
|
||||||
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "校正";
|
||||||
|
|
||||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartDisable));
|
this.groupBoxSetting.Text = "設定";
|
||||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartDown));
|
this.groupBoxHelp.Text = "ヘルプ";
|
||||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartUp));
|
this.labelStaticBalanceWeight.Text = "バランス重量";
|
||||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceDisable));
|
this.labelStaticMaxWeight.Text = "最大重量";
|
||||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceDown));
|
this.labelStaticDigit.Text = "桁";
|
||||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceUp));
|
|
||||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelDisable));
|
|
||||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelDown));
|
|
||||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelUp));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
|
||||||
|
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartDisable));
|
||||||
|
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartDown));
|
||||||
|
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationStartUp));
|
||||||
|
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceDisable));
|
||||||
|
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceDown));
|
||||||
|
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationBalanceUp));
|
||||||
|
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelDisable));
|
||||||
|
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelDown));
|
||||||
|
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormCalibrationCancelUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
{
|
{
|
||||||
this.listBoxHelp.Items.Clear();
|
|
||||||
|
|
||||||
this.labelBalanceWeight.Text = Helper.StringToDecimalPlaces("0", this.ParentForm.SystemConfig.DecimalPlaces);
|
this.labelBalanceWeight.Text = Helper.StringToDecimalPlaces("0", this.ParentForm.SystemConfig.DecimalPlaces);
|
||||||
this.labelMaxWeight.Text = Helper.StringToDecimalPlaces("0", this.ParentForm.SystemConfig.DecimalPlaces);
|
this.labelMaxWeight.Text = Helper.StringToDecimalPlaces("0", this.ParentForm.SystemConfig.DecimalPlaces);
|
||||||
|
|
||||||
|
@ -230,45 +256,235 @@ namespace INT63DC_2C.Forms
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
this.UpdateDisplayHelpInit();
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("校准");
|
|
||||||
this.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ClearListBox()
|
public void UpdateDisplayHelpInit()
|
||||||
{
|
{
|
||||||
this.listBoxHelp.Items.Clear();
|
this.listBoxHelp.Items.Clear();
|
||||||
|
|
||||||
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
this.listBoxHelp.Items.Add("중량조정");
|
||||||
|
this.listBoxHelp.Items.Add("LANE을 선택 후");
|
||||||
|
this.listBoxHelp.Items.Add("시작을 누르세요");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
this.listBoxHelp.Items.Add("Calibration");
|
||||||
|
this.listBoxHelp.Items.Add("After selecting lane, ");
|
||||||
|
this.listBoxHelp.Items.Add("push the [Start] button.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
this.listBoxHelp.Items.Add("校准");
|
||||||
|
this.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
this.listBoxHelp.Items.Add("Kalibrace");
|
||||||
|
this.listBoxHelp.Items.Add("Po výběru řádku, ");
|
||||||
|
this.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
this.listBoxHelp.Items.Add("Kalibrierung");
|
||||||
|
this.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
||||||
|
this.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.listBoxHelp.Items.Add("較正");
|
||||||
|
this.listBoxHelp.Items.Add("レㅡンを選択したら、");
|
||||||
|
this.listBoxHelp.Items.Add("[スタㅡト]ボタンを押します。");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
public void UpdateDisplayHelpBalance()
|
||||||
|
{
|
||||||
|
this.listBoxHelp.Items.Clear();
|
||||||
|
|
||||||
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
this.listBoxHelp.Items.Add("분동 계산중 입니다");
|
||||||
|
this.listBoxHelp.Items.Add("잠시만 기다리세요");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
this.listBoxHelp.Items.Add("Caculating...");
|
||||||
|
this.listBoxHelp.Items.Add("Wait a minute.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
this.listBoxHelp.Items.Add("计算...");
|
||||||
|
this.listBoxHelp.Items.Add("请稍等");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
this.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
||||||
|
this.listBoxHelp.Items.Add("čekejte prosím.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
this.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
||||||
|
this.listBoxHelp.Items.Add("bitte warten");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.listBoxHelp.Items.Add("重量をチェック。");
|
||||||
|
this.listBoxHelp.Items.Add("待機する");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void UpdateDisplayHelpStart()
|
||||||
|
{
|
||||||
|
this.listBoxHelp.Items.Clear();
|
||||||
|
|
||||||
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
this.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
||||||
|
this.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
this.listBoxHelp.Items.Add("Calibration start.");
|
||||||
|
this.listBoxHelp.Items.Add("Wait a minute.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
this.listBoxHelp.Items.Add("校准开始按钮");
|
||||||
|
this.listBoxHelp.Items.Add("请稍等");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
this.listBoxHelp.Items.Add("START kalibrace");
|
||||||
|
this.listBoxHelp.Items.Add("čekejte prosím.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
this.listBoxHelp.Items.Add("Kalibrierungsstart");
|
||||||
|
this.listBoxHelp.Items.Add("bitte warten");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.listBoxHelp.Items.Add("校正開始");
|
||||||
|
this.listBoxHelp.Items.Add("待機する");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void UpdateDisplayHelpCancel()
|
||||||
|
{
|
||||||
|
this.listBoxHelp.Items.Clear();
|
||||||
|
|
||||||
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
this.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
this.listBoxHelp.Items.Add("Cancel the Calibration");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
this.listBoxHelp.Items.Add("取消校准");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
this.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
this.listBoxHelp.Items.Add("Brechen Sie die ");
|
||||||
|
this.listBoxHelp.Items.Add("Kalibrierung ab");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.listBoxHelp.Items.Add("校正をキャンセルする");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void UpdateDisplayHelpCalStandby()
|
||||||
|
{
|
||||||
|
this.listBoxHelp.Items.Clear();
|
||||||
|
|
||||||
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
this.listBoxHelp.Items.Add("분동을 올려주세요.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
this.listBoxHelp.Items.Add("Put the balance weight.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
this.listBoxHelp.Items.Add("放平衡重");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
this.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
this.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.listBoxHelp.Items.Add("バランスウェイトを置く。");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void UpdateDisplayHelpCalFinish()
|
||||||
|
{
|
||||||
|
this.listBoxHelp.Items.Clear();
|
||||||
|
|
||||||
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
this.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
this.listBoxHelp.Items.Add("Finished.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
this.listBoxHelp.Items.Add("完");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
this.listBoxHelp.Items.Add("Ukončený.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
this.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.listBoxHelp.Items.Add("校正終了");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void UpdateDisplayHelpCalError()
|
||||||
|
{
|
||||||
|
this.listBoxHelp.Items.Clear();
|
||||||
|
|
||||||
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
this.listBoxHelp.Items.Add("중량조정 에러");
|
||||||
|
this.listBoxHelp.Items.Add("다시 시도해 주세요");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
this.listBoxHelp.Items.Add("Calibration error.");
|
||||||
|
this.listBoxHelp.Items.Add("Please try again.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
this.listBoxHelp.Items.Add("错误发生,重试");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
this.listBoxHelp.Items.Add("Kalibrace chyba.");
|
||||||
|
this.listBoxHelp.Items.Add("Zkuste znovu.");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
this.listBoxHelp.Items.Add("Fehler!");
|
||||||
|
this.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.listBoxHelp.Items.Add("校正エラㅡ");
|
||||||
|
this.listBoxHelp.Items.Add("もうㅡ度試してください");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void CalibrationButtonEnable(bool btStart, bool btBalance, bool btCcancel)
|
public void CalibrationButtonEnable(bool btStart, bool btBalance, bool btCcancel)
|
||||||
{
|
{
|
||||||
if (this.buttonStart.Enabled != btStart)
|
if (this.buttonStart.Enabled != btStart)
|
||||||
|
@ -380,8 +596,6 @@ namespace INT63DC_2C.Forms
|
||||||
this.ParentForm.TransferData(CommunicationCommand.ModeCalibration, CommunicationID.MainBoard);
|
this.ParentForm.TransferData(CommunicationCommand.ModeCalibration, CommunicationID.MainBoard);
|
||||||
this.timer.Enabled = true;
|
this.timer.Enabled = true;
|
||||||
|
|
||||||
this.ClearListBox();
|
|
||||||
|
|
||||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -429,40 +643,7 @@ namespace INT63DC_2C.Forms
|
||||||
}
|
}
|
||||||
|
|
||||||
this.CalibrationButtonEnable(false, false, false);
|
this.CalibrationButtonEnable(false, false, false);
|
||||||
|
this.UpdateDisplayHelpInit();
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("중량조정");
|
|
||||||
this.listBoxHelp.Items.Add("LANE을 선택 후");
|
|
||||||
this.listBoxHelp.Items.Add("시작을 누르세요");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("Calibration");
|
|
||||||
this.listBoxHelp.Items.Add("After selecting line, ");
|
|
||||||
this.listBoxHelp.Items.Add("push the [Start] button.");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("校准");
|
|
||||||
this.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("Kalibrace");
|
|
||||||
this.listBoxHelp.Items.Add("Po výběru řádku, ");
|
|
||||||
this.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.listBoxHelp.Items.Add("Kalibrierung");
|
|
||||||
this.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
|
||||||
this.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -536,8 +717,6 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
private void buttonStart_Click(object sender, EventArgs e)
|
private void buttonStart_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.ClearListBox();
|
|
||||||
|
|
||||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -577,8 +756,6 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
private void buttonBalance_Click(object sender, EventArgs e)
|
private void buttonBalance_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.ClearListBox();
|
|
||||||
|
|
||||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -618,8 +795,6 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
private void buttonCancel_Click(object sender, EventArgs e)
|
private void buttonCancel_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.ClearListBox();
|
|
||||||
|
|
||||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
@ -659,8 +834,6 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
private void buttonBack_Click(object sender, EventArgs e)
|
private void buttonBack_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.ClearListBox();
|
|
||||||
|
|
||||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -57,250 +57,316 @@ namespace INT63DC_2C.Forms
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
|
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "Configuration";
|
||||||
|
|
||||||
}
|
this.groupBoxAutoZero.Text = "Auto zero";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.labelStaticTime.Text = "Time";
|
||||||
{
|
this.labelStaticRange.Text = "Range";
|
||||||
this.labelTitle.Text = "Configuration";
|
this.labelStaticVariable.Text = "Variable";
|
||||||
|
this.labelStaticMode.Text = "Mode";
|
||||||
|
|
||||||
this.groupBoxAutoZero.Text = "Auto zero";
|
this.groupBoxOption.Text = "Option";
|
||||||
this.labelStaticTime.Text = "Time";
|
this.labelStaticEmptyWeight.Text = "Empty weight Set";
|
||||||
this.labelStaticRange.Text = "Range";
|
this.labelStaticChattering.Text = "Chattering";
|
||||||
this.labelStaticVariable.Text = "Variable";
|
this.labelStaticDecimalPoint.Text = "Decimal point";
|
||||||
this.labelStaticMode.Text = "Mode";
|
this.labelStaticBuzzerOnTime.Text = "Buzzer ON time";
|
||||||
|
this.labelStaticRelayOnTime.Text = "Relay ON time";
|
||||||
|
this.labelStaticBypass.Text = "Bypass";
|
||||||
|
this.labelStaticEXT1DelayTime.Text = "EXT DelayTime";
|
||||||
|
this.labelStaticEXT1RunTime.Text = "EXT RunTime";
|
||||||
|
|
||||||
this.groupBoxOption.Text = "Option";
|
this.groupBoxComm.Text = "Communication";
|
||||||
this.labelStaticEmptyWeight.Text = "Empty weight Set";
|
this.labelStaticCommunicationSpeed.Text = "Speed";
|
||||||
this.labelStaticChattering.Text = "Chattering";
|
this.labelStaticCommunicationMode.Text = "Mode";
|
||||||
this.labelStaticDecimalPoint.Text = "Decimal point";
|
|
||||||
this.labelStaticBuzzerOnTime.Text = "Buzzer ON time";
|
|
||||||
this.labelStaticRelayOnTime.Text = "Relay ON time";
|
|
||||||
this.labelStaticBypass.Text = "Bypass";
|
|
||||||
this.labelStaticEXT1DelayTime.Text = "EXT DelayTime";
|
|
||||||
this.labelStaticEXT1RunTime.Text = "EXT RunTime";
|
|
||||||
|
|
||||||
this.groupBoxComm.Text = "Communication";
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDisable));
|
||||||
this.labelStaticCommunicationSpeed.Text = "Speed";
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDown));
|
||||||
this.labelStaticCommunicationMode.Text = "Mode";
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenUp));
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "选项";
|
||||||
|
|
||||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDisable));
|
this.groupBoxAutoZero.Text = "自动零点跟踪";
|
||||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDown));
|
this.labelStaticTime.Text = "时间";
|
||||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenUp));
|
this.labelStaticRange.Text = "范围";
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.labelStaticVariable.Text = "变化";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.labelStaticMode.Text = "模式";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "选项";
|
|
||||||
|
|
||||||
this.groupBoxAutoZero.Text = "自动零点跟踪";
|
this.groupBoxOption.Text = "等等";
|
||||||
this.labelStaticTime.Text = "时间";
|
this.labelStaticEmptyWeight.Text = "空重设置";
|
||||||
this.labelStaticRange.Text = "范围";
|
this.labelStaticChattering.Text = "颤振";
|
||||||
this.labelStaticVariable.Text = "变化";
|
this.labelStaticBuzzerOnTime.Text = "蜂鸣器开启时间";
|
||||||
this.labelStaticMode.Text = "模式";
|
this.labelStaticRelayOnTime.Text = "继电器接通时间";
|
||||||
|
this.labelStaticDecimalPoint.Text = "小数点";
|
||||||
|
this.labelStaticBypass.Text = "旁路";
|
||||||
|
this.labelStaticEXT1DelayTime.Text = "外部输出延迟时间";
|
||||||
|
this.labelStaticEXT1RunTime.Text = "外部输出运转时间";
|
||||||
|
|
||||||
this.groupBoxOption.Text = "等等";
|
this.groupBoxComm.Text = "通信";
|
||||||
this.labelStaticEmptyWeight.Text = "空重设置";
|
this.labelStaticCommunicationSpeed.Text = "波特率";
|
||||||
this.labelStaticChattering.Text = "颤振";
|
this.labelStaticCommunicationMode.Text = "模式";
|
||||||
this.labelStaticBuzzerOnTime.Text = "蜂鸣器开启时间";
|
|
||||||
this.labelStaticRelayOnTime.Text = "继电器接通时间";
|
|
||||||
this.labelStaticDecimalPoint.Text = "小数点";
|
|
||||||
this.labelStaticBypass.Text = "旁路";
|
|
||||||
this.labelStaticEXT1DelayTime.Text = "外部输出延迟时间";
|
|
||||||
this.labelStaticEXT1RunTime.Text = "外部输出运转时间";
|
|
||||||
|
|
||||||
this.groupBoxComm.Text = "通信";
|
this.groupBoxBypass.Text = "旁路";
|
||||||
this.labelStaticCommunicationSpeed.Text = "波特率";
|
this.buttonSend.Text = "发送";
|
||||||
this.labelStaticCommunicationMode.Text = "模式";
|
|
||||||
|
|
||||||
this.groupBoxBypass.Text = "旁路";
|
this.buttonSave3.Text = this.buttonSaveBypass.Text = "保存";
|
||||||
this.buttonSend.Text = "发送";
|
|
||||||
|
|
||||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "保存";
|
this.labelTitleLine1.Text = "列1";
|
||||||
|
this.labelTitleLine2.Text = "列2";
|
||||||
|
this.labelTitleLine3.Text = "列3";
|
||||||
|
this.labelTitleLine4.Text = "列4";
|
||||||
|
this.labelTitleLine5.Text = "列5";
|
||||||
|
this.labelTitleLine6.Text = "列6";
|
||||||
|
this.labelTitleLine7.Text = "列7";
|
||||||
|
this.labelTitleLine8.Text = "列8";
|
||||||
|
this.labelTitleLine9.Text = "列9";
|
||||||
|
this.labelTitleLine10.Text = "列10";
|
||||||
|
this.labelTitleLine11.Text = "列11";
|
||||||
|
this.labelTitleLine12.Text = "列12";
|
||||||
|
this.labelTitleLine13.Text = "列13";
|
||||||
|
this.labelTitleLine14.Text = "列14";
|
||||||
|
this.labelTitleLine15.Text = "列15";
|
||||||
|
this.labelTitleLine16.Text = "列16";
|
||||||
|
|
||||||
this.labelTitleLine1.Text = "列1";
|
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
||||||
this.labelTitleLine2.Text = "列2";
|
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
||||||
this.labelTitleLine3.Text = "列3";
|
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
||||||
this.labelTitleLine4.Text = "列4";
|
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
||||||
this.labelTitleLine5.Text = "列5";
|
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnEnable));
|
||||||
this.labelTitleLine6.Text = "列6";
|
|
||||||
this.labelTitleLine7.Text = "列7";
|
|
||||||
this.labelTitleLine8.Text = "列8";
|
|
||||||
this.labelTitleLine9.Text = "列9";
|
|
||||||
this.labelTitleLine10.Text = "列10";
|
|
||||||
this.labelTitleLine11.Text = "列11";
|
|
||||||
this.labelTitleLine12.Text = "列12";
|
|
||||||
this.labelTitleLine13.Text = "列13";
|
|
||||||
this.labelTitleLine14.Text = "列14";
|
|
||||||
this.labelTitleLine15.Text = "列15";
|
|
||||||
this.labelTitleLine16.Text = "列16";
|
|
||||||
|
|
||||||
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
this.buttonBypassLane1.UpImage = this.buttonBypassLane2.UpImage = this.buttonBypassLane3.UpImage =
|
||||||
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
this.buttonBypassLane4.UpImage = this.buttonBypassLane5.UpImage = this.buttonBypassLane6.UpImage =
|
||||||
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
this.buttonBypassLane7.UpImage = this.buttonBypassLane8.UpImage = this.buttonBypassLane9.UpImage =
|
||||||
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
this.buttonBypassLane10.UpImage = this.buttonBypassLane11.UpImage = this.buttonBypassLane12.UpImage =
|
||||||
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnEnable));
|
this.buttonBypassMode.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnDisable));
|
||||||
|
|
||||||
this.buttonBypassLane1.UpImage = this.buttonBypassLane2.UpImage = this.buttonBypassLane3.UpImage =
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
||||||
this.buttonBypassLane4.UpImage = this.buttonBypassLane5.UpImage = this.buttonBypassLane6.UpImage =
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDown));
|
||||||
this.buttonBypassLane7.UpImage = this.buttonBypassLane8.UpImage = this.buttonBypassLane9.UpImage =
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenUp));
|
||||||
this.buttonBypassLane10.UpImage = this.buttonBypassLane11.UpImage = this.buttonBypassLane12.UpImage =
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonBypassMode.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnDisable));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Předvolby";
|
||||||
|
|
||||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
this.groupBoxAutoZero.Text = "Automatické nulování";
|
||||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDown));
|
this.labelStaticTime.Text = "Čas";
|
||||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenUp));
|
this.labelStaticRange.Text = "Rozsah";
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.labelStaticVariable.Text = "Rozdíl";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.labelStaticMode.Text = "Režim";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Předvolby";
|
|
||||||
|
|
||||||
this.groupBoxAutoZero.Text = "Automatické nulování";
|
this.groupBoxOption.Text = "Možnosti";
|
||||||
this.labelStaticTime.Text = "Čas";
|
this.labelStaticEmptyWeight.Text = "Nastavení prázdné hmotnosti";
|
||||||
this.labelStaticRange.Text = "Rozsah";
|
this.labelStaticChattering.Text = "Uklidnění tenzometru";
|
||||||
this.labelStaticVariable.Text = "Rozdíl";
|
this.labelStaticDecimalPoint.Text = "Počet desettiných míst";
|
||||||
this.labelStaticMode.Text = "Režim";
|
this.labelStaticBuzzerOnTime.Text = "Zvukový signál - čas";
|
||||||
|
this.labelStaticRelayOnTime.Text = "Relé - čas";
|
||||||
|
this.labelStaticBypass.Text = "Vše";
|
||||||
|
this.labelStaticEXT1DelayTime.Text = "zpoždění externího výstupu";
|
||||||
|
this.labelStaticEXT1RunTime.Text = "provozu externího výstupu";
|
||||||
|
|
||||||
this.groupBoxOption.Text = "Možnosti";
|
this.groupBoxComm.Text = "Nastavení komunikace";
|
||||||
this.labelStaticEmptyWeight.Text = "Nastavení prázdné hmotnosti";
|
this.labelStaticCommunicationMode.Text = "Režim";
|
||||||
this.labelStaticChattering.Text = "Uklidnění tenzometru";
|
|
||||||
this.labelStaticDecimalPoint.Text = "Počet desettiných míst";
|
|
||||||
this.labelStaticBuzzerOnTime.Text = "Zvukový signál - čas";
|
|
||||||
this.labelStaticRelayOnTime.Text = "Relé - čas";
|
|
||||||
this.labelStaticBypass.Text = "Vše";
|
|
||||||
this.labelStaticEXT1DelayTime.Text = "zpoždění externího výstupu";
|
|
||||||
this.labelStaticEXT1RunTime.Text = "provozu externího výstupu";
|
|
||||||
|
|
||||||
this.groupBoxComm.Text = "Nastavení komunikace";
|
this.labelTitleLine1.Text = "Řada 1";
|
||||||
this.labelStaticCommunicationMode.Text = "Režim";
|
this.labelTitleLine2.Text = "Řada 2";
|
||||||
|
this.labelTitleLine3.Text = "Řada 3";
|
||||||
|
this.labelTitleLine4.Text = "Řada 4";
|
||||||
|
this.labelTitleLine5.Text = "Řada 5";
|
||||||
|
this.labelTitleLine6.Text = "Řada 6";
|
||||||
|
this.labelTitleLine7.Text = "Řada 7";
|
||||||
|
this.labelTitleLine8.Text = "Řada 8";
|
||||||
|
this.labelTitleLine9.Text = "Řada 9";
|
||||||
|
this.labelTitleLine10.Text = "Řada 10";
|
||||||
|
this.labelTitleLine11.Text = "Řada 11";
|
||||||
|
this.labelTitleLine12.Text = "Řada 12";
|
||||||
|
this.labelTitleLine13.Text = "Řada 13";
|
||||||
|
this.labelTitleLine14.Text = "Řada 14";
|
||||||
|
this.labelTitleLine15.Text = "Řada 15";
|
||||||
|
this.labelTitleLine16.Text = "Řada 16";
|
||||||
|
|
||||||
this.labelTitleLine1.Text = "Řada 1";
|
this.labelStaticBypass.Text = "Bypass vše";
|
||||||
this.labelTitleLine2.Text = "Řada 2";
|
|
||||||
this.labelTitleLine3.Text = "Řada 3";
|
|
||||||
this.labelTitleLine4.Text = "Řada 4";
|
|
||||||
this.labelTitleLine5.Text = "Řada 5";
|
|
||||||
this.labelTitleLine6.Text = "Řada 6";
|
|
||||||
this.labelTitleLine7.Text = "Řada 7";
|
|
||||||
this.labelTitleLine8.Text = "Řada 8";
|
|
||||||
this.labelTitleLine9.Text = "Řada 9";
|
|
||||||
this.labelTitleLine10.Text = "Řada 10";
|
|
||||||
this.labelTitleLine11.Text = "Řada 11";
|
|
||||||
this.labelTitleLine12.Text = "Řada 12";
|
|
||||||
this.labelTitleLine13.Text = "Řada 13";
|
|
||||||
this.labelTitleLine14.Text = "Řada 14";
|
|
||||||
this.labelTitleLine15.Text = "Řada 15";
|
|
||||||
this.labelTitleLine16.Text = "Řada 16";
|
|
||||||
|
|
||||||
this.labelStaticBypass.Text = "Bypass vše";
|
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Uložit";
|
||||||
|
|
||||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Uložit";
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
||||||
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDown));
|
||||||
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenUp));
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
|
|
||||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
||||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDown));
|
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
||||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenUp));
|
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeEnable));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
|
||||||
|
|
||||||
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
this.buttonBypassLane1.UpImage = this.buttonBypassLane2.UpImage = this.buttonBypassLane3.UpImage =
|
||||||
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
this.buttonBypassLane4.UpImage = this.buttonBypassLane5.UpImage = this.buttonBypassLane6.UpImage =
|
||||||
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
this.buttonBypassLane7.UpImage = this.buttonBypassLane8.UpImage = this.buttonBypassLane9.UpImage =
|
||||||
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
this.buttonBypassLane10.UpImage = this.buttonBypassLane11.UpImage = this.buttonBypassLane12.UpImage =
|
||||||
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeEnable));
|
this.buttonBypassMode.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeDisable));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
#region German
|
||||||
|
this.labelTitle.Text = "Konfiguration";
|
||||||
|
|
||||||
this.buttonBypassLane1.UpImage = this.buttonBypassLane2.UpImage = this.buttonBypassLane3.UpImage =
|
this.groupBoxAutoZero.Text = "automatische Nullung";
|
||||||
this.buttonBypassLane4.UpImage = this.buttonBypassLane5.UpImage = this.buttonBypassLane6.UpImage =
|
this.labelStaticTime.Text = "Zeit";
|
||||||
this.buttonBypassLane7.UpImage = this.buttonBypassLane8.UpImage = this.buttonBypassLane9.UpImage =
|
this.labelStaticRange.Text = "Bereich";
|
||||||
this.buttonBypassLane10.UpImage = this.buttonBypassLane11.UpImage = this.buttonBypassLane12.UpImage =
|
this.labelStaticVariable.Text = "Unterschied";
|
||||||
this.buttonBypassMode.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeDisable));
|
this.labelStaticMode.Text = "Modus";
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Konfiguration";
|
|
||||||
|
|
||||||
this.groupBoxAutoZero.Text = "automatische Nullung";
|
this.groupBoxOption.Text = "Möglichkeit";
|
||||||
this.labelStaticTime.Text = "Zeit";
|
this.labelStaticEmptyWeight.Text = "Leergewichtseinstellung";
|
||||||
this.labelStaticRange.Text = "Bereich";
|
this.labelStaticChattering.Font = font;
|
||||||
this.labelStaticVariable.Text = "Unterschied";
|
this.labelStaticChattering.Text = "Beruhigung des Dehnungsmessers";
|
||||||
this.labelStaticMode.Text = "Modus";
|
this.labelStaticDecimalPoint.Text = "Dezimalpunkt";
|
||||||
|
this.labelStaticBuzzerOnTime.Text = "Summer-Einschaltzeit";
|
||||||
|
this.labelStaticRelayOnTime.Text = "Relais-Einschaltzeit";
|
||||||
|
this.labelStaticBypass.Text = "Bypass-Modus";
|
||||||
|
this.labelStaticEXT1DelayTime.Font = font;
|
||||||
|
this.labelStaticEXT1DelayTime.Text = "Externe Ausgangsverzögerungszeit";
|
||||||
|
this.labelStaticEXT1RunTime.Font = font;
|
||||||
|
this.labelStaticEXT1RunTime.Text = "Betriebszeit der externen Ausgabe";
|
||||||
|
|
||||||
this.groupBoxOption.Text = "Möglichkeit";
|
this.groupBoxComm.Text = "Kommunikationseinstellung";
|
||||||
this.labelStaticEmptyWeight.Text = "Leergewichtseinstellung";
|
this.labelStaticCommunicationSpeed.Text = "Baudrate";
|
||||||
this.labelStaticChattering.Font = font;
|
this.labelStaticCommunicationMode.Text = "Modus";
|
||||||
this.labelStaticChattering.Text = "Beruhigung des Dehnungsmessers";
|
|
||||||
this.labelStaticDecimalPoint.Text = "Dezimalpunkt";
|
|
||||||
this.labelStaticBuzzerOnTime.Text = "Summer-Einschaltzeit";
|
|
||||||
this.labelStaticRelayOnTime.Text = "Relais-Einschaltzeit";
|
|
||||||
this.labelStaticBypass.Text = "Bypass-Modus";
|
|
||||||
this.labelStaticEXT1DelayTime.Font = font;
|
|
||||||
this.labelStaticEXT1DelayTime.Text = "Externe Ausgangsverzögerungszeit";
|
|
||||||
this.labelStaticEXT1RunTime.Font = font;
|
|
||||||
this.labelStaticEXT1RunTime.Text = "Betriebszeit der externen Ausgabe";
|
|
||||||
|
|
||||||
this.groupBoxComm.Text = "Kommunikationseinstellung";
|
this.labelTitleLine1.Text = "Reihe 1";
|
||||||
this.labelStaticCommunicationSpeed.Text = "Baudrate";
|
this.labelTitleLine2.Text = "Reihe 2";
|
||||||
this.labelStaticCommunicationMode.Text = "Modus";
|
this.labelTitleLine3.Text = "Reihe 3";
|
||||||
|
this.labelTitleLine4.Text = "Reihe 4";
|
||||||
|
this.labelTitleLine5.Text = "Reihe 5";
|
||||||
|
this.labelTitleLine6.Text = "Reihe 6";
|
||||||
|
this.labelTitleLine7.Text = "Reihe 7";
|
||||||
|
this.labelTitleLine8.Text = "Reihe 8";
|
||||||
|
this.labelTitleLine9.Text = "Reihe 9";
|
||||||
|
this.labelTitleLine10.Text = "Reihe 10";
|
||||||
|
this.labelTitleLine11.Text = "Reihe 11";
|
||||||
|
this.labelTitleLine12.Text = "Reihe 12";
|
||||||
|
this.labelTitleLine13.Text = "Reihe 13";
|
||||||
|
this.labelTitleLine14.Text = "Reihe 14";
|
||||||
|
this.labelTitleLine15.Text = "Reihe 15";
|
||||||
|
this.labelTitleLine16.Text = "Reihe 16";
|
||||||
|
|
||||||
this.labelTitleLine1.Text = "Reihe 1";
|
this.labelStaticBypass.Text = "Bypass Alles";
|
||||||
this.labelTitleLine2.Text = "Reihe 2";
|
this.buttonSend.Text = "Senden";
|
||||||
this.labelTitleLine3.Text = "Reihe 3";
|
this.tabPage1.Text = "Automatische Nullung";
|
||||||
this.labelTitleLine4.Text = "Reihe 4";
|
this.tabPage2.Text = "Kalibrierung";
|
||||||
this.labelTitleLine5.Text = "Reihe 5";
|
this.tabPage3.Text = "Tascheneinstellung";
|
||||||
this.labelTitleLine6.Text = "Reihe 6";
|
this.buttonZeroRange.Text = "Bereich Z";
|
||||||
this.labelTitleLine7.Text = "Reihe 7";
|
this.buttonZeroTime.Text = "Zeit Z";
|
||||||
this.labelTitleLine8.Text = "Reihe 8";
|
this.buttonZeroVariate.Text = "Unterschied Z";
|
||||||
this.labelTitleLine9.Text = "Reihe 9";
|
this.buttonBalanceWeight.Text = "Waage G.";
|
||||||
this.labelTitleLine10.Text = "Reihe 10";
|
this.buttonMaxWeight.Text = "Maximalgewicht";
|
||||||
this.labelTitleLine11.Text = "Reihe 11";
|
this.buttonDigit.Text = "Ziffer";
|
||||||
this.labelTitleLine12.Text = "Reihe 12";
|
|
||||||
this.labelTitleLine13.Text = "Reihe 13";
|
|
||||||
this.labelTitleLine14.Text = "Reihe 14";
|
|
||||||
this.labelTitleLine15.Text = "Reihe 15";
|
|
||||||
this.labelTitleLine16.Text = "Reihe 16";
|
|
||||||
|
|
||||||
this.labelStaticBypass.Text = "Bypass Alles";
|
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Speichern";
|
||||||
this.buttonSend.Text = "Senden";
|
|
||||||
this.tabPage1.Text = "Automatische Nullung";
|
|
||||||
this.tabPage2.Text = "Kalibrierung";
|
|
||||||
this.tabPage3.Text = "Tascheneinstellung";
|
|
||||||
this.buttonZeroRange.Text = "Bereich Z";
|
|
||||||
this.buttonZeroTime.Text = "Zeit Z";
|
|
||||||
this.buttonZeroVariate.Text = "Unterschied Z";
|
|
||||||
this.buttonBalanceWeight.Text = "Waage G.";
|
|
||||||
this.buttonMaxWeight.Text = "Maximalgewicht";
|
|
||||||
this.buttonDigit.Text = "Ziffer";
|
|
||||||
|
|
||||||
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
||||||
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDown));
|
||||||
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenUp));
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
|
|
||||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Speichern";
|
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
||||||
|
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
||||||
|
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
||||||
|
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
||||||
|
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerEnable));
|
||||||
|
|
||||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
this.buttonBypassLane1.UpImage = this.buttonBypassLane2.UpImage = this.buttonBypassLane3.UpImage =
|
||||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDown));
|
this.buttonBypassLane4.UpImage = this.buttonBypassLane5.UpImage = this.buttonBypassLane6.UpImage =
|
||||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenUp));
|
this.buttonBypassLane7.UpImage = this.buttonBypassLane8.UpImage = this.buttonBypassLane9.UpImage =
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.buttonBypassLane10.UpImage = this.buttonBypassLane11.UpImage = this.buttonBypassLane12.UpImage =
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.buttonBypassMode.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerDisable));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.labelTitle.Text = "構成";
|
||||||
|
|
||||||
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
this.groupBoxAutoZero.Text = "オㅡトゼロ";
|
||||||
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
this.labelStaticTime.Text = "時間";
|
||||||
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
this.labelStaticRange.Text = "範囲";
|
||||||
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
this.labelStaticVariable.Text = "変化";
|
||||||
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerEnable));
|
this.labelStaticMode.Text = "モード";
|
||||||
|
|
||||||
this.buttonBypassLane1.UpImage = this.buttonBypassLane2.UpImage = this.buttonBypassLane3.UpImage =
|
this.groupBoxOption.Text = "オプション設定";
|
||||||
this.buttonBypassLane4.UpImage = this.buttonBypassLane5.UpImage = this.buttonBypassLane6.UpImage =
|
this.labelStaticEmptyWeight.Text = "空重量セット";
|
||||||
this.buttonBypassLane7.UpImage = this.buttonBypassLane8.UpImage = this.buttonBypassLane9.UpImage =
|
this.labelStaticChattering.Text = "チャタリング";
|
||||||
this.buttonBypassLane10.UpImage = this.buttonBypassLane11.UpImage = this.buttonBypassLane12.UpImage =
|
this.labelStaticDecimalPoint.Text = "小数点";
|
||||||
this.buttonBypassMode.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerDisable));
|
this.labelStaticBuzzerOnTime.Text = "ブザㅡON時間";
|
||||||
}
|
this.labelStaticRelayOnTime.Text = "リレㅡON時間";
|
||||||
else
|
this.labelStaticBypass.Text = "バイパスモㅡド";
|
||||||
{
|
this.labelStaticEXT1DelayTime.Text = "外部出力遅延時間";
|
||||||
|
this.labelStaticEXT1RunTime.Text = "外部出力 運転時間";
|
||||||
|
|
||||||
|
this.groupBoxComm.Text = "通信";
|
||||||
|
this.labelStaticCommunicationSpeed.Text = "ボㅡレㅡト";
|
||||||
|
this.labelStaticCommunicationMode.Text = "モㅡド";
|
||||||
|
|
||||||
|
this.labelTitleLine1.Text = "レㅡン 1";
|
||||||
|
this.labelTitleLine2.Text = "レㅡン 2";
|
||||||
|
this.labelTitleLine3.Text = "レㅡン 3";
|
||||||
|
this.labelTitleLine4.Text = "レㅡン 4";
|
||||||
|
this.labelTitleLine5.Text = "レㅡン 5";
|
||||||
|
this.labelTitleLine6.Text = "レㅡン 6";
|
||||||
|
this.labelTitleLine7.Text = "レㅡン 7";
|
||||||
|
this.labelTitleLine8.Text = "レㅡン 8";
|
||||||
|
this.labelTitleLine9.Text = "レㅡン 9";
|
||||||
|
this.labelTitleLine10.Text = "レㅡン 10";
|
||||||
|
this.labelTitleLine11.Text = "レㅡン 11";
|
||||||
|
this.labelTitleLine12.Text = "レㅡン 12";
|
||||||
|
this.labelTitleLine13.Text = "レㅡン 13";
|
||||||
|
this.labelTitleLine14.Text = "レㅡン 14";
|
||||||
|
this.labelTitleLine15.Text = "レㅡン 15";
|
||||||
|
this.labelTitleLine16.Text = "レㅡン 16";
|
||||||
|
|
||||||
|
this.labelStaticBypass.Text = "バイパスモㅡド";
|
||||||
|
|
||||||
|
this.buttonSave3.Text = this.buttonSaveBypass.Text = "保存";
|
||||||
|
this.buttonSend.Text = "送信";
|
||||||
|
|
||||||
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDisable));
|
||||||
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDown));
|
||||||
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenUp));
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
|
||||||
|
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
||||||
|
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
||||||
|
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
||||||
|
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
||||||
|
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeEnable));
|
||||||
|
|
||||||
|
this.buttonBypassLane1.UpImage = this.buttonBypassLane2.UpImage = this.buttonBypassLane3.UpImage =
|
||||||
|
this.buttonBypassLane4.UpImage = this.buttonBypassLane5.UpImage = this.buttonBypassLane6.UpImage =
|
||||||
|
this.buttonBypassLane7.UpImage = this.buttonBypassLane8.UpImage = this.buttonBypassLane9.UpImage =
|
||||||
|
this.buttonBypassLane10.UpImage = this.buttonBypassLane11.UpImage = this.buttonBypassLane12.UpImage =
|
||||||
|
this.buttonBypassMode.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeDisable));
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
|
@ -327,25 +393,31 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
this.comboBoxZeroParameterMode.Items.Clear();
|
this.comboBoxZeroParameterMode.Items.Clear();
|
||||||
this.comboBoxZeroParameterMode.SelectedIndexChanged -= new EventHandler(this.comboBoxZeroParameterMode_SelectedIndexChanged);
|
this.comboBoxZeroParameterMode.SelectedIndexChanged -= new EventHandler(this.comboBoxZeroParameterMode_SelectedIndexChanged);
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
this.comboBoxZeroParameterMode.Items.Add("模式1");
|
case DataStore.LanguageID.Korean:
|
||||||
this.comboBoxZeroParameterMode.Items.Add("模式2");
|
case DataStore.LanguageID.English:
|
||||||
}
|
this.comboBoxZeroParameterMode.Items.Add("Mode1");
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
this.comboBoxZeroParameterMode.Items.Add("Mode2");
|
||||||
{
|
break;
|
||||||
this.comboBoxZeroParameterMode.Items.Add("Režim1");
|
case DataStore.LanguageID.Chinese:
|
||||||
this.comboBoxZeroParameterMode.Items.Add("Režim2");
|
this.comboBoxZeroParameterMode.Items.Add("模式1");
|
||||||
}
|
this.comboBoxZeroParameterMode.Items.Add("模式2");
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.comboBoxZeroParameterMode.Items.Add("Modus1");
|
this.comboBoxZeroParameterMode.Items.Add("Režim1");
|
||||||
this.comboBoxZeroParameterMode.Items.Add("Modus2");
|
this.comboBoxZeroParameterMode.Items.Add("Režim2");
|
||||||
}
|
break;
|
||||||
else
|
case DataStore.LanguageID.German:
|
||||||
{
|
this.comboBoxZeroParameterMode.Items.Add("Modus1");
|
||||||
this.comboBoxZeroParameterMode.Items.Add("Mode1");
|
this.comboBoxZeroParameterMode.Items.Add("Modus2");
|
||||||
this.comboBoxZeroParameterMode.Items.Add("Mode2");
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
this.comboBoxZeroParameterMode.Items.Add("モード1");
|
||||||
|
this.comboBoxZeroParameterMode.Items.Add("モード2");
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
this.comboBoxZeroParameterMode.SelectedIndex = 0;
|
this.comboBoxZeroParameterMode.SelectedIndex = 0;
|
||||||
this.comboBoxZeroParameterMode.SelectedIndexChanged += new EventHandler(this.comboBoxZeroParameterMode_SelectedIndexChanged);
|
this.comboBoxZeroParameterMode.SelectedIndexChanged += new EventHandler(this.comboBoxZeroParameterMode_SelectedIndexChanged);
|
||||||
|
@ -601,16 +673,8 @@ namespace INT63DC_2C.Forms
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
this.labelProtocolDescriptionCOM3_1.Text = "";
|
||||||
{
|
this.labelProtocolDescriptionCOM3_2.Text = "";
|
||||||
this.labelProtocolDescriptionCOM3_1.Text = "COM3协议说明";
|
|
||||||
this.labelProtocolDescriptionCOM3_2.Text = "COM3协议说明";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this.labelProtocolDescriptionCOM3_1.Text = "COM3 Protocol Description";
|
|
||||||
this.labelProtocolDescriptionCOM3_2.Text = "COM3 Protocol Description";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Serial3Mode != 0)
|
if (this.ParentForm.SystemConfig.Serial3Mode != 0)
|
||||||
|
|
|
@ -42,91 +42,115 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "Data backup";
|
||||||
|
|
||||||
}
|
this.labelStaticBackupEnable.Text = "Create backup file";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.labelStaticSaveFile.Text = "Saved files";
|
||||||
{
|
this.labelStaticWarning1.Text = "※ Caution";
|
||||||
this.labelTitle.Text = "Data backup";
|
this.labelStaticWarning2.Text = "The saved data in this system is deleted if the backup is performed through USB memory device.";
|
||||||
|
|
||||||
this.labelStaticBackupEnable.Text = "Create backup file";
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDisable));
|
||||||
this.labelStaticSaveFile.Text = "Saved files";
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDown));
|
||||||
this.labelStaticWarning1.Text = "※ Caution";
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupUp));
|
||||||
this.labelStaticWarning2.Text = "The saved data in this system is deleted if the backup is performed through USB memory device.";
|
|
||||||
|
|
||||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "数据备份";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.labelStaticBackupEnable.Text = "备份";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.labelStaticSaveFile.Text = "文件";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.labelStaticWarning1.Text = "※注意:";
|
||||||
}
|
this.labelStaticWarning2.Text = "当数据保存到USB中后,系统数据被删除";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "数据备份";
|
|
||||||
|
|
||||||
this.labelStaticBackupEnable.Text = "备份";
|
this.radioButtonEnable.Text = "启用";
|
||||||
this.labelStaticSaveFile.Text = "文件";
|
this.radioButtonDisable.Text = "禁用";
|
||||||
this.labelStaticWarning1.Text = "※注意:";
|
|
||||||
this.labelStaticWarning2.Text = "当数据保存到USB中后,系统数据被删除";
|
|
||||||
|
|
||||||
this.radioButtonEnable.Text = "启用";
|
this.buttonUSBID.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormDataBackupUSBIDDown));
|
||||||
this.radioButtonDisable.Text = "禁用";
|
this.buttonUSBID.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormDataBackupUSBIDUp));
|
||||||
|
|
||||||
this.buttonUSBID.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormDataBackupUSBIDDown));
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
||||||
this.buttonUSBID.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormDataBackupUSBIDUp));
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDown));
|
||||||
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupUp));
|
||||||
|
|
||||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Záloha dat";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.labelStaticBackupEnable.Text = "Zálohovat";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.labelStaticSaveFile.Text = "Soubor";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.labelStaticWarning1.Text = "※ Pozor";
|
||||||
}
|
this.labelStaticWarning2.Text = "Po provedení zálohy na USB se data v systému se smažou!";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
this.radioButtonEnable.Text = "Povolit";
|
||||||
{
|
this.radioButtonDisable.Text = "Zakázat";
|
||||||
this.labelTitle.Text = "Záloha dat";
|
|
||||||
|
|
||||||
this.labelStaticBackupEnable.Text = "Zálohovat";
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
||||||
this.labelStaticSaveFile.Text = "Soubor";
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDown));
|
||||||
this.labelStaticWarning1.Text = "※ Pozor";
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupUp));
|
||||||
this.labelStaticWarning2.Text = "Po provedení zálohy na USB se data v systému se smažou!";
|
|
||||||
this.radioButtonEnable.Text = "Povolit";
|
|
||||||
this.radioButtonDisable.Text = "Zakázat";
|
|
||||||
|
|
||||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
#region German
|
||||||
|
this.labelTitle.Text = "Datensicherung";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.labelStaticBackupEnable.Text = "Sicherung";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.labelStaticSaveFile.Text = "Datei";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.labelStaticWarning1.Text = "※ Vorsicht";
|
||||||
}
|
this.labelStaticWarning2.Text = "Nach der USB-Sicherung werden die Daten im System gelöscht!";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
this.radioButtonEnable.Text = "Aktivieren";
|
||||||
{
|
this.radioButtonDisable.Text = "Deaktivieren";
|
||||||
this.labelTitle.Text = "Datensicherung";
|
|
||||||
|
|
||||||
this.labelStaticBackupEnable.Text = "Sicherung";
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
||||||
this.labelStaticSaveFile.Text = "Datei";
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDown));
|
||||||
this.labelStaticWarning1.Text = "※ Vorsicht";
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupUp));
|
||||||
this.labelStaticWarning2.Text = "Nach der USB-Sicherung werden die Daten im System gelöscht!";
|
|
||||||
this.radioButtonEnable.Text = "Aktivieren";
|
|
||||||
this.radioButtonDisable.Text = "Deaktivieren";
|
|
||||||
|
|
||||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "デㅡタバックアップ";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.labelStaticBackupEnable.Text = "バックアップ";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.labelStaticSaveFile.Text = "ファイル";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
this.labelStaticWarning1.Text = "※ 注意";
|
||||||
}
|
this.labelStaticWarning2.Text = "システム内のデㅡタは削除される USBメモリにデㅡタをバックアップする場合";
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.radioButtonEnable.Text = "有効";
|
||||||
|
this.radioButtonDisable.Text = "無効";
|
||||||
|
|
||||||
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDisable));
|
||||||
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDown));
|
||||||
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupUp));
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void DefaultSetting()
|
private void DefaultSetting()
|
||||||
|
|
|
@ -85,73 +85,93 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "Data Statistics";
|
||||||
|
|
||||||
}
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDisable));
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDown));
|
||||||
{
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupUp));
|
||||||
this.labelTitle.Text = "Data Statistics";
|
|
||||||
|
|
||||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "数据统计";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupUp));
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "数据统计";
|
|
||||||
|
|
||||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectDisable));
|
||||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDown));
|
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectDown));
|
||||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupUp));
|
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectUp));
|
||||||
|
|
||||||
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Data Statistics";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupUp));
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Data Statistics";
|
|
||||||
|
|
||||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectDisable));
|
||||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDown));
|
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectDown));
|
||||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupUp));
|
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectUp));
|
||||||
|
|
||||||
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
#region German
|
||||||
|
this.labelTitle.Text = "Data Statistics";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupUp));
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Data Statistics";
|
|
||||||
|
|
||||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectDisable));
|
||||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDown));
|
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectDown));
|
||||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupUp));
|
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectUp));
|
||||||
|
|
||||||
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "データ統計";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupUp));
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectDisable));
|
||||||
|
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectDown));
|
||||||
|
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFileSelectUp));
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
|
|
|
@ -39,8 +39,8 @@
|
||||||
this.labelWeightLimitIgnoreCount = new SmartX.SmartLabel();
|
this.labelWeightLimitIgnoreCount = new SmartX.SmartLabel();
|
||||||
this.labelStaticWeightLimitIgnoreCount = new SmartX.SmartLabel();
|
this.labelStaticWeightLimitIgnoreCount = new SmartX.SmartLabel();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.rbServoMotor = new System.Windows.Forms.RadioButton();
|
this.radioButtonServoMotor = new System.Windows.Forms.RadioButton();
|
||||||
this.rbAcMotor = new System.Windows.Forms.RadioButton();
|
this.radioButtonAcMotor = new System.Windows.Forms.RadioButton();
|
||||||
this.labelStaticMotor = new SmartX.SmartLabel();
|
this.labelStaticMotor = new SmartX.SmartLabel();
|
||||||
this.labelEmptyWeight = new SmartX.SmartLabel();
|
this.labelEmptyWeight = new SmartX.SmartLabel();
|
||||||
this.labelStaticEmptyWeight = new SmartX.SmartLabel();
|
this.labelStaticEmptyWeight = new SmartX.SmartLabel();
|
||||||
|
@ -58,6 +58,7 @@
|
||||||
this.buttonBack = new SmartX.SmartButton();
|
this.buttonBack = new SmartX.SmartButton();
|
||||||
this.buttonSave = new SmartX.SmartButton();
|
this.buttonSave = new SmartX.SmartButton();
|
||||||
this.panel7 = new System.Windows.Forms.Panel();
|
this.panel7 = new System.Windows.Forms.Panel();
|
||||||
|
this.radioButtonLanguageJap = new System.Windows.Forms.RadioButton();
|
||||||
this.radioButtonLanguageGerman = new System.Windows.Forms.RadioButton();
|
this.radioButtonLanguageGerman = new System.Windows.Forms.RadioButton();
|
||||||
this.radioButtonLanguageCzech = new System.Windows.Forms.RadioButton();
|
this.radioButtonLanguageCzech = new System.Windows.Forms.RadioButton();
|
||||||
this.radioButtonLanguageChinese = new System.Windows.Forms.RadioButton();
|
this.radioButtonLanguageChinese = new System.Windows.Forms.RadioButton();
|
||||||
|
@ -274,32 +275,32 @@
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BackColor = System.Drawing.SystemColors.ControlLight;
|
this.panel1.BackColor = System.Drawing.SystemColors.ControlLight;
|
||||||
this.panel1.Controls.Add(this.rbServoMotor);
|
this.panel1.Controls.Add(this.radioButtonServoMotor);
|
||||||
this.panel1.Controls.Add(this.rbAcMotor);
|
this.panel1.Controls.Add(this.radioButtonAcMotor);
|
||||||
this.panel1.Location = new System.Drawing.Point(425, 352);
|
this.panel1.Location = new System.Drawing.Point(425, 352);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(450, 25);
|
this.panel1.Size = new System.Drawing.Size(450, 25);
|
||||||
//
|
//
|
||||||
// rbServoMotor
|
// radioButtonServoMotor
|
||||||
//
|
//
|
||||||
this.rbServoMotor.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.radioButtonServoMotor.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||||
this.rbServoMotor.Location = new System.Drawing.Point(212, 3);
|
this.radioButtonServoMotor.Location = new System.Drawing.Point(212, 3);
|
||||||
this.rbServoMotor.Name = "rbServoMotor";
|
this.radioButtonServoMotor.Name = "radioButtonServoMotor";
|
||||||
this.rbServoMotor.Size = new System.Drawing.Size(189, 20);
|
this.radioButtonServoMotor.Size = new System.Drawing.Size(189, 20);
|
||||||
this.rbServoMotor.TabIndex = 1;
|
this.radioButtonServoMotor.TabIndex = 1;
|
||||||
this.rbServoMotor.Text = "Servo Motor";
|
this.radioButtonServoMotor.Text = "Servo Motor";
|
||||||
this.rbServoMotor.Click += new System.EventHandler(this.control_Click);
|
this.radioButtonServoMotor.Click += new System.EventHandler(this.control_Click);
|
||||||
//
|
//
|
||||||
// rbAcMotor
|
// radioButtonAcMotor
|
||||||
//
|
//
|
||||||
this.rbAcMotor.Checked = true;
|
this.radioButtonAcMotor.Checked = true;
|
||||||
this.rbAcMotor.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.radioButtonAcMotor.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||||
this.rbAcMotor.Location = new System.Drawing.Point(20, 3);
|
this.radioButtonAcMotor.Location = new System.Drawing.Point(20, 3);
|
||||||
this.rbAcMotor.Name = "rbAcMotor";
|
this.radioButtonAcMotor.Name = "radioButtonAcMotor";
|
||||||
this.rbAcMotor.Size = new System.Drawing.Size(189, 20);
|
this.radioButtonAcMotor.Size = new System.Drawing.Size(189, 20);
|
||||||
this.rbAcMotor.TabIndex = 0;
|
this.radioButtonAcMotor.TabIndex = 0;
|
||||||
this.rbAcMotor.Text = "AC Motor";
|
this.radioButtonAcMotor.Text = "AC Motor";
|
||||||
this.rbAcMotor.Click += new System.EventHandler(this.control_Click);
|
this.radioButtonAcMotor.Click += new System.EventHandler(this.control_Click);
|
||||||
//
|
//
|
||||||
// labelStaticMotor
|
// labelStaticMotor
|
||||||
//
|
//
|
||||||
|
@ -308,7 +309,7 @@
|
||||||
this.labelStaticMotor.BackPictureBox2 = null;
|
this.labelStaticMotor.BackPictureBox2 = null;
|
||||||
this.labelStaticMotor.BorderColor = System.Drawing.Color.Black;
|
this.labelStaticMotor.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelStaticMotor.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelStaticMotor.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelStaticMotor.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.labelStaticMotor.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelStaticMotor.InitVisible = true;
|
this.labelStaticMotor.InitVisible = true;
|
||||||
this.labelStaticMotor.LineSpacing = 0F;
|
this.labelStaticMotor.LineSpacing = 0F;
|
||||||
this.labelStaticMotor.Location = new System.Drawing.Point(120, 352);
|
this.labelStaticMotor.Location = new System.Drawing.Point(120, 352);
|
||||||
|
@ -585,7 +586,7 @@
|
||||||
this.labelStaticLogin.BackPictureBox2 = null;
|
this.labelStaticLogin.BackPictureBox2 = null;
|
||||||
this.labelStaticLogin.BorderColor = System.Drawing.Color.Black;
|
this.labelStaticLogin.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelStaticLogin.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelStaticLogin.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelStaticLogin.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.labelStaticLogin.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelStaticLogin.InitVisible = true;
|
this.labelStaticLogin.InitVisible = true;
|
||||||
this.labelStaticLogin.LineSpacing = 0F;
|
this.labelStaticLogin.LineSpacing = 0F;
|
||||||
this.labelStaticLogin.Location = new System.Drawing.Point(120, 290);
|
this.labelStaticLogin.Location = new System.Drawing.Point(120, 290);
|
||||||
|
@ -662,6 +663,7 @@
|
||||||
// panel7
|
// panel7
|
||||||
//
|
//
|
||||||
this.panel7.BackColor = System.Drawing.SystemColors.ControlLight;
|
this.panel7.BackColor = System.Drawing.SystemColors.ControlLight;
|
||||||
|
this.panel7.Controls.Add(this.radioButtonLanguageJap);
|
||||||
this.panel7.Controls.Add(this.radioButtonLanguageGerman);
|
this.panel7.Controls.Add(this.radioButtonLanguageGerman);
|
||||||
this.panel7.Controls.Add(this.radioButtonLanguageCzech);
|
this.panel7.Controls.Add(this.radioButtonLanguageCzech);
|
||||||
this.panel7.Controls.Add(this.radioButtonLanguageChinese);
|
this.panel7.Controls.Add(this.radioButtonLanguageChinese);
|
||||||
|
@ -671,6 +673,17 @@
|
||||||
this.panel7.Name = "panel7";
|
this.panel7.Name = "panel7";
|
||||||
this.panel7.Size = new System.Drawing.Size(450, 50);
|
this.panel7.Size = new System.Drawing.Size(450, 50);
|
||||||
//
|
//
|
||||||
|
// radioButtonLanguageJap
|
||||||
|
//
|
||||||
|
this.radioButtonLanguageJap.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||||
|
this.radioButtonLanguageJap.Location = new System.Drawing.Point(272, 27);
|
||||||
|
this.radioButtonLanguageJap.Name = "radioButtonLanguageJap";
|
||||||
|
this.radioButtonLanguageJap.Size = new System.Drawing.Size(120, 20);
|
||||||
|
this.radioButtonLanguageJap.TabIndex = 6;
|
||||||
|
this.radioButtonLanguageJap.TabStop = false;
|
||||||
|
this.radioButtonLanguageJap.Text = "日本語";
|
||||||
|
this.radioButtonLanguageJap.Click += new System.EventHandler(this.control_Click);
|
||||||
|
//
|
||||||
// radioButtonLanguageGerman
|
// radioButtonLanguageGerman
|
||||||
//
|
//
|
||||||
this.radioButtonLanguageGerman.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.radioButtonLanguageGerman.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||||
|
@ -805,7 +818,7 @@
|
||||||
this.labelStaticLanguage.BackPictureBox2 = null;
|
this.labelStaticLanguage.BackPictureBox2 = null;
|
||||||
this.labelStaticLanguage.BorderColor = System.Drawing.Color.Black;
|
this.labelStaticLanguage.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelStaticLanguage.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelStaticLanguage.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelStaticLanguage.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.labelStaticLanguage.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelStaticLanguage.InitVisible = true;
|
this.labelStaticLanguage.InitVisible = true;
|
||||||
this.labelStaticLanguage.LineSpacing = 0F;
|
this.labelStaticLanguage.LineSpacing = 0F;
|
||||||
this.labelStaticLanguage.Location = new System.Drawing.Point(120, 414);
|
this.labelStaticLanguage.Location = new System.Drawing.Point(120, 414);
|
||||||
|
@ -864,7 +877,7 @@
|
||||||
this.labelStaticIndividualNG.BackPictureBox2 = null;
|
this.labelStaticIndividualNG.BackPictureBox2 = null;
|
||||||
this.labelStaticIndividualNG.BorderColor = System.Drawing.Color.Black;
|
this.labelStaticIndividualNG.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelStaticIndividualNG.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelStaticIndividualNG.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelStaticIndividualNG.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.labelStaticIndividualNG.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelStaticIndividualNG.InitVisible = true;
|
this.labelStaticIndividualNG.InitVisible = true;
|
||||||
this.labelStaticIndividualNG.LineSpacing = 0F;
|
this.labelStaticIndividualNG.LineSpacing = 0F;
|
||||||
this.labelStaticIndividualNG.Location = new System.Drawing.Point(120, 321);
|
this.labelStaticIndividualNG.Location = new System.Drawing.Point(120, 321);
|
||||||
|
@ -883,7 +896,7 @@
|
||||||
this.labelStaticOrder.BackPictureBox2 = null;
|
this.labelStaticOrder.BackPictureBox2 = null;
|
||||||
this.labelStaticOrder.BorderColor = System.Drawing.Color.Black;
|
this.labelStaticOrder.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelStaticOrder.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelStaticOrder.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelStaticOrder.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.labelStaticOrder.Font = new System.Drawing.Font("New Gulim", 10F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelStaticOrder.InitVisible = true;
|
this.labelStaticOrder.InitVisible = true;
|
||||||
this.labelStaticOrder.LineSpacing = 0F;
|
this.labelStaticOrder.LineSpacing = 0F;
|
||||||
this.labelStaticOrder.Location = new System.Drawing.Point(120, 383);
|
this.labelStaticOrder.Location = new System.Drawing.Point(120, 383);
|
||||||
|
@ -943,8 +956,6 @@
|
||||||
this.Controls.Add(this.groupBoxSpecialMenu);
|
this.Controls.Add(this.groupBoxSpecialMenu);
|
||||||
this.Controls.Add(this.smartForm1);
|
this.Controls.Add(this.smartForm1);
|
||||||
this.Name = "FormEquipmentSetting";
|
this.Name = "FormEquipmentSetting";
|
||||||
this.Text = " " +
|
|
||||||
" ";
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).EndInit();
|
||||||
this.groupBoxSpecialMenu.ResumeLayout(false);
|
this.groupBoxSpecialMenu.ResumeLayout(false);
|
||||||
this.panel3.ResumeLayout(false);
|
this.panel3.ResumeLayout(false);
|
||||||
|
@ -991,8 +1002,8 @@
|
||||||
private SmartX.SmartLabel labelInfo2;
|
private SmartX.SmartLabel labelInfo2;
|
||||||
private SmartX.SmartLabel labelInfo1;
|
private SmartX.SmartLabel labelInfo1;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private System.Windows.Forms.Panel panel1;
|
||||||
public System.Windows.Forms.RadioButton rbServoMotor;
|
public System.Windows.Forms.RadioButton radioButtonServoMotor;
|
||||||
public System.Windows.Forms.RadioButton rbAcMotor;
|
public System.Windows.Forms.RadioButton radioButtonAcMotor;
|
||||||
private SmartX.SmartLabel labelStaticMotor;
|
private SmartX.SmartLabel labelStaticMotor;
|
||||||
public SmartX.SmartLabel labelEmptyWeight;
|
public SmartX.SmartLabel labelEmptyWeight;
|
||||||
private SmartX.SmartLabel labelStaticEmptyWeight;
|
private SmartX.SmartLabel labelStaticEmptyWeight;
|
||||||
|
@ -1003,5 +1014,6 @@
|
||||||
public System.Windows.Forms.RadioButton radioButtonCOM2;
|
public System.Windows.Forms.RadioButton radioButtonCOM2;
|
||||||
public System.Windows.Forms.RadioButton radioButtonCOM1;
|
public System.Windows.Forms.RadioButton radioButtonCOM1;
|
||||||
private SmartX.SmartLabel smartLabel1;
|
private SmartX.SmartLabel smartLabel1;
|
||||||
|
private System.Windows.Forms.RadioButton radioButtonLanguageJap;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -40,157 +40,189 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "Equipment settings";
|
||||||
|
|
||||||
}
|
this.labelStaticLane.Text = "Lane";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.labelStaticOrder.Text = "Order";
|
||||||
{
|
this.labelStaticIndividualNG.Text = "Individual NG";
|
||||||
#region English
|
this.labelStaticLanguage.Text = "Language";
|
||||||
this.labelTitle.Text = "Equipment settings";
|
this.labelStaticSorter1Location.Text = "Sorter1 Location";
|
||||||
|
this.labelStaticSorter2Location.Text = "Sorter2 Location";
|
||||||
|
this.labelStaticSorter3Location.Text = "Sorter3 Location";
|
||||||
|
this.labelStaticLogin.Text = "Login";
|
||||||
|
this.labelStaticEmptyWeight.Text = "Empty weight Set";
|
||||||
|
this.labelStaticMotor.Text = "Motor";
|
||||||
|
this.labelStaticWeightLimitIgnoreCount.Text = "Weight limit - Ignore count";
|
||||||
|
|
||||||
this.labelStaticLane.Text = "Lane";
|
this.labelInfo1.Text = "※ Sorting NG products by weight";
|
||||||
this.labelStaticOrder.Text = "Order";
|
this.labelInfo2.Text = "※ Normal product (selected under quantity)";
|
||||||
this.labelStaticIndividualNG.Text = "Individual NG";
|
this.labelInfo3.Text = "※ Sampling Sorting (if not used, use in sorter 2)";
|
||||||
this.labelStaticLanguage.Text = "Language";
|
|
||||||
this.labelStaticSorter1Location.Text = "Sorter1 Location";
|
|
||||||
this.labelStaticSorter2Location.Text = "Sorter2 Location";
|
|
||||||
this.labelStaticSorter3Location.Text = "Sorter3 Location";
|
|
||||||
this.labelStaticLogin.Text = "Login";
|
|
||||||
this.labelStaticEmptyWeight.Text = "Empty weight Set";
|
|
||||||
this.labelStaticMotor.Text = "Motor";
|
|
||||||
this.labelStaticWeightLimitIgnoreCount.Text = "Weight limit - Ignore count";
|
|
||||||
|
|
||||||
this.labelInfo1.Text = "※ Sorting NG products by weight";
|
this.labelBuadrateWarning.Text = "※ After changing setting, Turn the power off and back on";
|
||||||
this.labelInfo2.Text = "※ Normal product (selected under quantity)";
|
this.labelBuadrateWarning2.Text = "※ Do not change the value except engineer";
|
||||||
this.labelInfo3.Text = "※ Sampling Sorting (if not used, use in sorter 2)";
|
|
||||||
|
|
||||||
this.labelBuadrateWarning.Text = "※ After changing setting, Turn the power off and back on";
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||||
this.labelBuadrateWarning2.Text = "※ Do not change the value except engineer";
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
||||||
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "设备设置";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.labelStaticLane.Text = "列";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.labelStaticOrder.Text = "重量显示";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.labelStaticIndividualNG.Text = "单独NG";
|
||||||
#endregion
|
this.labelStaticLanguage.Text = "语言";
|
||||||
}
|
this.labelStaticSorter1Location.Text = "分类机1 地点";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
this.labelStaticSorter2Location.Text = "分类机2 地点";
|
||||||
{
|
this.labelStaticSorter3Location.Text = "分类机3 地点";
|
||||||
#region Chinese
|
this.labelStaticLogin.Text = "登錄";
|
||||||
this.labelTitle.Text = "设备设置";
|
this.labelStaticEmptyWeight.Text = "空重设置";
|
||||||
|
this.labelStaticMotor.Text = "马达";
|
||||||
|
this.labelStaticWeightLimitIgnoreCount.Text = "重量限制 - 忽略计数";
|
||||||
|
|
||||||
this.labelStaticLane.Text = "列";
|
this.radioButtonAcMotor.Text = "交流电机(AC)";
|
||||||
this.labelStaticOrder.Text = "重量显示";
|
this.radioButtonServoMotor.Text = "伺服电机(Servo)";
|
||||||
this.labelStaticIndividualNG.Text = "单独NG";
|
|
||||||
this.labelStaticLanguage.Text = "语言";
|
|
||||||
this.labelStaticSorter1Location.Text = "分类机1 地点";
|
|
||||||
this.labelStaticSorter2Location.Text = "分类机2 地点";
|
|
||||||
this.labelStaticSorter3Location.Text = "分类机3 地点";
|
|
||||||
this.labelStaticLogin.Text = "登錄";
|
|
||||||
this.labelStaticEmptyWeight.Text = "空重设置";
|
|
||||||
this.labelStaticMotor.Text = "马达";
|
|
||||||
this.labelStaticWeightLimitIgnoreCount.Text = "重量限制 - 忽略计数";
|
|
||||||
|
|
||||||
this.rbAcMotor.Text = "交流电机(AC)";
|
this.radioButtonWeightViewForward.Text = "正向(1~12)";
|
||||||
this.rbServoMotor.Text = "伺服电机(Servo)";
|
this.radioButtonWeightViewReverse.Text = "反向(12~1)";
|
||||||
|
|
||||||
this.radioButtonWeightViewForward.Text = "正向(1~12)";
|
this.labelInfo1.Text = "※ 重量不良产品筛选";
|
||||||
this.radioButtonWeightViewReverse.Text = "反向(12~1)";
|
this.labelInfo2.Text = "※ 正常产品 (选择数量未达标)";
|
||||||
|
this.labelInfo3.Text = "※ 采样筛选 (未使用时在筛选机2中使用)";
|
||||||
|
|
||||||
this.labelInfo1.Text = "※ 重量不良产品筛选";
|
this.labelBuadrateWarning.Text = "※ 电源重启后,设置会自动更新";
|
||||||
this.labelInfo2.Text = "※ 正常产品 (选择数量未达标)";
|
this.labelBuadrateWarning2.Text = "※ 除了工程师之外,不要改变这个值";
|
||||||
this.labelInfo3.Text = "※ 采样筛选 (未使用时在筛选机2中使用)";
|
|
||||||
|
|
||||||
this.labelBuadrateWarning.Text = "※ 电源重启后,设置会自动更新";
|
this.buttonEachNG.DownImage = this.buttonLogin.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnOn_84X25));
|
||||||
this.labelBuadrateWarning2.Text = "※ 除了工程师之外,不要改变这个值";
|
this.buttonEachNG.UpImage = this.buttonLogin.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnOff_84X25));
|
||||||
|
|
||||||
this.buttonEachNG.DownImage = this.buttonLogin.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnOn_84X25));
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDisable));
|
||||||
this.buttonEachNG.UpImage = this.buttonLogin.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnOff_84X25));
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDown));
|
||||||
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveUp));
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Nastavení zařízení";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.labelStaticLane.Text = "Řada";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.labelStaticOrder.Text = "Zobrazení hmotnosti";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.labelStaticIndividualNG.Text = "Individuální vyřazování";
|
||||||
#endregion
|
this.labelStaticLanguage.Text = "Jazyk";
|
||||||
}
|
this.labelStaticSorter1Location.Text = "Vyřazovač1 umístění";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
this.labelStaticSorter2Location.Text = "Vyřazovač2 umístění";
|
||||||
{
|
this.labelStaticSorter3Location.Text = "Vyřazovač3 umístění";
|
||||||
#region Czech
|
this.labelStaticLogin.Text = "Přihlásit se";
|
||||||
this.labelTitle.Text = "Nastavení zařízení";
|
this.labelStaticEmptyWeight.Text = "Nastavení prázdné hmotnosti";
|
||||||
|
this.labelStaticMotor.Text = "Motor";
|
||||||
|
this.labelStaticWeightLimitIgnoreCount.Text = "hmotnostní limit - ignorovat počet";
|
||||||
|
|
||||||
this.labelStaticLane.Text = "Řada";
|
this.labelInfo1.Text = "※ Třídění NG produktů podle hmotnosti";
|
||||||
this.labelStaticOrder.Text = "Zobrazení hmotnosti";
|
this.labelInfo2.Text = "※ Normální produkt (vybrán pod množstvím)";
|
||||||
this.labelStaticIndividualNG.Text = "Individuální vyřazování";
|
this.labelInfo3.Text = "※ Třídění vzorků (pokud není použito, použijte v třídiči 2)";
|
||||||
this.labelStaticLanguage.Text = "Jazyk";
|
|
||||||
this.labelStaticSorter1Location.Text = "Vyřazovač1 umístění";
|
|
||||||
this.labelStaticSorter2Location.Text = "Vyřazovač2 umístění";
|
|
||||||
this.labelStaticSorter3Location.Text = "Vyřazovač3 umístění";
|
|
||||||
this.labelStaticLogin.Text = "Přihlásit se";
|
|
||||||
this.labelStaticEmptyWeight.Text = "Nastavení prázdné hmotnosti";
|
|
||||||
this.labelStaticMotor.Text = "Motor";
|
|
||||||
this.labelStaticWeightLimitIgnoreCount.Text = "hmotnostní limit - ignorovat počet";
|
|
||||||
|
|
||||||
this.labelInfo1.Text = "※ Třídění NG produktů podle hmotnosti";
|
this.labelBuadrateWarning.Text = "※ Po změně nastavení vypněte a znovu zapněte napájení";
|
||||||
this.labelInfo2.Text = "※ Normální produkt (vybrán pod množstvím)";
|
this.labelBuadrateWarning2.Text = "※ Nezměňujte hodnotu kromě inženýra";
|
||||||
this.labelInfo3.Text = "※ Třídění vzorků (pokud není použito, použijte v třídiči 2)";
|
|
||||||
|
|
||||||
this.labelBuadrateWarning.Text = "※ Po změně nastavení vypněte a znovu zapněte napájení";
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDisable));
|
||||||
this.labelBuadrateWarning2.Text = "※ Nezměňujte hodnotu kromě inženýra";
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDown));
|
||||||
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveUp));
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
#region German
|
||||||
|
this.labelTitle.Text = "Vorrichtungeinstellung";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.radioButtonWeightViewForward.Text = "Vorwärts(1~12)";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.radioButtonWeightViewReverse.Text = "Rückwärts(1~12)";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
#region German
|
|
||||||
this.labelTitle.Text = "Vorrichtungeinstellung";
|
|
||||||
|
|
||||||
this.radioButtonWeightViewForward.Text = "Vorwärts(1~12)";
|
this.labelStaticLane.Text = "Reihe";
|
||||||
this.radioButtonWeightViewReverse.Text = "Rückwärts(1~12)";
|
this.labelStaticSorter1Location.Text = "Sortierer1 Standort";
|
||||||
|
this.labelStaticSorter2Location.Text = "Sortierer2 Standort";
|
||||||
|
this.labelStaticSorter3Location.Text = "Sortierer3 Standort";
|
||||||
|
this.labelStaticLogin.Text = "Einloggen";
|
||||||
|
this.labelStaticIndividualNG.Text = "Individuelle Aussortierung";
|
||||||
|
this.labelStaticOrder.Text = "Gewichtsanzeige";
|
||||||
|
this.labelStaticLanguage.Text = "Sprache";
|
||||||
|
this.labelStaticEmptyWeight.Text = "Leergewichtseinstellung";
|
||||||
|
this.labelStaticMotor.Text = "Motor";
|
||||||
|
this.labelStaticWeightLimitIgnoreCount.Text = "Gewichtsgrenze - Zählung ignorieren";
|
||||||
|
|
||||||
this.labelStaticLane.Text = "Reihe";
|
this.labelInfo1.Text = "※ Sortieren von NG-Produkten nach Gewicht";
|
||||||
this.labelStaticSorter1Location.Text = "Sortierer1 Standort";
|
this.labelInfo2.Text = "※ Normales Produkt (ausgewählt unter Menge)";
|
||||||
this.labelStaticSorter2Location.Text = "Sortierer2 Standort";
|
this.labelInfo3.Text = "※ Sampling Sorting (falls nicht verwendet, in Sortierer 2 verwenden)";
|
||||||
this.labelStaticSorter3Location.Text = "Sortierer3 Standort";
|
|
||||||
this.labelStaticLogin.Text = "Einloggen";
|
|
||||||
this.labelStaticIndividualNG.Text = "Individuelle Aussortierung";
|
|
||||||
this.labelStaticOrder.Text = "Gewichtsanzeige";
|
|
||||||
this.labelStaticLanguage.Text = "Sprache";
|
|
||||||
this.labelStaticEmptyWeight.Text = "Leergewichtseinstellung";
|
|
||||||
this.labelStaticMotor.Text = "Motor";
|
|
||||||
this.labelStaticWeightLimitIgnoreCount.Text = "Gewichtsgrenze - Zählung ignorieren";
|
|
||||||
|
|
||||||
this.labelInfo1.Text = "※ Sortieren von NG-Produkten nach Gewicht";
|
this.labelBuadrateWarning.Text = "※ Stellen Sie nach dem Einstellen des Servoantriebs sicher, Mit dem Hauptschalter aus- und einschalten";
|
||||||
this.labelInfo2.Text = "※ Normales Produkt (ausgewählt unter Menge)";
|
this.labelBuadrateWarning2.Text = "※ Werte dürfen nur vom Servicetechniker des Herstellers geändert werden";
|
||||||
this.labelInfo3.Text = "※ Sampling Sorting (falls nicht verwendet, in Sortierer 2 verwenden)";
|
|
||||||
|
|
||||||
this.labelBuadrateWarning.Text = "※ Stellen Sie nach dem Einstellen des Servoantriebs sicher, Mit dem Hauptschalter aus- und einschalten";
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDisable));
|
||||||
this.labelBuadrateWarning2.Text = "※ Werte dürfen nur vom Servicetechniker des Herstellers geändert werden";
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDown));
|
||||||
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveUp));
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "装置設定";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.labelStaticLane.Text = "レㅡン";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.labelStaticOrder.Text = "オㅡダㅡ";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
this.labelStaticIndividualNG.Text = "個別NG";
|
||||||
#endregion
|
this.labelStaticLanguage.Text = "言語";
|
||||||
}
|
this.labelStaticSorter1Location.Text = "ソㅡタㅡ 1 の場所";
|
||||||
else
|
this.labelStaticSorter2Location.Text = "ソㅡタㅡ 2 の場所";
|
||||||
{
|
this.labelStaticSorter3Location.Text = "ソㅡタㅡ 3 の場所";
|
||||||
|
this.labelStaticLogin.Text = "ログイン";
|
||||||
|
this.labelStaticEmptyWeight.Text = "空重量セット";
|
||||||
|
this.labelStaticMotor.Text = "モㅡタㅡ";
|
||||||
|
this.labelStaticWeightLimitIgnoreCount.Text = "重量制限 - 無視数量";
|
||||||
|
|
||||||
|
this.radioButtonAcMotor.Text = "交流モㅡタㅡ";
|
||||||
|
this.radioButtonServoMotor.Text = "サㅡボモㅡタㅡ";
|
||||||
|
this.radioButtonWeightViewForward.Text = "順方向(1~12)";
|
||||||
|
this.radioButtonWeightViewReverse.Text = "逆方向(12~1)";
|
||||||
|
|
||||||
|
this.labelInfo1.Text = "※ 重量NG製品選別";
|
||||||
|
this.labelInfo2.Text = "※ 正常製品数量未達選別";
|
||||||
|
this.labelInfo3.Text = "※ サンプリング選別 (未使用時選別機2を使用)";
|
||||||
|
|
||||||
|
this.labelBuadrateWarning.Text = "※ 設定変更後は電源を入れ直してください";
|
||||||
|
this.labelBuadrateWarning2.Text = "※ エンジニア以外は値を変更しないこと";
|
||||||
|
|
||||||
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||||
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
||||||
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
|
@ -253,9 +285,9 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
// 모터
|
// 모터
|
||||||
if (this.ParentForm.SystemConfig.MotorSelect == 0)
|
if (this.ParentForm.SystemConfig.MotorSelect == 0)
|
||||||
this.rbAcMotor.Checked = true;
|
this.radioButtonAcMotor.Checked = true;
|
||||||
else
|
else
|
||||||
this.rbServoMotor.Checked = true;
|
this.radioButtonServoMotor.Checked = true;
|
||||||
|
|
||||||
// 중량표시
|
// 중량표시
|
||||||
if (this.ParentForm.SystemConfig.IsWeightViewForward == true)
|
if (this.ParentForm.SystemConfig.IsWeightViewForward == true)
|
||||||
|
@ -274,6 +306,8 @@ namespace INT63DC_2C.Forms
|
||||||
this.radioButtonLanguageKorean.Checked = true;
|
this.radioButtonLanguageKorean.Checked = true;
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||||
this.radioButtonLanguageGerman.Checked = true;
|
this.radioButtonLanguageGerman.Checked = true;
|
||||||
|
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Japanese)
|
||||||
|
this.radioButtonLanguageJap.Checked = true;
|
||||||
else
|
else
|
||||||
this.radioButtonLanguageKorean.Checked = true;
|
this.radioButtonLanguageKorean.Checked = true;
|
||||||
|
|
||||||
|
@ -365,7 +399,7 @@ namespace INT63DC_2C.Forms
|
||||||
this.ParentForm.SystemConfig.IsEachNG = false;
|
this.ParentForm.SystemConfig.IsEachNG = false;
|
||||||
|
|
||||||
// 모터
|
// 모터
|
||||||
if (this.rbAcMotor.Checked == true)
|
if (this.radioButtonAcMotor.Checked == true)
|
||||||
this.ParentForm.SystemConfig.MotorSelect = 0;
|
this.ParentForm.SystemConfig.MotorSelect = 0;
|
||||||
else
|
else
|
||||||
this.ParentForm.SystemConfig.MotorSelect = 1;
|
this.ParentForm.SystemConfig.MotorSelect = 1;
|
||||||
|
@ -387,6 +421,8 @@ namespace INT63DC_2C.Forms
|
||||||
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.Czech;
|
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.Czech;
|
||||||
else if (this.radioButtonLanguageGerman.Checked == true)
|
else if (this.radioButtonLanguageGerman.Checked == true)
|
||||||
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.German;
|
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.German;
|
||||||
|
else if (this.radioButtonLanguageJap.Checked == true)
|
||||||
|
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.Japanese;
|
||||||
else
|
else
|
||||||
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.Korean;
|
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.Korean;
|
||||||
|
|
||||||
|
|
|
@ -38,42 +38,52 @@ namespace INT63DC_2C.Forms
|
||||||
#region Method
|
#region Method
|
||||||
private void InitializeDesign()
|
private void InitializeDesign()
|
||||||
{
|
{
|
||||||
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "Initialization";
|
||||||
|
|
||||||
}
|
this.labelResetWait.Text = "Wait a minute...";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.labelResetRestart.Text = "Turn the power off and back on";
|
||||||
{
|
#endregion
|
||||||
this.labelTitle.Text = "Initialization";
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "回复出厂设置";
|
||||||
|
|
||||||
this.labelResetWait.Text = "Wait a minute...";
|
this.labelResetWait.Text = "请稍等...";
|
||||||
this.labelResetRestart.Text = "Turn the power off and back on";
|
this.labelResetRestart.Text = "关掉电源,然后在打开电源";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.labelTitle.Text = "回复出厂设置";
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Tovární nastavení";
|
||||||
|
|
||||||
this.labelResetWait.Text = "请稍等...";
|
this.labelResetWait.Text = "Vyčkejte...";
|
||||||
this.labelResetRestart.Text = "关掉电源,然后在打开电源";
|
this.labelResetRestart.Text = "Nejprve zařízení vypněte a pak opět zapněte.";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
break;
|
||||||
{
|
case DataStore.LanguageID.German:
|
||||||
this.labelTitle.Text = "Tovární nastavení";
|
#region German
|
||||||
|
this.labelTitle.Text = "Werkseinstellung";
|
||||||
|
|
||||||
this.labelResetWait.Text = "Vyčkejte...";
|
this.labelResetWait.Text = "Initialisierung wird ausgeführt";
|
||||||
this.labelResetRestart.Text = "Nejprve zařízení vypněte a pak opět zapněte.";
|
this.labelResetRestart.Text = "Mit dem Hauptschalter aus- und einschalten";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Japanese:
|
||||||
this.labelTitle.Text = "Werkseinstellung";
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "初期化";
|
||||||
this.labelResetWait.Text = "Initialisierung wird ausgeführt";
|
|
||||||
this.labelResetRestart.Text = "Mit dem Hauptschalter aus- und einschalten";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.labelResetWait.Text = "初期化中...";
|
||||||
|
this.labelResetRestart.Text = "電源をOFFにしてから電源をONにする";
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -245,7 +245,7 @@
|
||||||
this.smartGroupBox1.RoundRadius = 5;
|
this.smartGroupBox1.RoundRadius = 5;
|
||||||
this.smartGroupBox1.Size = new System.Drawing.Size(612, 581);
|
this.smartGroupBox1.Size = new System.Drawing.Size(612, 581);
|
||||||
this.smartGroupBox1.TabIndex = 243;
|
this.smartGroupBox1.TabIndex = 243;
|
||||||
this.smartGroupBox1.Text = "OUTPUT 1";
|
this.smartGroupBox1.Text = "OUTPUT";
|
||||||
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
|
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
|
||||||
//
|
//
|
||||||
// buttonOutput40
|
// buttonOutput40
|
||||||
|
|
|
@ -22,6 +22,9 @@ namespace INT63DC_2C.Forms
|
||||||
private Color ColorIOStatusOn;
|
private Color ColorIOStatusOn;
|
||||||
private Color ColorIOStatusOff;
|
private Color ColorIOStatusOff;
|
||||||
|
|
||||||
|
private string Text_Out;
|
||||||
|
private string Text_In;
|
||||||
|
|
||||||
private Collection<Label> CollectionInputLabel;
|
private Collection<Label> CollectionInputLabel;
|
||||||
private Collection<Label> CollectionInputLabel1;
|
private Collection<Label> CollectionInputLabel1;
|
||||||
private Collection<SmartLabel> CollectionInputLabelName;
|
private Collection<SmartLabel> CollectionInputLabelName;
|
||||||
|
@ -50,45 +53,63 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "I/O Test";
|
||||||
|
|
||||||
}
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
{
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
this.labelTitle.Text = "I/O Test";
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "I/O测试";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.labelTitle.Text = "I/O测试";
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Test I/O";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
break;
|
||||||
{
|
case DataStore.LanguageID.German:
|
||||||
this.labelTitle.Text = "Test I/O";
|
#region German
|
||||||
|
this.labelTitle.Text = "I/O Test";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Japanese:
|
||||||
this.labelTitle.Text = "I/O Test";
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "I/O テスト";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.smartGroupBox1.Text = "出力";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.smartGroupBox2.Text = "入力";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.Text_Out = "出力";
|
||||||
|
this.Text_In = "入力";
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
|
@ -224,9 +245,9 @@ namespace INT63DC_2C.Forms
|
||||||
this.CollectionOutputButton.Add(this.buttonOutput40);
|
this.CollectionOutputButton.Add(this.buttonOutput40);
|
||||||
|
|
||||||
for (int i = 0; i < this.CollectionInputLabelName.Count; i++)
|
for (int i = 0; i < this.CollectionInputLabelName.Count; i++)
|
||||||
this.CollectionInputLabelName[i].Text = string.Format("IN{0}", i + 1);
|
this.CollectionInputLabelName[i].Text = string.Format("{0}{1}", this.Text_In, i + 1);
|
||||||
for (int i = 0; i < this.CollectionOutputButton.Count; i++)
|
for (int i = 0; i < this.CollectionOutputButton.Count; i++)
|
||||||
this.CollectionOutputButton[i].Text = string.Format("OUT{0}", i + 1);
|
this.CollectionOutputButton[i].Text = string.Format("{0}{1}", this.Text_Out, i + 1);
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.EquipmentColumns != 16)
|
if (this.ParentForm.SystemConfig.EquipmentColumns != 16)
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,57 +44,72 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "Information";
|
||||||
|
|
||||||
}
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDisable));
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDown));
|
||||||
{
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenUp));
|
||||||
this.labelTitle.Text = "Information";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "信息";
|
||||||
|
|
||||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDisable));
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
||||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDown));
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDown));
|
||||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenUp));
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenUp));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.labelTitle.Text = "信息";
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Informace o systému";
|
||||||
|
|
||||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
||||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDown));
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDown));
|
||||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenUp));
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenUp));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
break;
|
||||||
{
|
case DataStore.LanguageID.German:
|
||||||
this.labelTitle.Text = "Informace o systému";
|
#region German
|
||||||
|
this.labelTitle.Text = "Systeminformation";
|
||||||
|
|
||||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
||||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDown));
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDown));
|
||||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenUp));
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenUp));
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Japanese:
|
||||||
this.labelTitle.Text = "Systeminformation";
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "情報";
|
||||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
|
||||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDown));
|
|
||||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenUp));
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDisable));
|
||||||
|
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenDown));
|
||||||
|
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engScreenUp));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeAsInfomation()
|
private void InitializeAsInfomation()
|
||||||
|
@ -465,17 +480,6 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
this.ParentForm.SystemConfig.CurrentForm = DataStore.FormStore.FormInformation;
|
this.ParentForm.SystemConfig.CurrentForm = DataStore.FormStore.FormInformation;
|
||||||
this.ParentForm.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress._1500_ProgramVersion, "");
|
this.ParentForm.TransferDataStream(CommunicationCommand.Read, CommunicationID.MainBoard, CommunicationAddress._1500_ProgramVersion, "");
|
||||||
|
|
||||||
//switch (this.ParentForm.SystemConfig.CurrentUser.Group)
|
|
||||||
//{
|
|
||||||
// case DataStore.UserGroup.Level3Manager:
|
|
||||||
// case DataStore.UserGroup.Level4Developer:
|
|
||||||
// this.buttonScreen.Visible = true;
|
|
||||||
// break;
|
|
||||||
// default:
|
|
||||||
// this.buttonScreen.Visible = false;
|
|
||||||
// break;
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
|
@ -89,354 +89,387 @@ namespace INT63DC_2C.Forms
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
|
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
#region Korean
|
case DataStore.LanguageID.Korean:
|
||||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
#region Korean
|
||||||
{
|
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||||
this.buttonMenu.Location = new Point(929, 666);
|
{
|
||||||
|
this.buttonMenu.Location = new Point(929, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallUp));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(839, 666);
|
this.buttonMenu.Location = new Point(839, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuUp));
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
break;
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
case DataStore.LanguageID.English:
|
||||||
{
|
#region English
|
||||||
#region English
|
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainOverDown));
|
||||||
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainOverDown));
|
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainOverUp));
|
||||||
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainOverUp));
|
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainPassDown));
|
||||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainPassDown));
|
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainPassUp));
|
||||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainPassUp));
|
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainUnderDown));
|
||||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainUnderDown));
|
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainUnderUp));
|
||||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainUnderUp));
|
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainTareDown));
|
||||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainTareDown));
|
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainTareUp));
|
||||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainTareUp));
|
|
||||||
|
|
||||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainZeroDown));
|
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainZeroDown));
|
||||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainZeroUp));
|
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainZeroUp));
|
||||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearDisable));
|
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearDisable));
|
||||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearDown));
|
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearDown));
|
||||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearUp));
|
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearUp));
|
||||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(929, 666);
|
this.buttonMenu.Location = new Point(929, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallUp));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(839, 666);
|
this.buttonMenu.Location = new Point(839, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuUp));
|
||||||
}
|
}
|
||||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuDisable));
|
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuDisable));
|
||||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuDown));
|
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuDown));
|
||||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuUp));
|
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuUp));
|
||||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuNGUp));
|
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuNGUp));
|
||||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuPassUp));
|
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuPassUp));
|
||||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuContinueUp));
|
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuContinueUp));
|
||||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuOnceUp));
|
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuOnceUp));
|
||||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuContinueUp));
|
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuContinueUp));
|
||||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuOnceUp));
|
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuOnceUp));
|
||||||
|
|
||||||
this.groupBoxSorter.Text = "Sorter settings";
|
this.groupBoxSorter.Text = "Sorter settings";
|
||||||
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
|
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
|
||||||
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
|
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
|
||||||
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
|
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
|
||||||
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
|
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
|
||||||
this.labelStaticSorter3DelayTime.Text = "Sorter3 Delay";
|
this.labelStaticSorter3DelayTime.Text = "Sorter3 Delay";
|
||||||
this.labelStaticSorter3RunTime.Text = "Sorter3 Run";
|
this.labelStaticSorter3RunTime.Text = "Sorter3 Run";
|
||||||
this.labelStaticEntryGateDelayTime.Text = "Entry gate delay";
|
this.labelStaticEntryGateDelayTime.Text = "Entry gate delay";
|
||||||
this.labelStaticEntryGateRunTime.Text = "Entry gate run";
|
this.labelStaticEntryGateRunTime.Text = "Entry gate run";
|
||||||
this.labelStaticDischargeStopperDelayTime.Font = font;
|
this.labelStaticDischargeStopperDelayTime.Font = font;
|
||||||
this.labelStaticDischargeStopperDelayTime.Text = "Discharge stopper delay";
|
this.labelStaticDischargeStopperDelayTime.Text = "Discharge stopper delay";
|
||||||
this.labelStaticDischargeStopperRunTime.Font = font;
|
this.labelStaticDischargeStopperRunTime.Font = font;
|
||||||
this.labelStaticDischargeStopperRunTime.Text = "Discharge stopper run";
|
this.labelStaticDischargeStopperRunTime.Text = "Discharge stopper run";
|
||||||
|
|
||||||
this.groupBoxJudgmentSetting.Text = "Judgment settings";
|
this.groupBoxJudgmentSetting.Text = "Judgment settings";
|
||||||
this.labelStaticFilter.Text = "Filter";
|
this.labelStaticFilter.Text = "Filter";
|
||||||
this.labelStaticJudgmentDelayTime.Text = "J.Delay";
|
this.labelStaticJudgmentDelayTime.Text = "J.Delay";
|
||||||
this.labelStaticJudgmentCount.Text = "J.Count";
|
this.labelStaticJudgmentCount.Text = "J.Count";
|
||||||
this.labelStaticForcedZeroDelayTime.Text = "Forced zero delay";
|
this.labelStaticForcedZeroDelayTime.Text = "Forced zero delay";
|
||||||
this.labelStaticTurnDelayTime.Text = "Turn Delay";
|
this.labelStaticTurnDelayTime.Text = "Turn Delay";
|
||||||
|
|
||||||
this.labelMessage1.Text = "Inverter Alarm";
|
this.labelMessage1.Text = "Inverter Alarm";
|
||||||
this.labelMessage3.Text = "Pinch point Alarm";
|
this.labelMessage3.Text = "Pinch point Alarm";
|
||||||
this.labelMessage5.Text = "Please set the servo motor origin";
|
this.labelMessage5.Text = "Please set the servo motor origin";
|
||||||
|
|
||||||
this.labelStaticSamplingCount.Text = "Count";
|
this.labelStaticSamplingCount.Text = "Count";
|
||||||
this.labelStaticSamplingTime.Text = "Time(min)";
|
this.labelStaticSamplingTime.Text = "Time(min)";
|
||||||
|
|
||||||
this.labelStaticOverRange.Text = "Over";
|
this.labelStaticOverRange.Text = "Over";
|
||||||
this.labelStaticPassRange.Text = "Pass";
|
this.labelStaticPassRange.Text = "Pass";
|
||||||
this.labelStaticUnderRange.Text = "Under";
|
this.labelStaticUnderRange.Text = "Under";
|
||||||
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
||||||
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
||||||
#endregion
|
#endregion
|
||||||
}
|
break;
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
case DataStore.LanguageID.Chinese:
|
||||||
{
|
#region Chinese
|
||||||
#region Chinese
|
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainOverDown));
|
||||||
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainOverDown));
|
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainOverUp));
|
||||||
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainOverUp));
|
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainPassDown));
|
||||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainPassDown));
|
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainPassUp));
|
||||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainPassUp));
|
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainUnderDown));
|
||||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainUnderDown));
|
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainUnderUp));
|
||||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainUnderUp));
|
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainTareDown));
|
||||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainTareDown));
|
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainTareUp));
|
||||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainTareUp));
|
|
||||||
|
|
||||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainZeroDown));
|
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainZeroDown));
|
||||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainZeroUp));
|
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainZeroUp));
|
||||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearDisable));
|
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearDisable));
|
||||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearDown));
|
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearDown));
|
||||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearUp));
|
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearUp));
|
||||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(929, 666);
|
this.buttonMenu.Location = new Point(929, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallUp));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(839, 666);
|
this.buttonMenu.Location = new Point(839, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuUp));
|
||||||
}
|
}
|
||||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuDisable));
|
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuDisable));
|
||||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuDown));
|
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuDown));
|
||||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuUp));
|
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuUp));
|
||||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuNGUp));
|
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuNGUp));
|
||||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuPassUp));
|
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuPassUp));
|
||||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuContinueUp));
|
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuContinueUp));
|
||||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuOnceUp));
|
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuOnceUp));
|
||||||
this.buttonUser.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLoginDisable));
|
this.buttonUser.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLoginDisable));
|
||||||
this.buttonUser.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLogOutDown));
|
this.buttonUser.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLogOutDown));
|
||||||
this.buttonUser.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLoginUp));
|
this.buttonUser.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLoginUp));
|
||||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuContinueUp));
|
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuContinueUp));
|
||||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuOnceUp));
|
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuOnceUp));
|
||||||
|
|
||||||
this.groupBoxSorter.Text = "筛选设定";
|
this.groupBoxSorter.Text = "筛选设定";
|
||||||
this.labelStaticSorter1DelayTime.Text = "分类机1 延迟时间";
|
this.labelStaticSorter1DelayTime.Text = "分类机1 延迟时间";
|
||||||
this.labelStaticSorter1RunTime.Text = "分类机1 运行时间";
|
this.labelStaticSorter1RunTime.Text = "分类机1 运行时间";
|
||||||
this.labelStaticSorter2DelayTime.Text = "分类机2 延迟时间";
|
this.labelStaticSorter2DelayTime.Text = "分类机2 延迟时间";
|
||||||
this.labelStaticSorter2RunTime.Text = "分类机2 运行时间";
|
this.labelStaticSorter2RunTime.Text = "分类机2 运行时间";
|
||||||
this.labelStaticSorter3DelayTime.Text = "分类机3 延迟时间";
|
this.labelStaticSorter3DelayTime.Text = "分类机3 延迟时间";
|
||||||
this.labelStaticSorter3RunTime.Text = "分类机3 运行时间";
|
this.labelStaticSorter3RunTime.Text = "分类机3 运行时间";
|
||||||
this.labelStaticEntryGateDelayTime.Text = "料门延迟时间";
|
this.labelStaticEntryGateDelayTime.Text = "料门延迟时间";
|
||||||
this.labelStaticEntryGateRunTime.Text = "料门动作时间";
|
this.labelStaticEntryGateRunTime.Text = "料门动作时间";
|
||||||
this.labelStaticDischargeStopperDelayTime.Text = "出料限位器延迟时间";
|
this.labelStaticDischargeStopperDelayTime.Text = "出料限位器延迟时间";
|
||||||
this.labelStaticDischargeStopperRunTime.Text = "出料限位器动作时间";
|
this.labelStaticDischargeStopperRunTime.Text = "出料限位器动作时间";
|
||||||
|
|
||||||
this.groupBoxJudgmentSetting.Text = "判断设置";
|
this.groupBoxJudgmentSetting.Text = "判断设置";
|
||||||
this.labelStaticFilter.Text = "滤波器";
|
this.labelStaticFilter.Text = "滤波器";
|
||||||
this.labelStaticJudgmentDelayTime.Text = "判断延迟";
|
this.labelStaticJudgmentDelayTime.Text = "判断延迟";
|
||||||
this.labelStaticJudgmentCount.Text = "重复延迟";
|
this.labelStaticJudgmentCount.Text = "重复延迟";
|
||||||
this.labelStaticTurnDelayTime.Text = "旋转延迟";
|
this.labelStaticTurnDelayTime.Text = "旋转延迟";
|
||||||
this.labelStaticForcedZeroDelayTime.Text = "零延迟时间";
|
this.labelStaticForcedZeroDelayTime.Text = "零延迟时间";
|
||||||
|
|
||||||
this.labelMessage1.Text = "变频器报警";
|
this.labelMessage1.Text = "变频器报警";
|
||||||
this.labelMessage3.Text = "Pinch point Alarm";
|
this.labelMessage3.Text = "Pinch point Alarm";
|
||||||
this.labelMessage5.Text = "伺服电机不在远点";
|
this.labelMessage5.Text = "伺服电机不在远点";
|
||||||
this.buttonClose.Text = "关闭";
|
this.buttonClose.Text = "关闭";
|
||||||
|
|
||||||
this.labelTitleTotalCount.Text = "计数";
|
this.labelTitleTotalCount.Text = "计数";
|
||||||
this.labelTitleNG.Text = "不良";
|
this.labelTitleNG.Text = "不良";
|
||||||
this.labelTitleBypass.Text = "选别选项";
|
this.labelTitleBypass.Text = "选别选项";
|
||||||
this.labelTitleScreen.Text = "屏幕";
|
this.labelTitleScreen.Text = "屏幕";
|
||||||
|
|
||||||
this.labelTitleSampling.Text = "取样";
|
this.labelTitleSampling.Text = "取样";
|
||||||
this.labelStaticSamplingCount.Text = "计数";
|
this.labelStaticSamplingCount.Text = "计数";
|
||||||
this.labelStaticSamplingTime.Text = "时间(分钟)";
|
this.labelStaticSamplingTime.Text = "时间(分钟)";
|
||||||
|
|
||||||
this.labelStaticOverRange.Text = "上限";
|
this.labelStaticOverRange.Text = "上限";
|
||||||
this.labelStaticPassRange.Text = "标准";
|
this.labelStaticPassRange.Text = "标准";
|
||||||
this.labelStaticUnderRange.Text = "下限";
|
this.labelStaticUnderRange.Text = "下限";
|
||||||
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
||||||
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
||||||
#endregion
|
#endregion
|
||||||
}
|
break;
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
case DataStore.LanguageID.Czech:
|
||||||
{
|
#region Czech
|
||||||
#region Czech
|
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainOverDown));
|
||||||
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainOverDown));
|
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainOverUp));
|
||||||
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainOverUp));
|
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainPassDown));
|
||||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainPassDown));
|
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainPassUp));
|
||||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainPassUp));
|
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainUnderDown));
|
||||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainUnderDown));
|
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainUnderUp));
|
||||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainUnderUp));
|
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainTareDown));
|
||||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainTareDown));
|
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainTareUp));
|
||||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainTareUp));
|
|
||||||
|
|
||||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainZeroDown));
|
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainZeroDown));
|
||||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainZeroUp));
|
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainZeroUp));
|
||||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearDisable));
|
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearDisable));
|
||||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearDown));
|
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearDown));
|
||||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearUp));
|
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearUp));
|
||||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(929, 666);
|
this.buttonMenu.Location = new Point(929, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallUp));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(839, 666);
|
this.buttonMenu.Location = new Point(839, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuUp));
|
||||||
}
|
}
|
||||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuDisable));
|
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuDisable));
|
||||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuDown));
|
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuDown));
|
||||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuUp));
|
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuUp));
|
||||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuNGUp));
|
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuNGUp));
|
||||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuPassUp));
|
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuPassUp));
|
||||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuContinueUp));
|
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuContinueUp));
|
||||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuOnceUp));
|
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuOnceUp));
|
||||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuContinueUp));
|
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuContinueUp));
|
||||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuOnceUp));
|
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuOnceUp));
|
||||||
|
|
||||||
this.groupBoxSorter.Text = "Nastavení třídiče";
|
this.groupBoxSorter.Text = "Nastavení třídiče";
|
||||||
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
|
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
|
||||||
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
|
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
|
||||||
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
|
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
|
||||||
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
|
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
|
||||||
this.labelStaticSorter3DelayTime.Text = "Vyřazovač3 Zpoždění";
|
this.labelStaticSorter3DelayTime.Text = "Vyřazovač3 Zpoždění";
|
||||||
this.labelStaticSorter3RunTime.Text = "Vyřazovač3 Čas chodu";
|
this.labelStaticSorter3RunTime.Text = "Vyřazovač3 Čas chodu";
|
||||||
this.labelStaticEntryGateDelayTime.Text = "zpoždění vstupní brány";
|
this.labelStaticEntryGateDelayTime.Text = "zpoždění vstupní brány";
|
||||||
this.labelStaticEntryGateRunTime.Text = "Provozní vjezdové brány";
|
this.labelStaticEntryGateRunTime.Text = "Provozní vjezdové brány";
|
||||||
this.labelStaticDischargeStopperDelayTime.Text = "zpoždění vybíjecí zátky";
|
this.labelStaticDischargeStopperDelayTime.Text = "zpoždění vybíjecí zátky";
|
||||||
this.labelStaticDischargeStopperRunTime.Text = "provozu vypouštěcí zátky";
|
this.labelStaticDischargeStopperRunTime.Text = "provozu vypouštěcí zátky";
|
||||||
|
|
||||||
this.groupBoxJudgmentSetting.Text = "Nastavení rozhodnutí";
|
this.groupBoxJudgmentSetting.Text = "Nastavení rozhodnutí";
|
||||||
this.labelStaticFilter.Text = "Filtr";
|
this.labelStaticFilter.Text = "Filtr";
|
||||||
this.labelStaticJudgmentDelayTime.Text = "Zpoždění kapsy";
|
this.labelStaticJudgmentDelayTime.Text = "Zpoždění kapsy";
|
||||||
this.labelStaticJudgmentCount.Text = "Číslo kapsy";
|
this.labelStaticJudgmentCount.Text = "Číslo kapsy";
|
||||||
this.labelStaticTurnDelayTime.Text = "Zpoždění rotace";
|
this.labelStaticTurnDelayTime.Text = "Zpoždění rotace";
|
||||||
this.labelStaticForcedZeroDelayTime.Font = font;
|
this.labelStaticForcedZeroDelayTime.Font = font;
|
||||||
this.labelStaticForcedZeroDelayTime.Text = "Vynucená nulového zpoždění";
|
this.labelStaticForcedZeroDelayTime.Text = "Vynucená nulového zpoždění";
|
||||||
|
|
||||||
this.labelMessage1.Text = "Invertor měniče";
|
this.labelMessage1.Text = "Invertor měniče";
|
||||||
this.labelMessage3.Text = "Pinch point Alarm";
|
this.labelMessage3.Text = "Pinch point Alarm";
|
||||||
this.labelMessage5.Text = "Nastavte prosím původ servomotoru";
|
this.labelMessage5.Text = "Nastavte prosím původ servomotoru";
|
||||||
|
|
||||||
this.labelTitleSampling.Text = "vzorkování";
|
this.labelTitleSampling.Text = "vzorkování";
|
||||||
this.labelStaticSamplingCount.Text = "Počet";
|
this.labelStaticSamplingCount.Text = "Počet";
|
||||||
this.labelStaticSamplingTime.Text = "Čas(min)";
|
this.labelStaticSamplingTime.Text = "Čas(min)";
|
||||||
|
|
||||||
this.labelStaticOverRange.Text = "Max.";
|
this.labelStaticOverRange.Text = "Max.";
|
||||||
this.labelStaticPassRange.Text = "Váha";
|
this.labelStaticPassRange.Text = "Váha";
|
||||||
this.labelStaticUnderRange.Text = "Min.";
|
this.labelStaticUnderRange.Text = "Min.";
|
||||||
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
||||||
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
||||||
#endregion
|
#endregion
|
||||||
}
|
break;
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
case DataStore.LanguageID.German:
|
||||||
{
|
#region German
|
||||||
#region German
|
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainOverDown));
|
||||||
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainOverDown));
|
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainOverUp));
|
||||||
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainOverUp));
|
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainPassDown));
|
||||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainPassDown));
|
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainPassUp));
|
||||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainPassUp));
|
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainUnderDown));
|
||||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainUnderDown));
|
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainUnderUp));
|
||||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainUnderUp));
|
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainTareDown));
|
||||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainTareDown));
|
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainTareUp));
|
||||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainTareUp));
|
|
||||||
|
|
||||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainZeroDown));
|
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainZeroDown));
|
||||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainZeroUp));
|
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainZeroUp));
|
||||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearDisable));
|
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearDisable));
|
||||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearDown));
|
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearDown));
|
||||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearUp));
|
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearUp));
|
||||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(929, 666);
|
this.buttonMenu.Location = new Point(929, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallUp));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.buttonMenu.Location = new Point(839, 666);
|
this.buttonMenu.Location = new Point(839, 666);
|
||||||
|
|
||||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuDisable));
|
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuDisable));
|
||||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuDown));
|
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuDown));
|
||||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuUp));
|
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuUp));
|
||||||
}
|
}
|
||||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuDisable));
|
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuDisable));
|
||||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuDown));
|
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuDown));
|
||||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuUp));
|
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuUp));
|
||||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuNGUp));
|
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuNGUp));
|
||||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuPassUp));
|
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuPassUp));
|
||||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuContinueUp));
|
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuContinueUp));
|
||||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuOnceUp));
|
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuOnceUp));
|
||||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuContinueUp));
|
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuContinueUp));
|
||||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuOnceUp));
|
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuOnceUp));
|
||||||
|
|
||||||
this.groupBoxSorter.Text = "Sortierereinstellung";
|
this.groupBoxSorter.Text = "Sortierereinstellung";
|
||||||
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
|
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
|
||||||
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
|
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
|
||||||
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
|
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
|
||||||
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
|
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
|
||||||
this.labelStaticSorter3DelayTime.Text = "Sortierer3 Vezögerung";
|
this.labelStaticSorter3DelayTime.Text = "Sortierer3 Vezögerung";
|
||||||
this.labelStaticSorter3RunTime.Text = "Sortierer3 Laufzeit";
|
this.labelStaticSorter3RunTime.Text = "Sortierer3 Laufzeit";
|
||||||
this.labelStaticEntryGateDelayTime.Font = font;
|
this.labelStaticEntryGateDelayTime.Font = font;
|
||||||
this.labelStaticEntryGateDelayTime.Text = "Verzögerungszeit Eingangstors";
|
this.labelStaticEntryGateDelayTime.Text = "Verzögerungszeit Eingangstors";
|
||||||
this.labelStaticEntryGateRunTime.Font = font;
|
this.labelStaticEntryGateRunTime.Font = font;
|
||||||
this.labelStaticEntryGateRunTime.Text = "Einfahrtstor Betriebszeit";
|
this.labelStaticEntryGateRunTime.Text = "Einfahrtstor Betriebszeit";
|
||||||
this.labelStaticDischargeStopperDelayTime.Font = font;
|
this.labelStaticDischargeStopperDelayTime.Font = font;
|
||||||
this.labelStaticDischargeStopperDelayTime.Text = "Verzögerungszeit Entladestoppers";
|
this.labelStaticDischargeStopperDelayTime.Text = "Verzögerungszeit Entladestoppers";
|
||||||
this.labelStaticDischargeStopperRunTime.Font = font;
|
this.labelStaticDischargeStopperRunTime.Font = font;
|
||||||
this.labelStaticDischargeStopperRunTime.Text = "Betriebszeit Entladungsstoppers";
|
this.labelStaticDischargeStopperRunTime.Text = "Betriebszeit Entladungsstoppers";
|
||||||
|
|
||||||
this.groupBoxJudgmentSetting.Text = "Tascheneinstellung";
|
this.groupBoxJudgmentSetting.Text = "Tascheneinstellung";
|
||||||
this.labelStaticFilter.Text = "Filter";
|
this.labelStaticFilter.Text = "Filter";
|
||||||
this.labelStaticJudgmentDelayTime.Text = "Taschenverzögerung";
|
this.labelStaticJudgmentDelayTime.Text = "Taschenverzögerung";
|
||||||
this.labelStaticJudgmentCount.Text = "Taschennummer";
|
this.labelStaticJudgmentCount.Text = "Taschennummer";
|
||||||
this.labelStaticTurnDelayTime.Text = "Rotationsverzögerung";
|
this.labelStaticTurnDelayTime.Text = "Rotationsverzögerung";
|
||||||
this.labelStaticForcedZeroDelayTime.Font = font;
|
this.labelStaticForcedZeroDelayTime.Font = font;
|
||||||
this.labelStaticForcedZeroDelayTime.Text = "Erzwungene Null-Verzögerung";
|
this.labelStaticForcedZeroDelayTime.Text = "Erzwungene Null-Verzögerung";
|
||||||
|
|
||||||
this.labelMessage1.Text = "Wechselrichteralarm";
|
this.labelMessage1.Text = "Wechselrichteralarm";
|
||||||
this.labelMessage3.Text = "Pinch point Alarm";
|
this.labelMessage3.Text = "Pinch point Alarm";
|
||||||
this.labelMessage5.Text = "Bitte stellen Sie den Ursprung des Servomotors ein";
|
this.labelMessage5.Text = "Bitte stellen Sie den Ursprung des Servomotors ein";
|
||||||
|
|
||||||
this.labelTitleSampling.Text = "Probenahme";
|
this.labelTitleSampling.Text = "Probenahme";
|
||||||
this.labelStaticSamplingCount.Text = "Zahl";
|
this.labelStaticSamplingCount.Text = "Zahl";
|
||||||
this.labelStaticSamplingTime.Text = "Zeit(min)";
|
this.labelStaticSamplingTime.Text = "Zeit(min)";
|
||||||
|
|
||||||
this.labelStaticOverRange.Text = "Max.";
|
this.labelStaticOverRange.Text = "Max.";
|
||||||
this.labelStaticPassRange.Text = "Bestehen";
|
this.labelStaticPassRange.Text = "Bestehen";
|
||||||
this.labelStaticUnderRange.Text = "Min.";
|
this.labelStaticUnderRange.Text = "Min.";
|
||||||
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
||||||
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
||||||
#endregion
|
#endregion
|
||||||
}
|
break;
|
||||||
else
|
case DataStore.LanguageID.Japanese:
|
||||||
{
|
#region Japanese
|
||||||
|
this.groupBoxSorter.Text = "ソーター設定";
|
||||||
|
this.labelStaticSorter1DelayTime.Text = "ソーター1 遅延時間";
|
||||||
|
this.labelStaticSorter1RunTime.Text = "ソーター1 運転時間";
|
||||||
|
this.labelStaticSorter2DelayTime.Text = "ソーター2 遅延時間";
|
||||||
|
this.labelStaticSorter2RunTime.Text = "ソーター2 運転時間";
|
||||||
|
this.labelStaticSorter3DelayTime.Text = "ソーター3 遅延時間";
|
||||||
|
this.labelStaticSorter3RunTime.Text = "ソーター3 運転時間";
|
||||||
|
this.labelStaticEntryGateDelayTime.Text = "エントリーゲートの遅延時間";
|
||||||
|
this.labelStaticEntryGateRunTime.Text = "エントリーゲートの運転時間";
|
||||||
|
this.labelStaticDischargeStopperDelayTime.Font = font;
|
||||||
|
this.labelStaticDischargeStopperDelayTime.Text = "排出ストッパーの遅延時間";
|
||||||
|
this.labelStaticDischargeStopperRunTime.Font = font;
|
||||||
|
this.labelStaticDischargeStopperRunTime.Text = "排出ストッパーの運転時間";
|
||||||
|
|
||||||
|
this.groupBoxJudgmentSetting.Text = "判定設定";
|
||||||
|
this.labelStaticFilter.Text = "フィルター";
|
||||||
|
this.labelStaticJudgmentDelayTime.Text = "判定の遅れ";
|
||||||
|
this.labelStaticJudgmentCount.Text = "判定番号";
|
||||||
|
this.labelStaticForcedZeroDelayTime.Text = "強制ゼロ遅延時間";
|
||||||
|
this.labelStaticTurnDelayTime.Text = "ターン遅延";
|
||||||
|
|
||||||
|
this.labelMessage1.Text = "インバーターアラーム";
|
||||||
|
this.labelMessage3.Text = "ピンチポイントアラーム";
|
||||||
|
this.labelMessage5.Text = "サーボモータの原点を設定してください";
|
||||||
|
|
||||||
|
this.labelStaticSamplingCount.Text = "カウント";
|
||||||
|
this.labelStaticSamplingTime.Text = "時間(分)";
|
||||||
|
|
||||||
|
this.labelStaticOverRange.Text = "超過";
|
||||||
|
this.labelStaticPassRange.Text = "合格";
|
||||||
|
this.labelStaticUnderRange.Text = "不足";
|
||||||
|
this.labelStaticOverRangeLimit.Text = "オーバーリミット";
|
||||||
|
this.labelStaticUnderRangeLimit.Text = "アンダーリミット";
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
|
@ -1944,8 +1977,8 @@ namespace INT63DC_2C.Forms
|
||||||
case DataStore.LanguageID.German:
|
case DataStore.LanguageID.German:
|
||||||
message = "pinch point!";
|
message = "pinch point!";
|
||||||
break;
|
break;
|
||||||
case DataStore.LanguageID.Russian:
|
case DataStore.LanguageID.Japanese:
|
||||||
message = "pinch point!";
|
message = "ピンチポイントアラーム!";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -2019,7 +2052,7 @@ namespace INT63DC_2C.Forms
|
||||||
// Total All Count
|
// Total All Count
|
||||||
// Total Pass Count
|
// Total Pass Count
|
||||||
if (this.labelTitleTotalCount.Text == "Pass" || this.labelTitleTotalCount.Text == "通过" || this.labelTitleTotalCount.Text == "Váha"
|
if (this.labelTitleTotalCount.Text == "Pass" || this.labelTitleTotalCount.Text == "通过" || this.labelTitleTotalCount.Text == "Váha"
|
||||||
|| this.labelTitleTotalCount.Text == "Bestehen")
|
|| this.labelTitleTotalCount.Text == "Bestehen" || this.labelTitleTotalCount.Text == "合格")
|
||||||
{
|
{
|
||||||
//if (this.labelTotalCount.Text != toTalPass.ToString())
|
//if (this.labelTotalCount.Text != toTalPass.ToString())
|
||||||
// this.labelTotalCount.Text = toTalPass.ToString();
|
// this.labelTotalCount.Text = toTalPass.ToString();
|
||||||
|
|
|
@ -296,14 +296,28 @@ namespace INT63DC_2C.Forms
|
||||||
case DataStore.UserGroup.Level1Operator:
|
case DataStore.UserGroup.Level1Operator:
|
||||||
#region Level1
|
#region Level1
|
||||||
id = user.ID;
|
id = user.ID;
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
group = "级别1";
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
{
|
||||||
group = "Úroveň1`";
|
case DataStore.LanguageID.Korean:
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
case DataStore.LanguageID.English:
|
||||||
group = "Stufe1";
|
group = "Level1";
|
||||||
else
|
break;
|
||||||
group = "Level1";
|
case DataStore.LanguageID.Chinese:
|
||||||
|
group = "级别1";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
group = "Úroveň1`";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
group = "Stufe1";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
group = "レベル1";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
|
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
|
||||||
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
||||||
|
@ -342,14 +356,27 @@ namespace INT63DC_2C.Forms
|
||||||
case DataStore.UserGroup.Level2Engineer:
|
case DataStore.UserGroup.Level2Engineer:
|
||||||
#region Level2
|
#region Level2
|
||||||
id = user.ID;
|
id = user.ID;
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
group = "级别2";
|
{
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
case DataStore.LanguageID.Korean:
|
||||||
group = "Úroveň2`";
|
case DataStore.LanguageID.English:
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
group = "Level2";
|
||||||
group = "Stufe2";
|
break;
|
||||||
else
|
case DataStore.LanguageID.Chinese:
|
||||||
group = "Level2";
|
group = "级别2";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
group = "Úroveň2`";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
group = "Stufe2";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
group = "レベル2";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
|
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
|
||||||
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
||||||
|
@ -388,14 +415,27 @@ namespace INT63DC_2C.Forms
|
||||||
case DataStore.UserGroup.Level3Manager:
|
case DataStore.UserGroup.Level3Manager:
|
||||||
#region Level3
|
#region Level3
|
||||||
id = user.ID;
|
id = user.ID;
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
group = "级别3";
|
{
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
case DataStore.LanguageID.Korean:
|
||||||
group = "Úroveň3`";
|
case DataStore.LanguageID.English:
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
group = "Level3";
|
||||||
group = "Stufe3";
|
break;
|
||||||
else
|
case DataStore.LanguageID.Chinese:
|
||||||
group = "Level3";
|
group = "级别3";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
group = "Úroveň3`";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
group = "Stufe3";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
group = "レベル3";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
|
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
|
||||||
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
||||||
|
@ -434,14 +474,27 @@ namespace INT63DC_2C.Forms
|
||||||
case DataStore.UserGroup.Level4Developer:
|
case DataStore.UserGroup.Level4Developer:
|
||||||
#region Level4
|
#region Level4
|
||||||
id = user.ID;
|
id = user.ID;
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
group = "级别4";
|
{
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
case DataStore.LanguageID.Korean:
|
||||||
group = "Úroveň4`";
|
case DataStore.LanguageID.English:
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
group = "Level4";
|
||||||
group = "Stufe4";
|
break;
|
||||||
else
|
case DataStore.LanguageID.Chinese:
|
||||||
group = "Level4";
|
group = "级别4";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
group = "Úroveň4`";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
group = "Stufe4";
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
group = "レベル4";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
|
if (this.labelUserLevel.ForeColor != this.ParentForm.ColorLogOn)
|
||||||
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
||||||
|
|
|
@ -49,120 +49,148 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
this.labelTitleMessage4.Text = "";
|
case DataStore.LanguageID.Korean:
|
||||||
}
|
this.labelTitleMessage4.Text = "";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
break;
|
||||||
{
|
case DataStore.LanguageID.English:
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
#region English
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
|
||||||
this.buttonOrigin.Text = "Origin";
|
this.buttonOrigin.Text = "Origin";
|
||||||
this.buttonAlarmReset.Text = "Alarm Reset";
|
this.buttonAlarmReset.Text = "Alarm Reset";
|
||||||
|
|
||||||
this.labelTitle.Text = "Motor settings";
|
this.labelTitle.Text = "Motor settings";
|
||||||
this.labelTitleOriginOffsets.Text = "Origin offsets";
|
this.labelTitleOriginOffsets.Text = "Origin offsets";
|
||||||
this.labelTitleOriginSpeed.Text = "Origin speed";
|
this.labelTitleOriginSpeed.Text = "Origin speed";
|
||||||
this.labelTitleSpeed1.Text = "Speed1";
|
this.labelTitleSpeed1.Text = "Speed1";
|
||||||
this.labelTitleAcceleration1.Text = "Acceleration1";
|
this.labelTitleAcceleration1.Text = "Acceleration1";
|
||||||
this.labelTitleDeceleration1.Text = "Deceleration1";
|
this.labelTitleDeceleration1.Text = "Deceleration1";
|
||||||
this.labelTitlePosition0.Text = "Position0";
|
this.labelTitlePosition0.Text = "Position0";
|
||||||
this.labelTitlePosition1.Text = "Position1";
|
this.labelTitlePosition1.Text = "Position1";
|
||||||
this.labelTitlePosition2.Text = "Position2";
|
this.labelTitlePosition2.Text = "Position2";
|
||||||
this.labelTitleMessage1.Text = "After setting up the servo driver,";
|
this.labelTitleMessage1.Text = "After setting up the servo driver,";
|
||||||
this.labelTitleMessage2.Text = "press EEPROM to save.";
|
this.labelTitleMessage2.Text = "press EEPROM to save.";
|
||||||
this.labelTitleMessage3.Text = "Be sure to execute the origin after jog operation.";
|
this.labelTitleMessage3.Text = "Be sure to execute the origin after jog operation.";
|
||||||
this.labelTitleMessage4.Text = "";
|
this.labelTitleMessage4.Text = "";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Chinese:
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
#region Chinese
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
|
||||||
this.buttonOpen.Text = "开";
|
this.buttonOpen.Text = "开";
|
||||||
this.buttonClose.Text = "关闭";
|
this.buttonClose.Text = "关闭";
|
||||||
this.buttonParameterRead.Text = "全部读取";
|
this.buttonParameterRead.Text = "全部读取";
|
||||||
this.buttonEEPROM.Text = "全部保存";
|
this.buttonEEPROM.Text = "全部保存";
|
||||||
this.buttonOrigin.Text = "原点";
|
this.buttonOrigin.Text = "原点";
|
||||||
this.buttonAlarmReset.Text = "警报复位";
|
this.buttonAlarmReset.Text = "警报复位";
|
||||||
this.buttonStep.Text = "步";
|
this.buttonStep.Text = "步";
|
||||||
|
|
||||||
this.labelTitle.Text = "设置电机";
|
this.labelTitle.Text = "设置电机";
|
||||||
this.labelTitleID.Text = "身份证";
|
this.labelTitleID.Text = "身份证";
|
||||||
this.labelTitleOriginOffsets.Text = "原点复位";
|
this.labelTitleOriginOffsets.Text = "原点复位";
|
||||||
this.labelTitleOriginSpeed.Text = "原点速度";
|
this.labelTitleOriginSpeed.Text = "原点速度";
|
||||||
this.labelTitleSpeed1.Text = "速度1";
|
this.labelTitleSpeed1.Text = "速度1";
|
||||||
this.labelTitleAcceleration1.Text = "加速 1";
|
this.labelTitleAcceleration1.Text = "加速 1";
|
||||||
this.labelTitleDeceleration1.Text = "减速 1";
|
this.labelTitleDeceleration1.Text = "减速 1";
|
||||||
this.labelTitlePosition0.Text = "位置0";
|
this.labelTitlePosition0.Text = "位置0";
|
||||||
this.labelTitlePosition1.Text = "位置1";
|
this.labelTitlePosition1.Text = "位置1";
|
||||||
this.labelTitlePosition2.Text = "位置2";
|
this.labelTitlePosition2.Text = "位置2";
|
||||||
this.labelTitleMessage1.Text = "设置后请务必点击[全部保存]";
|
this.labelTitleMessage1.Text = "设置后请务必点击[全部保存]";
|
||||||
this.labelTitleMessage2.Text = "";
|
this.labelTitleMessage2.Text = "";
|
||||||
this.labelTitleMessage3.Text = "点转运行操作结束后务必实行原点复位.";
|
this.labelTitleMessage3.Text = "点转运行操作结束后务必实行原点复位.";
|
||||||
this.labelTitleMessage4.Text = "";
|
this.labelTitleMessage4.Text = "";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
#region Czech
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
|
|
||||||
this.buttonOpen.Text = "Otevřít";
|
this.buttonOpen.Text = "Otevřít";
|
||||||
this.buttonClose.Text = "Zavřít";
|
this.buttonClose.Text = "Zavřít";
|
||||||
this.buttonParameterRead.Text = "Přečíst vše";
|
this.buttonParameterRead.Text = "Přečíst vše";
|
||||||
this.buttonOrigin.Text = "Původ";
|
this.buttonOrigin.Text = "Původ";
|
||||||
this.buttonAlarmReset.Text = "Reset alarmu";
|
this.buttonAlarmReset.Text = "Reset alarmu";
|
||||||
this.buttonStep.Text = "Krok";
|
this.buttonStep.Text = "Krok";
|
||||||
|
|
||||||
this.labelTitle.Text = "Nastavení motoru";
|
this.labelTitle.Text = "Nastavení motoru";
|
||||||
this.labelTitleID.Text = "ID";
|
this.labelTitleID.Text = "ID";
|
||||||
this.labelTitleOriginOffsets.Text = "Ofset(Původ)";
|
this.labelTitleOriginOffsets.Text = "Ofset(Původ)";
|
||||||
this.labelTitleOriginSpeed.Text = "Rychlost(Původ)";
|
this.labelTitleOriginSpeed.Text = "Rychlost(Původ)";
|
||||||
this.labelTitleSpeed1.Text = "Rychlost 1";
|
this.labelTitleSpeed1.Text = "Rychlost 1";
|
||||||
this.labelTitleAcceleration1.Text = "Zrychlení 1";
|
this.labelTitleAcceleration1.Text = "Zrychlení 1";
|
||||||
this.labelTitleDeceleration1.Text = "Zpomalení 1";
|
this.labelTitleDeceleration1.Text = "Zpomalení 1";
|
||||||
this.labelTitlePosition0.Text = "Pozice 0";
|
this.labelTitlePosition0.Text = "Pozice 0";
|
||||||
this.labelTitlePosition1.Text = "Pozice 1";
|
this.labelTitlePosition1.Text = "Pozice 1";
|
||||||
this.labelTitlePosition2.Text = "Pozice 2";
|
this.labelTitlePosition2.Text = "Pozice 2";
|
||||||
this.labelTitleMessage1.Text = "Po nastavení servozesilovače";
|
this.labelTitleMessage1.Text = "Po nastavení servozesilovače";
|
||||||
this.labelTitleMessage2.Text = "stiskněte EEPROM pro uložení.";
|
this.labelTitleMessage2.Text = "stiskněte EEPROM pro uložení.";
|
||||||
this.labelTitleMessage3.Text = "Ujistěte se, že jste provedli počátek po";
|
this.labelTitleMessage3.Text = "Ujistěte se, že jste provedli počátek po";
|
||||||
this.labelTitleMessage4.Text = "operaci krokování.";
|
this.labelTitleMessage4.Text = "operaci krokování.";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
break;
|
||||||
{
|
case DataStore.LanguageID.German:
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
#region German
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
|
|
||||||
this.buttonOpen.Text = "Öffnen";
|
this.buttonOpen.Text = "Öffnen";
|
||||||
this.buttonClose.Text = "Schließen";
|
this.buttonClose.Text = "Schließen";
|
||||||
this.buttonParameterRead.Text = "Alles lesen";
|
this.buttonParameterRead.Text = "Alles lesen";
|
||||||
this.buttonOrigin.Text = "Ursprung";
|
this.buttonOrigin.Text = "Ursprung";
|
||||||
this.buttonStep.Text = "Schritt";
|
this.buttonStep.Text = "Schritt";
|
||||||
|
|
||||||
this.labelTitle.Text = "Motoreinstellung";
|
this.labelTitle.Text = "Motoreinstellung";
|
||||||
this.labelTitleID.Text = "ID";
|
this.labelTitleID.Text = "ID";
|
||||||
this.labelTitleOriginOffsets.Text = "Ursprungsoffset";
|
this.labelTitleOriginOffsets.Text = "Ursprungsoffset";
|
||||||
this.labelTitleOriginSpeed.Text = "Ursprungsgeschwindigkeit";
|
this.labelTitleOriginSpeed.Text = "Ursprungsgeschwindigkeit";
|
||||||
this.labelTitleSpeed1.Text = "Geschwindigkeit 1";
|
this.labelTitleSpeed1.Text = "Geschwindigkeit 1";
|
||||||
this.labelTitleAcceleration1.Text = "Beschleunigung 1";
|
this.labelTitleAcceleration1.Text = "Beschleunigung 1";
|
||||||
this.labelTitleDeceleration1.Text = "Verzögerung 1";
|
this.labelTitleDeceleration1.Text = "Verzögerung 1";
|
||||||
this.labelTitlePosition0.Text = "Position 0";
|
this.labelTitlePosition0.Text = "Position 0";
|
||||||
this.labelTitlePosition1.Text = "Position 1";
|
this.labelTitlePosition1.Text = "Position 1";
|
||||||
this.labelTitlePosition2.Text = "Position 2";
|
this.labelTitlePosition2.Text = "Position 2";
|
||||||
this.labelTitleMessage1.Text = "Stellen Sie nach dem Einstellen des Servoantriebs";
|
this.labelTitleMessage1.Text = "Stellen Sie nach dem Einstellen des Servoantriebs";
|
||||||
this.labelTitleMessage2.Text = "sicher, dass Sie es durch Drücken von [EEPROM]";
|
this.labelTitleMessage2.Text = "sicher, dass Sie es durch Drücken von [EEPROM]";
|
||||||
this.labelTitleMessage3.Text = "Achten Sie darauf, den Nullpunkt nach dem";
|
this.labelTitleMessage3.Text = "Achten Sie darauf, den Nullpunkt nach dem";
|
||||||
this.labelTitleMessage4.Text = "Jog-Betrieb auszuführen.";
|
this.labelTitleMessage4.Text = "Jog-Betrieb auszuführen.";
|
||||||
}
|
#endregion
|
||||||
else
|
break;
|
||||||
{
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
|
||||||
|
this.buttonOrigin.Text = "原点";
|
||||||
|
this.buttonAlarmReset.Text = "アラームリセット";
|
||||||
|
|
||||||
|
this.labelTitle.Text = "モーター 設定";
|
||||||
|
this.labelTitleOriginOffsets.Text = "原点オフセット";
|
||||||
|
this.labelTitleOriginSpeed.Text = "原点速度";
|
||||||
|
this.labelTitleSpeed1.Text = "速度";
|
||||||
|
this.labelTitleAcceleration1.Text = "加速度";
|
||||||
|
this.labelTitleDeceleration1.Text = "減速";
|
||||||
|
this.labelTitlePosition0.Text = "位置 0";
|
||||||
|
this.labelTitlePosition1.Text = "位置 1";
|
||||||
|
this.labelTitlePosition2.Text = "位置 2";
|
||||||
|
this.labelTitleMessage1.Text = "After setting up the servo driver,";
|
||||||
|
this.labelTitleMessage2.Text = "press EEPROM to save.";
|
||||||
|
this.labelTitleMessage3.Text = "Be sure to execute the origin after jog operation.";
|
||||||
|
this.labelTitleMessage4.Text = "";
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
|
|
|
@ -49,44 +49,52 @@ namespace INT63DC_2C.Forms
|
||||||
#region Method
|
#region Method
|
||||||
private void InitializeDesign()
|
private void InitializeDesign()
|
||||||
{
|
{
|
||||||
//ImageDll images = new ImageDll();
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
}
|
break;
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
case DataStore.LanguageID.English:
|
||||||
{
|
#region English
|
||||||
//this.smartForm1.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormUpdate));
|
this.labelTitle.Text = "Program Update";
|
||||||
this.labelTitle.Text = "Program Update";
|
this.labelUpdateWait.Text = "Wait a minute...";
|
||||||
this.labelUpdateWait.Text = "Wait a minute...";
|
this.labelUpdateWait2.Text = "Do not disconnect the USB from the body";
|
||||||
this.labelUpdateWait2.Text = "Do not disconnect the USB from the body";
|
this.labelUpdateRestart.Text = "Turn the power off and back on";
|
||||||
this.labelUpdateRestart.Text = "Turn the power off and back on";
|
#endregion
|
||||||
}
|
break;
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
case DataStore.LanguageID.Chinese:
|
||||||
{
|
#region Chinese
|
||||||
this.labelTitle.Text = "更新";
|
this.labelTitle.Text = "更新";
|
||||||
this.labelUpdateWait.Text = "请稍等...";
|
this.labelUpdateWait.Text = "请稍等...";
|
||||||
this.labelUpdateWait2.Text = "请勿断开USB";
|
this.labelUpdateWait2.Text = "请勿断开USB";
|
||||||
this.labelUpdateRestart.Text = "关掉电源,然后在打开电源";
|
this.labelUpdateRestart.Text = "关掉电源,然后在打开电源";
|
||||||
}
|
#endregion
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
break;
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.labelTitle.Text = "Aktualizace";
|
#region Czech
|
||||||
this.labelUpdateWait.Text = "Vyčkejte...";
|
this.labelTitle.Text = "Aktualizace";
|
||||||
this.labelUpdateWait2.Text = "Nevyjímejte USB disk ze zařízení.";
|
this.labelUpdateWait.Text = "Vyčkejte...";
|
||||||
this.labelUpdateRestart.Text = "Nejprve zařízení vypněte a pak opět zapněte.";
|
this.labelUpdateWait2.Text = "Nevyjímejte USB disk ze zařízení.";
|
||||||
}
|
this.labelUpdateRestart.Text = "Nejprve zařízení vypněte a pak opět zapněte.";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
#endregion
|
||||||
{
|
break;
|
||||||
this.labelTitle.Text = "Aktualisierung";
|
case DataStore.LanguageID.German:
|
||||||
this.labelUpdateWait.Text = "Aktualisierung…";
|
#region German
|
||||||
this.labelUpdateWait2.Text = "USB nicht vom Gerät trennen";
|
this.labelTitle.Text = "Aktualisierung";
|
||||||
this.labelUpdateRestart.Text = "Mit dem Hauptschalter aus- und einschalten";
|
this.labelUpdateWait.Text = "Aktualisierung…";
|
||||||
}
|
this.labelUpdateWait2.Text = "USB nicht vom Gerät trennen";
|
||||||
else
|
this.labelUpdateRestart.Text = "Mit dem Hauptschalter aus- und einschalten";
|
||||||
{
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "更新";
|
||||||
|
this.labelUpdateWait.Text = "少し待つ...";
|
||||||
|
this.labelUpdateWait2.Text = "USBを本体から抜かないこと";
|
||||||
|
this.labelUpdateRestart.Text = "電源をOFFにしてから電源をONにする";
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
this.textBoxProductName = new System.Windows.Forms.TextBox();
|
this.textBoxProductName = new System.Windows.Forms.TextBox();
|
||||||
this.buttonLotEdit = new System.Windows.Forms.Button();
|
this.buttonLotEdit = new System.Windows.Forms.Button();
|
||||||
this.buttonNameEdit = new System.Windows.Forms.Button();
|
this.buttonNameEdit = new System.Windows.Forms.Button();
|
||||||
this.labelTitleLOT = new SmartX.SmartLabel();
|
this.labelStaticLOT = new SmartX.SmartLabel();
|
||||||
this.labelStaticName = new SmartX.SmartLabel();
|
this.labelStaticName = new SmartX.SmartLabel();
|
||||||
this.listBoxProductList = new System.Windows.Forms.ListBox();
|
this.listBoxProductList = new System.Windows.Forms.ListBox();
|
||||||
this.groupBoxJudgment = new SmartX.SmartGroupBox();
|
this.groupBoxJudgment = new SmartX.SmartGroupBox();
|
||||||
|
@ -357,7 +357,7 @@
|
||||||
this.groupBoxProduct.Controls.Add(this.textBoxProductName);
|
this.groupBoxProduct.Controls.Add(this.textBoxProductName);
|
||||||
this.groupBoxProduct.Controls.Add(this.buttonLotEdit);
|
this.groupBoxProduct.Controls.Add(this.buttonLotEdit);
|
||||||
this.groupBoxProduct.Controls.Add(this.buttonNameEdit);
|
this.groupBoxProduct.Controls.Add(this.buttonNameEdit);
|
||||||
this.groupBoxProduct.Controls.Add(this.labelTitleLOT);
|
this.groupBoxProduct.Controls.Add(this.labelStaticLOT);
|
||||||
this.groupBoxProduct.Controls.Add(this.labelItemNo);
|
this.groupBoxProduct.Controls.Add(this.labelItemNo);
|
||||||
this.groupBoxProduct.Controls.Add(this.labelStaticName);
|
this.groupBoxProduct.Controls.Add(this.labelStaticName);
|
||||||
this.groupBoxProduct.Controls.Add(this.labelStaticNo);
|
this.groupBoxProduct.Controls.Add(this.labelStaticNo);
|
||||||
|
@ -689,24 +689,24 @@
|
||||||
this.buttonNameEdit.Text = "Edit";
|
this.buttonNameEdit.Text = "Edit";
|
||||||
this.buttonNameEdit.Click += new System.EventHandler(this.buttonNameEdit_Click);
|
this.buttonNameEdit.Click += new System.EventHandler(this.buttonNameEdit_Click);
|
||||||
//
|
//
|
||||||
// labelTitleLOT
|
// labelStaticLOT
|
||||||
//
|
//
|
||||||
this.labelTitleLOT.BackPictureBox = this.smartForm1;
|
this.labelStaticLOT.BackPictureBox = this.smartForm1;
|
||||||
this.labelTitleLOT.BackPictureBox1 = null;
|
this.labelStaticLOT.BackPictureBox1 = null;
|
||||||
this.labelTitleLOT.BackPictureBox2 = null;
|
this.labelStaticLOT.BackPictureBox2 = null;
|
||||||
this.labelTitleLOT.BorderColor = System.Drawing.Color.Black;
|
this.labelStaticLOT.BorderColor = System.Drawing.Color.Black;
|
||||||
this.labelTitleLOT.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.labelStaticLOT.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
this.labelTitleLOT.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
this.labelStaticLOT.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||||
this.labelTitleLOT.InitVisible = true;
|
this.labelStaticLOT.InitVisible = true;
|
||||||
this.labelTitleLOT.LineSpacing = 0F;
|
this.labelStaticLOT.LineSpacing = 0F;
|
||||||
this.labelTitleLOT.Location = new System.Drawing.Point(29, 104);
|
this.labelStaticLOT.Location = new System.Drawing.Point(29, 104);
|
||||||
this.labelTitleLOT.Name = "labelTitleLOT";
|
this.labelStaticLOT.Name = "labelStaticLOT";
|
||||||
this.labelTitleLOT.Size = new System.Drawing.Size(80, 30);
|
this.labelStaticLOT.Size = new System.Drawing.Size(80, 30);
|
||||||
this.labelTitleLOT.TabIndex = 130;
|
this.labelStaticLOT.TabIndex = 130;
|
||||||
this.labelTitleLOT.Text = "LOT";
|
this.labelStaticLOT.Text = "LOT";
|
||||||
this.labelTitleLOT.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelStaticLOT.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelTitleLOT.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelStaticLOT.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelTitleLOT.Wordwrap = false;
|
this.labelStaticLOT.Wordwrap = false;
|
||||||
//
|
//
|
||||||
// labelStaticName
|
// labelStaticName
|
||||||
//
|
//
|
||||||
|
@ -1817,7 +1817,7 @@
|
||||||
private System.Windows.Forms.ListBox listBoxProductList;
|
private System.Windows.Forms.ListBox listBoxProductList;
|
||||||
private System.Windows.Forms.Button buttonLotEdit;
|
private System.Windows.Forms.Button buttonLotEdit;
|
||||||
private System.Windows.Forms.Button buttonNameEdit;
|
private System.Windows.Forms.Button buttonNameEdit;
|
||||||
private SmartX.SmartLabel labelTitleLOT;
|
private SmartX.SmartLabel labelStaticLOT;
|
||||||
private SmartX.SmartLabel labelStaticName;
|
private SmartX.SmartLabel labelStaticName;
|
||||||
private SmartX.SmartGroupBox groupBoxJudgment;
|
private SmartX.SmartGroupBox groupBoxJudgment;
|
||||||
public SmartX.SmartLabel labelDynamicCorrection;
|
public SmartX.SmartLabel labelDynamicCorrection;
|
||||||
|
|
|
@ -56,209 +56,261 @@ namespace INT63DC_2C.Forms
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
|
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "System settings";
|
||||||
|
this.groupBoxProduct.Text = "Setting product";
|
||||||
|
this.groupBoxJudgment.Text = "Setting Judgment";
|
||||||
|
|
||||||
}
|
this.labelStaticOverRange.Text = "Over";
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.labelStaticPassRange.Text = "Pass";
|
||||||
{
|
this.labelStaticUnderRange.Text = "Under";
|
||||||
this.labelTitle.Text = "System settings";
|
this.labelStaticTareRange.Text = "Tare";
|
||||||
this.groupBoxProduct.Text = "Setting product";
|
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
||||||
this.groupBoxJudgment.Text = "Setting Judgment";
|
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
||||||
|
|
||||||
this.labelStaticOverRange.Text = "Over";
|
this.buttonWeightReference.Text = "Reference";
|
||||||
this.labelStaticPassRange.Text = "Pass";
|
this.labelStaticJudgment.Text = "Result";
|
||||||
this.labelStaticUnderRange.Text = "Under";
|
this.labelStaticFilter.Text = "Filter";
|
||||||
this.labelStaticTareRange.Text = "Tare";
|
this.labelStaticJudgmentDelayTime.Text = "J.Delay";
|
||||||
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
this.labelStaticTurnDelayTime.Text = "Turn Delay";
|
||||||
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
this.labelTitleFeedSpeed.Text = "Feed Speed";
|
||||||
|
this.labelStaticJudgmentCount.Text = "J.count";
|
||||||
|
this.labelStaticDynamic.Text = "Dynamic";
|
||||||
|
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
|
||||||
|
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
|
||||||
|
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
|
||||||
|
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
|
||||||
|
this.labelStaticSorter3DelayTime.Text = "Sorter3 Delay";
|
||||||
|
this.labelStaticSorter3RunTime.Text = "Sorter3 Run";
|
||||||
|
this.labelStaticOriginOffset.Text = "Origin Offset";
|
||||||
|
this.labelStaticTorque.Text = "Torque";
|
||||||
|
|
||||||
this.buttonWeightReference.Text = "Reference";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
this.labelStaticJudgment.Text = "Result";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
this.labelStaticFilter.Text = "Filter";
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
this.labelStaticJudgmentDelayTime.Text = "J.Delay";
|
|
||||||
this.labelStaticTurnDelayTime.Text = "Turn Delay";
|
|
||||||
this.labelTitleFeedSpeed.Text = "Feed Speed";
|
|
||||||
this.labelStaticJudgmentCount.Text = "J.count";
|
|
||||||
this.labelStaticDynamic.Text = "Dynamic";
|
|
||||||
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
|
|
||||||
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
|
|
||||||
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
|
|
||||||
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
|
|
||||||
this.labelStaticSorter3DelayTime.Text = "Sorter3 Delay";
|
|
||||||
this.labelStaticSorter3RunTime.Text = "Sorter3 Run";
|
|
||||||
this.labelStaticOriginOffset.Text = "Origin Offset";
|
|
||||||
this.labelStaticTorque.Text = "Torque";
|
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemCopyDown));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemCopyUp));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteDown));
|
||||||
|
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteUp));
|
||||||
|
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteAllDown));
|
||||||
|
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteAllUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "系统设定";
|
||||||
|
this.groupBoxProduct.Text = "项目设置";
|
||||||
|
this.groupBoxJudgment.Text = "判断设置";
|
||||||
|
|
||||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemCopyDown));
|
this.labelStaticOverRange.Text = "上限";
|
||||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemCopyUp));
|
this.labelStaticPassRange.Text = "标准";
|
||||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteDown));
|
this.labelStaticUnderRange.Text = "下限";
|
||||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteUp));
|
this.labelStaticTareRange.Text = "皮重";
|
||||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteAllDown));
|
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
||||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteAllUp));
|
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "系统设定";
|
|
||||||
this.groupBoxProduct.Text = "项目设置";
|
|
||||||
this.groupBoxJudgment.Text = "判断设置";
|
|
||||||
|
|
||||||
this.labelStaticOverRange.Text = "上限";
|
this.buttonWeightReference.Text = "参考价值";
|
||||||
this.labelStaticPassRange.Text = "标准";
|
this.labelStaticJudgment.Text = "结果";
|
||||||
this.labelStaticUnderRange.Text = "下限";
|
this.labelStaticFilter.Text = "滤波器";
|
||||||
this.labelStaticTareRange.Text = "皮重";
|
this.labelStaticJudgmentDelayTime.Text = "判断延迟";
|
||||||
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
this.labelStaticTurnDelayTime.Text = "旋转延迟";
|
||||||
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
this.labelTitleFeedSpeed.Text = "速度";
|
||||||
|
this.labelStaticJudgmentCount.Text = "重复延迟";
|
||||||
|
this.labelStaticDynamic.Text = "动态校正";
|
||||||
|
this.labelStaticSorter1DelayTime.Text = "分类机1 延迟时间";
|
||||||
|
this.labelStaticSorter1RunTime.Text = "分类机1 运行时间";
|
||||||
|
this.labelStaticSorter2DelayTime.Text = "分类机2 延迟时间";
|
||||||
|
this.labelStaticSorter2RunTime.Text = "分类机2 运行时间";
|
||||||
|
this.labelStaticSorter3DelayTime.Text = "分类机3 延迟时间";
|
||||||
|
this.labelStaticSorter3RunTime.Text = "分类机3 运行时间";
|
||||||
|
this.labelStaticOriginOffset.Text = "原点偏移";
|
||||||
|
this.labelStaticTorque.Text = "扭力";
|
||||||
|
|
||||||
this.buttonWeightReference.Text = "参考价值";
|
this.labelStaticNo.Text = "编号";
|
||||||
this.labelStaticJudgment.Text = "结果";
|
this.labelStaticName.Text = "名称";
|
||||||
this.labelStaticFilter.Text = "滤波器";
|
this.labelStaticLOT.Text = "批号";
|
||||||
this.labelStaticJudgmentDelayTime.Text = "判断延迟";
|
|
||||||
this.labelStaticTurnDelayTime.Text = "旋转延迟";
|
|
||||||
this.labelTitleFeedSpeed.Text = "速度";
|
|
||||||
this.labelStaticJudgmentCount.Text = "重复延迟";
|
|
||||||
this.labelStaticDynamic.Text = "动态校正";
|
|
||||||
this.labelStaticSorter1DelayTime.Text = "分类机1 延迟时间";
|
|
||||||
this.labelStaticSorter1RunTime.Text = "分类机1 运行时间";
|
|
||||||
this.labelStaticSorter2DelayTime.Text = "分类机2 延迟时间";
|
|
||||||
this.labelStaticSorter2RunTime.Text = "分类机2 运行时间";
|
|
||||||
this.labelStaticSorter3DelayTime.Text = "分类机3 延迟时间";
|
|
||||||
this.labelStaticSorter3RunTime.Text = "分类机3 运行时间";
|
|
||||||
this.labelStaticOriginOffset.Text = "原点偏移";
|
|
||||||
this.labelStaticTorque.Text = "扭力";
|
|
||||||
|
|
||||||
this.labelStaticNo.Text = "编号";
|
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "编辑";
|
||||||
this.labelStaticName.Text = "名称";
|
|
||||||
this.labelTitleLOT.Text = "批号";
|
|
||||||
|
|
||||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "编辑";
|
this.labelStaticWeight.Text = "重量";
|
||||||
|
|
||||||
this.labelStaticWeight.Text = "重量";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemCopyDown));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemCopyUp));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteDown));
|
||||||
|
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteUp));
|
||||||
|
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteAllDown));
|
||||||
|
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteAllUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Nastavení systému";
|
||||||
|
this.groupBoxProduct.Text = "Nastavení produktu";
|
||||||
|
this.groupBoxJudgment.Text = "Nastavení rozhodnutí";
|
||||||
|
|
||||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemCopyDown));
|
this.labelStaticOverRange.Text = "Max.";
|
||||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemCopyUp));
|
this.labelStaticPassRange.Text = "Váha";
|
||||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteDown));
|
this.labelStaticUnderRange.Text = "Min.";
|
||||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteUp));
|
this.labelStaticTareRange.Text = "Tára";
|
||||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteAllDown));
|
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
||||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteAllUp));
|
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Nastavení systému";
|
|
||||||
this.groupBoxProduct.Text = "Nastavení produktu";
|
|
||||||
this.groupBoxJudgment.Text = "Nastavení rozhodnutí";
|
|
||||||
|
|
||||||
this.labelStaticOverRange.Text = "Max.";
|
this.buttonWeightReference.Text = "Reference";
|
||||||
this.labelStaticPassRange.Text = "Váha";
|
this.labelStaticJudgment.Text = "Výsledek";
|
||||||
this.labelStaticUnderRange.Text = "Min.";
|
this.labelStaticFilter.Text = "Filtr";
|
||||||
this.labelStaticTareRange.Text = "Tára";
|
this.labelStaticJudgmentDelayTime.Text = "Zpoždění kapsy";
|
||||||
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
this.labelStaticTurnDelayTime.Text = "Zpoždění rotace";
|
||||||
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
this.labelTitleFeedSpeed.Text = "Rychlost";
|
||||||
|
this.labelStaticJudgmentCount.Text = "Číslo kapsy";
|
||||||
|
this.labelStaticDynamic.Text = "Dynamická korekce";
|
||||||
|
this.labelStaticSorter1DelayTime.Font = font;
|
||||||
|
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
|
||||||
|
this.labelStaticSorter1RunTime.Font = font;
|
||||||
|
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
|
||||||
|
this.labelStaticSorter2DelayTime.Font = font;
|
||||||
|
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
|
||||||
|
this.labelStaticSorter2RunTime.Font = font;
|
||||||
|
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
|
||||||
|
this.labelStaticSorter3DelayTime.Font = font;
|
||||||
|
this.labelStaticSorter3DelayTime.Text = "Vyřazovač3 Zpoždění";
|
||||||
|
this.labelStaticSorter3RunTime.Font = font;
|
||||||
|
this.labelStaticSorter3RunTime.Text = "Vyřazovač3 Čas chodu";
|
||||||
|
this.labelStaticOriginOffset.Text = "Počátek počátku";
|
||||||
|
this.labelStaticTorque.Text = "Kroutící moment";
|
||||||
|
|
||||||
this.buttonWeightReference.Text = "Reference";
|
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "Editovat";
|
||||||
this.labelStaticJudgment.Text = "Výsledek";
|
this.labelStaticNo.Text = "Počet";
|
||||||
this.labelStaticFilter.Text = "Filtr";
|
this.labelStaticName.Text = "Jméno";
|
||||||
this.labelStaticJudgmentDelayTime.Text = "Zpoždění kapsy";
|
this.labelStaticWeight.Text = "Hmotnost";
|
||||||
this.labelStaticTurnDelayTime.Text = "Zpoždění rotace";
|
|
||||||
this.labelTitleFeedSpeed.Text = "Rychlost";
|
|
||||||
this.labelStaticJudgmentCount.Text = "Číslo kapsy";
|
|
||||||
this.labelStaticDynamic.Text = "Dynamická korekce";
|
|
||||||
this.labelStaticSorter1DelayTime.Font = font;
|
|
||||||
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
|
|
||||||
this.labelStaticSorter1RunTime.Font = font;
|
|
||||||
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
|
|
||||||
this.labelStaticSorter2DelayTime.Font = font;
|
|
||||||
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
|
|
||||||
this.labelStaticSorter2RunTime.Font = font;
|
|
||||||
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
|
|
||||||
this.labelStaticSorter3DelayTime.Font = font;
|
|
||||||
this.labelStaticSorter3DelayTime.Text = "Vyřazovač3 Zpoždění";
|
|
||||||
this.labelStaticSorter3RunTime.Font = font;
|
|
||||||
this.labelStaticSorter3RunTime.Text = "Vyřazovač3 Čas chodu";
|
|
||||||
this.labelStaticOriginOffset.Text = "Počátek počátku";
|
|
||||||
this.labelStaticTorque.Text = "Kroutící moment";
|
|
||||||
|
|
||||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "Editovat";
|
this.pictureBoxStart.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainStart));
|
||||||
this.labelStaticNo.Text = "Počet";
|
|
||||||
this.labelStaticName.Text = "Jméno";
|
|
||||||
this.labelStaticWeight.Text = "Hmotnost";
|
|
||||||
|
|
||||||
this.pictureBoxStart.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainStart));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemCopyDown));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemCopyUp));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteDown));
|
||||||
|
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteUp));
|
||||||
|
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteAllDown));
|
||||||
|
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteAllUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
#region German
|
||||||
|
this.labelTitle.Text = "Systemeinstellung";
|
||||||
|
this.groupBoxProduct.Text = "Produkteinstellung";
|
||||||
|
this.groupBoxJudgment.Text = "Tascheneinstellung";
|
||||||
|
|
||||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemCopyDown));
|
this.labelStaticOverRange.Text = "Max.";
|
||||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemCopyUp));
|
this.labelStaticPassRange.Text = "Bestehen";
|
||||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteDown));
|
this.labelStaticUnderRange.Text = "Min.";
|
||||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteUp));
|
this.labelStaticTareRange.Text = "Tara";
|
||||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteAllDown));
|
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
||||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteAllUp));
|
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Systemeinstellung";
|
|
||||||
this.groupBoxProduct.Text = "Produkteinstellung";
|
|
||||||
this.groupBoxJudgment.Text = "Tascheneinstellung";
|
|
||||||
|
|
||||||
this.labelStaticOverRange.Text = "Max.";
|
this.buttonWeightReference.Text = "Referenz";
|
||||||
this.labelStaticPassRange.Text = "Bestehen";
|
this.labelStaticJudgment.Text = "Ergebnis";
|
||||||
this.labelStaticUnderRange.Text = "Min.";
|
this.labelStaticFilter.Text = "Filter";
|
||||||
this.labelStaticTareRange.Text = "Tara";
|
this.labelStaticJudgmentDelayTime.Text = "Taschenverzögerung";
|
||||||
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
this.labelStaticTurnDelayTime.Text = "Rotationsverzögerung";
|
||||||
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
this.labelTitleFeedSpeed.Text = "Geschwindigkeit";
|
||||||
|
this.labelStaticJudgmentCount.Text = "Taschennummer";
|
||||||
|
this.labelStaticDynamic.Text = "Dynamische Konstante";
|
||||||
|
this.labelStaticSorter1DelayTime.Font = font;
|
||||||
|
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
|
||||||
|
this.labelStaticSorter1RunTime.Font = font;
|
||||||
|
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
|
||||||
|
this.labelStaticSorter2DelayTime.Font = font;
|
||||||
|
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
|
||||||
|
this.labelStaticSorter2RunTime.Font = font;
|
||||||
|
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
|
||||||
|
this.labelStaticSorter3DelayTime.Font = font;
|
||||||
|
this.labelStaticSorter3DelayTime.Text = "Sortierer3 Vezögerung";
|
||||||
|
this.labelStaticSorter3RunTime.Font = font;
|
||||||
|
this.labelStaticSorter3RunTime.Text = "Sortierer3 Laufzeit";
|
||||||
|
this.labelStaticOriginOffset.Text = "Ursprungsversatz";
|
||||||
|
this.labelStaticTorque.Text = "Drehmoment";
|
||||||
|
|
||||||
this.buttonWeightReference.Text = "Referenz";
|
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "Bearbeiten";
|
||||||
this.labelStaticJudgment.Text = "Ergebnis";
|
this.labelStaticNo.Text = "Nummer";
|
||||||
this.labelStaticFilter.Text = "Filter";
|
this.labelStaticName.Text = "Name";
|
||||||
this.labelStaticJudgmentDelayTime.Text = "Taschenverzögerung";
|
this.labelStaticWeight.Text = "Gewicht";
|
||||||
this.labelStaticTurnDelayTime.Text = "Rotationsverzögerung";
|
|
||||||
this.labelTitleFeedSpeed.Text = "Geschwindigkeit";
|
|
||||||
this.labelStaticJudgmentCount.Text = "Taschennummer";
|
|
||||||
this.labelStaticDynamic.Text = "Dynamische Konstante";
|
|
||||||
this.labelStaticSorter1DelayTime.Font = font;
|
|
||||||
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
|
|
||||||
this.labelStaticSorter1RunTime.Font = font;
|
|
||||||
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
|
|
||||||
this.labelStaticSorter2DelayTime.Font = font;
|
|
||||||
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
|
|
||||||
this.labelStaticSorter2RunTime.Font = font;
|
|
||||||
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
|
|
||||||
this.labelStaticSorter3DelayTime.Font = font;
|
|
||||||
this.labelStaticSorter3DelayTime.Text = "Sortierer3 Vezögerung";
|
|
||||||
this.labelStaticSorter3RunTime.Font = font;
|
|
||||||
this.labelStaticSorter3RunTime.Text = "Sortierer3 Laufzeit";
|
|
||||||
this.labelStaticOriginOffset.Text = "Ursprungsversatz";
|
|
||||||
this.labelStaticTorque.Text = "Drehmoment";
|
|
||||||
|
|
||||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "Bearbeiten";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.labelStaticNo.Text = "Nummer";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
this.labelStaticName.Text = "Name";
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
this.labelStaticWeight.Text = "Gewicht";
|
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemCopyDown));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemCopyUp));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteDown));
|
||||||
|
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteUp));
|
||||||
|
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteAllDown));
|
||||||
|
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteAllUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "システム設定";
|
||||||
|
|
||||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemCopyDown));
|
this.groupBoxProduct.Text = "製品設定";
|
||||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemCopyUp));
|
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "編集者";
|
||||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteDown));
|
this.labelStaticNo.Text = "番号";
|
||||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteUp));
|
this.labelStaticName.Text = "名称";
|
||||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteAllDown));
|
this.labelStaticLOT.Text = "ロット";
|
||||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteAllUp));
|
this.labelStaticOverRange.Text = "上限";
|
||||||
}
|
this.labelStaticPassRange.Text = "合格";
|
||||||
else
|
this.labelStaticUnderRange.Text = "下限";
|
||||||
{
|
this.labelStaticTareRange.Text = "風袋";
|
||||||
|
this.labelStaticOverRangeLimit.Font = font;
|
||||||
|
this.labelStaticOverRangeLimit.Text = "オㅡバㅡリミット";
|
||||||
|
this.labelStaticUnderRangeLimit.Font = font;
|
||||||
|
this.labelStaticUnderRangeLimit.Text = "アンダㅡリミット";
|
||||||
|
|
||||||
|
this.groupBoxJudgment.Text = "判定設定";
|
||||||
|
this.buttonWeightReference.Text = "基準";
|
||||||
|
this.labelStaticWeight.Text = "重量";
|
||||||
|
this.labelStaticJudgment.Text = "結果";
|
||||||
|
this.labelStaticFilter.Text = "フィルタㅡ";
|
||||||
|
this.labelStaticJudgmentDelayTime.Text = "判定の遅れ";
|
||||||
|
this.labelStaticTurnDelayTime.Text = "タㅡン遅延";
|
||||||
|
this.labelTitleFeedSpeed.Text = "速度";
|
||||||
|
this.labelStaticJudgmentCount.Text = "判定番号";
|
||||||
|
this.labelStaticDynamic.Text = "動的定数";
|
||||||
|
this.labelStaticSorter1DelayTime.Text = "ソㅡタㅡ1 遅延時間";
|
||||||
|
this.labelStaticSorter1RunTime.Text = "ソㅡタㅡ1 運転時間";
|
||||||
|
this.labelStaticSorter2DelayTime.Text = "ソㅡタㅡ2 遅延時間";
|
||||||
|
this.labelStaticSorter2RunTime.Text = "ソㅡタㅡ2 運転時間";
|
||||||
|
this.labelStaticSorter3DelayTime.Text = "ソㅡタㅡ3 遅延時間";
|
||||||
|
this.labelStaticSorter3RunTime.Text = "ソㅡタㅡ3 運転時間";
|
||||||
|
this.labelStaticOriginOffset.Text = "原点オフセット";
|
||||||
|
this.labelStaticTorque.Text = "トルク";
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
|
||||||
|
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemCopyDown));
|
||||||
|
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemCopyUp));
|
||||||
|
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteDown));
|
||||||
|
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteUp));
|
||||||
|
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteAllDown));
|
||||||
|
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemPasteAllUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void InitializeControl()
|
private void InitializeControl()
|
||||||
|
|
|
@ -41,69 +41,87 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "Time settings";
|
||||||
|
this.labelStaticCurrentTime.Text = "Current time";
|
||||||
|
this.labelStaticTimeSetting.Text = "Setting time";
|
||||||
|
|
||||||
}
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
||||||
{
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
||||||
this.labelTitle.Text = "Time settings";
|
|
||||||
this.labelStaticCurrentTime.Text = "Current time";
|
|
||||||
this.labelStaticTimeSetting.Text = "Setting time";
|
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "时间设定";
|
||||||
|
this.labelStaticCurrentTime.Text = "当前时间";
|
||||||
|
this.labelStaticTimeSetting.Text = "设置";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveUp));
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "时间设定";
|
|
||||||
this.labelStaticCurrentTime.Text = "当前时间";
|
|
||||||
this.labelStaticTimeSetting.Text = "设置";
|
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
#region Czech
|
||||||
|
this.labelTitle.Text = "Nastavení času";
|
||||||
|
this.labelStaticCurrentTime.Text = "Aktuální čas";
|
||||||
|
this.labelStaticTimeSetting.Text = "Nastavení";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveUp));
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Nastavení času";
|
|
||||||
this.labelStaticCurrentTime.Text = "Aktuální čas";
|
|
||||||
this.labelStaticTimeSetting.Text = "Nastavení";
|
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
#region German
|
||||||
|
this.labelTitle.Text = "Zeiteinstellung";
|
||||||
|
this.labelStaticCurrentTime.Text = "Aktuelle Uhrzeit";
|
||||||
|
this.labelStaticTimeSetting.Text = "Einstellung";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveUp));
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Zeiteinstellung";
|
|
||||||
this.labelStaticCurrentTime.Text = "Aktuelle Uhrzeit";
|
|
||||||
this.labelStaticTimeSetting.Text = "Einstellung";
|
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "時間設定";
|
||||||
|
this.labelStaticCurrentTime.Text = "現在時刻";
|
||||||
|
this.labelStaticTimeSetting.Text = "設定";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,58 +51,101 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
this.labelTitle.Text = "그룹 에디터";
|
case DataStore.LanguageID.Korean:
|
||||||
}
|
break;
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
case DataStore.LanguageID.English:
|
||||||
{
|
case DataStore.LanguageID.Czech:
|
||||||
this.labelTitle.Text = "组编辑";
|
case DataStore.LanguageID.German:
|
||||||
|
this.labelTitle.Text = "Group Editor";
|
||||||
|
|
||||||
this.labelTitle1.Text = "级别1";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
this.labelTitle2.Text = "级别2";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
this.labelTitle3.Text = "级别3";
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
|
||||||
this.labelStaticMainDisplayAccess.Text = "主显示访问";
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||||
this.labelStaticProductNo.Text = "编号";
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
||||||
this.labelStaticWeightSetting.Text = "体重设定";
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
||||||
this.labelStaticClear.Text = "消除";
|
break;
|
||||||
this.labelStaticSubMenu.Text = "子菜单";
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "组编辑";
|
||||||
|
|
||||||
this.labelStaticMenu.Text = "菜单";
|
this.labelTitle1.Text = "级别1";
|
||||||
this.labelStaticTimeSetting.Text = "时间设定";
|
this.labelTitle2.Text = "级别2";
|
||||||
this.labelStaticInformation.Text = "系统信息";
|
this.labelTitle3.Text = "级别3";
|
||||||
this.labelStaticDataBackup.Text = "数据备份";
|
|
||||||
this.labelStaticCalibration.Text = "校准";
|
|
||||||
this.labelStaticConfiguration.Text = "选项";
|
|
||||||
this.labelStaticUpdate.Text = "更新";
|
|
||||||
this.labelStaticSystemSetting.Text = "系统设定";
|
|
||||||
this.labelStaticFactoryReset.Text = "回复出厂设置";
|
|
||||||
this.labelStaticMotorSetting.Text = "设置电机";
|
|
||||||
this.labelStaticEquipmentSetting.Text = "设备设置";
|
|
||||||
this.labelStaticIOTest.Text = "I/O测试";
|
|
||||||
this.labelStaticUserSetting.Text = "用户设置";
|
|
||||||
this.labelTitleDataStatistics.Text = "数据统计";
|
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.labelStaticMainDisplayAccess.Text = "主显示访问";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.labelStaticProductNo.Text = "编号";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.labelStaticWeightSetting.Text = "体重设定";
|
||||||
|
this.labelStaticClear.Text = "消除";
|
||||||
|
this.labelStaticSubMenu.Text = "子菜单";
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDisable));
|
this.labelStaticMenu.Text = "菜单";
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDown));
|
this.labelStaticTimeSetting.Text = "时间设定";
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveUp));
|
this.labelStaticInformation.Text = "系统信息";
|
||||||
}
|
this.labelStaticDataBackup.Text = "数据备份";
|
||||||
else
|
this.labelStaticCalibration.Text = "校准";
|
||||||
{
|
this.labelStaticConfiguration.Text = "选项";
|
||||||
this.labelTitle.Text = "Group Editor";
|
this.labelStaticUpdate.Text = "更新";
|
||||||
|
this.labelStaticSystemSetting.Text = "系统设定";
|
||||||
|
this.labelStaticFactoryReset.Text = "回复出厂设置";
|
||||||
|
this.labelStaticMotorSetting.Text = "设置电机";
|
||||||
|
this.labelStaticEquipmentSetting.Text = "设备设置";
|
||||||
|
this.labelStaticIOTest.Text = "I/O测试";
|
||||||
|
this.labelStaticUserSetting.Text = "用户设置";
|
||||||
|
this.labelTitleDataStatistics.Text = "数据统计";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
|
||||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDisable));
|
||||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDown));
|
||||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "グルㅡプエディタㅡ";
|
||||||
|
|
||||||
|
this.labelTitle1.Text = "レベル1";
|
||||||
|
this.labelTitle2.Text = "レベル2";
|
||||||
|
this.labelTitle3.Text = "レベル3";
|
||||||
|
|
||||||
|
this.labelStaticMainDisplayAccess.Text = "メインディスプレイ";
|
||||||
|
this.labelStaticProductNo.Text = "番号";
|
||||||
|
this.labelStaticWeightSetting.Text = "設定値";
|
||||||
|
this.labelStaticClear.Text = "クリア";
|
||||||
|
this.labelStaticSubMenu.Text = "サブメニュㅡ";
|
||||||
|
|
||||||
|
this.labelStaticMenu.Text = "メニュㅡ";
|
||||||
|
this.labelStaticTimeSetting.Text = "時間設定";
|
||||||
|
this.labelStaticInformation.Text = "情報";
|
||||||
|
this.labelStaticDataBackup.Text = "デㅡタバックアップ";
|
||||||
|
this.labelStaticCalibration.Text = "校正";
|
||||||
|
this.labelStaticConfiguration.Text = "構成";
|
||||||
|
this.labelStaticUpdate.Text = "更新";
|
||||||
|
this.labelStaticSystemSetting.Text = "システム設定";
|
||||||
|
this.labelStaticFactoryReset.Text = "初期化";
|
||||||
|
this.labelStaticMotorSetting.Text = "モㅡタㅡ設定";
|
||||||
|
this.labelStaticEquipmentSetting.Text = "装置設定";
|
||||||
|
this.labelStaticIOTest.Text = "I/Oテスト";
|
||||||
|
this.labelStaticUserSetting.Text = "ユㅡザㅡの設定";
|
||||||
|
this.labelTitleDataStatistics.Text = "デㅡタ統計";
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
|
||||||
|
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||||
|
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
||||||
|
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void DefaultSetting()
|
private void DefaultSetting()
|
||||||
|
@ -354,28 +397,9 @@ namespace INT63DC_2C.Forms
|
||||||
|
|
||||||
this.buttonSave.Visible = false;
|
this.buttonSave.Visible = false;
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.CurrentUser.Group != DataStore.UserGroup.Level4Developer)
|
// Not login 미사용으로 Visible = false 처리함
|
||||||
{
|
for (int i = 0; i < this.CollectionLevel1Control.Count; i++)
|
||||||
for (int i = 0; i < this.CollectionLevel1Control.Count; i++)
|
this.CollectionLevel4Control[i].Visible = false;
|
||||||
{
|
|
||||||
//this.CollectionLevel1Control[i].Location = new Point(this.CollectionLevel2Location[i].X, this.CollectionLevel2Location[i].Y);
|
|
||||||
//this.CollectionLevel2Control[i].Location = new Point(this.CollectionLevel3Location[i].X, this.CollectionLevel3Location[i].Y);
|
|
||||||
|
|
||||||
//this.CollectionLevel3Control[i].Visible = false;
|
|
||||||
this.CollectionLevel4Control[i].Visible = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
for (int i = 0; i < this.CollectionLevel1Control.Count; i++)
|
|
||||||
{
|
|
||||||
//this.CollectionLevel1Control[i].Location = new Point(this.CollectionLevel1Location[i].X, this.CollectionLevel1Location[i].Y);
|
|
||||||
//this.CollectionLevel2Control[i].Location = new Point(this.CollectionLevel2Location[i].X, this.CollectionLevel2Location[i].Y);
|
|
||||||
|
|
||||||
//this.CollectionLevel3Control[i].Visible = true;
|
|
||||||
this.CollectionLevel4Control[i].Visible = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 현재 데이터 통계 메뉴가 없어서 Visible = false 처리함
|
// 현재 데이터 통계 메뉴가 없어서 Visible = false 처리함
|
||||||
// 추후에 데이터 통계 메뉴 추가 되면 삭제
|
// 추후에 데이터 통계 메뉴 추가 되면 삭제
|
||||||
|
|
|
@ -388,7 +388,6 @@
|
||||||
this.checkBoxL3MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
this.checkBoxL3MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
||||||
this.checkBoxL3MenuDataStatistics.TabIndex = 631;
|
this.checkBoxL3MenuDataStatistics.TabIndex = 631;
|
||||||
this.checkBoxL3MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
this.checkBoxL3MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
||||||
this.checkBoxL3MenuDataStatistics.Visible = false;
|
|
||||||
this.checkBoxL3MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
this.checkBoxL3MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
||||||
//
|
//
|
||||||
// checkBoxL2MenuDataStatistics
|
// checkBoxL2MenuDataStatistics
|
||||||
|
@ -410,7 +409,6 @@
|
||||||
this.checkBoxL2MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
this.checkBoxL2MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
||||||
this.checkBoxL2MenuDataStatistics.TabIndex = 632;
|
this.checkBoxL2MenuDataStatistics.TabIndex = 632;
|
||||||
this.checkBoxL2MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
this.checkBoxL2MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
||||||
this.checkBoxL2MenuDataStatistics.Visible = false;
|
|
||||||
this.checkBoxL2MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
this.checkBoxL2MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
||||||
//
|
//
|
||||||
// checkBoxL1MenuDataStatistics
|
// checkBoxL1MenuDataStatistics
|
||||||
|
@ -432,7 +430,6 @@
|
||||||
this.checkBoxL1MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
this.checkBoxL1MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
||||||
this.checkBoxL1MenuDataStatistics.TabIndex = 629;
|
this.checkBoxL1MenuDataStatistics.TabIndex = 629;
|
||||||
this.checkBoxL1MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
this.checkBoxL1MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
||||||
this.checkBoxL1MenuDataStatistics.Visible = false;
|
|
||||||
this.checkBoxL1MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
this.checkBoxL1MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
||||||
//
|
//
|
||||||
// labelTitleDataStatistics
|
// labelTitleDataStatistics
|
||||||
|
@ -454,7 +451,6 @@
|
||||||
this.labelTitleDataStatistics.Text = "DataStatistics";
|
this.labelTitleDataStatistics.Text = "DataStatistics";
|
||||||
this.labelTitleDataStatistics.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
this.labelTitleDataStatistics.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||||
this.labelTitleDataStatistics.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
this.labelTitleDataStatistics.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||||
this.labelTitleDataStatistics.Visible = false;
|
|
||||||
this.labelTitleDataStatistics.Wordwrap = false;
|
this.labelTitleDataStatistics.Wordwrap = false;
|
||||||
//
|
//
|
||||||
// checkBoxNotLoginMenuCalibration
|
// checkBoxNotLoginMenuCalibration
|
||||||
|
|
|
@ -49,64 +49,82 @@ namespace INT63DC_2C.Forms
|
||||||
{
|
{
|
||||||
ImageDll images = new ImageDll();
|
ImageDll images = new ImageDll();
|
||||||
|
|
||||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
switch (this.ParentForm.SystemConfig.Language)
|
||||||
{
|
{
|
||||||
|
case DataStore.LanguageID.Korean:
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.English:
|
||||||
|
#region English
|
||||||
|
this.labelTitle.Text = "User settings";
|
||||||
|
|
||||||
}
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
{
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
this.labelTitle.Text = "User settings";
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Chinese:
|
||||||
|
#region Chinese
|
||||||
|
this.labelTitle.Text = "用户设置";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
this.labelTitleLevel1.Text = "级别 1";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
this.labelTitleLevel2.Text = "级别 2";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
this.labelTitleLevel3.Text = "级别 3";
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "用户设置";
|
|
||||||
|
|
||||||
this.labelTitleLevel1.Text = "级别 1";
|
this.labelTitleID.Text = "用户名";
|
||||||
this.labelTitleLevel2.Text = "级别 2";
|
this.labelTitlePassword.Text = "密码";
|
||||||
this.labelTitleLevel3.Text = "级别 3";
|
|
||||||
|
|
||||||
this.labelTitleID.Text = "用户名";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||||
this.labelTitlePassword.Text = "密码";
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Czech:
|
||||||
|
#region Czech
|
||||||
|
this.labelTitle.Text = "uživatelské nastavení";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
this.labelTitleLevel1.Text = "Úroveň 1";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
this.labelTitleLevel2.Text = "Úroveň 2";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
this.labelTitleLevel3.Text = "Úroveň 3";
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "uživatelské nastavení";
|
|
||||||
|
|
||||||
this.labelTitleLevel1.Text = "Úroveň 1";
|
this.labelTitlePassword.Text = "Heslo";
|
||||||
this.labelTitleLevel2.Text = "Úroveň 2";
|
|
||||||
this.labelTitleLevel3.Text = "Úroveň 3";
|
|
||||||
|
|
||||||
this.labelTitlePassword.Text = "Heslo";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.German:
|
||||||
|
#region German
|
||||||
|
this.labelTitle.Text = "Benutzereinstellungen";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
this.labelTitleLevel1.Text = "Stufe 1";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
this.labelTitleLevel2.Text = "Stufe 2";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
this.labelTitleLevel3.Text = "Stufe 3";
|
||||||
}
|
|
||||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
|
||||||
{
|
|
||||||
this.labelTitle.Text = "Benutzereinstellungen";
|
|
||||||
|
|
||||||
this.labelTitleLevel1.Text = "Stufe 1";
|
this.labelTitlePassword.Text = "Passwort";
|
||||||
this.labelTitleLevel2.Text = "Stufe 2";
|
|
||||||
this.labelTitleLevel3.Text = "Stufe 3";
|
|
||||||
|
|
||||||
this.labelTitlePassword.Text = "Passwort";
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
case DataStore.LanguageID.Japanese:
|
||||||
|
#region Japanese
|
||||||
|
this.labelTitle.Text = "ユㅡザㅡの 設定";
|
||||||
|
|
||||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
this.labelTitleLevel1.Text = "レベル 1";
|
||||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
this.labelTitleLevel2.Text = "レベル 2";
|
||||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
this.labelTitleLevel3.Text = "レベル 3";
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
|
|
||||||
|
this.labelTitlePassword.Text = "パスワㅡ";
|
||||||
|
|
||||||
|
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||||
|
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||||
|
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||||
|
#endregion
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void DefaultSetting()
|
private void DefaultSetting()
|
||||||
|
|
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