일본어 코드 추가
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()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -173,35 +146,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -215,31 +161,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -329,31 +252,9 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
|
@ -371,31 +272,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -407,35 +286,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -458,40 +311,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -141,35 +141,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -181,35 +154,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -223,31 +169,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -345,31 +268,9 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
|
@ -387,31 +288,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -423,35 +302,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -474,40 +327,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -93,35 +93,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLane)
|
||||
{
|
||||
|
@ -133,35 +106,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLane)
|
||||
{
|
||||
|
@ -175,31 +121,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLane)
|
||||
{
|
||||
|
@ -313,31 +236,9 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
|
@ -355,31 +256,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLane)
|
||||
bt.Enabled = true;
|
||||
|
@ -391,35 +270,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLane)
|
||||
bt.Enabled = true;
|
||||
|
@ -442,40 +295,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -101,35 +101,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -141,35 +114,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -183,31 +129,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -265,31 +188,10 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -306,31 +208,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -342,35 +222,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -393,40 +247,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -105,35 +105,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -145,35 +118,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -187,31 +133,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -273,31 +196,10 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -314,31 +216,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -350,35 +230,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -401,40 +255,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -109,35 +109,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -149,35 +122,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -191,31 +137,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -281,31 +204,10 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -322,31 +224,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -358,35 +238,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -409,40 +263,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -113,35 +113,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -153,35 +126,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -195,31 +141,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -289,31 +212,10 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -330,31 +232,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -366,35 +246,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -417,40 +271,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -117,35 +117,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -157,35 +130,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -199,31 +145,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -297,31 +220,10 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -338,31 +240,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -374,35 +254,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -425,40 +279,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -120,35 +120,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -160,35 +133,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -202,31 +148,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -304,31 +227,10 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -345,31 +247,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -381,35 +261,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -432,40 +286,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -125,35 +125,8 @@ namespace INT63DC_2C.Controls
|
|||
|
||||
public void CalibrationBalance()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpBalance();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -165,35 +138,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationStart()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpStart();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -207,32 +153,8 @@ namespace INT63DC_2C.Controls
|
|||
}
|
||||
public void CalibrationCancel()
|
||||
{
|
||||
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("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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCancel();
|
||||
|
||||
foreach (SmartButton bt in this.CollectionButtonLine)
|
||||
{
|
||||
|
@ -314,31 +236,10 @@ namespace INT63DC_2C.Controls
|
|||
labelWeight.Text = string.Format("-{0}", this.ParentForm.labelBalanceWeight.Text);
|
||||
labelWeight.ForeColor = this.NormalColor;
|
||||
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);
|
||||
}
|
||||
break;
|
||||
|
@ -355,31 +256,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalFinish:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
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("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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalFinish();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -391,35 +270,9 @@ namespace INT63DC_2C.Controls
|
|||
case DataStore.WeightStatus.CalError:
|
||||
if (rbChecked == true)
|
||||
{
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpCalError();
|
||||
|
||||
}
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
foreach (SmartX.SmartButton bt in this.CollectionButtonLine)
|
||||
bt.Enabled = true;
|
||||
|
@ -442,40 +295,8 @@ namespace INT63DC_2C.Controls
|
|||
if (bt == null)
|
||||
return;
|
||||
|
||||
this.ParentForm.ClearListBox();
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
// Help
|
||||
this.ParentForm.UpdateDisplayHelpInit();
|
||||
|
||||
this.ParentForm.CalibrationButtonEnable(true, false, false);
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace INT63DC_2C
|
|||
Chinese,
|
||||
Czech,
|
||||
German,
|
||||
Russian,
|
||||
Japanese,
|
||||
};
|
||||
|
||||
public enum UserGroup
|
||||
|
|
|
@ -43,36 +43,53 @@ namespace INT63DC_2C.DialogForms
|
|||
#region Method
|
||||
private void InitializeDesign()
|
||||
{
|
||||
if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
switch (this.ParentForm.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitleDate.Text = "日期";
|
||||
this.labelTitleProductNo.Text = "编号";
|
||||
this.labelTitleID.Text = "标识符";
|
||||
|
||||
this.buttonRead.Text = "读取";
|
||||
this.buttonClose.Text = "关闭";
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitleDate.Text = "Datum";
|
||||
this.labelTitleProductNo.Text = "Číslo";
|
||||
this.labelTitleID.Text = "ID";
|
||||
|
||||
this.buttonRead.Text = "Přečíst vše";
|
||||
this.buttonClose.Text = "Zavřít";
|
||||
}
|
||||
else if (this.ParentForm.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitleDate.Text = "Datum";
|
||||
this.labelTitleProductNo.Text = "Nummer";
|
||||
this.labelTitleID.Text = "ID";
|
||||
|
||||
this.buttonRead.Text = "Alles lesen";
|
||||
this.buttonClose.Text = "Schließen";
|
||||
}
|
||||
else
|
||||
{
|
||||
#endregion
|
||||
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()
|
||||
|
|
|
@ -44,21 +44,22 @@ namespace INT63DC_2C.DialogForms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#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));
|
||||
|
@ -67,28 +68,42 @@ namespace INT63DC_2C.DialogForms
|
|||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainCancelUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
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.czeMainCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeMainCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeMainCancelUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
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
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
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.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()
|
||||
|
|
|
@ -18,11 +18,6 @@ namespace INT63DC_2C.DialogForms
|
|||
#endregion
|
||||
|
||||
#region Constructor
|
||||
public DialogFormMessage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public DialogFormMessage(string str, DataStore.LanguageID language)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
@ -31,41 +26,40 @@ namespace INT63DC_2C.DialogForms
|
|||
this.labelMessage1.Text = "";
|
||||
this.labelMessage2.Text = "";
|
||||
|
||||
if (language == DataStore.LanguageID.Korean)
|
||||
switch (language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.labelErrorCode.Text = "Notice";
|
||||
this.labelMessage1.Text = str + "개의 파일이 백업되었습니다.";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.English)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.labelErrorCode.Text = "Notice";
|
||||
this.labelMessage1.Text = str + " files are backed up";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.buttonOK.Text = "好";
|
||||
|
||||
this.labelErrorCode.Text = "通知";
|
||||
this.labelMessage1.Text = str + " 个文件已备份";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.labelErrorCode.Text = "Upozornění";
|
||||
this.labelMessage1.Text = "Těchto " + str + " soubory byly zálohovány.";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.German)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.buttonOK.Text = "Bestätigen";
|
||||
|
||||
this.labelErrorCode.Text = "Meldung";
|
||||
this.labelMessage1.Text = str + " Dateien wurden gesichert";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.labelErrorCode.Text = "注意";
|
||||
this.labelMessage1.Text = str + "ファイルがバックアップされた";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public DialogFormMessage(int code, DataStore.LanguageID language)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
@ -74,8 +68,9 @@ namespace INT63DC_2C.DialogForms
|
|||
this.labelMessage1.Text = "";
|
||||
this.labelMessage2.Text = "";
|
||||
|
||||
if (language == DataStore.LanguageID.Korean)
|
||||
switch (language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
#region 한글
|
||||
switch (code)
|
||||
{
|
||||
|
@ -181,9 +176,8 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (language == DataStore.LanguageID.English)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region 영문
|
||||
switch (code)
|
||||
{
|
||||
|
@ -289,9 +283,8 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region 중문
|
||||
this.buttonOK.Text = "好";
|
||||
|
||||
|
@ -397,9 +390,8 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region 체코어
|
||||
switch (code)
|
||||
{
|
||||
|
@ -516,9 +508,8 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (language == DataStore.LanguageID.German)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region 독일어
|
||||
switch (code)
|
||||
{
|
||||
|
@ -625,13 +616,118 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
switch (code)
|
||||
{
|
||||
|
||||
case 1:
|
||||
this.labelErrorCode.Text = "エラㅡ 01";
|
||||
this.labelMessage1.Text = "入力範囲を確認する";
|
||||
break;
|
||||
case 2:
|
||||
this.labelErrorCode.Text = "エラㅡ 02";
|
||||
this.labelMessage1.Text = "アプリケㅡションは最新である";
|
||||
break;
|
||||
case 3:
|
||||
this.labelErrorCode.Text = "エラㅡ 03";
|
||||
this.labelMessage1.Text = "連続NGを検出する";
|
||||
break;
|
||||
case 4:
|
||||
this.labelErrorCode.Text = "エラㅡ 04";
|
||||
this.labelMessage1.Text = "バックアップファイルがない";
|
||||
break;
|
||||
case 5:
|
||||
this.labelErrorCode.Text = "エラㅡ 05";
|
||||
this.labelMessage1.Text = "USBメモリなし";
|
||||
break;
|
||||
case 6:
|
||||
this.labelErrorCode.Text = "エラㅡ 06";
|
||||
this.labelMessage1.Text = "メㅡカㅡにお問い合わせください";
|
||||
break;
|
||||
case 7:
|
||||
this.labelErrorCode.Text = "エラㅡ 07";
|
||||
this.labelMessage1.Text = "USBに更新ファイルがない";
|
||||
break;
|
||||
case 8:
|
||||
this.labelErrorCode.Text = "エラㅡ 08";
|
||||
this.labelMessage1.Text = "更新用ファイルが多すぎる";
|
||||
break;
|
||||
case 9:
|
||||
this.labelErrorCode.Text = "エラㅡ 09";
|
||||
this.labelMessage1.Text = "USBに更新ファイルが入ったフォルダㅡがない";
|
||||
break;
|
||||
case 10:
|
||||
this.labelErrorCode.Text = "エラㅡ 10";
|
||||
this.labelMessage1.Text = "メモリㅡがない";
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "注意 11";
|
||||
this.labelMessage1.Text = "重量制限設定を確認してください!";
|
||||
break;
|
||||
case 12:
|
||||
break;
|
||||
case 13:
|
||||
break;
|
||||
case 14:
|
||||
break;
|
||||
case 15:
|
||||
break;
|
||||
case 16:
|
||||
break;
|
||||
case 17:
|
||||
this.labelErrorCode.Text = "エラㅡ 17";
|
||||
this.labelMessage1.Text = "初期化を実行してください";
|
||||
break;
|
||||
case 18:
|
||||
this.labelErrorCode.Text = "注意 18";
|
||||
this.labelMessage1.Text = "電源をOFFにしてから電源をONにする";
|
||||
break;
|
||||
case 19:
|
||||
break;
|
||||
case 20:
|
||||
break;
|
||||
case 23:
|
||||
this.labelErrorCode.Text = "エラㅡ 23";
|
||||
this.labelMessage1.Text = "通信接続状態を確認する";
|
||||
this.labelMessage2.Text = "";
|
||||
break;
|
||||
case 31:
|
||||
this.labelErrorCode.Text = "エラㅡ 31";
|
||||
this.labelMessage1.Text = "ユㅡザㅡファイルエラㅡ";
|
||||
this.labelMessage2.Text = "";
|
||||
break;
|
||||
case 32:
|
||||
this.labelErrorCode.Text = "エラㅡ 32";
|
||||
this.labelMessage1.Text = "IDを確認する";
|
||||
this.labelMessage2.Text = "";
|
||||
break;
|
||||
case 33:
|
||||
this.labelErrorCode.Text = "エラㅡ 33";
|
||||
this.labelMessage1.Text = "パスワㅡドを確認する";
|
||||
this.labelMessage2.Text = "";
|
||||
break;
|
||||
case 34:
|
||||
this.labelErrorCode.Text = "エラㅡ 34";
|
||||
this.labelMessage1.Text = "システムに既に同じIDがある";
|
||||
this.labelMessage2.Text = "";
|
||||
break;
|
||||
case 35:
|
||||
this.labelErrorCode.Text = "エラㅡ 35";
|
||||
this.labelMessage1.Text = "4~10文字を入力してください";
|
||||
this.labelMessage2.Text = "";
|
||||
break;
|
||||
default:
|
||||
this.labelErrorCode.Text = "エラㅡ 99";
|
||||
this.labelMessage1.Text = "メㅡカㅡにお問い合わせください";
|
||||
break;
|
||||
}
|
||||
#endregion
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public DialogFormMessage(int code, DataStore.LanguageID language, FormMain parent)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
@ -642,8 +738,9 @@ namespace INT63DC_2C.DialogForms
|
|||
this.labelMessage1.Text = "";
|
||||
this.labelMessage2.Text = "";
|
||||
|
||||
if (language == DataStore.LanguageID.Korean)
|
||||
switch (language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
#region 한글
|
||||
switch (code)
|
||||
{
|
||||
|
@ -657,9 +754,8 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (language == DataStore.LanguageID.English)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region 영문
|
||||
switch (code)
|
||||
{
|
||||
|
@ -673,9 +769,8 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region 중문
|
||||
this.buttonOK.Text = "好";
|
||||
|
||||
|
@ -691,9 +786,8 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region 체코어
|
||||
switch (code)
|
||||
{
|
||||
|
@ -707,9 +801,8 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (language == DataStore.LanguageID.German)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region 독일어
|
||||
switch (code)
|
||||
{
|
||||
|
@ -723,10 +816,24 @@ namespace INT63DC_2C.DialogForms
|
|||
break;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
switch (code)
|
||||
{
|
||||
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "エラㅡ 11";
|
||||
this.labelMessage1.Text = "エントリㅡセンサㅡ異常による緊急停止";
|
||||
break;
|
||||
default:
|
||||
this.labelErrorCode.Text = "エラㅡ 99";
|
||||
this.labelMessage1.Text = "メㅡカㅡにお問い合わせください";
|
||||
break;
|
||||
}
|
||||
#endregion
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
|
|
@ -78,30 +78,37 @@ namespace INT63DC_2C.DialogForms
|
|||
#region Method
|
||||
private void InitializeDesign(DataStore.LanguageID language)
|
||||
{
|
||||
if (language == DataStore.LanguageID.Chinese)
|
||||
switch (language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.label1.Text = "键盘";
|
||||
|
||||
this.buttonCancel.Text = "取消";
|
||||
this.buttonEnter.Text = "确认";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.label1.Text = "Klávesnice";
|
||||
|
||||
this.buttonCancel.Text = "Zrušit";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.German)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.label1.Text = "Tastatur";
|
||||
|
||||
this.buttonCancel.Text = "X";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.label1.Text = "キㅡパッド";
|
||||
|
||||
this.buttonCancel.Text = "ESC";
|
||||
this.buttonEnter.Text = "入力";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void InitializeContnrol()
|
||||
|
|
|
@ -116,30 +116,41 @@ namespace INT63DC_2C.DialogForms
|
|||
|
||||
private void InitializeDesign(DataStore.LanguageID language)
|
||||
{
|
||||
if (language == DataStore.LanguageID.Chinese)
|
||||
switch (language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
this.labelSubject.Text = "Password";
|
||||
|
||||
this.buttonCancel.Text = "ESC";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.labelSubject.Text = "密码";
|
||||
|
||||
this.buttonCancel.Text = "取消";
|
||||
this.buttonEnter.Text = "确认";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.labelSubject.Text = "Klávesnice";
|
||||
|
||||
this.buttonCancel.Text = "Zrušit";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.German)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.labelSubject.Text = "Passwort";
|
||||
|
||||
this.buttonCancel.Text = "X";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.labelSubject.Text = "パスワード";
|
||||
|
||||
this.buttonCancel.Text = "ESC";
|
||||
this.buttonEnter.Text = "入力";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void InitializeContnrol()
|
||||
|
|
|
@ -29,8 +29,10 @@ namespace INT63DC_2C.DialogForms
|
|||
this.labelMessage1.Text = "";
|
||||
this.labelMessage2.Text = "";
|
||||
|
||||
if (language == DataStore.LanguageID.Korean)
|
||||
switch (language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
#region Korean
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
|
@ -84,9 +86,10 @@ namespace INT63DC_2C.DialogForms
|
|||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (language == DataStore.LanguageID.English)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
|
@ -140,9 +143,10 @@ namespace INT63DC_2C.DialogForms
|
|||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.buttonYes.Text = "是";
|
||||
this.buttonNo.Text = "否";
|
||||
|
||||
|
@ -199,9 +203,10 @@ namespace INT63DC_2C.DialogForms
|
|||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.buttonYes.Text = "Ano";
|
||||
this.buttonNo.Text = "Ne";
|
||||
|
||||
|
@ -258,9 +263,10 @@ namespace INT63DC_2C.DialogForms
|
|||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
|
@ -316,9 +322,66 @@ namespace INT63DC_2C.DialogForms
|
|||
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
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
this.groupBoxSetting.InitVisible = true;
|
||||
this.groupBoxSetting.Location = new System.Drawing.Point(270, 569);
|
||||
this.groupBoxSetting.Name = "groupBoxSetting";
|
||||
this.groupBoxSetting.RoundRadius = 0;
|
||||
this.groupBoxSetting.RoundRadius = 5;
|
||||
this.groupBoxSetting.Size = new System.Drawing.Size(298, 181);
|
||||
this.groupBoxSetting.TabIndex = 5;
|
||||
this.groupBoxSetting.Text = "설정";
|
||||
|
@ -348,7 +348,7 @@
|
|||
this.groupBoxHelp.InitVisible = true;
|
||||
this.groupBoxHelp.Location = new System.Drawing.Point(574, 569);
|
||||
this.groupBoxHelp.Name = "groupBoxHelp";
|
||||
this.groupBoxHelp.RoundRadius = 0;
|
||||
this.groupBoxHelp.RoundRadius = 5;
|
||||
this.groupBoxHelp.Size = new System.Drawing.Size(322, 181);
|
||||
this.groupBoxHelp.TabIndex = 5;
|
||||
this.groupBoxHelp.Text = "도움말";
|
||||
|
@ -416,7 +416,7 @@
|
|||
private SmartX.SmartGroupBox groupBoxHelp;
|
||||
private System.Windows.Forms.Timer timer;
|
||||
private SmartX.SmartLabel labelTitle;
|
||||
public System.Windows.Forms.ListBox listBoxHelp;
|
||||
public SmartX.SmartLabel labelBalanceWeight;
|
||||
private System.Windows.Forms.ListBox listBoxHelp;
|
||||
}
|
||||
}
|
|
@ -53,12 +53,12 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Calibration";
|
||||
|
||||
this.groupBoxSetting.Text = "Setting";
|
||||
|
@ -80,9 +80,10 @@ namespace INT63DC_2C.Forms
|
|||
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)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "校准";
|
||||
|
||||
this.groupBoxSetting.Text = "设定";
|
||||
|
@ -104,9 +105,10 @@ namespace INT63DC_2C.Forms
|
|||
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)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Kalibrace";
|
||||
|
||||
this.groupBoxSetting.Text = "Seřízení";
|
||||
|
@ -128,9 +130,10 @@ namespace INT63DC_2C.Forms
|
|||
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)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Kalibrierung";
|
||||
|
||||
this.groupBoxSetting.Text = "Einstellung";
|
||||
|
@ -152,16 +155,39 @@ namespace INT63DC_2C.Forms
|
|||
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
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "校正";
|
||||
|
||||
this.groupBoxSetting.Text = "設定";
|
||||
this.groupBoxHelp.Text = "ヘルプ";
|
||||
this.labelStaticBalanceWeight.Text = "バランス重量";
|
||||
this.labelStaticMaxWeight.Text = "最大重量";
|
||||
this.labelStaticDigit.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.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()
|
||||
{
|
||||
this.listBoxHelp.Items.Clear();
|
||||
|
||||
this.labelBalanceWeight.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;
|
||||
}
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
this.UpdateDisplayHelpInit();
|
||||
}
|
||||
|
||||
public void UpdateDisplayHelpInit()
|
||||
{
|
||||
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("시작을 누르세요");
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.listBoxHelp.Items.Add("Calibration");
|
||||
this.listBoxHelp.Items.Add("After selecting line, ");
|
||||
this.listBoxHelp.Items.Add("After selecting lane, ");
|
||||
this.listBoxHelp.Items.Add("push the [Start] button.");
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.listBoxHelp.Items.Add("校准");
|
||||
this.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
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].");
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
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].");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.listBoxHelp.Items.Add("較正");
|
||||
this.listBoxHelp.Items.Add("レㅡンを選択したら、");
|
||||
this.listBoxHelp.Items.Add("[スタㅡト]ボタンを押します。");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void ClearListBox()
|
||||
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)
|
||||
{
|
||||
if (this.buttonStart.Enabled != btStart)
|
||||
|
@ -380,8 +596,6 @@ namespace INT63DC_2C.Forms
|
|||
this.ParentForm.TransferData(CommunicationCommand.ModeCalibration, CommunicationID.MainBoard);
|
||||
this.timer.Enabled = true;
|
||||
|
||||
this.ClearListBox();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||
{
|
||||
case 2:
|
||||
|
@ -429,40 +643,7 @@ namespace INT63DC_2C.Forms
|
|||
}
|
||||
|
||||
this.CalibrationButtonEnable(false, false, false);
|
||||
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
this.UpdateDisplayHelpInit();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -536,8 +717,6 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
private void buttonStart_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ClearListBox();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||
{
|
||||
case 2:
|
||||
|
@ -577,8 +756,6 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
private void buttonBalance_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ClearListBox();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||
{
|
||||
case 2:
|
||||
|
@ -618,8 +795,6 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
private void buttonCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ClearListBox();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||
{
|
||||
case 2:
|
||||
|
@ -659,8 +834,6 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
private void buttonBack_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.ClearListBox();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.EquipmentColumns)
|
||||
{
|
||||
case 2:
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -57,12 +57,12 @@ namespace INT63DC_2C.Forms
|
|||
ImageDll images = new ImageDll();
|
||||
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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";
|
||||
|
@ -91,9 +91,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "选项";
|
||||
|
||||
this.groupBoxAutoZero.Text = "自动零点跟踪";
|
||||
|
@ -156,9 +157,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Předvolby";
|
||||
|
||||
this.groupBoxAutoZero.Text = "Automatické nulování";
|
||||
|
@ -219,9 +221,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Konfiguration";
|
||||
|
||||
this.groupBoxAutoZero.Text = "automatische Nullung";
|
||||
|
@ -276,7 +279,6 @@ namespace INT63DC_2C.Forms
|
|||
this.buttonMaxWeight.Text = "Maximalgewicht";
|
||||
this.buttonDigit.Text = "Ziffer";
|
||||
|
||||
|
||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Speichern";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
||||
|
@ -297,10 +299,74 @@ namespace INT63DC_2C.Forms
|
|||
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.gerDisable));
|
||||
}
|
||||
else
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.labelTitle.Text = "構成";
|
||||
|
||||
this.groupBoxAutoZero.Text = "オㅡトゼロ";
|
||||
this.labelStaticTime.Text = "時間";
|
||||
this.labelStaticRange.Text = "範囲";
|
||||
this.labelStaticVariable.Text = "変化";
|
||||
this.labelStaticMode.Text = "モード";
|
||||
|
||||
this.groupBoxOption.Text = "オプション設定";
|
||||
this.labelStaticEmptyWeight.Text = "空重量セット";
|
||||
this.labelStaticChattering.Text = "チャタリング";
|
||||
this.labelStaticDecimalPoint.Text = "小数点";
|
||||
this.labelStaticBuzzerOnTime.Text = "ブザㅡON時間";
|
||||
this.labelStaticRelayOnTime.Text = "リレㅡON時間";
|
||||
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()
|
||||
|
@ -327,25 +393,31 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
this.comboBoxZeroParameterMode.Items.Clear();
|
||||
this.comboBoxZeroParameterMode.SelectedIndexChanged -= new EventHandler(this.comboBoxZeroParameterMode_SelectedIndexChanged);
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.comboBoxZeroParameterMode.Items.Add("模式1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("模式2");
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.comboBoxZeroParameterMode.Items.Add("Režim1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("Režim2");
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.comboBoxZeroParameterMode.Items.Add("Modus1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("Modus2");
|
||||
}
|
||||
else
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
this.comboBoxZeroParameterMode.Items.Add("Mode1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("Mode2");
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.comboBoxZeroParameterMode.Items.Add("模式1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("模式2");
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.comboBoxZeroParameterMode.Items.Add("Režim1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("Režim2");
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.comboBoxZeroParameterMode.Items.Add("Modus1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("Modus2");
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.comboBoxZeroParameterMode.Items.Add("モード1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("モード2");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
this.comboBoxZeroParameterMode.SelectedIndex = 0;
|
||||
this.comboBoxZeroParameterMode.SelectedIndexChanged += new EventHandler(this.comboBoxZeroParameterMode_SelectedIndexChanged);
|
||||
|
@ -601,16 +673,8 @@ namespace INT63DC_2C.Forms
|
|||
}
|
||||
else
|
||||
{
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
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";
|
||||
}
|
||||
this.labelProtocolDescriptionCOM3_1.Text = "";
|
||||
this.labelProtocolDescriptionCOM3_2.Text = "";
|
||||
}
|
||||
|
||||
if (this.ParentForm.SystemConfig.Serial3Mode != 0)
|
||||
|
|
|
@ -42,12 +42,12 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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";
|
||||
|
@ -62,9 +62,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "数据备份";
|
||||
|
||||
this.labelStaticBackupEnable.Text = "备份";
|
||||
|
@ -85,9 +86,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Záloha dat";
|
||||
|
||||
this.labelStaticBackupEnable.Text = "Zálohovat";
|
||||
|
@ -104,9 +106,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Datensicherung";
|
||||
|
||||
this.labelStaticBackupEnable.Text = "Sicherung";
|
||||
|
@ -123,10 +126,31 @@ namespace INT63DC_2C.Forms
|
|||
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
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "デㅡタバックアップ";
|
||||
|
||||
this.labelStaticBackupEnable.Text = "バックアップ";
|
||||
this.labelStaticSaveFile.Text = "ファイル";
|
||||
this.labelStaticWarning1.Text = "※ 注意";
|
||||
this.labelStaticWarning2.Text = "システム内のデㅡタは削除される USBメモリにデㅡタをバックアップする場合";
|
||||
|
||||
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()
|
||||
|
|
|
@ -85,12 +85,12 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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));
|
||||
|
@ -100,9 +100,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "数据统计";
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
||||
|
@ -116,9 +117,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Data Statistics";
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
||||
|
@ -132,9 +134,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Data Statistics";
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
||||
|
@ -148,10 +151,27 @@ namespace INT63DC_2C.Forms
|
|||
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
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.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.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()
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
this.labelWeightLimitIgnoreCount = new SmartX.SmartLabel();
|
||||
this.labelStaticWeightLimitIgnoreCount = new SmartX.SmartLabel();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.rbServoMotor = new System.Windows.Forms.RadioButton();
|
||||
this.rbAcMotor = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonServoMotor = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonAcMotor = new System.Windows.Forms.RadioButton();
|
||||
this.labelStaticMotor = new SmartX.SmartLabel();
|
||||
this.labelEmptyWeight = new SmartX.SmartLabel();
|
||||
this.labelStaticEmptyWeight = new SmartX.SmartLabel();
|
||||
|
@ -58,6 +58,7 @@
|
|||
this.buttonBack = new SmartX.SmartButton();
|
||||
this.buttonSave = new SmartX.SmartButton();
|
||||
this.panel7 = new System.Windows.Forms.Panel();
|
||||
this.radioButtonLanguageJap = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonLanguageGerman = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonLanguageCzech = new System.Windows.Forms.RadioButton();
|
||||
this.radioButtonLanguageChinese = new System.Windows.Forms.RadioButton();
|
||||
|
@ -274,32 +275,32 @@
|
|||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.panel1.Controls.Add(this.rbServoMotor);
|
||||
this.panel1.Controls.Add(this.rbAcMotor);
|
||||
this.panel1.Controls.Add(this.radioButtonServoMotor);
|
||||
this.panel1.Controls.Add(this.radioButtonAcMotor);
|
||||
this.panel1.Location = new System.Drawing.Point(425, 352);
|
||||
this.panel1.Name = "panel1";
|
||||
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.rbServoMotor.Location = new System.Drawing.Point(212, 3);
|
||||
this.rbServoMotor.Name = "rbServoMotor";
|
||||
this.rbServoMotor.Size = new System.Drawing.Size(189, 20);
|
||||
this.rbServoMotor.TabIndex = 1;
|
||||
this.rbServoMotor.Text = "Servo Motor";
|
||||
this.rbServoMotor.Click += new System.EventHandler(this.control_Click);
|
||||
this.radioButtonServoMotor.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.radioButtonServoMotor.Location = new System.Drawing.Point(212, 3);
|
||||
this.radioButtonServoMotor.Name = "radioButtonServoMotor";
|
||||
this.radioButtonServoMotor.Size = new System.Drawing.Size(189, 20);
|
||||
this.radioButtonServoMotor.TabIndex = 1;
|
||||
this.radioButtonServoMotor.Text = "Servo Motor";
|
||||
this.radioButtonServoMotor.Click += new System.EventHandler(this.control_Click);
|
||||
//
|
||||
// rbAcMotor
|
||||
// radioButtonAcMotor
|
||||
//
|
||||
this.rbAcMotor.Checked = true;
|
||||
this.rbAcMotor.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.rbAcMotor.Location = new System.Drawing.Point(20, 3);
|
||||
this.rbAcMotor.Name = "rbAcMotor";
|
||||
this.rbAcMotor.Size = new System.Drawing.Size(189, 20);
|
||||
this.rbAcMotor.TabIndex = 0;
|
||||
this.rbAcMotor.Text = "AC Motor";
|
||||
this.rbAcMotor.Click += new System.EventHandler(this.control_Click);
|
||||
this.radioButtonAcMotor.Checked = true;
|
||||
this.radioButtonAcMotor.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.radioButtonAcMotor.Location = new System.Drawing.Point(20, 3);
|
||||
this.radioButtonAcMotor.Name = "radioButtonAcMotor";
|
||||
this.radioButtonAcMotor.Size = new System.Drawing.Size(189, 20);
|
||||
this.radioButtonAcMotor.TabIndex = 0;
|
||||
this.radioButtonAcMotor.Text = "AC Motor";
|
||||
this.radioButtonAcMotor.Click += new System.EventHandler(this.control_Click);
|
||||
//
|
||||
// labelStaticMotor
|
||||
//
|
||||
|
@ -308,7 +309,7 @@
|
|||
this.labelStaticMotor.BackPictureBox2 = null;
|
||||
this.labelStaticMotor.BorderColor = System.Drawing.Color.Black;
|
||||
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.LineSpacing = 0F;
|
||||
this.labelStaticMotor.Location = new System.Drawing.Point(120, 352);
|
||||
|
@ -585,7 +586,7 @@
|
|||
this.labelStaticLogin.BackPictureBox2 = null;
|
||||
this.labelStaticLogin.BorderColor = System.Drawing.Color.Black;
|
||||
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.LineSpacing = 0F;
|
||||
this.labelStaticLogin.Location = new System.Drawing.Point(120, 290);
|
||||
|
@ -662,6 +663,7 @@
|
|||
// panel7
|
||||
//
|
||||
this.panel7.BackColor = System.Drawing.SystemColors.ControlLight;
|
||||
this.panel7.Controls.Add(this.radioButtonLanguageJap);
|
||||
this.panel7.Controls.Add(this.radioButtonLanguageGerman);
|
||||
this.panel7.Controls.Add(this.radioButtonLanguageCzech);
|
||||
this.panel7.Controls.Add(this.radioButtonLanguageChinese);
|
||||
|
@ -671,6 +673,17 @@
|
|||
this.panel7.Name = "panel7";
|
||||
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
|
||||
//
|
||||
this.radioButtonLanguageGerman.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||
|
@ -805,7 +818,7 @@
|
|||
this.labelStaticLanguage.BackPictureBox2 = null;
|
||||
this.labelStaticLanguage.BorderColor = System.Drawing.Color.Black;
|
||||
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.LineSpacing = 0F;
|
||||
this.labelStaticLanguage.Location = new System.Drawing.Point(120, 414);
|
||||
|
@ -864,7 +877,7 @@
|
|||
this.labelStaticIndividualNG.BackPictureBox2 = null;
|
||||
this.labelStaticIndividualNG.BorderColor = System.Drawing.Color.Black;
|
||||
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.LineSpacing = 0F;
|
||||
this.labelStaticIndividualNG.Location = new System.Drawing.Point(120, 321);
|
||||
|
@ -883,7 +896,7 @@
|
|||
this.labelStaticOrder.BackPictureBox2 = null;
|
||||
this.labelStaticOrder.BorderColor = System.Drawing.Color.Black;
|
||||
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.LineSpacing = 0F;
|
||||
this.labelStaticOrder.Location = new System.Drawing.Point(120, 383);
|
||||
|
@ -943,8 +956,6 @@
|
|||
this.Controls.Add(this.groupBoxSpecialMenu);
|
||||
this.Controls.Add(this.smartForm1);
|
||||
this.Name = "FormEquipmentSetting";
|
||||
this.Text = " " +
|
||||
" ";
|
||||
((System.ComponentModel.ISupportInitialize)(this.smartForm1)).EndInit();
|
||||
this.groupBoxSpecialMenu.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
|
@ -991,8 +1002,8 @@
|
|||
private SmartX.SmartLabel labelInfo2;
|
||||
private SmartX.SmartLabel labelInfo1;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
public System.Windows.Forms.RadioButton rbServoMotor;
|
||||
public System.Windows.Forms.RadioButton rbAcMotor;
|
||||
public System.Windows.Forms.RadioButton radioButtonServoMotor;
|
||||
public System.Windows.Forms.RadioButton radioButtonAcMotor;
|
||||
private SmartX.SmartLabel labelStaticMotor;
|
||||
public SmartX.SmartLabel labelEmptyWeight;
|
||||
private SmartX.SmartLabel labelStaticEmptyWeight;
|
||||
|
@ -1003,5 +1014,6 @@
|
|||
public System.Windows.Forms.RadioButton radioButtonCOM2;
|
||||
public System.Windows.Forms.RadioButton radioButtonCOM1;
|
||||
private SmartX.SmartLabel smartLabel1;
|
||||
private System.Windows.Forms.RadioButton radioButtonLanguageJap;
|
||||
}
|
||||
}
|
|
@ -40,12 +40,11 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Equipment settings";
|
||||
|
||||
|
@ -76,9 +75,8 @@ namespace INT63DC_2C.Forms
|
|||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "设备设置";
|
||||
|
||||
|
@ -94,8 +92,8 @@ namespace INT63DC_2C.Forms
|
|||
this.labelStaticMotor.Text = "马达";
|
||||
this.labelStaticWeightLimitIgnoreCount.Text = "重量限制 - 忽略计数";
|
||||
|
||||
this.rbAcMotor.Text = "交流电机(AC)";
|
||||
this.rbServoMotor.Text = "伺服电机(Servo)";
|
||||
this.radioButtonAcMotor.Text = "交流电机(AC)";
|
||||
this.radioButtonServoMotor.Text = "伺服电机(Servo)";
|
||||
|
||||
this.radioButtonWeightViewForward.Text = "正向(1~12)";
|
||||
this.radioButtonWeightViewReverse.Text = "反向(12~1)";
|
||||
|
@ -118,9 +116,8 @@ namespace INT63DC_2C.Forms
|
|||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Nastavení zařízení";
|
||||
|
||||
|
@ -151,9 +148,8 @@ namespace INT63DC_2C.Forms
|
|||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Vorrichtungeinstellung";
|
||||
|
||||
|
@ -187,10 +183,46 @@ namespace INT63DC_2C.Forms
|
|||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "装置設定";
|
||||
|
||||
this.labelStaticLane.Text = "レㅡン";
|
||||
this.labelStaticOrder.Text = "オㅡダㅡ";
|
||||
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.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()
|
||||
|
@ -253,9 +285,9 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
// 모터
|
||||
if (this.ParentForm.SystemConfig.MotorSelect == 0)
|
||||
this.rbAcMotor.Checked = true;
|
||||
this.radioButtonAcMotor.Checked = true;
|
||||
else
|
||||
this.rbServoMotor.Checked = true;
|
||||
this.radioButtonServoMotor.Checked = true;
|
||||
|
||||
// 중량표시
|
||||
if (this.ParentForm.SystemConfig.IsWeightViewForward == true)
|
||||
|
@ -274,6 +306,8 @@ namespace INT63DC_2C.Forms
|
|||
this.radioButtonLanguageKorean.Checked = true;
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
this.radioButtonLanguageGerman.Checked = true;
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Japanese)
|
||||
this.radioButtonLanguageJap.Checked = true;
|
||||
else
|
||||
this.radioButtonLanguageKorean.Checked = true;
|
||||
|
||||
|
@ -365,7 +399,7 @@ namespace INT63DC_2C.Forms
|
|||
this.ParentForm.SystemConfig.IsEachNG = false;
|
||||
|
||||
// 모터
|
||||
if (this.rbAcMotor.Checked == true)
|
||||
if (this.radioButtonAcMotor.Checked == true)
|
||||
this.ParentForm.SystemConfig.MotorSelect = 0;
|
||||
else
|
||||
this.ParentForm.SystemConfig.MotorSelect = 1;
|
||||
|
@ -387,6 +421,8 @@ namespace INT63DC_2C.Forms
|
|||
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.Czech;
|
||||
else if (this.radioButtonLanguageGerman.Checked == true)
|
||||
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.German;
|
||||
else if (this.radioButtonLanguageJap.Checked == true)
|
||||
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.Japanese;
|
||||
else
|
||||
this.ParentForm.SystemConfig.Language = DataStore.LanguageID.Korean;
|
||||
|
||||
|
|
|
@ -38,42 +38,52 @@ namespace INT63DC_2C.Forms
|
|||
#region Method
|
||||
private void InitializeDesign()
|
||||
{
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Initialization";
|
||||
|
||||
this.labelResetWait.Text = "Wait a minute...";
|
||||
this.labelResetRestart.Text = "Turn the power off and back on";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "回复出厂设置";
|
||||
|
||||
this.labelResetWait.Text = "请稍等...";
|
||||
this.labelResetRestart.Text = "关掉电源,然后在打开电源";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Tovární nastavení";
|
||||
|
||||
this.labelResetWait.Text = "Vyčkejte...";
|
||||
this.labelResetRestart.Text = "Nejprve zařízení vypněte a pak opět zapněte.";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Werkseinstellung";
|
||||
|
||||
this.labelResetWait.Text = "Initialisierung wird ausgeführt";
|
||||
this.labelResetRestart.Text = "Mit dem Hauptschalter aus- und einschalten";
|
||||
}
|
||||
else
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "初期化";
|
||||
|
||||
this.labelResetWait.Text = "初期化中...";
|
||||
this.labelResetRestart.Text = "電源をOFFにしてから電源をONにする";
|
||||
#endregion
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -245,7 +245,7 @@
|
|||
this.smartGroupBox1.RoundRadius = 5;
|
||||
this.smartGroupBox1.Size = new System.Drawing.Size(612, 581);
|
||||
this.smartGroupBox1.TabIndex = 243;
|
||||
this.smartGroupBox1.Text = "OUTPUT 1";
|
||||
this.smartGroupBox1.Text = "OUTPUT";
|
||||
this.smartGroupBox1.TextColor = System.Drawing.Color.Black;
|
||||
//
|
||||
// buttonOutput40
|
||||
|
|
|
@ -22,6 +22,9 @@ namespace INT63DC_2C.Forms
|
|||
private Color ColorIOStatusOn;
|
||||
private Color ColorIOStatusOff;
|
||||
|
||||
private string Text_Out;
|
||||
private string Text_In;
|
||||
|
||||
private Collection<Label> CollectionInputLabel;
|
||||
private Collection<Label> CollectionInputLabel1;
|
||||
private Collection<SmartLabel> CollectionInputLabelName;
|
||||
|
@ -50,45 +53,63 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "I/O测试";
|
||||
|
||||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Test I/O";
|
||||
|
||||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "I/O Test";
|
||||
|
||||
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
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "I/O テスト";
|
||||
|
||||
this.smartGroupBox1.Text = "出力";
|
||||
this.smartGroupBox2.Text = "入力";
|
||||
|
||||
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()
|
||||
|
@ -224,9 +245,9 @@ namespace INT63DC_2C.Forms
|
|||
this.CollectionOutputButton.Add(this.buttonOutput40);
|
||||
|
||||
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++)
|
||||
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)
|
||||
{
|
||||
|
|
|
@ -44,12 +44,12 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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));
|
||||
|
@ -58,9 +58,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "信息";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
||||
|
@ -69,9 +70,10 @@ namespace INT63DC_2C.Forms
|
|||
this.buttonBack.DownImage = 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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Informace o systému";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
||||
|
@ -80,9 +82,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Systeminformation";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
||||
|
@ -91,10 +94,22 @@ namespace INT63DC_2C.Forms
|
|||
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
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.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.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()
|
||||
|
@ -465,17 +480,6 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
this.ParentForm.SystemConfig.CurrentForm = DataStore.FormStore.FormInformation;
|
||||
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
|
||||
|
||||
|
|
|
@ -89,8 +89,9 @@ namespace INT63DC_2C.Forms
|
|||
ImageDll images = new ImageDll();
|
||||
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:
|
||||
#region Korean
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
|
@ -109,9 +110,8 @@ namespace INT63DC_2C.Forms
|
|||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuUp));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainOverDown));
|
||||
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainOverUp));
|
||||
|
@ -187,9 +187,8 @@ namespace INT63DC_2C.Forms
|
|||
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainOverDown));
|
||||
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainOverUp));
|
||||
|
@ -273,9 +272,8 @@ namespace INT63DC_2C.Forms
|
|||
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
||||
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainOverDown));
|
||||
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainOverUp));
|
||||
|
@ -351,9 +349,8 @@ namespace INT63DC_2C.Forms
|
|||
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.buttonOver.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainOverDown));
|
||||
this.buttonOver.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainOverUp));
|
||||
|
@ -433,10 +430,46 @@ namespace INT63DC_2C.Forms
|
|||
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
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()
|
||||
|
@ -1944,8 +1977,8 @@ namespace INT63DC_2C.Forms
|
|||
case DataStore.LanguageID.German:
|
||||
message = "pinch point!";
|
||||
break;
|
||||
case DataStore.LanguageID.Russian:
|
||||
message = "pinch point!";
|
||||
case DataStore.LanguageID.Japanese:
|
||||
message = "ピンチポイントアラーム!";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -2019,7 +2052,7 @@ namespace INT63DC_2C.Forms
|
|||
// Total All Count
|
||||
// Total Pass Count
|
||||
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())
|
||||
// this.labelTotalCount.Text = toTalPass.ToString();
|
||||
|
|
|
@ -296,14 +296,28 @@ namespace INT63DC_2C.Forms
|
|||
case DataStore.UserGroup.Level1Operator:
|
||||
#region Level1
|
||||
id = user.ID;
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
group = "级别1";
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
group = "Úroveň1`";
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
group = "Stufe1";
|
||||
else
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
group = "Level1";
|
||||
break;
|
||||
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)
|
||||
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
||||
|
@ -342,14 +356,27 @@ namespace INT63DC_2C.Forms
|
|||
case DataStore.UserGroup.Level2Engineer:
|
||||
#region Level2
|
||||
id = user.ID;
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
group = "级别2";
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
group = "Úroveň2`";
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
group = "Stufe2";
|
||||
else
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
group = "Level2";
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
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)
|
||||
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
||||
|
@ -388,14 +415,27 @@ namespace INT63DC_2C.Forms
|
|||
case DataStore.UserGroup.Level3Manager:
|
||||
#region Level3
|
||||
id = user.ID;
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
group = "级别3";
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
group = "Úroveň3`";
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
group = "Stufe3";
|
||||
else
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
group = "Level3";
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
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)
|
||||
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
||||
|
@ -434,14 +474,27 @@ namespace INT63DC_2C.Forms
|
|||
case DataStore.UserGroup.Level4Developer:
|
||||
#region Level4
|
||||
id = user.ID;
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
group = "级别4";
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
group = "Úroveň4`";
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
group = "Stufe4";
|
||||
else
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
group = "Level4";
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
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)
|
||||
this.labelUserLevel.ForeColor = this.labelUserID.ForeColor = this.ParentForm.ColorLogOn;
|
||||
|
|
|
@ -49,12 +49,13 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.labelTitleMessage4.Text = "";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
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));
|
||||
|
@ -75,9 +76,10 @@ namespace INT63DC_2C.Forms
|
|||
this.labelTitleMessage2.Text = "press EEPROM to save.";
|
||||
this.labelTitleMessage3.Text = "Be sure to execute the origin after jog operation.";
|
||||
this.labelTitleMessage4.Text = "";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
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));
|
||||
|
@ -104,9 +106,10 @@ namespace INT63DC_2C.Forms
|
|||
this.labelTitleMessage2.Text = "";
|
||||
this.labelTitleMessage3.Text = "点转运行操作结束后务必实行原点复位.";
|
||||
this.labelTitleMessage4.Text = "";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
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));
|
||||
|
@ -132,9 +135,10 @@ namespace INT63DC_2C.Forms
|
|||
this.labelTitleMessage2.Text = "stiskněte EEPROM pro uložení.";
|
||||
this.labelTitleMessage3.Text = "Ujistěte se, že jste provedli počátek po";
|
||||
this.labelTitleMessage4.Text = "operaci krokování.";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
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));
|
||||
|
@ -159,10 +163,34 @@ namespace INT63DC_2C.Forms
|
|||
this.labelTitleMessage2.Text = "sicher, dass Sie es durch Drücken von [EEPROM]";
|
||||
this.labelTitleMessage3.Text = "Achten Sie darauf, den Nullpunkt nach dem";
|
||||
this.labelTitleMessage4.Text = "Jog-Betrieb auszuführen.";
|
||||
}
|
||||
else
|
||||
{
|
||||
#endregion
|
||||
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()
|
||||
|
|
|
@ -49,44 +49,52 @@ namespace INT63DC_2C.Forms
|
|||
#region Method
|
||||
private void InitializeDesign()
|
||||
{
|
||||
//ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
//this.smartForm1.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormUpdate));
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Program Update";
|
||||
this.labelUpdateWait.Text = "Wait a minute...";
|
||||
this.labelUpdateWait2.Text = "Do not disconnect the USB from the body";
|
||||
this.labelUpdateRestart.Text = "Turn the power off and back on";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "更新";
|
||||
this.labelUpdateWait.Text = "请稍等...";
|
||||
this.labelUpdateWait2.Text = "请勿断开USB";
|
||||
this.labelUpdateRestart.Text = "关掉电源,然后在打开电源";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Aktualizace";
|
||||
this.labelUpdateWait.Text = "Vyčkejte...";
|
||||
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;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Aktualisierung";
|
||||
this.labelUpdateWait.Text = "Aktualisierung…";
|
||||
this.labelUpdateWait2.Text = "USB nicht vom Gerät trennen";
|
||||
this.labelUpdateRestart.Text = "Mit dem Hauptschalter aus- und einschalten";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
#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.buttonLotEdit = 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.listBoxProductList = new System.Windows.Forms.ListBox();
|
||||
this.groupBoxJudgment = new SmartX.SmartGroupBox();
|
||||
|
@ -357,7 +357,7 @@
|
|||
this.groupBoxProduct.Controls.Add(this.textBoxProductName);
|
||||
this.groupBoxProduct.Controls.Add(this.buttonLotEdit);
|
||||
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.labelStaticName);
|
||||
this.groupBoxProduct.Controls.Add(this.labelStaticNo);
|
||||
|
@ -689,24 +689,24 @@
|
|||
this.buttonNameEdit.Text = "Edit";
|
||||
this.buttonNameEdit.Click += new System.EventHandler(this.buttonNameEdit_Click);
|
||||
//
|
||||
// labelTitleLOT
|
||||
// labelStaticLOT
|
||||
//
|
||||
this.labelTitleLOT.BackPictureBox = this.smartForm1;
|
||||
this.labelTitleLOT.BackPictureBox1 = null;
|
||||
this.labelTitleLOT.BackPictureBox2 = null;
|
||||
this.labelTitleLOT.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelTitleLOT.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.labelTitleLOT.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.labelTitleLOT.InitVisible = true;
|
||||
this.labelTitleLOT.LineSpacing = 0F;
|
||||
this.labelTitleLOT.Location = new System.Drawing.Point(29, 104);
|
||||
this.labelTitleLOT.Name = "labelTitleLOT";
|
||||
this.labelTitleLOT.Size = new System.Drawing.Size(80, 30);
|
||||
this.labelTitleLOT.TabIndex = 130;
|
||||
this.labelTitleLOT.Text = "LOT";
|
||||
this.labelTitleLOT.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelTitleLOT.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelTitleLOT.Wordwrap = false;
|
||||
this.labelStaticLOT.BackPictureBox = this.smartForm1;
|
||||
this.labelStaticLOT.BackPictureBox1 = null;
|
||||
this.labelStaticLOT.BackPictureBox2 = null;
|
||||
this.labelStaticLOT.BorderColor = System.Drawing.Color.Black;
|
||||
this.labelStaticLOT.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.labelStaticLOT.Font = new System.Drawing.Font("New Gulim", 12F, System.Drawing.FontStyle.Bold);
|
||||
this.labelStaticLOT.InitVisible = true;
|
||||
this.labelStaticLOT.LineSpacing = 0F;
|
||||
this.labelStaticLOT.Location = new System.Drawing.Point(29, 104);
|
||||
this.labelStaticLOT.Name = "labelStaticLOT";
|
||||
this.labelStaticLOT.Size = new System.Drawing.Size(80, 30);
|
||||
this.labelStaticLOT.TabIndex = 130;
|
||||
this.labelStaticLOT.Text = "LOT";
|
||||
this.labelStaticLOT.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelStaticLOT.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelStaticLOT.Wordwrap = false;
|
||||
//
|
||||
// labelStaticName
|
||||
//
|
||||
|
@ -1817,7 +1817,7 @@
|
|||
private System.Windows.Forms.ListBox listBoxProductList;
|
||||
private System.Windows.Forms.Button buttonLotEdit;
|
||||
private System.Windows.Forms.Button buttonNameEdit;
|
||||
private SmartX.SmartLabel labelTitleLOT;
|
||||
private SmartX.SmartLabel labelStaticLOT;
|
||||
private SmartX.SmartLabel labelStaticName;
|
||||
private SmartX.SmartGroupBox groupBoxJudgment;
|
||||
public SmartX.SmartLabel labelDynamicCorrection;
|
||||
|
|
|
@ -56,12 +56,12 @@ namespace INT63DC_2C.Forms
|
|||
ImageDll images = new ImageDll();
|
||||
Font font = new Font("New Gulim", 8F, FontStyle.Regular);
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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";
|
||||
|
@ -100,9 +100,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "系统设定";
|
||||
this.groupBoxProduct.Text = "项目设置";
|
||||
this.groupBoxJudgment.Text = "判断设置";
|
||||
|
@ -133,7 +134,7 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
this.labelStaticNo.Text = "编号";
|
||||
this.labelStaticName.Text = "名称";
|
||||
this.labelTitleLOT.Text = "批号";
|
||||
this.labelStaticLOT.Text = "批号";
|
||||
|
||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "编辑";
|
||||
|
||||
|
@ -149,9 +150,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Nastavení systému";
|
||||
this.groupBoxProduct.Text = "Nastavení produktu";
|
||||
this.groupBoxJudgment.Text = "Nastavení rozhodnutí";
|
||||
|
@ -203,9 +205,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Systemeinstellung";
|
||||
this.groupBoxProduct.Text = "Produkteinstellung";
|
||||
this.groupBoxJudgment.Text = "Tascheneinstellung";
|
||||
|
@ -255,10 +258,59 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "システム設定";
|
||||
|
||||
this.groupBoxProduct.Text = "製品設定";
|
||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "編集者";
|
||||
this.labelStaticNo.Text = "番号";
|
||||
this.labelStaticName.Text = "名称";
|
||||
this.labelStaticLOT.Text = "ロット";
|
||||
this.labelStaticOverRange.Text = "上限";
|
||||
this.labelStaticPassRange.Text = "合格";
|
||||
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()
|
||||
|
|
|
@ -41,12 +41,12 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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";
|
||||
|
@ -58,9 +58,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "时间设定";
|
||||
this.labelStaticCurrentTime.Text = "当前时间";
|
||||
this.labelStaticTimeSetting.Text = "设置";
|
||||
|
@ -72,9 +73,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Nastavení času";
|
||||
this.labelStaticCurrentTime.Text = "Aktuální čas";
|
||||
this.labelStaticTimeSetting.Text = "Nastavení";
|
||||
|
@ -86,9 +88,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Zeiteinstellung";
|
||||
this.labelStaticCurrentTime.Text = "Aktuelle Uhrzeit";
|
||||
this.labelStaticTimeSetting.Text = "Einstellung";
|
||||
|
@ -100,10 +103,25 @@ namespace INT63DC_2C.Forms
|
|||
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
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "時間設定";
|
||||
this.labelStaticCurrentTime.Text = "現在時刻";
|
||||
this.labelStaticTimeSetting.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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -51,12 +51,25 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
this.labelTitle.Text = "그룹 에디터";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
case DataStore.LanguageID.Czech:
|
||||
case DataStore.LanguageID.German:
|
||||
this.labelTitle.Text = "Group Editor";
|
||||
|
||||
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));
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "组编辑";
|
||||
|
||||
this.labelTitle1.Text = "级别1";
|
||||
|
@ -91,10 +104,36 @@ namespace INT63DC_2C.Forms
|
|||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSaveUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.labelTitle.Text = "Group Editor";
|
||||
#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));
|
||||
|
@ -103,6 +142,10 @@ namespace INT63DC_2C.Forms
|
|||
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()
|
||||
|
@ -354,28 +397,9 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
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++)
|
||||
{
|
||||
//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 처리함
|
||||
// 추후에 데이터 통계 메뉴 추가 되면 삭제
|
||||
|
|
|
@ -388,7 +388,6 @@
|
|||
this.checkBoxL3MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
||||
this.checkBoxL3MenuDataStatistics.TabIndex = 631;
|
||||
this.checkBoxL3MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
||||
this.checkBoxL3MenuDataStatistics.Visible = false;
|
||||
this.checkBoxL3MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
||||
//
|
||||
// checkBoxL2MenuDataStatistics
|
||||
|
@ -410,7 +409,6 @@
|
|||
this.checkBoxL2MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
||||
this.checkBoxL2MenuDataStatistics.TabIndex = 632;
|
||||
this.checkBoxL2MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
||||
this.checkBoxL2MenuDataStatistics.Visible = false;
|
||||
this.checkBoxL2MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
||||
//
|
||||
// checkBoxL1MenuDataStatistics
|
||||
|
@ -432,7 +430,6 @@
|
|||
this.checkBoxL1MenuDataStatistics.Size = new System.Drawing.Size(29, 30);
|
||||
this.checkBoxL1MenuDataStatistics.TabIndex = 629;
|
||||
this.checkBoxL1MenuDataStatistics.TextVAlign = SmartX.SmartCheckBox.TextVerAlign.Middle;
|
||||
this.checkBoxL1MenuDataStatistics.Visible = false;
|
||||
this.checkBoxL1MenuDataStatistics.Click += new System.EventHandler(this.checkBox_Click);
|
||||
//
|
||||
// labelTitleDataStatistics
|
||||
|
@ -454,7 +451,6 @@
|
|||
this.labelTitleDataStatistics.Text = "DataStatistics";
|
||||
this.labelTitleDataStatistics.TextHAlign = SmartX.SmartLabel.TextHorAlign.Middle;
|
||||
this.labelTitleDataStatistics.TextVAlign = SmartX.SmartLabel.TextVerAlign.Middle;
|
||||
this.labelTitleDataStatistics.Visible = false;
|
||||
this.labelTitleDataStatistics.Wordwrap = false;
|
||||
//
|
||||
// checkBoxNotLoginMenuCalibration
|
||||
|
|
|
@ -49,20 +49,21 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
{
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
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));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "用户设置";
|
||||
|
||||
this.labelTitleLevel1.Text = "级别 1";
|
||||
|
@ -75,9 +76,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "uživatelské nastavení";
|
||||
|
||||
this.labelTitleLevel1.Text = "Úroveň 1";
|
||||
|
@ -89,9 +91,10 @@ namespace INT63DC_2C.Forms
|
|||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Benutzereinstellungen";
|
||||
|
||||
this.labelTitleLevel1.Text = "Stufe 1";
|
||||
|
@ -103,10 +106,25 @@ namespace INT63DC_2C.Forms
|
|||
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
|
||||
{
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "ユㅡザㅡの 設定";
|
||||
|
||||
this.labelTitleLevel1.Text = "レベル 1";
|
||||
this.labelTitleLevel2.Text = "レベル 2";
|
||||
this.labelTitleLevel3.Text = "レベル 3";
|
||||
|
||||
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()
|
||||
|
|
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