영문화완료
This commit is contained in:
@@ -32,11 +32,11 @@ namespace Project
|
||||
if (PUB.mot.Init() == false)
|
||||
{
|
||||
PUB.log.AddE(string.Format("MOT INIT ERROR : {0}", PUB.mot.ErrorMessage));
|
||||
PUB.log.AddE("모션 초기화 오류로 잠시 후 다시 시도합니다");
|
||||
PUB.log.AddE("Motion initialization error, retrying shortly");
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
if (PUB.mot.Init() == false)
|
||||
{
|
||||
PUB.log.AddE("모션 초기화 재시도 실패" + PUB.mot.ErrorMessage);
|
||||
PUB.log.AddE("Motion initialization retry failed " + PUB.mot.ErrorMessage);
|
||||
}
|
||||
}
|
||||
_SM_RUN_INIT_MOTION();
|
||||
@@ -66,7 +66,7 @@ namespace Project
|
||||
PUB.sm.RaiseStateProgress(++progress, "Set DIO Names", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
_SM_RUN_INIT_SETDIONAME();
|
||||
|
||||
PUB.log.AddI("모션 초기화 플래그 설정완료");
|
||||
PUB.log.AddI("Motion initialization flag setup complete");
|
||||
PUB.flag.set(eVarBool.FG_INIT_MOTIO, true, "INIT");
|
||||
|
||||
//230504
|
||||
@@ -74,12 +74,12 @@ namespace Project
|
||||
hmi1.SetMOT(PUB.mot);
|
||||
|
||||
//남은 공간
|
||||
PUB.sm.RaiseStateProgress(++progress, "공간 확인", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
PUB.sm.RaiseStateProgress(++progress, "Space Check", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
CheckFreeSpace(); //181225
|
||||
|
||||
|
||||
//프린터설정
|
||||
PUB.sm.RaiseStateProgress(++progress, "프린터설정", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
PUB.sm.RaiseStateProgress(++progress, "Printer Setup", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
PUB.PrinterL = new Device.SATOPrinterAPI();
|
||||
PUB.PrinterL.PortName = AR.SETTING.Data.PrintL_Port;
|
||||
PUB.PrinterL.BaudRate = AR.SETTING.Data.PrintL_Baud;
|
||||
@@ -91,7 +91,7 @@ namespace Project
|
||||
PUB.flag.set(eVarBool.FG_INIT_PRINTER, true, "INIT");
|
||||
|
||||
//모델자동선택 181206
|
||||
PUB.sm.RaiseStateProgress(++progress, "이전모델 확인", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
PUB.sm.RaiseStateProgress(++progress, "Previous Model Check", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
|
||||
//
|
||||
if (SETTING.User.LastModelV != "") PUB.SelectModelV(SETTING.User.LastModelV, false);
|
||||
@@ -101,7 +101,7 @@ namespace Project
|
||||
else PUB.flag.set(eVarBool.Use_Conveyor, false, "load");
|
||||
PUB.SelectModelM(motionmodel, false);
|
||||
|
||||
PUB.sm.RaiseStateProgress(ProgressMax, "초기화 완료", ProgressMax, Color.Gold); System.Threading.Thread.Sleep(5);
|
||||
PUB.sm.RaiseStateProgress(ProgressMax, "Initialization Complete", ProgressMax, Color.Gold); System.Threading.Thread.Sleep(5);
|
||||
PUB.log.Add("init finish");
|
||||
|
||||
//조명 ON
|
||||
@@ -111,7 +111,7 @@ namespace Project
|
||||
// Start OWIN host
|
||||
var baseAddress = "http://*:9001";
|
||||
WebApp.Start<OWIN.Startup>(url: baseAddress);
|
||||
PUB.log.AddI($"호스팅서비스ON : {baseAddress}");
|
||||
PUB.log.AddI($"Hosting service ON: {baseAddress}");
|
||||
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace Project
|
||||
//7개의 축을 사용한다
|
||||
if (PUB.mot.IsInit == false)
|
||||
{
|
||||
PUB.log.AddE("모션보드 초기화 오류로 설정을 진행하지 않습니다");
|
||||
PUB.log.AddE("Motion board initialization error, configuration will not proceed");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -167,15 +167,15 @@ namespace Project
|
||||
var file = System.IO.Path.Combine(UTIL.CurrentPath, "Model", "axis" + i.ToString() + ".motaxt");
|
||||
if (System.IO.File.Exists(file) == false)
|
||||
{
|
||||
PUB.log.AddAT($"모션({i}) 설정파일 없음!!");
|
||||
PUB.log.AddAT($"Motion ({i}) configuration file not found!!");
|
||||
PUB.mot.InitAxis(i, file);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (PUB.mot.InitAxis((short)i, file) == false)
|
||||
PUB.log.AddE("모션 설정 실패 축:" + i.ToString());
|
||||
PUB.log.AddE("Motion setup failed axis:" + i.ToString());
|
||||
else
|
||||
PUB.log.AddI($"모션({i}) 설정 완료");
|
||||
PUB.log.AddI($"Motion ({i}) setup complete");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user