일본어 코드 추가
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)
|
||||
{
|
||||
this.labelTitleDate.Text = "日期";
|
||||
this.labelTitleProductNo.Text = "编号";
|
||||
this.labelTitleID.Text = "标识符";
|
||||
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)
|
||||
{
|
||||
this.labelTitleDate.Text = "Datum";
|
||||
this.labelTitleProductNo.Text = "Číslo";
|
||||
this.labelTitleID.Text = "ID";
|
||||
this.buttonRead.Text = "读取";
|
||||
this.buttonClose.Text = "关闭";
|
||||
#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)
|
||||
{
|
||||
this.labelTitleDate.Text = "Datum";
|
||||
this.labelTitleProductNo.Text = "Nummer";
|
||||
this.labelTitleID.Text = "ID";
|
||||
this.buttonRead.Text = "Přečíst vše";
|
||||
this.buttonClose.Text = "Zavřít";
|
||||
#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
|
||||
{
|
||||
this.buttonRead.Text = "Alles lesen";
|
||||
this.buttonClose.Text = "Schließen";
|
||||
#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,51 +44,66 @@ namespace INT63DC_2C.DialogForms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
||||
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
||||
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainCancelUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.smartForm1.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackgroundUserLogin));
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.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)
|
||||
{
|
||||
this.smartForm1.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackgroundUserLogin));
|
||||
|
||||
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDisable));
|
||||
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDown));
|
||||
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginUp));
|
||||
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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDisable));
|
||||
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginDown));
|
||||
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engMainLoginUp));
|
||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerMainCancelUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonLogOn.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDisable));
|
||||
this.buttonLogOn.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginDown));
|
||||
this.buttonLogOn.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnMainLoginUp));
|
||||
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));
|
||||
#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));
|
||||
#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));
|
||||
#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()
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -78,30 +78,37 @@ namespace INT63DC_2C.DialogForms
|
|||
#region Method
|
||||
private void InitializeDesign(DataStore.LanguageID language)
|
||||
{
|
||||
if (language == DataStore.LanguageID.Chinese)
|
||||
switch (language)
|
||||
{
|
||||
this.label1.Text = "键盘";
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.label1.Text = "键盘";
|
||||
|
||||
this.buttonCancel.Text = "取消";
|
||||
this.buttonEnter.Text = "确认";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.label1.Text = "Klávesnice";
|
||||
this.buttonCancel.Text = "取消";
|
||||
this.buttonEnter.Text = "确认";
|
||||
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)
|
||||
{
|
||||
this.label1.Text = "Tastatur";
|
||||
this.buttonCancel.Text = "Zrušit";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.label1.Text = "Tastatur";
|
||||
|
||||
this.buttonCancel.Text = "X";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonCancel.Text = "X";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
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)
|
||||
{
|
||||
this.labelSubject.Text = "密码";
|
||||
case DataStore.LanguageID.Korean:
|
||||
case DataStore.LanguageID.English:
|
||||
this.labelSubject.Text = "Password";
|
||||
|
||||
this.buttonCancel.Text = "取消";
|
||||
this.buttonEnter.Text = "确认";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.labelSubject.Text = "Klávesnice";
|
||||
this.buttonCancel.Text = "ESC";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.labelSubject.Text = "密码";
|
||||
|
||||
this.buttonCancel.Text = "Zrušit";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
}
|
||||
else if (language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.labelSubject.Text = "Passwort";
|
||||
this.buttonCancel.Text = "取消";
|
||||
this.buttonEnter.Text = "确认";
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.labelSubject.Text = "Klávesnice";
|
||||
|
||||
this.buttonCancel.Text = "X";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonCancel.Text = "Zrušit";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.labelSubject.Text = "Passwort";
|
||||
|
||||
this.buttonCancel.Text = "X";
|
||||
this.buttonEnter.Text = "Enter";
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.labelSubject.Text = "パスワード";
|
||||
|
||||
this.buttonCancel.Text = "ESC";
|
||||
this.buttonEnter.Text = "入力";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void InitializeContnrol()
|
||||
|
|
|
@ -29,296 +29,359 @@ namespace INT63DC_2C.DialogForms
|
|||
this.labelMessage1.Text = "";
|
||||
this.labelMessage2.Text = "";
|
||||
|
||||
if (language == DataStore.LanguageID.Korean)
|
||||
switch (language)
|
||||
{
|
||||
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:
|
||||
this.labelErrorCode.Text = "모터 다운로드";
|
||||
this.labelMessage1.Text = "현재 값을 다운로드 하시겠습니까?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "모터 다운로드";
|
||||
this.labelMessage1.Text = "모터에 프로그램을 다운로드 하시겠습니까?";
|
||||
break;
|
||||
case 12:
|
||||
this.labelErrorCode.Text = "로그인";
|
||||
this.labelMessage1.Text = "Log out 하시겠습니까?";
|
||||
break;
|
||||
case 13:
|
||||
this.labelErrorCode.Text = "로그인";
|
||||
this.labelMessage1.Text = "유저 등록 하시겠습니까?";
|
||||
break;
|
||||
case 14:
|
||||
this.labelErrorCode.Text = "로그인";
|
||||
this.labelMessage1.Text = "유저 삭제 하시겠습니까?";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (language == DataStore.LanguageID.English)
|
||||
{
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Do you want to revert to the previous DLL?";
|
||||
break;
|
||||
case 2:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Do you change the language?";
|
||||
break;
|
||||
case 3:
|
||||
this.labelErrorCode.Text = "Update";
|
||||
this.labelMessage1.Text = "Now appilcation program update";
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
case 5:
|
||||
this.labelErrorCode.Text = "Initialization";
|
||||
this.labelMessage1.Text = "All datas will be initialized";
|
||||
break;
|
||||
case 6:
|
||||
break;
|
||||
case 7:
|
||||
break;
|
||||
case 8:
|
||||
this.labelErrorCode.Text = "Clear";
|
||||
this.labelMessage1.Text = "Erase all count?";
|
||||
break;
|
||||
case 9:
|
||||
this.labelErrorCode.Text = "Motor download";
|
||||
this.labelMessage1.Text = "Do you want to download the current value?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "Motor download";
|
||||
this.labelMessage1.Text = "Do you want to download the program?";
|
||||
break;
|
||||
case 12:
|
||||
this.labelErrorCode.Text = "Login";
|
||||
this.labelMessage1.Text = "Do you want to log out?";
|
||||
break;
|
||||
case 13:
|
||||
this.labelErrorCode.Text = "Login";
|
||||
this.labelMessage1.Text = "Do you want to register the user?";
|
||||
break;
|
||||
case 14:
|
||||
this.labelErrorCode.Text = "Login";
|
||||
this.labelMessage1.Text = "Do you want to Delete the user?";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.buttonYes.Text = "是";
|
||||
this.buttonNo.Text = "否";
|
||||
case DataStore.LanguageID.Korean:
|
||||
#region Korean
|
||||
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:
|
||||
this.labelErrorCode.Text = "모터 다운로드";
|
||||
this.labelMessage1.Text = "현재 값을 다운로드 하시겠습니까?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "모터 다운로드";
|
||||
this.labelMessage1.Text = "모터에 프로그램을 다운로드 하시겠습니까?";
|
||||
break;
|
||||
case 12:
|
||||
this.labelErrorCode.Text = "로그인";
|
||||
this.labelMessage1.Text = "Log out 하시겠습니까?";
|
||||
break;
|
||||
case 13:
|
||||
this.labelErrorCode.Text = "로그인";
|
||||
this.labelMessage1.Text = "유저 등록 하시겠습니까?";
|
||||
break;
|
||||
case 14:
|
||||
this.labelErrorCode.Text = "로그인";
|
||||
this.labelMessage1.Text = "유저 삭제 하시겠습니까?";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Do you want to revert to the previous DLL?";
|
||||
break;
|
||||
case 2:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Do you change the language?";
|
||||
break;
|
||||
case 3:
|
||||
this.labelErrorCode.Text = "Update";
|
||||
this.labelMessage1.Text = "Now appilcation program update";
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
case 5:
|
||||
this.labelErrorCode.Text = "Initialization";
|
||||
this.labelMessage1.Text = "All datas will be initialized";
|
||||
break;
|
||||
case 6:
|
||||
break;
|
||||
case 7:
|
||||
break;
|
||||
case 8:
|
||||
this.labelErrorCode.Text = "Clear";
|
||||
this.labelMessage1.Text = "Erase all count?";
|
||||
break;
|
||||
case 9:
|
||||
this.labelErrorCode.Text = "Motor download";
|
||||
this.labelMessage1.Text = "Do you want to download the current value?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "Motor download";
|
||||
this.labelMessage1.Text = "Do you want to download the program?";
|
||||
break;
|
||||
case 12:
|
||||
this.labelErrorCode.Text = "Login";
|
||||
this.labelMessage1.Text = "Do you want to log out?";
|
||||
break;
|
||||
case 13:
|
||||
this.labelErrorCode.Text = "Login";
|
||||
this.labelMessage1.Text = "Do you want to register the user?";
|
||||
break;
|
||||
case 14:
|
||||
this.labelErrorCode.Text = "Login";
|
||||
this.labelMessage1.Text = "Do you want to Delete the user?";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
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:
|
||||
this.labelErrorCode.Text = "下载";
|
||||
this.labelMessage1.Text = "您确定下载当前值吗?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "下载";
|
||||
this.labelMessage1.Text = "你想下载程序吗?";
|
||||
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;
|
||||
}
|
||||
}
|
||||
else if (language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.buttonYes.Text = "Ano";
|
||||
this.buttonNo.Text = "Ne";
|
||||
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:
|
||||
this.labelErrorCode.Text = "下载";
|
||||
this.labelMessage1.Text = "您确定下载当前值吗?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "下载";
|
||||
this.labelMessage1.Text = "你想下载程序吗?";
|
||||
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;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.buttonYes.Text = "Ano";
|
||||
this.buttonNo.Text = "Ne";
|
||||
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Chcete se vrátit k předchozí DLL?";
|
||||
break;
|
||||
case 2:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Chcete změnit jazyk?";
|
||||
break;
|
||||
case 3:
|
||||
this.labelErrorCode.Text = "Aktualizace";
|
||||
this.labelMessage1.Text = "Program byl aktualizován";
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
case 5:
|
||||
this.labelErrorCode.Text = "Tovární nastavení";
|
||||
this.labelMessage1.Text = "Budou inicializována všechna data";
|
||||
break;
|
||||
case 6:
|
||||
break;
|
||||
case 7:
|
||||
break;
|
||||
case 8:
|
||||
this.labelErrorCode.Text = "Smazat";
|
||||
this.labelMessage1.Text = "Smazat všechny počty?";
|
||||
break;
|
||||
case 9:
|
||||
this.labelErrorCode.Text = "Stažení";
|
||||
this.labelMessage1.Text = "Chcete stáhnout aktuální hodnotu?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "Stažení";
|
||||
this.labelMessage1.Text = "Chcete program stáhnout na motor?";
|
||||
break;
|
||||
case 12:
|
||||
this.labelErrorCode.Text = "Přihlásit se";
|
||||
this.labelMessage1.Text = "Chcete se odhlásit?";
|
||||
break;
|
||||
case 13:
|
||||
this.labelErrorCode.Text = "Přihlásit se";
|
||||
this.labelMessage1.Text = "Chcete zaregistrovat uživatele?";
|
||||
break;
|
||||
case 14:
|
||||
this.labelErrorCode.Text = "Přihlásit se";
|
||||
this.labelMessage1.Text = "Chcete smazat uživatele?";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (language == DataStore.LanguageID.German)
|
||||
{
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Möchten Sie die ursprüngliche";
|
||||
this.labelMessage2.Text = "DDL-Bibliothek wirklich zurückgeben?";
|
||||
break;
|
||||
case 2:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Möchten Sie die Sprache wirklich ändern?";
|
||||
break;
|
||||
case 3:
|
||||
this.labelErrorCode.Text = "Aktualisierung";
|
||||
this.labelMessage1.Text = "Programm wird aktualisiert";
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
case 5:
|
||||
this.labelErrorCode.Text = "Werkseinstellung";
|
||||
this.labelMessage1.Text = "Alle Daten werden initialisiert";
|
||||
break;
|
||||
case 6:
|
||||
break;
|
||||
case 7:
|
||||
break;
|
||||
case 8:
|
||||
this.labelErrorCode.Text = "Löschen";
|
||||
this.labelMessage1.Text = "Wirklich die Zähler löschen? ";
|
||||
break;
|
||||
case 9:
|
||||
this.labelErrorCode.Text = "Programm-Download zum Motor";
|
||||
this.labelMessage1.Text = "Möchten Sie den aktuellen";
|
||||
this.labelMessage2.Text = "Wert wirklich herunterladen?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "Programm-Download zum Motor";
|
||||
this.labelMessage1.Text = "Möchten Sie wirklich einen Motor herunterladen?";
|
||||
break;
|
||||
case 12:
|
||||
this.labelErrorCode.Text = "Einloggen";
|
||||
this.labelMessage1.Text = "Möchten Sie sich abmelden?";
|
||||
break;
|
||||
case 13:
|
||||
this.labelErrorCode.Text = "Einloggen";
|
||||
this.labelMessage1.Text = "Möchten Sie den Benutzer registrieren?";
|
||||
break;
|
||||
case 14:
|
||||
this.labelErrorCode.Text = "Einloggen";
|
||||
this.labelMessage1.Text = "Möchten Sie einen Benutzer löschen?";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Chcete se vrátit k předchozí DLL?";
|
||||
break;
|
||||
case 2:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Chcete změnit jazyk?";
|
||||
break;
|
||||
case 3:
|
||||
this.labelErrorCode.Text = "Aktualizace";
|
||||
this.labelMessage1.Text = "Program byl aktualizován";
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
case 5:
|
||||
this.labelErrorCode.Text = "Tovární nastavení";
|
||||
this.labelMessage1.Text = "Budou inicializována všechna data";
|
||||
break;
|
||||
case 6:
|
||||
break;
|
||||
case 7:
|
||||
break;
|
||||
case 8:
|
||||
this.labelErrorCode.Text = "Smazat";
|
||||
this.labelMessage1.Text = "Smazat všechny počty?";
|
||||
break;
|
||||
case 9:
|
||||
this.labelErrorCode.Text = "Stažení";
|
||||
this.labelMessage1.Text = "Chcete stáhnout aktuální hodnotu?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "Stažení";
|
||||
this.labelMessage1.Text = "Chcete program stáhnout na motor?";
|
||||
break;
|
||||
case 12:
|
||||
this.labelErrorCode.Text = "Přihlásit se";
|
||||
this.labelMessage1.Text = "Chcete se odhlásit?";
|
||||
break;
|
||||
case 13:
|
||||
this.labelErrorCode.Text = "Přihlásit se";
|
||||
this.labelMessage1.Text = "Chcete zaregistrovat uživatele?";
|
||||
break;
|
||||
case 14:
|
||||
this.labelErrorCode.Text = "Přihlásit se";
|
||||
this.labelMessage1.Text = "Chcete smazat uživatele?";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
switch (ok)
|
||||
{
|
||||
case 1:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Möchten Sie die ursprüngliche";
|
||||
this.labelMessage2.Text = "DDL-Bibliothek wirklich zurückgeben?";
|
||||
break;
|
||||
case 2:
|
||||
this.labelErrorCode.Text = "";
|
||||
this.labelMessage1.Text = "Möchten Sie die Sprache wirklich ändern?";
|
||||
break;
|
||||
case 3:
|
||||
this.labelErrorCode.Text = "Aktualisierung";
|
||||
this.labelMessage1.Text = "Programm wird aktualisiert";
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
case 5:
|
||||
this.labelErrorCode.Text = "Werkseinstellung";
|
||||
this.labelMessage1.Text = "Alle Daten werden initialisiert";
|
||||
break;
|
||||
case 6:
|
||||
break;
|
||||
case 7:
|
||||
break;
|
||||
case 8:
|
||||
this.labelErrorCode.Text = "Löschen";
|
||||
this.labelMessage1.Text = "Wirklich die Zähler löschen? ";
|
||||
break;
|
||||
case 9:
|
||||
this.labelErrorCode.Text = "Programm-Download zum Motor";
|
||||
this.labelMessage1.Text = "Möchten Sie den aktuellen";
|
||||
this.labelMessage2.Text = "Wert wirklich herunterladen?";
|
||||
break;
|
||||
case 10:
|
||||
break;
|
||||
case 11:
|
||||
this.labelErrorCode.Text = "Programm-Download zum Motor";
|
||||
this.labelMessage1.Text = "Möchten Sie wirklich einen Motor herunterladen?";
|
||||
break;
|
||||
case 12:
|
||||
this.labelErrorCode.Text = "Einloggen";
|
||||
this.labelMessage1.Text = "Möchten Sie sich abmelden?";
|
||||
break;
|
||||
case 13:
|
||||
this.labelErrorCode.Text = "Einloggen";
|
||||
this.labelMessage1.Text = "Möchten Sie den Benutzer registrieren?";
|
||||
break;
|
||||
case 14:
|
||||
this.labelErrorCode.Text = "Einloggen";
|
||||
this.labelMessage1.Text = "Möchten Sie einen Benutzer löschen?";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#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,115 +53,141 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Calibration";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.labelTitle.Text = "Calibration";
|
||||
this.groupBoxSetting.Text = "Setting";
|
||||
this.groupBoxHelp.Text = "Help";
|
||||
this.labelStaticBalanceWeight.Text = "Balance weight";
|
||||
this.labelStaticMaxWeight.Text = "Max weight";
|
||||
this.labelStaticDigit.Text = "Digit";
|
||||
|
||||
this.groupBoxSetting.Text = "Setting";
|
||||
this.groupBoxHelp.Text = "Help";
|
||||
this.labelStaticBalanceWeight.Text = "Balance weight";
|
||||
this.labelStaticMaxWeight.Text = "Max weight";
|
||||
this.labelStaticDigit.Text = "Digit";
|
||||
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.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;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "校准";
|
||||
|
||||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.labelTitle.Text = "校准";
|
||||
this.groupBoxSetting.Text = "设定";
|
||||
this.groupBoxHelp.Text = "帮助";
|
||||
this.labelStaticBalanceWeight.Text = "砝码重量";
|
||||
this.labelStaticMaxWeight.Text = "最大重量";
|
||||
this.labelStaticDigit.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.chnBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartDisable));
|
||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartDown));
|
||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartUp));
|
||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceDisable));
|
||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceDown));
|
||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceUp));
|
||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Kalibrace";
|
||||
|
||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartDisable));
|
||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartDown));
|
||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationStartUp));
|
||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceDisable));
|
||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceDown));
|
||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationBalanceUp));
|
||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormCalibrationCancelUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.labelTitle.Text = "Kalibrace";
|
||||
this.groupBoxSetting.Text = "Seřízení";
|
||||
this.groupBoxHelp.Text = "Pomoc";
|
||||
this.labelStaticBalanceWeight.Text = "Vyvažovací závaží";
|
||||
this.labelStaticMaxWeight.Text = "Max. hmotnost";
|
||||
this.labelStaticDigit.Text = "Číslice";
|
||||
|
||||
this.groupBoxSetting.Text = "Seřízení";
|
||||
this.groupBoxHelp.Text = "Pomoc";
|
||||
this.labelStaticBalanceWeight.Text = "Vyvažovací závaží";
|
||||
this.labelStaticMaxWeight.Text = "Max. hmotnost";
|
||||
this.labelStaticDigit.Text = "Číslice";
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartDisable));
|
||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartDown));
|
||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartUp));
|
||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceDisable));
|
||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceDown));
|
||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceUp));
|
||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Kalibrierung";
|
||||
|
||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartDisable));
|
||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartDown));
|
||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationStartUp));
|
||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceDisable));
|
||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceDown));
|
||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationBalanceUp));
|
||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormCalibrationCancelUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.labelTitle.Text = "Kalibrierung";
|
||||
this.groupBoxSetting.Text = "Einstellung";
|
||||
this.groupBoxHelp.Text = "Hilfe";
|
||||
this.labelStaticBalanceWeight.Text = "Gewicht der Waage";
|
||||
this.labelStaticMaxWeight.Text = "Maximalgewicht";
|
||||
this.labelStaticDigit.Text = "Nummer";
|
||||
|
||||
this.groupBoxSetting.Text = "Einstellung";
|
||||
this.groupBoxHelp.Text = "Hilfe";
|
||||
this.labelStaticBalanceWeight.Text = "Gewicht der Waage";
|
||||
this.labelStaticMaxWeight.Text = "Maximalgewicht";
|
||||
this.labelStaticDigit.Text = "Nummer";
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartDisable));
|
||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartDown));
|
||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartUp));
|
||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceDisable));
|
||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceDown));
|
||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceUp));
|
||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "校正";
|
||||
|
||||
this.buttonStart.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartDisable));
|
||||
this.buttonStart.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartDown));
|
||||
this.buttonStart.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationStartUp));
|
||||
this.buttonBalance.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceDisable));
|
||||
this.buttonBalance.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceDown));
|
||||
this.buttonBalance.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationBalanceUp));
|
||||
this.buttonCancel.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelDisable));
|
||||
this.buttonCancel.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelDown));
|
||||
this.buttonCancel.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormCalibrationCancelUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
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.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();
|
||||
}
|
||||
|
||||
public void ClearListBox()
|
||||
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("시작을 누르세요");
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.listBoxHelp.Items.Add("Calibration");
|
||||
this.listBoxHelp.Items.Add("After selecting lane, ");
|
||||
this.listBoxHelp.Items.Add("push the [Start] button.");
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.listBoxHelp.Items.Add("校准");
|
||||
this.listBoxHelp.Items.Add("选择线后,按[开始]按钮。");
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.listBoxHelp.Items.Add("Kalibrace");
|
||||
this.listBoxHelp.Items.Add("Po výběru řádku, ");
|
||||
this.listBoxHelp.Items.Add("stiskněte tlačítko [Start].");
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.listBoxHelp.Items.Add("Kalibrierung");
|
||||
this.listBoxHelp.Items.Add("Drücken Sie nach der Auswahl der");
|
||||
this.listBoxHelp.Items.Add("Zeile die Taste [Start].");
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.listBoxHelp.Items.Add("較正");
|
||||
this.listBoxHelp.Items.Add("レㅡンを選択したら、");
|
||||
this.listBoxHelp.Items.Add("[スタㅡト]ボタンを押します。");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayHelpBalance()
|
||||
{
|
||||
this.listBoxHelp.Items.Clear();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.listBoxHelp.Items.Add("분동 계산중 입니다");
|
||||
this.listBoxHelp.Items.Add("잠시만 기다리세요");
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.listBoxHelp.Items.Add("Caculating...");
|
||||
this.listBoxHelp.Items.Add("Wait a minute.");
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.listBoxHelp.Items.Add("计算...");
|
||||
this.listBoxHelp.Items.Add("请稍等");
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.listBoxHelp.Items.Add("Kontroluji hmotnost...");
|
||||
this.listBoxHelp.Items.Add("čekejte prosím.");
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.listBoxHelp.Items.Add("Gewichtsüberprüfung,");
|
||||
this.listBoxHelp.Items.Add("bitte warten");
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.listBoxHelp.Items.Add("重量をチェック。");
|
||||
this.listBoxHelp.Items.Add("待機する");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayHelpStart()
|
||||
{
|
||||
this.listBoxHelp.Items.Clear();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.listBoxHelp.Items.Add("중량조정을 시작합니다.");
|
||||
this.listBoxHelp.Items.Add("잠시만 기다리세요.");
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.listBoxHelp.Items.Add("Calibration start.");
|
||||
this.listBoxHelp.Items.Add("Wait a minute.");
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.listBoxHelp.Items.Add("校准开始按钮");
|
||||
this.listBoxHelp.Items.Add("请稍等");
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.listBoxHelp.Items.Add("START kalibrace");
|
||||
this.listBoxHelp.Items.Add("čekejte prosím.");
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.listBoxHelp.Items.Add("Kalibrierungsstart");
|
||||
this.listBoxHelp.Items.Add("bitte warten");
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.listBoxHelp.Items.Add("校正開始");
|
||||
this.listBoxHelp.Items.Add("待機する");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayHelpCancel()
|
||||
{
|
||||
this.listBoxHelp.Items.Clear();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.listBoxHelp.Items.Add("중량조정을 취소합니다");
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.listBoxHelp.Items.Add("Cancel the Calibration");
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.listBoxHelp.Items.Add("取消校准");
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.listBoxHelp.Items.Add("Zrušení Kalibrace");
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.listBoxHelp.Items.Add("Brechen Sie die ");
|
||||
this.listBoxHelp.Items.Add("Kalibrierung ab");
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.listBoxHelp.Items.Add("校正をキャンセルする");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayHelpCalStandby()
|
||||
{
|
||||
this.listBoxHelp.Items.Clear();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.listBoxHelp.Items.Add("분동을 올려주세요.");
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.listBoxHelp.Items.Add("Put the balance weight.");
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.listBoxHelp.Items.Add("放平衡重");
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.listBoxHelp.Items.Add("Položit vyvážení hmotnosti.");
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.listBoxHelp.Items.Add("Gewicht auf den Förderer legen");
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.listBoxHelp.Items.Add("バランスウェイトを置く。");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayHelpCalFinish()
|
||||
{
|
||||
this.listBoxHelp.Items.Clear();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.listBoxHelp.Items.Add("중량조정이 완료 되었습니다.");
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.listBoxHelp.Items.Add("Finished.");
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.listBoxHelp.Items.Add("完");
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.listBoxHelp.Items.Add("Ukončený.");
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.listBoxHelp.Items.Add("Die Kalibrierung ist abgeschlossen.");
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.listBoxHelp.Items.Add("校正終了");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
public void UpdateDisplayHelpCalError()
|
||||
{
|
||||
this.listBoxHelp.Items.Clear();
|
||||
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.listBoxHelp.Items.Add("중량조정 에러");
|
||||
this.listBoxHelp.Items.Add("다시 시도해 주세요");
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
this.listBoxHelp.Items.Add("Calibration error.");
|
||||
this.listBoxHelp.Items.Add("Please try again.");
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
this.listBoxHelp.Items.Add("错误发生,重试");
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
this.listBoxHelp.Items.Add("Kalibrace chyba.");
|
||||
this.listBoxHelp.Items.Add("Zkuste znovu.");
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
this.listBoxHelp.Items.Add("Fehler!");
|
||||
this.listBoxHelp.Items.Add("Bitte noch einmal versuchen");
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.listBoxHelp.Items.Add("校正エラㅡ");
|
||||
this.listBoxHelp.Items.Add("もうㅡ度試してください");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public void CalibrationButtonEnable(bool btStart, bool btBalance, bool btCcancel)
|
||||
{
|
||||
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,250 +57,316 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Configuration";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.labelTitle.Text = "Configuration";
|
||||
this.groupBoxAutoZero.Text = "Auto zero";
|
||||
this.labelStaticTime.Text = "Time";
|
||||
this.labelStaticRange.Text = "Range";
|
||||
this.labelStaticVariable.Text = "Variable";
|
||||
this.labelStaticMode.Text = "Mode";
|
||||
|
||||
this.groupBoxAutoZero.Text = "Auto zero";
|
||||
this.labelStaticTime.Text = "Time";
|
||||
this.labelStaticRange.Text = "Range";
|
||||
this.labelStaticVariable.Text = "Variable";
|
||||
this.labelStaticMode.Text = "Mode";
|
||||
this.groupBoxOption.Text = "Option";
|
||||
this.labelStaticEmptyWeight.Text = "Empty weight Set";
|
||||
this.labelStaticChattering.Text = "Chattering";
|
||||
this.labelStaticDecimalPoint.Text = "Decimal point";
|
||||
this.labelStaticBuzzerOnTime.Text = "Buzzer ON time";
|
||||
this.labelStaticRelayOnTime.Text = "Relay ON time";
|
||||
this.labelStaticBypass.Text = "Bypass";
|
||||
this.labelStaticEXT1DelayTime.Text = "EXT DelayTime";
|
||||
this.labelStaticEXT1RunTime.Text = "EXT RunTime";
|
||||
|
||||
this.groupBoxOption.Text = "Option";
|
||||
this.labelStaticEmptyWeight.Text = "Empty weight Set";
|
||||
this.labelStaticChattering.Text = "Chattering";
|
||||
this.labelStaticDecimalPoint.Text = "Decimal point";
|
||||
this.labelStaticBuzzerOnTime.Text = "Buzzer ON time";
|
||||
this.labelStaticRelayOnTime.Text = "Relay ON time";
|
||||
this.labelStaticBypass.Text = "Bypass";
|
||||
this.labelStaticEXT1DelayTime.Text = "EXT DelayTime";
|
||||
this.labelStaticEXT1RunTime.Text = "EXT RunTime";
|
||||
this.groupBoxComm.Text = "Communication";
|
||||
this.labelStaticCommunicationSpeed.Text = "Speed";
|
||||
this.labelStaticCommunicationMode.Text = "Mode";
|
||||
|
||||
this.groupBoxComm.Text = "Communication";
|
||||
this.labelStaticCommunicationSpeed.Text = "Speed";
|
||||
this.labelStaticCommunicationMode.Text = "Mode";
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
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.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)
|
||||
{
|
||||
this.labelTitle.Text = "选项";
|
||||
this.groupBoxAutoZero.Text = "自动零点跟踪";
|
||||
this.labelStaticTime.Text = "时间";
|
||||
this.labelStaticRange.Text = "范围";
|
||||
this.labelStaticVariable.Text = "变化";
|
||||
this.labelStaticMode.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.labelStaticBuzzerOnTime.Text = "蜂鸣器开启时间";
|
||||
this.labelStaticRelayOnTime.Text = "继电器接通时间";
|
||||
this.labelStaticDecimalPoint.Text = "小数点";
|
||||
this.labelStaticBypass.Text = "旁路";
|
||||
this.labelStaticEXT1DelayTime.Text = "外部输出延迟时间";
|
||||
this.labelStaticEXT1RunTime.Text = "外部输出运转时间";
|
||||
|
||||
this.groupBoxOption.Text = "等等";
|
||||
this.labelStaticEmptyWeight.Text = "空重设置";
|
||||
this.labelStaticChattering.Text = "颤振";
|
||||
this.labelStaticBuzzerOnTime.Text = "蜂鸣器开启时间";
|
||||
this.labelStaticRelayOnTime.Text = "继电器接通时间";
|
||||
this.labelStaticDecimalPoint.Text = "小数点";
|
||||
this.labelStaticBypass.Text = "旁路";
|
||||
this.labelStaticEXT1DelayTime.Text = "外部输出延迟时间";
|
||||
this.labelStaticEXT1RunTime.Text = "外部输出运转时间";
|
||||
this.groupBoxComm.Text = "通信";
|
||||
this.labelStaticCommunicationSpeed.Text = "波特率";
|
||||
this.labelStaticCommunicationMode.Text = "模式";
|
||||
|
||||
this.groupBoxComm.Text = "通信";
|
||||
this.labelStaticCommunicationSpeed.Text = "波特率";
|
||||
this.labelStaticCommunicationMode.Text = "模式";
|
||||
this.groupBoxBypass.Text = "旁路";
|
||||
this.buttonSend.Text = "发送";
|
||||
|
||||
this.groupBoxBypass.Text = "旁路";
|
||||
this.buttonSend.Text = "发送";
|
||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "保存";
|
||||
|
||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "保存";
|
||||
this.labelTitleLine1.Text = "列1";
|
||||
this.labelTitleLine2.Text = "列2";
|
||||
this.labelTitleLine3.Text = "列3";
|
||||
this.labelTitleLine4.Text = "列4";
|
||||
this.labelTitleLine5.Text = "列5";
|
||||
this.labelTitleLine6.Text = "列6";
|
||||
this.labelTitleLine7.Text = "列7";
|
||||
this.labelTitleLine8.Text = "列8";
|
||||
this.labelTitleLine9.Text = "列9";
|
||||
this.labelTitleLine10.Text = "列10";
|
||||
this.labelTitleLine11.Text = "列11";
|
||||
this.labelTitleLine12.Text = "列12";
|
||||
this.labelTitleLine13.Text = "列13";
|
||||
this.labelTitleLine14.Text = "列14";
|
||||
this.labelTitleLine15.Text = "列15";
|
||||
this.labelTitleLine16.Text = "列16";
|
||||
|
||||
this.labelTitleLine1.Text = "列1";
|
||||
this.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.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.chnEnable));
|
||||
|
||||
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.chnEnable));
|
||||
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.chnDisable));
|
||||
|
||||
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.chnDisable));
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenUp));
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Předvolby";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenUp));
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "Předvolby";
|
||||
this.groupBoxAutoZero.Text = "Automatické nulování";
|
||||
this.labelStaticTime.Text = "Čas";
|
||||
this.labelStaticRange.Text = "Rozsah";
|
||||
this.labelStaticVariable.Text = "Rozdíl";
|
||||
this.labelStaticMode.Text = "Režim";
|
||||
|
||||
this.groupBoxAutoZero.Text = "Automatické nulování";
|
||||
this.labelStaticTime.Text = "Čas";
|
||||
this.labelStaticRange.Text = "Rozsah";
|
||||
this.labelStaticVariable.Text = "Rozdíl";
|
||||
this.labelStaticMode.Text = "Režim";
|
||||
this.groupBoxOption.Text = "Možnosti";
|
||||
this.labelStaticEmptyWeight.Text = "Nastavení prázdné hmotnosti";
|
||||
this.labelStaticChattering.Text = "Uklidnění tenzometru";
|
||||
this.labelStaticDecimalPoint.Text = "Počet desettiných míst";
|
||||
this.labelStaticBuzzerOnTime.Text = "Zvukový signál - čas";
|
||||
this.labelStaticRelayOnTime.Text = "Relé - čas";
|
||||
this.labelStaticBypass.Text = "Vše";
|
||||
this.labelStaticEXT1DelayTime.Text = "zpoždění externího výstupu";
|
||||
this.labelStaticEXT1RunTime.Text = "provozu externího výstupu";
|
||||
|
||||
this.groupBoxOption.Text = "Možnosti";
|
||||
this.labelStaticEmptyWeight.Text = "Nastavení prázdné hmotnosti";
|
||||
this.labelStaticChattering.Text = "Uklidnění tenzometru";
|
||||
this.labelStaticDecimalPoint.Text = "Počet desettiných míst";
|
||||
this.labelStaticBuzzerOnTime.Text = "Zvukový signál - čas";
|
||||
this.labelStaticRelayOnTime.Text = "Relé - čas";
|
||||
this.labelStaticBypass.Text = "Vše";
|
||||
this.labelStaticEXT1DelayTime.Text = "zpoždění externího výstupu";
|
||||
this.labelStaticEXT1RunTime.Text = "provozu externího výstupu";
|
||||
this.groupBoxComm.Text = "Nastavení komunikace";
|
||||
this.labelStaticCommunicationMode.Text = "Režim";
|
||||
|
||||
this.groupBoxComm.Text = "Nastavení komunikace";
|
||||
this.labelStaticCommunicationMode.Text = "Režim";
|
||||
this.labelTitleLine1.Text = "Řada 1";
|
||||
this.labelTitleLine2.Text = "Řada 2";
|
||||
this.labelTitleLine3.Text = "Řada 3";
|
||||
this.labelTitleLine4.Text = "Řada 4";
|
||||
this.labelTitleLine5.Text = "Řada 5";
|
||||
this.labelTitleLine6.Text = "Řada 6";
|
||||
this.labelTitleLine7.Text = "Řada 7";
|
||||
this.labelTitleLine8.Text = "Řada 8";
|
||||
this.labelTitleLine9.Text = "Řada 9";
|
||||
this.labelTitleLine10.Text = "Řada 10";
|
||||
this.labelTitleLine11.Text = "Řada 11";
|
||||
this.labelTitleLine12.Text = "Řada 12";
|
||||
this.labelTitleLine13.Text = "Řada 13";
|
||||
this.labelTitleLine14.Text = "Řada 14";
|
||||
this.labelTitleLine15.Text = "Řada 15";
|
||||
this.labelTitleLine16.Text = "Řada 16";
|
||||
|
||||
this.labelTitleLine1.Text = "Řada 1";
|
||||
this.labelTitleLine2.Text = "Řada 2";
|
||||
this.labelTitleLine3.Text = "Řada 3";
|
||||
this.labelTitleLine4.Text = "Řada 4";
|
||||
this.labelTitleLine5.Text = "Řada 5";
|
||||
this.labelTitleLine6.Text = "Řada 6";
|
||||
this.labelTitleLine7.Text = "Řada 7";
|
||||
this.labelTitleLine8.Text = "Řada 8";
|
||||
this.labelTitleLine9.Text = "Řada 9";
|
||||
this.labelTitleLine10.Text = "Řada 10";
|
||||
this.labelTitleLine11.Text = "Řada 11";
|
||||
this.labelTitleLine12.Text = "Řada 12";
|
||||
this.labelTitleLine13.Text = "Řada 13";
|
||||
this.labelTitleLine14.Text = "Řada 14";
|
||||
this.labelTitleLine15.Text = "Řada 15";
|
||||
this.labelTitleLine16.Text = "Řada 16";
|
||||
this.labelStaticBypass.Text = "Bypass vše";
|
||||
|
||||
this.labelStaticBypass.Text = "Bypass vše";
|
||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Uložit";
|
||||
|
||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Uložit";
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
this.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.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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Konfiguration";
|
||||
|
||||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.labelTitle.Text = "Konfiguration";
|
||||
this.groupBoxAutoZero.Text = "automatische Nullung";
|
||||
this.labelStaticTime.Text = "Zeit";
|
||||
this.labelStaticRange.Text = "Bereich";
|
||||
this.labelStaticVariable.Text = "Unterschied";
|
||||
this.labelStaticMode.Text = "Modus";
|
||||
|
||||
this.groupBoxAutoZero.Text = "automatische Nullung";
|
||||
this.labelStaticTime.Text = "Zeit";
|
||||
this.labelStaticRange.Text = "Bereich";
|
||||
this.labelStaticVariable.Text = "Unterschied";
|
||||
this.labelStaticMode.Text = "Modus";
|
||||
this.groupBoxOption.Text = "Möglichkeit";
|
||||
this.labelStaticEmptyWeight.Text = "Leergewichtseinstellung";
|
||||
this.labelStaticChattering.Font = font;
|
||||
this.labelStaticChattering.Text = "Beruhigung des Dehnungsmessers";
|
||||
this.labelStaticDecimalPoint.Text = "Dezimalpunkt";
|
||||
this.labelStaticBuzzerOnTime.Text = "Summer-Einschaltzeit";
|
||||
this.labelStaticRelayOnTime.Text = "Relais-Einschaltzeit";
|
||||
this.labelStaticBypass.Text = "Bypass-Modus";
|
||||
this.labelStaticEXT1DelayTime.Font = font;
|
||||
this.labelStaticEXT1DelayTime.Text = "Externe Ausgangsverzögerungszeit";
|
||||
this.labelStaticEXT1RunTime.Font = font;
|
||||
this.labelStaticEXT1RunTime.Text = "Betriebszeit der externen Ausgabe";
|
||||
|
||||
this.groupBoxOption.Text = "Möglichkeit";
|
||||
this.labelStaticEmptyWeight.Text = "Leergewichtseinstellung";
|
||||
this.labelStaticChattering.Font = font;
|
||||
this.labelStaticChattering.Text = "Beruhigung des Dehnungsmessers";
|
||||
this.labelStaticDecimalPoint.Text = "Dezimalpunkt";
|
||||
this.labelStaticBuzzerOnTime.Text = "Summer-Einschaltzeit";
|
||||
this.labelStaticRelayOnTime.Text = "Relais-Einschaltzeit";
|
||||
this.labelStaticBypass.Text = "Bypass-Modus";
|
||||
this.labelStaticEXT1DelayTime.Font = font;
|
||||
this.labelStaticEXT1DelayTime.Text = "Externe Ausgangsverzögerungszeit";
|
||||
this.labelStaticEXT1RunTime.Font = font;
|
||||
this.labelStaticEXT1RunTime.Text = "Betriebszeit der externen Ausgabe";
|
||||
this.groupBoxComm.Text = "Kommunikationseinstellung";
|
||||
this.labelStaticCommunicationSpeed.Text = "Baudrate";
|
||||
this.labelStaticCommunicationMode.Text = "Modus";
|
||||
|
||||
this.groupBoxComm.Text = "Kommunikationseinstellung";
|
||||
this.labelStaticCommunicationSpeed.Text = "Baudrate";
|
||||
this.labelStaticCommunicationMode.Text = "Modus";
|
||||
this.labelTitleLine1.Text = "Reihe 1";
|
||||
this.labelTitleLine2.Text = "Reihe 2";
|
||||
this.labelTitleLine3.Text = "Reihe 3";
|
||||
this.labelTitleLine4.Text = "Reihe 4";
|
||||
this.labelTitleLine5.Text = "Reihe 5";
|
||||
this.labelTitleLine6.Text = "Reihe 6";
|
||||
this.labelTitleLine7.Text = "Reihe 7";
|
||||
this.labelTitleLine8.Text = "Reihe 8";
|
||||
this.labelTitleLine9.Text = "Reihe 9";
|
||||
this.labelTitleLine10.Text = "Reihe 10";
|
||||
this.labelTitleLine11.Text = "Reihe 11";
|
||||
this.labelTitleLine12.Text = "Reihe 12";
|
||||
this.labelTitleLine13.Text = "Reihe 13";
|
||||
this.labelTitleLine14.Text = "Reihe 14";
|
||||
this.labelTitleLine15.Text = "Reihe 15";
|
||||
this.labelTitleLine16.Text = "Reihe 16";
|
||||
|
||||
this.labelTitleLine1.Text = "Reihe 1";
|
||||
this.labelTitleLine2.Text = "Reihe 2";
|
||||
this.labelTitleLine3.Text = "Reihe 3";
|
||||
this.labelTitleLine4.Text = "Reihe 4";
|
||||
this.labelTitleLine5.Text = "Reihe 5";
|
||||
this.labelTitleLine6.Text = "Reihe 6";
|
||||
this.labelTitleLine7.Text = "Reihe 7";
|
||||
this.labelTitleLine8.Text = "Reihe 8";
|
||||
this.labelTitleLine9.Text = "Reihe 9";
|
||||
this.labelTitleLine10.Text = "Reihe 10";
|
||||
this.labelTitleLine11.Text = "Reihe 11";
|
||||
this.labelTitleLine12.Text = "Reihe 12";
|
||||
this.labelTitleLine13.Text = "Reihe 13";
|
||||
this.labelTitleLine14.Text = "Reihe 14";
|
||||
this.labelTitleLine15.Text = "Reihe 15";
|
||||
this.labelTitleLine16.Text = "Reihe 16";
|
||||
this.labelStaticBypass.Text = "Bypass Alles";
|
||||
this.buttonSend.Text = "Senden";
|
||||
this.tabPage1.Text = "Automatische Nullung";
|
||||
this.tabPage2.Text = "Kalibrierung";
|
||||
this.tabPage3.Text = "Tascheneinstellung";
|
||||
this.buttonZeroRange.Text = "Bereich Z";
|
||||
this.buttonZeroTime.Text = "Zeit Z";
|
||||
this.buttonZeroVariate.Text = "Unterschied Z";
|
||||
this.buttonBalanceWeight.Text = "Waage G.";
|
||||
this.buttonMaxWeight.Text = "Maximalgewicht";
|
||||
this.buttonDigit.Text = "Ziffer";
|
||||
|
||||
this.labelStaticBypass.Text = "Bypass Alles";
|
||||
this.buttonSend.Text = "Senden";
|
||||
this.tabPage1.Text = "Automatische Nullung";
|
||||
this.tabPage2.Text = "Kalibrierung";
|
||||
this.tabPage3.Text = "Tascheneinstellung";
|
||||
this.buttonZeroRange.Text = "Bereich Z";
|
||||
this.buttonZeroTime.Text = "Zeit Z";
|
||||
this.buttonZeroVariate.Text = "Unterschied Z";
|
||||
this.buttonBalanceWeight.Text = "Waage G.";
|
||||
this.buttonMaxWeight.Text = "Maximalgewicht";
|
||||
this.buttonDigit.Text = "Ziffer";
|
||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Speichern";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
|
||||
this.buttonSave3.Text = this.buttonSaveBypass.Text = "Speichern";
|
||||
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
||||
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
||||
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
||||
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
||||
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerEnable));
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
this.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.gerDisable));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
this.labelTitle.Text = "構成";
|
||||
|
||||
this.buttonBypassLane1.DownImage = this.buttonBypassLane2.DownImage = this.buttonBypassLane3.DownImage =
|
||||
this.buttonBypassLane4.DownImage = this.buttonBypassLane5.DownImage = this.buttonBypassLane6.DownImage =
|
||||
this.buttonBypassLane7.DownImage = this.buttonBypassLane8.DownImage = this.buttonBypassLane9.DownImage =
|
||||
this.buttonBypassLane10.DownImage = this.buttonBypassLane11.DownImage = this.buttonBypassLane12.DownImage =
|
||||
this.buttonBypassMode.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerEnable));
|
||||
this.groupBoxAutoZero.Text = "オㅡトゼロ";
|
||||
this.labelStaticTime.Text = "時間";
|
||||
this.labelStaticRange.Text = "範囲";
|
||||
this.labelStaticVariable.Text = "変化";
|
||||
this.labelStaticMode.Text = "モード";
|
||||
|
||||
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.gerDisable));
|
||||
}
|
||||
else
|
||||
{
|
||||
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)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
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
|
||||
{
|
||||
this.comboBoxZeroParameterMode.Items.Add("Mode1");
|
||||
this.comboBoxZeroParameterMode.Items.Add("Mode2");
|
||||
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,91 +42,115 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Data backup";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.labelTitle.Text = "Data backup";
|
||||
this.labelStaticBackupEnable.Text = "Create backup file";
|
||||
this.labelStaticSaveFile.Text = "Saved files";
|
||||
this.labelStaticWarning1.Text = "※ Caution";
|
||||
this.labelStaticWarning2.Text = "The saved data in this system is deleted if the backup is performed through USB memory device.";
|
||||
|
||||
this.labelStaticBackupEnable.Text = "Create backup file";
|
||||
this.labelStaticSaveFile.Text = "Saved files";
|
||||
this.labelStaticWarning1.Text = "※ Caution";
|
||||
this.labelStaticWarning2.Text = "The saved data in this system is deleted if the backup is performed through USB memory device.";
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackupUp));
|
||||
|
||||
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;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.labelTitle.Text = "数据备份";
|
||||
this.labelStaticBackupEnable.Text = "备份";
|
||||
this.labelStaticSaveFile.Text = "文件";
|
||||
this.labelStaticWarning1.Text = "※注意:";
|
||||
this.labelStaticWarning2.Text = "当数据保存到USB中后,系统数据被删除";
|
||||
|
||||
this.labelStaticBackupEnable.Text = "备份";
|
||||
this.labelStaticSaveFile.Text = "文件";
|
||||
this.labelStaticWarning1.Text = "※注意:";
|
||||
this.labelStaticWarning2.Text = "当数据保存到USB中后,系统数据被删除";
|
||||
this.radioButtonEnable.Text = "启用";
|
||||
this.radioButtonDisable.Text = "禁用";
|
||||
|
||||
this.radioButtonEnable.Text = "启用";
|
||||
this.radioButtonDisable.Text = "禁用";
|
||||
this.buttonUSBID.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormDataBackupUSBIDDown));
|
||||
this.buttonUSBID.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormDataBackupUSBIDUp));
|
||||
|
||||
this.buttonUSBID.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormDataBackupUSBIDDown));
|
||||
this.buttonUSBID.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormDataBackupUSBIDUp));
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupUp));
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupUp));
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Záloha dat";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.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)
|
||||
{
|
||||
this.labelTitle.Text = "Záloha dat";
|
||||
this.labelStaticBackupEnable.Text = "Zálohovat";
|
||||
this.labelStaticSaveFile.Text = "Soubor";
|
||||
this.labelStaticWarning1.Text = "※ Pozor";
|
||||
this.labelStaticWarning2.Text = "Po provedení zálohy na USB se data v systému se smažou!";
|
||||
this.radioButtonEnable.Text = "Povolit";
|
||||
this.radioButtonDisable.Text = "Zakázat";
|
||||
|
||||
this.labelStaticBackupEnable.Text = "Zálohovat";
|
||||
this.labelStaticSaveFile.Text = "Soubor";
|
||||
this.labelStaticWarning1.Text = "※ Pozor";
|
||||
this.labelStaticWarning2.Text = "Po provedení zálohy na USB se data v systému se smažou!";
|
||||
this.radioButtonEnable.Text = "Povolit";
|
||||
this.radioButtonDisable.Text = "Zakázat";
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupUp));
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Datensicherung";
|
||||
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "Datensicherung";
|
||||
this.labelStaticBackupEnable.Text = "Sicherung";
|
||||
this.labelStaticSaveFile.Text = "Datei";
|
||||
this.labelStaticWarning1.Text = "※ Vorsicht";
|
||||
this.labelStaticWarning2.Text = "Nach der USB-Sicherung werden die Daten im System gelöscht!";
|
||||
this.radioButtonEnable.Text = "Aktivieren";
|
||||
this.radioButtonDisable.Text = "Deaktivieren";
|
||||
|
||||
this.labelStaticBackupEnable.Text = "Sicherung";
|
||||
this.labelStaticSaveFile.Text = "Datei";
|
||||
this.labelStaticWarning1.Text = "※ Vorsicht";
|
||||
this.labelStaticWarning2.Text = "Nach der USB-Sicherung werden die Daten im System gelöscht!";
|
||||
this.radioButtonEnable.Text = "Aktivieren";
|
||||
this.radioButtonDisable.Text = "Deaktivieren";
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupUp));
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "デㅡタバックアップ";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
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,73 +85,93 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Data Statistics";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.labelTitle.Text = "Data Statistics";
|
||||
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.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;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.labelTitle.Text = "数据统计";
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupUp));
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackupUp));
|
||||
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectDisable));
|
||||
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectDown));
|
||||
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectUp));
|
||||
|
||||
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectDisable));
|
||||
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectDown));
|
||||
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFileSelectUp));
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Data Statistics";
|
||||
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "Data Statistics";
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupUp));
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackupUp));
|
||||
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectDisable));
|
||||
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectDown));
|
||||
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectUp));
|
||||
|
||||
this.buttonFileSelect.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectDisable));
|
||||
this.buttonFileSelect.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectDown));
|
||||
this.buttonFileSelect.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFileSelectUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Data Statistics";
|
||||
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "Data Statistics";
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupUp));
|
||||
|
||||
this.buttonBackup.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDisable));
|
||||
this.buttonBackup.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupDown));
|
||||
this.buttonBackup.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackupUp));
|
||||
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.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.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "データ統計";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
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,157 +40,189 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Equipment settings";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
#region English
|
||||
this.labelTitle.Text = "Equipment settings";
|
||||
this.labelStaticLane.Text = "Lane";
|
||||
this.labelStaticOrder.Text = "Order";
|
||||
this.labelStaticIndividualNG.Text = "Individual NG";
|
||||
this.labelStaticLanguage.Text = "Language";
|
||||
this.labelStaticSorter1Location.Text = "Sorter1 Location";
|
||||
this.labelStaticSorter2Location.Text = "Sorter2 Location";
|
||||
this.labelStaticSorter3Location.Text = "Sorter3 Location";
|
||||
this.labelStaticLogin.Text = "Login";
|
||||
this.labelStaticEmptyWeight.Text = "Empty weight Set";
|
||||
this.labelStaticMotor.Text = "Motor";
|
||||
this.labelStaticWeightLimitIgnoreCount.Text = "Weight limit - Ignore count";
|
||||
|
||||
this.labelStaticLane.Text = "Lane";
|
||||
this.labelStaticOrder.Text = "Order";
|
||||
this.labelStaticIndividualNG.Text = "Individual NG";
|
||||
this.labelStaticLanguage.Text = "Language";
|
||||
this.labelStaticSorter1Location.Text = "Sorter1 Location";
|
||||
this.labelStaticSorter2Location.Text = "Sorter2 Location";
|
||||
this.labelStaticSorter3Location.Text = "Sorter3 Location";
|
||||
this.labelStaticLogin.Text = "Login";
|
||||
this.labelStaticEmptyWeight.Text = "Empty weight Set";
|
||||
this.labelStaticMotor.Text = "Motor";
|
||||
this.labelStaticWeightLimitIgnoreCount.Text = "Weight limit - Ignore count";
|
||||
this.labelInfo1.Text = "※ Sorting NG products by weight";
|
||||
this.labelInfo2.Text = "※ Normal product (selected under quantity)";
|
||||
this.labelInfo3.Text = "※ Sampling Sorting (if not used, use in sorter 2)";
|
||||
|
||||
this.labelInfo1.Text = "※ Sorting NG products by weight";
|
||||
this.labelInfo2.Text = "※ Normal product (selected under quantity)";
|
||||
this.labelInfo3.Text = "※ Sampling Sorting (if not used, use in sorter 2)";
|
||||
this.labelBuadrateWarning.Text = "※ After changing setting, Turn the power off and back on";
|
||||
this.labelBuadrateWarning2.Text = "※ Do not change the value except engineer";
|
||||
|
||||
this.labelBuadrateWarning.Text = "※ After changing setting, Turn the power off and back on";
|
||||
this.labelBuadrateWarning2.Text = "※ Do not change the value except engineer";
|
||||
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.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;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.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
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
#region Chinese
|
||||
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.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 = "交流电机(AC)";
|
||||
this.radioButtonServoMotor.Text = "伺服电机(Servo)";
|
||||
|
||||
this.rbAcMotor.Text = "交流电机(AC)";
|
||||
this.rbServoMotor.Text = "伺服电机(Servo)";
|
||||
this.radioButtonWeightViewForward.Text = "正向(1~12)";
|
||||
this.radioButtonWeightViewReverse.Text = "反向(12~1)";
|
||||
|
||||
this.radioButtonWeightViewForward.Text = "正向(1~12)";
|
||||
this.radioButtonWeightViewReverse.Text = "反向(12~1)";
|
||||
this.labelInfo1.Text = "※ 重量不良产品筛选";
|
||||
this.labelInfo2.Text = "※ 正常产品 (选择数量未达标)";
|
||||
this.labelInfo3.Text = "※ 采样筛选 (未使用时在筛选机2中使用)";
|
||||
|
||||
this.labelInfo1.Text = "※ 重量不良产品筛选";
|
||||
this.labelInfo2.Text = "※ 正常产品 (选择数量未达标)";
|
||||
this.labelInfo3.Text = "※ 采样筛选 (未使用时在筛选机2中使用)";
|
||||
this.labelBuadrateWarning.Text = "※ 电源重启后,设置会自动更新";
|
||||
this.labelBuadrateWarning2.Text = "※ 除了工程师之外,不要改变这个值";
|
||||
|
||||
this.labelBuadrateWarning.Text = "※ 电源重启后,设置会自动更新";
|
||||
this.labelBuadrateWarning2.Text = "※ 除了工程师之外,不要改变这个值";
|
||||
this.buttonEachNG.DownImage = this.buttonLogin.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnOn_84X25));
|
||||
this.buttonEachNG.UpImage = this.buttonLogin.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnOff_84X25));
|
||||
|
||||
this.buttonEachNG.DownImage = this.buttonLogin.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnOn_84X25));
|
||||
this.buttonEachNG.UpImage = this.buttonLogin.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnOff_84X25));
|
||||
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));
|
||||
|
||||
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));
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Nastavení zařízení";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.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)
|
||||
{
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Nastavení zařízení";
|
||||
this.labelStaticLane.Text = "Řada";
|
||||
this.labelStaticOrder.Text = "Zobrazení hmotnosti";
|
||||
this.labelStaticIndividualNG.Text = "Individuální vyřazování";
|
||||
this.labelStaticLanguage.Text = "Jazyk";
|
||||
this.labelStaticSorter1Location.Text = "Vyřazovač1 umístění";
|
||||
this.labelStaticSorter2Location.Text = "Vyřazovač2 umístění";
|
||||
this.labelStaticSorter3Location.Text = "Vyřazovač3 umístění";
|
||||
this.labelStaticLogin.Text = "Přihlásit se";
|
||||
this.labelStaticEmptyWeight.Text = "Nastavení prázdné hmotnosti";
|
||||
this.labelStaticMotor.Text = "Motor";
|
||||
this.labelStaticWeightLimitIgnoreCount.Text = "hmotnostní limit - ignorovat počet";
|
||||
|
||||
this.labelStaticLane.Text = "Řada";
|
||||
this.labelStaticOrder.Text = "Zobrazení hmotnosti";
|
||||
this.labelStaticIndividualNG.Text = "Individuální vyřazování";
|
||||
this.labelStaticLanguage.Text = "Jazyk";
|
||||
this.labelStaticSorter1Location.Text = "Vyřazovač1 umístění";
|
||||
this.labelStaticSorter2Location.Text = "Vyřazovač2 umístění";
|
||||
this.labelStaticSorter3Location.Text = "Vyřazovač3 umístění";
|
||||
this.labelStaticLogin.Text = "Přihlásit se";
|
||||
this.labelStaticEmptyWeight.Text = "Nastavení prázdné hmotnosti";
|
||||
this.labelStaticMotor.Text = "Motor";
|
||||
this.labelStaticWeightLimitIgnoreCount.Text = "hmotnostní limit - ignorovat počet";
|
||||
this.labelInfo1.Text = "※ Třídění NG produktů podle hmotnosti";
|
||||
this.labelInfo2.Text = "※ Normální produkt (vybrán pod množstvím)";
|
||||
this.labelInfo3.Text = "※ Třídění vzorků (pokud není použito, použijte v třídiči 2)";
|
||||
|
||||
this.labelInfo1.Text = "※ Třídění NG produktů podle hmotnosti";
|
||||
this.labelInfo2.Text = "※ Normální produkt (vybrán pod množstvím)";
|
||||
this.labelInfo3.Text = "※ Třídění vzorků (pokud není použito, použijte v třídiči 2)";
|
||||
this.labelBuadrateWarning.Text = "※ Po změně nastavení vypněte a znovu zapněte napájení";
|
||||
this.labelBuadrateWarning2.Text = "※ Nezměňujte hodnotu kromě inženýra";
|
||||
|
||||
this.labelBuadrateWarning.Text = "※ Po změně nastavení vypněte a znovu zapněte napájení";
|
||||
this.labelBuadrateWarning2.Text = "※ Nezměňujte hodnotu kromě inženýra";
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveUp));
|
||||
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Vorrichtungeinstellung";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
#region German
|
||||
this.labelTitle.Text = "Vorrichtungeinstellung";
|
||||
this.radioButtonWeightViewForward.Text = "Vorwärts(1~12)";
|
||||
this.radioButtonWeightViewReverse.Text = "Rückwärts(1~12)";
|
||||
|
||||
this.radioButtonWeightViewForward.Text = "Vorwärts(1~12)";
|
||||
this.radioButtonWeightViewReverse.Text = "Rückwärts(1~12)";
|
||||
this.labelStaticLane.Text = "Reihe";
|
||||
this.labelStaticSorter1Location.Text = "Sortierer1 Standort";
|
||||
this.labelStaticSorter2Location.Text = "Sortierer2 Standort";
|
||||
this.labelStaticSorter3Location.Text = "Sortierer3 Standort";
|
||||
this.labelStaticLogin.Text = "Einloggen";
|
||||
this.labelStaticIndividualNG.Text = "Individuelle Aussortierung";
|
||||
this.labelStaticOrder.Text = "Gewichtsanzeige";
|
||||
this.labelStaticLanguage.Text = "Sprache";
|
||||
this.labelStaticEmptyWeight.Text = "Leergewichtseinstellung";
|
||||
this.labelStaticMotor.Text = "Motor";
|
||||
this.labelStaticWeightLimitIgnoreCount.Text = "Gewichtsgrenze - Zählung ignorieren";
|
||||
|
||||
this.labelStaticLane.Text = "Reihe";
|
||||
this.labelStaticSorter1Location.Text = "Sortierer1 Standort";
|
||||
this.labelStaticSorter2Location.Text = "Sortierer2 Standort";
|
||||
this.labelStaticSorter3Location.Text = "Sortierer3 Standort";
|
||||
this.labelStaticLogin.Text = "Einloggen";
|
||||
this.labelStaticIndividualNG.Text = "Individuelle Aussortierung";
|
||||
this.labelStaticOrder.Text = "Gewichtsanzeige";
|
||||
this.labelStaticLanguage.Text = "Sprache";
|
||||
this.labelStaticEmptyWeight.Text = "Leergewichtseinstellung";
|
||||
this.labelStaticMotor.Text = "Motor";
|
||||
this.labelStaticWeightLimitIgnoreCount.Text = "Gewichtsgrenze - Zählung ignorieren";
|
||||
this.labelInfo1.Text = "※ Sortieren von NG-Produkten nach Gewicht";
|
||||
this.labelInfo2.Text = "※ Normales Produkt (ausgewählt unter Menge)";
|
||||
this.labelInfo3.Text = "※ Sampling Sorting (falls nicht verwendet, in Sortierer 2 verwenden)";
|
||||
|
||||
this.labelInfo1.Text = "※ Sortieren von NG-Produkten nach Gewicht";
|
||||
this.labelInfo2.Text = "※ Normales Produkt (ausgewählt unter Menge)";
|
||||
this.labelInfo3.Text = "※ Sampling Sorting (falls nicht verwendet, in Sortierer 2 verwenden)";
|
||||
this.labelBuadrateWarning.Text = "※ Stellen Sie nach dem Einstellen des Servoantriebs sicher, Mit dem Hauptschalter aus- und einschalten";
|
||||
this.labelBuadrateWarning2.Text = "※ Werte dürfen nur vom Servicetechniker des Herstellers geändert werden";
|
||||
|
||||
this.labelBuadrateWarning.Text = "※ Stellen Sie nach dem Einstellen des Servoantriebs sicher, Mit dem Hauptschalter aus- und einschalten";
|
||||
this.labelBuadrateWarning2.Text = "※ Werte dürfen nur vom Servicetechniker des Herstellers geändert werden";
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveUp));
|
||||
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "装置設定";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
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)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Initialization";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.labelTitle.Text = "Initialization";
|
||||
this.labelResetWait.Text = "Wait a minute...";
|
||||
this.labelResetRestart.Text = "Turn the power off and back on";
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "回复出厂设置";
|
||||
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "回复出厂设置";
|
||||
this.labelResetWait.Text = "请稍等...";
|
||||
this.labelResetRestart.Text = "关掉电源,然后在打开电源";
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Tovární nastavení";
|
||||
|
||||
this.labelResetWait.Text = "请稍等...";
|
||||
this.labelResetRestart.Text = "关掉电源,然后在打开电源";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.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.";
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Werkseinstellung";
|
||||
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "Werkseinstellung";
|
||||
|
||||
this.labelResetWait.Text = "Initialisierung wird ausgeführt";
|
||||
this.labelResetRestart.Text = "Mit dem Hauptschalter aus- und einschalten";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.labelResetWait.Text = "Initialisierung wird ausgeführt";
|
||||
this.labelResetRestart.Text = "Mit dem Hauptschalter aus- und einschalten";
|
||||
#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)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "I/O Test";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "I/O测试";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||
this.buttonBack.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)
|
||||
{
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Test 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)
|
||||
{
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "I/O Test";
|
||||
|
||||
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)
|
||||
{
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "I/O テスト";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.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,57 +44,72 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Information";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.labelTitle.Text = "Information";
|
||||
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;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.labelTitle.Text = "信息";
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenUp));
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Informace o systému";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnScreenUp));
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "Informace o systému";
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Systeminformation";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeScreenUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.labelTitle.Text = "Systeminformation";
|
||||
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonScreen.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDisable));
|
||||
this.buttonScreen.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenDown));
|
||||
this.buttonScreen.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerScreenUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
#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,354 +89,387 @@ 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)
|
||||
{
|
||||
#region Korean
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
case DataStore.LanguageID.Korean:
|
||||
#region Korean
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuUp));
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == 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));
|
||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainPassDown));
|
||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainPassUp));
|
||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainUnderDown));
|
||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainUnderUp));
|
||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainTareDown));
|
||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainTareUp));
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.korFormMainMenuUp));
|
||||
}
|
||||
#endregion
|
||||
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));
|
||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainPassDown));
|
||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainPassUp));
|
||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainUnderDown));
|
||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainUnderUp));
|
||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainTareDown));
|
||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainTareUp));
|
||||
|
||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainZeroDown));
|
||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainZeroUp));
|
||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearDisable));
|
||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearDown));
|
||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearUp));
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainZeroDown));
|
||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainZeroUp));
|
||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearDisable));
|
||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearDown));
|
||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainClearUp));
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuUp));
|
||||
}
|
||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuDisable));
|
||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuDown));
|
||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuUp));
|
||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuNGUp));
|
||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuPassUp));
|
||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuContinueUp));
|
||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuOnceUp));
|
||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuContinueUp));
|
||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuOnceUp));
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainMenuUp));
|
||||
}
|
||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuDisable));
|
||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuDown));
|
||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormMainSubMenuUp));
|
||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuNGUp));
|
||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuPassUp));
|
||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuContinueUp));
|
||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuOnceUp));
|
||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuContinueUp));
|
||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSubMenuOnceUp));
|
||||
|
||||
this.groupBoxSorter.Text = "Sorter settings";
|
||||
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
|
||||
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
|
||||
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
|
||||
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
|
||||
this.labelStaticSorter3DelayTime.Text = "Sorter3 Delay";
|
||||
this.labelStaticSorter3RunTime.Text = "Sorter3 Run";
|
||||
this.labelStaticEntryGateDelayTime.Text = "Entry gate delay";
|
||||
this.labelStaticEntryGateRunTime.Text = "Entry gate run";
|
||||
this.labelStaticDischargeStopperDelayTime.Font = font;
|
||||
this.labelStaticDischargeStopperDelayTime.Text = "Discharge stopper delay";
|
||||
this.labelStaticDischargeStopperRunTime.Font = font;
|
||||
this.labelStaticDischargeStopperRunTime.Text = "Discharge stopper run";
|
||||
this.groupBoxSorter.Text = "Sorter settings";
|
||||
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
|
||||
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
|
||||
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
|
||||
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
|
||||
this.labelStaticSorter3DelayTime.Text = "Sorter3 Delay";
|
||||
this.labelStaticSorter3RunTime.Text = "Sorter3 Run";
|
||||
this.labelStaticEntryGateDelayTime.Text = "Entry gate delay";
|
||||
this.labelStaticEntryGateRunTime.Text = "Entry gate run";
|
||||
this.labelStaticDischargeStopperDelayTime.Font = font;
|
||||
this.labelStaticDischargeStopperDelayTime.Text = "Discharge stopper delay";
|
||||
this.labelStaticDischargeStopperRunTime.Font = font;
|
||||
this.labelStaticDischargeStopperRunTime.Text = "Discharge stopper run";
|
||||
|
||||
this.groupBoxJudgmentSetting.Text = "Judgment settings";
|
||||
this.labelStaticFilter.Text = "Filter";
|
||||
this.labelStaticJudgmentDelayTime.Text = "J.Delay";
|
||||
this.labelStaticJudgmentCount.Text = "J.Count";
|
||||
this.labelStaticForcedZeroDelayTime.Text = "Forced zero delay";
|
||||
this.labelStaticTurnDelayTime.Text = "Turn Delay";
|
||||
this.groupBoxJudgmentSetting.Text = "Judgment settings";
|
||||
this.labelStaticFilter.Text = "Filter";
|
||||
this.labelStaticJudgmentDelayTime.Text = "J.Delay";
|
||||
this.labelStaticJudgmentCount.Text = "J.Count";
|
||||
this.labelStaticForcedZeroDelayTime.Text = "Forced zero delay";
|
||||
this.labelStaticTurnDelayTime.Text = "Turn Delay";
|
||||
|
||||
this.labelMessage1.Text = "Inverter Alarm";
|
||||
this.labelMessage3.Text = "Pinch point Alarm";
|
||||
this.labelMessage5.Text = "Please set the servo motor origin";
|
||||
this.labelMessage1.Text = "Inverter Alarm";
|
||||
this.labelMessage3.Text = "Pinch point Alarm";
|
||||
this.labelMessage5.Text = "Please set the servo motor origin";
|
||||
|
||||
this.labelStaticSamplingCount.Text = "Count";
|
||||
this.labelStaticSamplingTime.Text = "Time(min)";
|
||||
this.labelStaticSamplingCount.Text = "Count";
|
||||
this.labelStaticSamplingTime.Text = "Time(min)";
|
||||
|
||||
this.labelStaticOverRange.Text = "Over";
|
||||
this.labelStaticPassRange.Text = "Pass";
|
||||
this.labelStaticUnderRange.Text = "Under";
|
||||
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == 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));
|
||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainPassDown));
|
||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainPassUp));
|
||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainUnderDown));
|
||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainUnderUp));
|
||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainTareDown));
|
||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainTareUp));
|
||||
this.labelStaticOverRange.Text = "Over";
|
||||
this.labelStaticPassRange.Text = "Pass";
|
||||
this.labelStaticUnderRange.Text = "Under";
|
||||
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
||||
#endregion
|
||||
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));
|
||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainPassDown));
|
||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainPassUp));
|
||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainUnderDown));
|
||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainUnderUp));
|
||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainTareDown));
|
||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainTareUp));
|
||||
|
||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainZeroDown));
|
||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainZeroUp));
|
||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearDisable));
|
||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearDown));
|
||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearUp));
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainZeroDown));
|
||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainZeroUp));
|
||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearDisable));
|
||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearDown));
|
||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainClearUp));
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuUp));
|
||||
}
|
||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuDisable));
|
||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuDown));
|
||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuUp));
|
||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuNGUp));
|
||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuPassUp));
|
||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuContinueUp));
|
||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuOnceUp));
|
||||
this.buttonUser.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLoginDisable));
|
||||
this.buttonUser.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLogOutDown));
|
||||
this.buttonUser.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLoginUp));
|
||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuContinueUp));
|
||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuOnceUp));
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainMenuUp));
|
||||
}
|
||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuDisable));
|
||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuDown));
|
||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainSubMenuUp));
|
||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuNGUp));
|
||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuPassUp));
|
||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuContinueUp));
|
||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuOnceUp));
|
||||
this.buttonUser.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLoginDisable));
|
||||
this.buttonUser.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLogOutDown));
|
||||
this.buttonUser.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormMainLoginUp));
|
||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuContinueUp));
|
||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnSubMenuOnceUp));
|
||||
|
||||
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.Text = "出料限位器延迟时间";
|
||||
this.labelStaticDischargeStopperRunTime.Text = "出料限位器动作时间";
|
||||
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.Text = "出料限位器延迟时间";
|
||||
this.labelStaticDischargeStopperRunTime.Text = "出料限位器动作时间";
|
||||
|
||||
this.groupBoxJudgmentSetting.Text = "判断设置";
|
||||
this.labelStaticFilter.Text = "滤波器";
|
||||
this.labelStaticJudgmentDelayTime.Text = "判断延迟";
|
||||
this.labelStaticJudgmentCount.Text = "重复延迟";
|
||||
this.labelStaticTurnDelayTime.Text = "旋转延迟";
|
||||
this.labelStaticForcedZeroDelayTime.Text = "零延迟时间";
|
||||
this.groupBoxJudgmentSetting.Text = "判断设置";
|
||||
this.labelStaticFilter.Text = "滤波器";
|
||||
this.labelStaticJudgmentDelayTime.Text = "判断延迟";
|
||||
this.labelStaticJudgmentCount.Text = "重复延迟";
|
||||
this.labelStaticTurnDelayTime.Text = "旋转延迟";
|
||||
this.labelStaticForcedZeroDelayTime.Text = "零延迟时间";
|
||||
|
||||
this.labelMessage1.Text = "变频器报警";
|
||||
this.labelMessage3.Text = "Pinch point Alarm";
|
||||
this.labelMessage5.Text = "伺服电机不在远点";
|
||||
this.buttonClose.Text = "关闭";
|
||||
this.labelMessage1.Text = "变频器报警";
|
||||
this.labelMessage3.Text = "Pinch point Alarm";
|
||||
this.labelMessage5.Text = "伺服电机不在远点";
|
||||
this.buttonClose.Text = "关闭";
|
||||
|
||||
this.labelTitleTotalCount.Text = "计数";
|
||||
this.labelTitleNG.Text = "不良";
|
||||
this.labelTitleBypass.Text = "选别选项";
|
||||
this.labelTitleScreen.Text = "屏幕";
|
||||
this.labelTitleTotalCount.Text = "计数";
|
||||
this.labelTitleNG.Text = "不良";
|
||||
this.labelTitleBypass.Text = "选别选项";
|
||||
this.labelTitleScreen.Text = "屏幕";
|
||||
|
||||
this.labelTitleSampling.Text = "取样";
|
||||
this.labelStaticSamplingCount.Text = "计数";
|
||||
this.labelStaticSamplingTime.Text = "时间(分钟)";
|
||||
this.labelTitleSampling.Text = "取样";
|
||||
this.labelStaticSamplingCount.Text = "计数";
|
||||
this.labelStaticSamplingTime.Text = "时间(分钟)";
|
||||
|
||||
this.labelStaticOverRange.Text = "上限";
|
||||
this.labelStaticPassRange.Text = "标准";
|
||||
this.labelStaticUnderRange.Text = "下限";
|
||||
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
||||
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == 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));
|
||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainPassDown));
|
||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainPassUp));
|
||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainUnderDown));
|
||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainUnderUp));
|
||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainTareDown));
|
||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainTareUp));
|
||||
this.labelStaticOverRange.Text = "上限";
|
||||
this.labelStaticPassRange.Text = "标准";
|
||||
this.labelStaticUnderRange.Text = "下限";
|
||||
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
||||
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
||||
#endregion
|
||||
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));
|
||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainPassDown));
|
||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainPassUp));
|
||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainUnderDown));
|
||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainUnderUp));
|
||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainTareDown));
|
||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainTareUp));
|
||||
|
||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainZeroDown));
|
||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainZeroUp));
|
||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearDisable));
|
||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearDown));
|
||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearUp));
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainZeroDown));
|
||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainZeroUp));
|
||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearDisable));
|
||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearDown));
|
||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainClearUp));
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuUp));
|
||||
}
|
||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuDisable));
|
||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuDown));
|
||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuUp));
|
||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuNGUp));
|
||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuPassUp));
|
||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuContinueUp));
|
||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuOnceUp));
|
||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuContinueUp));
|
||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuOnceUp));
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainMenuUp));
|
||||
}
|
||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuDisable));
|
||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuDown));
|
||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainSubMenuUp));
|
||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuNGUp));
|
||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuPassUp));
|
||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuContinueUp));
|
||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuOnceUp));
|
||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuContinueUp));
|
||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSubMenuOnceUp));
|
||||
|
||||
this.groupBoxSorter.Text = "Nastavení třídiče";
|
||||
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
|
||||
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
|
||||
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
|
||||
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
|
||||
this.labelStaticSorter3DelayTime.Text = "Vyřazovač3 Zpoždění";
|
||||
this.labelStaticSorter3RunTime.Text = "Vyřazovač3 Čas chodu";
|
||||
this.labelStaticEntryGateDelayTime.Text = "zpoždění vstupní brány";
|
||||
this.labelStaticEntryGateRunTime.Text = "Provozní vjezdové brány";
|
||||
this.labelStaticDischargeStopperDelayTime.Text = "zpoždění vybíjecí zátky";
|
||||
this.labelStaticDischargeStopperRunTime.Text = "provozu vypouštěcí zátky";
|
||||
this.groupBoxSorter.Text = "Nastavení třídiče";
|
||||
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
|
||||
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
|
||||
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
|
||||
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
|
||||
this.labelStaticSorter3DelayTime.Text = "Vyřazovač3 Zpoždění";
|
||||
this.labelStaticSorter3RunTime.Text = "Vyřazovač3 Čas chodu";
|
||||
this.labelStaticEntryGateDelayTime.Text = "zpoždění vstupní brány";
|
||||
this.labelStaticEntryGateRunTime.Text = "Provozní vjezdové brány";
|
||||
this.labelStaticDischargeStopperDelayTime.Text = "zpoždění vybíjecí zátky";
|
||||
this.labelStaticDischargeStopperRunTime.Text = "provozu vypouštěcí zátky";
|
||||
|
||||
this.groupBoxJudgmentSetting.Text = "Nastavení rozhodnutí";
|
||||
this.labelStaticFilter.Text = "Filtr";
|
||||
this.labelStaticJudgmentDelayTime.Text = "Zpoždění kapsy";
|
||||
this.labelStaticJudgmentCount.Text = "Číslo kapsy";
|
||||
this.labelStaticTurnDelayTime.Text = "Zpoždění rotace";
|
||||
this.labelStaticForcedZeroDelayTime.Font = font;
|
||||
this.labelStaticForcedZeroDelayTime.Text = "Vynucená nulového zpoždění";
|
||||
this.groupBoxJudgmentSetting.Text = "Nastavení rozhodnutí";
|
||||
this.labelStaticFilter.Text = "Filtr";
|
||||
this.labelStaticJudgmentDelayTime.Text = "Zpoždění kapsy";
|
||||
this.labelStaticJudgmentCount.Text = "Číslo kapsy";
|
||||
this.labelStaticTurnDelayTime.Text = "Zpoždění rotace";
|
||||
this.labelStaticForcedZeroDelayTime.Font = font;
|
||||
this.labelStaticForcedZeroDelayTime.Text = "Vynucená nulového zpoždění";
|
||||
|
||||
this.labelMessage1.Text = "Invertor měniče";
|
||||
this.labelMessage3.Text = "Pinch point Alarm";
|
||||
this.labelMessage5.Text = "Nastavte prosím původ servomotoru";
|
||||
this.labelMessage1.Text = "Invertor měniče";
|
||||
this.labelMessage3.Text = "Pinch point Alarm";
|
||||
this.labelMessage5.Text = "Nastavte prosím původ servomotoru";
|
||||
|
||||
this.labelTitleSampling.Text = "vzorkování";
|
||||
this.labelStaticSamplingCount.Text = "Počet";
|
||||
this.labelStaticSamplingTime.Text = "Čas(min)";
|
||||
this.labelTitleSampling.Text = "vzorkování";
|
||||
this.labelStaticSamplingCount.Text = "Počet";
|
||||
this.labelStaticSamplingTime.Text = "Čas(min)";
|
||||
|
||||
this.labelStaticOverRange.Text = "Max.";
|
||||
this.labelStaticPassRange.Text = "Váha";
|
||||
this.labelStaticUnderRange.Text = "Min.";
|
||||
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
||||
#endregion
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == 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));
|
||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainPassDown));
|
||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainPassUp));
|
||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainUnderDown));
|
||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainUnderUp));
|
||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainTareDown));
|
||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainTareUp));
|
||||
this.labelStaticOverRange.Text = "Max.";
|
||||
this.labelStaticPassRange.Text = "Váha";
|
||||
this.labelStaticUnderRange.Text = "Min.";
|
||||
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
||||
#endregion
|
||||
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));
|
||||
this.buttonPass.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainPassDown));
|
||||
this.buttonPass.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainPassUp));
|
||||
this.buttonUnder.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainUnderDown));
|
||||
this.buttonUnder.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainUnderUp));
|
||||
this.buttonTare.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainTareDown));
|
||||
this.buttonTare.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainTareUp));
|
||||
|
||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainZeroDown));
|
||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainZeroUp));
|
||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearDisable));
|
||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearDown));
|
||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearUp));
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
this.buttonScaleZero.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainZeroDown));
|
||||
this.buttonScaleZero.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainZeroUp));
|
||||
this.buttonClear.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearDisable));
|
||||
this.buttonClear.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearDown));
|
||||
this.buttonClear.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainClearUp));
|
||||
if (this.ParentForm.SystemConfig.IsLogin == true)
|
||||
{
|
||||
this.buttonMenu.Location = new Point(929, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuSmallUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.buttonMenu.Location = new Point(839, 666);
|
||||
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuUp));
|
||||
}
|
||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuDisable));
|
||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuDown));
|
||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuUp));
|
||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuNGUp));
|
||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuPassUp));
|
||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuContinueUp));
|
||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuOnceUp));
|
||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuContinueUp));
|
||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuOnceUp));
|
||||
this.buttonMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuDisable));
|
||||
this.buttonMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuDown));
|
||||
this.buttonMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainMenuUp));
|
||||
}
|
||||
this.buttonSubMenu.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuDisable));
|
||||
this.buttonSubMenu.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuDown));
|
||||
this.buttonSubMenu.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormMainSubMenuUp));
|
||||
this.buttonBypassDirection.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuNGUp));
|
||||
this.buttonBypassDirection.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuPassUp));
|
||||
this.buttonBypassOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuContinueUp));
|
||||
this.buttonBypassOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuOnceUp));
|
||||
this.buttonSamplingOnce.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuContinueUp));
|
||||
this.buttonSamplingOnce.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSubMenuOnceUp));
|
||||
|
||||
this.groupBoxSorter.Text = "Sortierereinstellung";
|
||||
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
|
||||
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
|
||||
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
|
||||
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
|
||||
this.labelStaticSorter3DelayTime.Text = "Sortierer3 Vezögerung";
|
||||
this.labelStaticSorter3RunTime.Text = "Sortierer3 Laufzeit";
|
||||
this.labelStaticEntryGateDelayTime.Font = font;
|
||||
this.labelStaticEntryGateDelayTime.Text = "Verzögerungszeit Eingangstors";
|
||||
this.labelStaticEntryGateRunTime.Font = font;
|
||||
this.labelStaticEntryGateRunTime.Text = "Einfahrtstor Betriebszeit";
|
||||
this.labelStaticDischargeStopperDelayTime.Font = font;
|
||||
this.labelStaticDischargeStopperDelayTime.Text = "Verzögerungszeit Entladestoppers";
|
||||
this.labelStaticDischargeStopperRunTime.Font = font;
|
||||
this.labelStaticDischargeStopperRunTime.Text = "Betriebszeit Entladungsstoppers";
|
||||
this.groupBoxSorter.Text = "Sortierereinstellung";
|
||||
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
|
||||
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
|
||||
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
|
||||
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
|
||||
this.labelStaticSorter3DelayTime.Text = "Sortierer3 Vezögerung";
|
||||
this.labelStaticSorter3RunTime.Text = "Sortierer3 Laufzeit";
|
||||
this.labelStaticEntryGateDelayTime.Font = font;
|
||||
this.labelStaticEntryGateDelayTime.Text = "Verzögerungszeit Eingangstors";
|
||||
this.labelStaticEntryGateRunTime.Font = font;
|
||||
this.labelStaticEntryGateRunTime.Text = "Einfahrtstor Betriebszeit";
|
||||
this.labelStaticDischargeStopperDelayTime.Font = font;
|
||||
this.labelStaticDischargeStopperDelayTime.Text = "Verzögerungszeit Entladestoppers";
|
||||
this.labelStaticDischargeStopperRunTime.Font = font;
|
||||
this.labelStaticDischargeStopperRunTime.Text = "Betriebszeit Entladungsstoppers";
|
||||
|
||||
this.groupBoxJudgmentSetting.Text = "Tascheneinstellung";
|
||||
this.labelStaticFilter.Text = "Filter";
|
||||
this.labelStaticJudgmentDelayTime.Text = "Taschenverzögerung";
|
||||
this.labelStaticJudgmentCount.Text = "Taschennummer";
|
||||
this.labelStaticTurnDelayTime.Text = "Rotationsverzögerung";
|
||||
this.labelStaticForcedZeroDelayTime.Font = font;
|
||||
this.labelStaticForcedZeroDelayTime.Text = "Erzwungene Null-Verzögerung";
|
||||
this.groupBoxJudgmentSetting.Text = "Tascheneinstellung";
|
||||
this.labelStaticFilter.Text = "Filter";
|
||||
this.labelStaticJudgmentDelayTime.Text = "Taschenverzögerung";
|
||||
this.labelStaticJudgmentCount.Text = "Taschennummer";
|
||||
this.labelStaticTurnDelayTime.Text = "Rotationsverzögerung";
|
||||
this.labelStaticForcedZeroDelayTime.Font = font;
|
||||
this.labelStaticForcedZeroDelayTime.Text = "Erzwungene Null-Verzögerung";
|
||||
|
||||
this.labelMessage1.Text = "Wechselrichteralarm";
|
||||
this.labelMessage3.Text = "Pinch point Alarm";
|
||||
this.labelMessage5.Text = "Bitte stellen Sie den Ursprung des Servomotors ein";
|
||||
this.labelMessage1.Text = "Wechselrichteralarm";
|
||||
this.labelMessage3.Text = "Pinch point Alarm";
|
||||
this.labelMessage5.Text = "Bitte stellen Sie den Ursprung des Servomotors ein";
|
||||
|
||||
this.labelTitleSampling.Text = "Probenahme";
|
||||
this.labelStaticSamplingCount.Text = "Zahl";
|
||||
this.labelStaticSamplingTime.Text = "Zeit(min)";
|
||||
this.labelTitleSampling.Text = "Probenahme";
|
||||
this.labelStaticSamplingCount.Text = "Zahl";
|
||||
this.labelStaticSamplingTime.Text = "Zeit(min)";
|
||||
|
||||
this.labelStaticOverRange.Text = "Max.";
|
||||
this.labelStaticPassRange.Text = "Bestehen";
|
||||
this.labelStaticUnderRange.Text = "Min.";
|
||||
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
||||
#endregion
|
||||
}
|
||||
else
|
||||
{
|
||||
this.labelStaticOverRange.Text = "Max.";
|
||||
this.labelStaticPassRange.Text = "Bestehen";
|
||||
this.labelStaticUnderRange.Text = "Min.";
|
||||
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
||||
#endregion
|
||||
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
|
||||
group = "Level1";
|
||||
|
||||
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
|
||||
group = "Level2";
|
||||
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
|
||||
group = "Level3";
|
||||
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
|
||||
group = "Level4";
|
||||
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,120 +49,148 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
this.labelTitleMessage4.Text = "";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.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));
|
||||
case DataStore.LanguageID.Korean:
|
||||
this.labelTitleMessage4.Text = "";
|
||||
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));
|
||||
|
||||
this.buttonOrigin.Text = "Origin";
|
||||
this.buttonAlarmReset.Text = "Alarm Reset";
|
||||
this.buttonOrigin.Text = "Origin";
|
||||
this.buttonAlarmReset.Text = "Alarm Reset";
|
||||
|
||||
this.labelTitle.Text = "Motor settings";
|
||||
this.labelTitleOriginOffsets.Text = "Origin offsets";
|
||||
this.labelTitleOriginSpeed.Text = "Origin speed";
|
||||
this.labelTitleSpeed1.Text = "Speed1";
|
||||
this.labelTitleAcceleration1.Text = "Acceleration1";
|
||||
this.labelTitleDeceleration1.Text = "Deceleration1";
|
||||
this.labelTitlePosition0.Text = "Position0";
|
||||
this.labelTitlePosition1.Text = "Position1";
|
||||
this.labelTitlePosition2.Text = "Position2";
|
||||
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 = "";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.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));
|
||||
this.labelTitle.Text = "Motor settings";
|
||||
this.labelTitleOriginOffsets.Text = "Origin offsets";
|
||||
this.labelTitleOriginSpeed.Text = "Origin speed";
|
||||
this.labelTitleSpeed1.Text = "Speed1";
|
||||
this.labelTitleAcceleration1.Text = "Acceleration1";
|
||||
this.labelTitleDeceleration1.Text = "Deceleration1";
|
||||
this.labelTitlePosition0.Text = "Position0";
|
||||
this.labelTitlePosition1.Text = "Position1";
|
||||
this.labelTitlePosition2.Text = "Position2";
|
||||
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;
|
||||
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));
|
||||
|
||||
this.buttonOpen.Text = "开";
|
||||
this.buttonClose.Text = "关闭";
|
||||
this.buttonParameterRead.Text = "全部读取";
|
||||
this.buttonEEPROM.Text = "全部保存";
|
||||
this.buttonOrigin.Text = "原点";
|
||||
this.buttonAlarmReset.Text = "警报复位";
|
||||
this.buttonStep.Text = "步";
|
||||
this.buttonOpen.Text = "开";
|
||||
this.buttonClose.Text = "关闭";
|
||||
this.buttonParameterRead.Text = "全部读取";
|
||||
this.buttonEEPROM.Text = "全部保存";
|
||||
this.buttonOrigin.Text = "原点";
|
||||
this.buttonAlarmReset.Text = "警报复位";
|
||||
this.buttonStep.Text = "步";
|
||||
|
||||
this.labelTitle.Text = "设置电机";
|
||||
this.labelTitleID.Text = "身份证";
|
||||
this.labelTitleOriginOffsets.Text = "原点复位";
|
||||
this.labelTitleOriginSpeed.Text = "原点速度";
|
||||
this.labelTitleSpeed1.Text = "速度1";
|
||||
this.labelTitleAcceleration1.Text = "加速 1";
|
||||
this.labelTitleDeceleration1.Text = "减速 1";
|
||||
this.labelTitlePosition0.Text = "位置0";
|
||||
this.labelTitlePosition1.Text = "位置1";
|
||||
this.labelTitlePosition2.Text = "位置2";
|
||||
this.labelTitleMessage1.Text = "设置后请务必点击[全部保存]";
|
||||
this.labelTitleMessage2.Text = "";
|
||||
this.labelTitleMessage3.Text = "点转运行操作结束后务必实行原点复位.";
|
||||
this.labelTitleMessage4.Text = "";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.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));
|
||||
this.labelTitle.Text = "设置电机";
|
||||
this.labelTitleID.Text = "身份证";
|
||||
this.labelTitleOriginOffsets.Text = "原点复位";
|
||||
this.labelTitleOriginSpeed.Text = "原点速度";
|
||||
this.labelTitleSpeed1.Text = "速度1";
|
||||
this.labelTitleAcceleration1.Text = "加速 1";
|
||||
this.labelTitleDeceleration1.Text = "减速 1";
|
||||
this.labelTitlePosition0.Text = "位置0";
|
||||
this.labelTitlePosition1.Text = "位置1";
|
||||
this.labelTitlePosition2.Text = "位置2";
|
||||
this.labelTitleMessage1.Text = "设置后请务必点击[全部保存]";
|
||||
this.labelTitleMessage2.Text = "";
|
||||
this.labelTitleMessage3.Text = "点转运行操作结束后务必实行原点复位.";
|
||||
this.labelTitleMessage4.Text = "";
|
||||
#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));
|
||||
|
||||
this.buttonOpen.Text = "Otevřít";
|
||||
this.buttonClose.Text = "Zavřít";
|
||||
this.buttonParameterRead.Text = "Přečíst vše";
|
||||
this.buttonOrigin.Text = "Původ";
|
||||
this.buttonAlarmReset.Text = "Reset alarmu";
|
||||
this.buttonStep.Text = "Krok";
|
||||
this.buttonOpen.Text = "Otevřít";
|
||||
this.buttonClose.Text = "Zavřít";
|
||||
this.buttonParameterRead.Text = "Přečíst vše";
|
||||
this.buttonOrigin.Text = "Původ";
|
||||
this.buttonAlarmReset.Text = "Reset alarmu";
|
||||
this.buttonStep.Text = "Krok";
|
||||
|
||||
this.labelTitle.Text = "Nastavení motoru";
|
||||
this.labelTitleID.Text = "ID";
|
||||
this.labelTitleOriginOffsets.Text = "Ofset(Původ)";
|
||||
this.labelTitleOriginSpeed.Text = "Rychlost(Původ)";
|
||||
this.labelTitleSpeed1.Text = "Rychlost 1";
|
||||
this.labelTitleAcceleration1.Text = "Zrychlení 1";
|
||||
this.labelTitleDeceleration1.Text = "Zpomalení 1";
|
||||
this.labelTitlePosition0.Text = "Pozice 0";
|
||||
this.labelTitlePosition1.Text = "Pozice 1";
|
||||
this.labelTitlePosition2.Text = "Pozice 2";
|
||||
this.labelTitleMessage1.Text = "Po nastavení servozesilovače";
|
||||
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)
|
||||
{
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
this.labelTitle.Text = "Nastavení motoru";
|
||||
this.labelTitleID.Text = "ID";
|
||||
this.labelTitleOriginOffsets.Text = "Ofset(Původ)";
|
||||
this.labelTitleOriginSpeed.Text = "Rychlost(Původ)";
|
||||
this.labelTitleSpeed1.Text = "Rychlost 1";
|
||||
this.labelTitleAcceleration1.Text = "Zrychlení 1";
|
||||
this.labelTitleDeceleration1.Text = "Zpomalení 1";
|
||||
this.labelTitlePosition0.Text = "Pozice 0";
|
||||
this.labelTitlePosition1.Text = "Pozice 1";
|
||||
this.labelTitlePosition2.Text = "Pozice 2";
|
||||
this.labelTitleMessage1.Text = "Po nastavení servozesilovače";
|
||||
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í.";
|
||||
#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));
|
||||
|
||||
this.buttonOpen.Text = "Öffnen";
|
||||
this.buttonClose.Text = "Schließen";
|
||||
this.buttonParameterRead.Text = "Alles lesen";
|
||||
this.buttonOrigin.Text = "Ursprung";
|
||||
this.buttonStep.Text = "Schritt";
|
||||
this.buttonOpen.Text = "Öffnen";
|
||||
this.buttonClose.Text = "Schließen";
|
||||
this.buttonParameterRead.Text = "Alles lesen";
|
||||
this.buttonOrigin.Text = "Ursprung";
|
||||
this.buttonStep.Text = "Schritt";
|
||||
|
||||
this.labelTitle.Text = "Motoreinstellung";
|
||||
this.labelTitleID.Text = "ID";
|
||||
this.labelTitleOriginOffsets.Text = "Ursprungsoffset";
|
||||
this.labelTitleOriginSpeed.Text = "Ursprungsgeschwindigkeit";
|
||||
this.labelTitleSpeed1.Text = "Geschwindigkeit 1";
|
||||
this.labelTitleAcceleration1.Text = "Beschleunigung 1";
|
||||
this.labelTitleDeceleration1.Text = "Verzögerung 1";
|
||||
this.labelTitlePosition0.Text = "Position 0";
|
||||
this.labelTitlePosition1.Text = "Position 1";
|
||||
this.labelTitlePosition2.Text = "Position 2";
|
||||
this.labelTitleMessage1.Text = "Stellen Sie nach dem Einstellen des Servoantriebs";
|
||||
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
|
||||
{
|
||||
this.labelTitle.Text = "Motoreinstellung";
|
||||
this.labelTitleID.Text = "ID";
|
||||
this.labelTitleOriginOffsets.Text = "Ursprungsoffset";
|
||||
this.labelTitleOriginSpeed.Text = "Ursprungsgeschwindigkeit";
|
||||
this.labelTitleSpeed1.Text = "Geschwindigkeit 1";
|
||||
this.labelTitleAcceleration1.Text = "Beschleunigung 1";
|
||||
this.labelTitleDeceleration1.Text = "Verzögerung 1";
|
||||
this.labelTitlePosition0.Text = "Position 0";
|
||||
this.labelTitlePosition1.Text = "Position 1";
|
||||
this.labelTitlePosition2.Text = "Position 2";
|
||||
this.labelTitleMessage1.Text = "Stellen Sie nach dem Einstellen des Servoantriebs";
|
||||
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.";
|
||||
#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));
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "更新";
|
||||
this.labelUpdateWait.Text = "请稍等...";
|
||||
this.labelUpdateWait2.Text = "请勿断开USB";
|
||||
this.labelUpdateRestart.Text = "关掉电源,然后在打开电源";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.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)
|
||||
{
|
||||
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
|
||||
{
|
||||
|
||||
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";
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "更新";
|
||||
this.labelUpdateWait.Text = "请稍等...";
|
||||
this.labelUpdateWait2.Text = "请勿断开USB";
|
||||
this.labelUpdateRestart.Text = "关掉电源,然后在打开电源";
|
||||
#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.";
|
||||
#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";
|
||||
#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,209 +56,261 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "System settings";
|
||||
this.groupBoxProduct.Text = "Setting product";
|
||||
this.groupBoxJudgment.Text = "Setting Judgment";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.labelTitle.Text = "System settings";
|
||||
this.groupBoxProduct.Text = "Setting product";
|
||||
this.groupBoxJudgment.Text = "Setting Judgment";
|
||||
this.labelStaticOverRange.Text = "Over";
|
||||
this.labelStaticPassRange.Text = "Pass";
|
||||
this.labelStaticUnderRange.Text = "Under";
|
||||
this.labelStaticTareRange.Text = "Tare";
|
||||
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
||||
|
||||
this.labelStaticOverRange.Text = "Over";
|
||||
this.labelStaticPassRange.Text = "Pass";
|
||||
this.labelStaticUnderRange.Text = "Under";
|
||||
this.labelStaticTareRange.Text = "Tare";
|
||||
this.labelStaticOverRangeLimit.Text = "Over Limit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Under Limit";
|
||||
this.buttonWeightReference.Text = "Reference";
|
||||
this.labelStaticJudgment.Text = "Result";
|
||||
this.labelStaticFilter.Text = "Filter";
|
||||
this.labelStaticJudgmentDelayTime.Text = "J.Delay";
|
||||
this.labelStaticTurnDelayTime.Text = "Turn Delay";
|
||||
this.labelTitleFeedSpeed.Text = "Feed Speed";
|
||||
this.labelStaticJudgmentCount.Text = "J.count";
|
||||
this.labelStaticDynamic.Text = "Dynamic";
|
||||
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
|
||||
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
|
||||
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
|
||||
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
|
||||
this.labelStaticSorter3DelayTime.Text = "Sorter3 Delay";
|
||||
this.labelStaticSorter3RunTime.Text = "Sorter3 Run";
|
||||
this.labelStaticOriginOffset.Text = "Origin Offset";
|
||||
this.labelStaticTorque.Text = "Torque";
|
||||
|
||||
this.buttonWeightReference.Text = "Reference";
|
||||
this.labelStaticJudgment.Text = "Result";
|
||||
this.labelStaticFilter.Text = "Filter";
|
||||
this.labelStaticJudgmentDelayTime.Text = "J.Delay";
|
||||
this.labelStaticTurnDelayTime.Text = "Turn Delay";
|
||||
this.labelTitleFeedSpeed.Text = "Feed Speed";
|
||||
this.labelStaticJudgmentCount.Text = "J.count";
|
||||
this.labelStaticDynamic.Text = "Dynamic";
|
||||
this.labelStaticSorter1DelayTime.Text = "Sorter1 Delay";
|
||||
this.labelStaticSorter1RunTime.Text = "Sorter1 Run";
|
||||
this.labelStaticSorter2DelayTime.Text = "Sorter2 Delay";
|
||||
this.labelStaticSorter2RunTime.Text = "Sorter2 Run";
|
||||
this.labelStaticSorter3DelayTime.Text = "Sorter3 Delay";
|
||||
this.labelStaticSorter3RunTime.Text = "Sorter3 Run";
|
||||
this.labelStaticOriginOffset.Text = "Origin Offset";
|
||||
this.labelStaticTorque.Text = "Torque";
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||
|
||||
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;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "系统设定";
|
||||
this.groupBoxProduct.Text = "项目设置";
|
||||
this.groupBoxJudgment.Text = "判断设置";
|
||||
|
||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engFormSystemCopyDown));
|
||||
this.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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.labelTitle.Text = "系统设定";
|
||||
this.groupBoxProduct.Text = "项目设置";
|
||||
this.groupBoxJudgment.Text = "判断设置";
|
||||
this.labelStaticOverRange.Text = "上限";
|
||||
this.labelStaticPassRange.Text = "标准";
|
||||
this.labelStaticUnderRange.Text = "下限";
|
||||
this.labelStaticTareRange.Text = "皮重";
|
||||
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
||||
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
||||
|
||||
this.labelStaticOverRange.Text = "上限";
|
||||
this.labelStaticPassRange.Text = "标准";
|
||||
this.labelStaticUnderRange.Text = "下限";
|
||||
this.labelStaticTareRange.Text = "皮重";
|
||||
this.labelStaticOverRangeLimit.Text = "上极限报警";
|
||||
this.labelStaticUnderRangeLimit.Text = "下极限报警";
|
||||
this.buttonWeightReference.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.buttonWeightReference.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.labelStaticNo.Text = "编号";
|
||||
this.labelStaticName.Text = "名称";
|
||||
this.labelStaticLOT.Text = "批号";
|
||||
|
||||
this.labelStaticNo.Text = "编号";
|
||||
this.labelStaticName.Text = "名称";
|
||||
this.labelTitleLOT.Text = "批号";
|
||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "编辑";
|
||||
|
||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "编辑";
|
||||
this.labelStaticWeight.Text = "重量";
|
||||
|
||||
this.labelStaticWeight.Text = "重量";
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemCopyDown));
|
||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemCopyUp));
|
||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteDown));
|
||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteUp));
|
||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteAllDown));
|
||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteAllUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Nastavení systému";
|
||||
this.groupBoxProduct.Text = "Nastavení produktu";
|
||||
this.groupBoxJudgment.Text = "Nastavení rozhodnutí";
|
||||
|
||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemCopyDown));
|
||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemCopyUp));
|
||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteDown));
|
||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteUp));
|
||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteAllDown));
|
||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnFormSystemPasteAllUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Czech)
|
||||
{
|
||||
this.labelTitle.Text = "Nastavení systému";
|
||||
this.groupBoxProduct.Text = "Nastavení produktu";
|
||||
this.groupBoxJudgment.Text = "Nastavení rozhodnutí";
|
||||
this.labelStaticOverRange.Text = "Max.";
|
||||
this.labelStaticPassRange.Text = "Váha";
|
||||
this.labelStaticUnderRange.Text = "Min.";
|
||||
this.labelStaticTareRange.Text = "Tára";
|
||||
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
||||
|
||||
this.labelStaticOverRange.Text = "Max.";
|
||||
this.labelStaticPassRange.Text = "Váha";
|
||||
this.labelStaticUnderRange.Text = "Min.";
|
||||
this.labelStaticTareRange.Text = "Tára";
|
||||
this.labelStaticOverRangeLimit.Text = "Max. omezit";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. omezit";
|
||||
this.buttonWeightReference.Text = "Reference";
|
||||
this.labelStaticJudgment.Text = "Výsledek";
|
||||
this.labelStaticFilter.Text = "Filtr";
|
||||
this.labelStaticJudgmentDelayTime.Text = "Zpoždění kapsy";
|
||||
this.labelStaticTurnDelayTime.Text = "Zpoždění rotace";
|
||||
this.labelTitleFeedSpeed.Text = "Rychlost";
|
||||
this.labelStaticJudgmentCount.Text = "Číslo kapsy";
|
||||
this.labelStaticDynamic.Text = "Dynamická korekce";
|
||||
this.labelStaticSorter1DelayTime.Font = font;
|
||||
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
|
||||
this.labelStaticSorter1RunTime.Font = font;
|
||||
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
|
||||
this.labelStaticSorter2DelayTime.Font = font;
|
||||
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
|
||||
this.labelStaticSorter2RunTime.Font = font;
|
||||
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
|
||||
this.labelStaticSorter3DelayTime.Font = font;
|
||||
this.labelStaticSorter3DelayTime.Text = "Vyřazovač3 Zpoždění";
|
||||
this.labelStaticSorter3RunTime.Font = font;
|
||||
this.labelStaticSorter3RunTime.Text = "Vyřazovač3 Čas chodu";
|
||||
this.labelStaticOriginOffset.Text = "Počátek počátku";
|
||||
this.labelStaticTorque.Text = "Kroutící moment";
|
||||
|
||||
this.buttonWeightReference.Text = "Reference";
|
||||
this.labelStaticJudgment.Text = "Výsledek";
|
||||
this.labelStaticFilter.Text = "Filtr";
|
||||
this.labelStaticJudgmentDelayTime.Text = "Zpoždění kapsy";
|
||||
this.labelStaticTurnDelayTime.Text = "Zpoždění rotace";
|
||||
this.labelTitleFeedSpeed.Text = "Rychlost";
|
||||
this.labelStaticJudgmentCount.Text = "Číslo kapsy";
|
||||
this.labelStaticDynamic.Text = "Dynamická korekce";
|
||||
this.labelStaticSorter1DelayTime.Font = font;
|
||||
this.labelStaticSorter1DelayTime.Text = "Vyřazovač1 Zpoždění";
|
||||
this.labelStaticSorter1RunTime.Font = font;
|
||||
this.labelStaticSorter1RunTime.Text = "Vyřazovač1 Čas chodu";
|
||||
this.labelStaticSorter2DelayTime.Font = font;
|
||||
this.labelStaticSorter2DelayTime.Text = "Vyřazovač2 Zpoždění";
|
||||
this.labelStaticSorter2RunTime.Font = font;
|
||||
this.labelStaticSorter2RunTime.Text = "Vyřazovač2 Čas chodu";
|
||||
this.labelStaticSorter3DelayTime.Font = font;
|
||||
this.labelStaticSorter3DelayTime.Text = "Vyřazovač3 Zpoždění";
|
||||
this.labelStaticSorter3RunTime.Font = font;
|
||||
this.labelStaticSorter3RunTime.Text = "Vyřazovač3 Čas chodu";
|
||||
this.labelStaticOriginOffset.Text = "Počátek počátku";
|
||||
this.labelStaticTorque.Text = "Kroutící moment";
|
||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "Editovat";
|
||||
this.labelStaticNo.Text = "Počet";
|
||||
this.labelStaticName.Text = "Jméno";
|
||||
this.labelStaticWeight.Text = "Hmotnost";
|
||||
|
||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "Editovat";
|
||||
this.labelStaticNo.Text = "Počet";
|
||||
this.labelStaticName.Text = "Jméno";
|
||||
this.labelStaticWeight.Text = "Hmotnost";
|
||||
this.pictureBoxStart.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainStart));
|
||||
|
||||
this.pictureBoxStart.Image = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormMainStart));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemCopyDown));
|
||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemCopyUp));
|
||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteDown));
|
||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteUp));
|
||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteAllDown));
|
||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteAllUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Systemeinstellung";
|
||||
this.groupBoxProduct.Text = "Produkteinstellung";
|
||||
this.groupBoxJudgment.Text = "Tascheneinstellung";
|
||||
|
||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemCopyDown));
|
||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemCopyUp));
|
||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteDown));
|
||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteUp));
|
||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteAllDown));
|
||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeFormSystemPasteAllUp));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.German)
|
||||
{
|
||||
this.labelTitle.Text = "Systemeinstellung";
|
||||
this.groupBoxProduct.Text = "Produkteinstellung";
|
||||
this.groupBoxJudgment.Text = "Tascheneinstellung";
|
||||
this.labelStaticOverRange.Text = "Max.";
|
||||
this.labelStaticPassRange.Text = "Bestehen";
|
||||
this.labelStaticUnderRange.Text = "Min.";
|
||||
this.labelStaticTareRange.Text = "Tara";
|
||||
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
||||
|
||||
this.labelStaticOverRange.Text = "Max.";
|
||||
this.labelStaticPassRange.Text = "Bestehen";
|
||||
this.labelStaticUnderRange.Text = "Min.";
|
||||
this.labelStaticTareRange.Text = "Tara";
|
||||
this.labelStaticOverRangeLimit.Text = "Max. Grenze";
|
||||
this.labelStaticUnderRangeLimit.Text = "Min. Grenze";
|
||||
this.buttonWeightReference.Text = "Referenz";
|
||||
this.labelStaticJudgment.Text = "Ergebnis";
|
||||
this.labelStaticFilter.Text = "Filter";
|
||||
this.labelStaticJudgmentDelayTime.Text = "Taschenverzögerung";
|
||||
this.labelStaticTurnDelayTime.Text = "Rotationsverzögerung";
|
||||
this.labelTitleFeedSpeed.Text = "Geschwindigkeit";
|
||||
this.labelStaticJudgmentCount.Text = "Taschennummer";
|
||||
this.labelStaticDynamic.Text = "Dynamische Konstante";
|
||||
this.labelStaticSorter1DelayTime.Font = font;
|
||||
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
|
||||
this.labelStaticSorter1RunTime.Font = font;
|
||||
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
|
||||
this.labelStaticSorter2DelayTime.Font = font;
|
||||
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
|
||||
this.labelStaticSorter2RunTime.Font = font;
|
||||
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
|
||||
this.labelStaticSorter3DelayTime.Font = font;
|
||||
this.labelStaticSorter3DelayTime.Text = "Sortierer3 Vezögerung";
|
||||
this.labelStaticSorter3RunTime.Font = font;
|
||||
this.labelStaticSorter3RunTime.Text = "Sortierer3 Laufzeit";
|
||||
this.labelStaticOriginOffset.Text = "Ursprungsversatz";
|
||||
this.labelStaticTorque.Text = "Drehmoment";
|
||||
|
||||
this.buttonWeightReference.Text = "Referenz";
|
||||
this.labelStaticJudgment.Text = "Ergebnis";
|
||||
this.labelStaticFilter.Text = "Filter";
|
||||
this.labelStaticJudgmentDelayTime.Text = "Taschenverzögerung";
|
||||
this.labelStaticTurnDelayTime.Text = "Rotationsverzögerung";
|
||||
this.labelTitleFeedSpeed.Text = "Geschwindigkeit";
|
||||
this.labelStaticJudgmentCount.Text = "Taschennummer";
|
||||
this.labelStaticDynamic.Text = "Dynamische Konstante";
|
||||
this.labelStaticSorter1DelayTime.Font = font;
|
||||
this.labelStaticSorter1DelayTime.Text = "Sortierer1 Vezögerung";
|
||||
this.labelStaticSorter1RunTime.Font = font;
|
||||
this.labelStaticSorter1RunTime.Text = "Sortierer1 Laufzeit";
|
||||
this.labelStaticSorter2DelayTime.Font = font;
|
||||
this.labelStaticSorter2DelayTime.Text = "Sortierer2 Vezögerung";
|
||||
this.labelStaticSorter2RunTime.Font = font;
|
||||
this.labelStaticSorter2RunTime.Text = "Sortierer2 Laufzeit";
|
||||
this.labelStaticSorter3DelayTime.Font = font;
|
||||
this.labelStaticSorter3DelayTime.Text = "Sortierer3 Vezögerung";
|
||||
this.labelStaticSorter3RunTime.Font = font;
|
||||
this.labelStaticSorter3RunTime.Text = "Sortierer3 Laufzeit";
|
||||
this.labelStaticOriginOffset.Text = "Ursprungsversatz";
|
||||
this.labelStaticTorque.Text = "Drehmoment";
|
||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "Bearbeiten";
|
||||
this.labelStaticNo.Text = "Nummer";
|
||||
this.labelStaticName.Text = "Name";
|
||||
this.labelStaticWeight.Text = "Gewicht";
|
||||
|
||||
this.buttonNameEdit.Text = this.buttonLotEdit.Text = "Bearbeiten";
|
||||
this.labelStaticNo.Text = "Nummer";
|
||||
this.labelStaticName.Text = "Name";
|
||||
this.labelStaticWeight.Text = "Gewicht";
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemCopyDown));
|
||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemCopyUp));
|
||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteDown));
|
||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteUp));
|
||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteAllDown));
|
||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteAllUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "システム設定";
|
||||
|
||||
this.buttonCopy.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemCopyDown));
|
||||
this.buttonCopy.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemCopyUp));
|
||||
this.buttonPaste.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteDown));
|
||||
this.buttonPaste.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteUp));
|
||||
this.buttonPasteAll.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteAllDown));
|
||||
this.buttonPasteAll.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerFormSystemPasteAllUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
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,69 +41,87 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "Time settings";
|
||||
this.labelStaticCurrentTime.Text = "Current time";
|
||||
this.labelStaticTimeSetting.Text = "Setting time";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.English)
|
||||
{
|
||||
this.labelTitle.Text = "Time settings";
|
||||
this.labelStaticCurrentTime.Text = "Current time";
|
||||
this.labelStaticTimeSetting.Text = "Setting time";
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
||||
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||
this.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;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "时间设定";
|
||||
this.labelStaticCurrentTime.Text = "当前时间";
|
||||
this.labelStaticTimeSetting.Text = "设置";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||
this.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)
|
||||
{
|
||||
this.labelTitle.Text = "时间设定";
|
||||
this.labelStaticCurrentTime.Text = "当前时间";
|
||||
this.labelStaticTimeSetting.Text = "设置";
|
||||
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));
|
||||
|
||||
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));
|
||||
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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "Nastavení času";
|
||||
this.labelStaticCurrentTime.Text = "Aktuální čas";
|
||||
this.labelStaticTimeSetting.Text = "Nastavení";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.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)
|
||||
{
|
||||
this.labelTitle.Text = "Nastavení času";
|
||||
this.labelStaticCurrentTime.Text = "Aktuální čas";
|
||||
this.labelStaticTimeSetting.Text = "Nastavení";
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveUp));
|
||||
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeSaveUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Zeiteinstellung";
|
||||
this.labelStaticCurrentTime.Text = "Aktuelle Uhrzeit";
|
||||
this.labelStaticTimeSetting.Text = "Einstellung";
|
||||
|
||||
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)
|
||||
{
|
||||
this.labelTitle.Text = "Zeiteinstellung";
|
||||
this.labelStaticCurrentTime.Text = "Aktuelle Uhrzeit";
|
||||
this.labelStaticTimeSetting.Text = "Einstellung";
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveUp));
|
||||
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerSaveUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "時間設定";
|
||||
this.labelStaticCurrentTime.Text = "現在時刻";
|
||||
this.labelStaticTimeSetting.Text = "設定";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
this.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,58 +51,101 @@ namespace INT63DC_2C.Forms
|
|||
{
|
||||
ImageDll images = new ImageDll();
|
||||
|
||||
if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
|
||||
switch (this.ParentForm.SystemConfig.Language)
|
||||
{
|
||||
this.labelTitle.Text = "그룹 에디터";
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.labelTitle.Text = "组编辑";
|
||||
case DataStore.LanguageID.Korean:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
case DataStore.LanguageID.Czech:
|
||||
case DataStore.LanguageID.German:
|
||||
this.labelTitle.Text = "Group Editor";
|
||||
|
||||
this.labelTitle1.Text = "级别1";
|
||||
this.labelTitle2.Text = "级别2";
|
||||
this.labelTitle3.Text = "级别3";
|
||||
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.labelStaticMainDisplayAccess.Text = "主显示访问";
|
||||
this.labelStaticProductNo.Text = "编号";
|
||||
this.labelStaticWeightSetting.Text = "体重设定";
|
||||
this.labelStaticClear.Text = "消除";
|
||||
this.labelStaticSubMenu.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));
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.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.labelTitle1.Text = "级别1";
|
||||
this.labelTitle2.Text = "级别2";
|
||||
this.labelTitle3.Text = "级别3";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||
this.labelStaticMainDisplayAccess.Text = "主显示访问";
|
||||
this.labelStaticProductNo.Text = "编号";
|
||||
this.labelStaticWeightSetting.Text = "体重设定";
|
||||
this.labelStaticClear.Text = "消除";
|
||||
this.labelStaticSubMenu.Text = "子菜单";
|
||||
|
||||
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";
|
||||
this.labelStaticMenu.Text = "菜单";
|
||||
this.labelStaticTimeSetting.Text = "时间设定";
|
||||
this.labelStaticInformation.Text = "系统信息";
|
||||
this.labelStaticDataBackup.Text = "数据备份";
|
||||
this.labelStaticCalibration.Text = "校准";
|
||||
this.labelStaticConfiguration.Text = "选项";
|
||||
this.labelStaticUpdate.Text = "更新";
|
||||
this.labelStaticSystemSetting.Text = "系统设定";
|
||||
this.labelStaticFactoryReset.Text = "回复出厂设置";
|
||||
this.labelStaticMotorSetting.Text = "设置电机";
|
||||
this.labelStaticEquipmentSetting.Text = "设备设置";
|
||||
this.labelStaticIOTest.Text = "I/O测试";
|
||||
this.labelStaticUserSetting.Text = "用户设置";
|
||||
this.labelTitleDataStatistics.Text = "数据统计";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||
|
||||
this.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.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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Chinese
|
||||
this.labelTitle.Text = "グルㅡプエディタㅡ";
|
||||
|
||||
this.labelTitle1.Text = "レベル1";
|
||||
this.labelTitle2.Text = "レベル2";
|
||||
this.labelTitle3.Text = "レベル3";
|
||||
|
||||
this.labelStaticMainDisplayAccess.Text = "メインディスプレイ";
|
||||
this.labelStaticProductNo.Text = "番号";
|
||||
this.labelStaticWeightSetting.Text = "設定値";
|
||||
this.labelStaticClear.Text = "クリア";
|
||||
this.labelStaticSubMenu.Text = "サブメニュㅡ";
|
||||
|
||||
this.labelStaticMenu.Text = "メニュㅡ";
|
||||
this.labelStaticTimeSetting.Text = "時間設定";
|
||||
this.labelStaticInformation.Text = "情報";
|
||||
this.labelStaticDataBackup.Text = "デㅡタバックアップ";
|
||||
this.labelStaticCalibration.Text = "校正";
|
||||
this.labelStaticConfiguration.Text = "構成";
|
||||
this.labelStaticUpdate.Text = "更新";
|
||||
this.labelStaticSystemSetting.Text = "システム設定";
|
||||
this.labelStaticFactoryReset.Text = "初期化";
|
||||
this.labelStaticMotorSetting.Text = "モㅡタㅡ設定";
|
||||
this.labelStaticEquipmentSetting.Text = "装置設定";
|
||||
this.labelStaticIOTest.Text = "I/Oテスト";
|
||||
this.labelStaticUserSetting.Text = "ユㅡザㅡの設定";
|
||||
this.labelTitleDataStatistics.Text = "デㅡタ統計";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engBackUp));
|
||||
|
||||
this.buttonSave.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDisable));
|
||||
this.buttonSave.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveDown));
|
||||
this.buttonSave.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.engSaveUp));
|
||||
#endregion
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
private void DefaultSetting()
|
||||
|
@ -354,28 +397,9 @@ namespace INT63DC_2C.Forms
|
|||
|
||||
this.buttonSave.Visible = false;
|
||||
|
||||
if (this.ParentForm.SystemConfig.CurrentUser.Group != DataStore.UserGroup.Level4Developer)
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
// Not login 미사용으로 Visible = false 처리함
|
||||
for (int i = 0; i < this.CollectionLevel1Control.Count; i++)
|
||||
this.CollectionLevel4Control[i].Visible = false;
|
||||
|
||||
// 현재 데이터 통계 메뉴가 없어서 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,64 +49,82 @@ 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:
|
||||
break;
|
||||
case DataStore.LanguageID.English:
|
||||
#region English
|
||||
this.labelTitle.Text = "User settings";
|
||||
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.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));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Chinese:
|
||||
#region Chinese
|
||||
this.labelTitle.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));
|
||||
}
|
||||
else if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Chinese)
|
||||
{
|
||||
this.labelTitle.Text = "用户设置";
|
||||
this.labelTitleLevel1.Text = "级别 1";
|
||||
this.labelTitleLevel2.Text = "级别 2";
|
||||
this.labelTitleLevel3.Text = "级别 3";
|
||||
|
||||
this.labelTitleLevel1.Text = "级别 1";
|
||||
this.labelTitleLevel2.Text = "级别 2";
|
||||
this.labelTitleLevel3.Text = "级别 3";
|
||||
this.labelTitleID.Text = "用户名";
|
||||
this.labelTitlePassword.Text = "密码";
|
||||
|
||||
this.labelTitleID.Text = "用户名";
|
||||
this.labelTitlePassword.Text = "密码";
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Czech:
|
||||
#region Czech
|
||||
this.labelTitle.Text = "uživatelské nastavení";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.chnBackDisable));
|
||||
this.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)
|
||||
{
|
||||
this.labelTitle.Text = "uživatelské nastavení";
|
||||
this.labelTitleLevel1.Text = "Úroveň 1";
|
||||
this.labelTitleLevel2.Text = "Úroveň 2";
|
||||
this.labelTitleLevel3.Text = "Úroveň 3";
|
||||
|
||||
this.labelTitleLevel1.Text = "Úroveň 1";
|
||||
this.labelTitleLevel2.Text = "Úroveň 2";
|
||||
this.labelTitleLevel3.Text = "Úroveň 3";
|
||||
this.labelTitlePassword.Text = "Heslo";
|
||||
|
||||
this.labelTitlePassword.Text = "Heslo";
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.German:
|
||||
#region German
|
||||
this.labelTitle.Text = "Benutzereinstellungen";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.czeBackDisable));
|
||||
this.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)
|
||||
{
|
||||
this.labelTitle.Text = "Benutzereinstellungen";
|
||||
this.labelTitleLevel1.Text = "Stufe 1";
|
||||
this.labelTitleLevel2.Text = "Stufe 2";
|
||||
this.labelTitleLevel3.Text = "Stufe 3";
|
||||
|
||||
this.labelTitleLevel1.Text = "Stufe 1";
|
||||
this.labelTitleLevel2.Text = "Stufe 2";
|
||||
this.labelTitleLevel3.Text = "Stufe 3";
|
||||
this.labelTitlePassword.Text = "Passwort";
|
||||
|
||||
this.labelTitlePassword.Text = "Passwort";
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
#endregion
|
||||
break;
|
||||
case DataStore.LanguageID.Japanese:
|
||||
#region Japanese
|
||||
this.labelTitle.Text = "ユㅡザㅡの 設定";
|
||||
|
||||
this.buttonBack.DisableImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDisable));
|
||||
this.buttonBack.DownImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackDown));
|
||||
this.buttonBack.UpImage = new Bitmap(images.GetImage(ImageDll.ButtonImages.gerBackUp));
|
||||
}
|
||||
else
|
||||
{
|
||||
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