영문화완료
This commit is contained in:
@@ -11,14 +11,14 @@ namespace Project
|
||||
public partial class FMain
|
||||
{
|
||||
/// <summary>
|
||||
/// 상태표시라벨의 메세지 자동 변경
|
||||
/// Automatic message change for status display labels
|
||||
/// </summary>
|
||||
/// <param name="idx"></param>
|
||||
void UpdateStatusMessage()
|
||||
{
|
||||
arCtl.arLabel lbl = lbMsg;
|
||||
|
||||
//메세지창이 깜박거려야하는 상황 체크
|
||||
//Check if message window should blink
|
||||
if (lbl.Tag != null && lbl.Tag.ToString() == "BLINK")
|
||||
{
|
||||
var bg1 = lbl.BackColor;
|
||||
@@ -30,31 +30,31 @@ namespace Project
|
||||
|
||||
if (PUB.sm.Step == eSMStep.INIT)
|
||||
{
|
||||
SetStatusMessage("초기화 작업 중", Color.White, Color.FromArgb(0x38, 0x4d, 0x9d));
|
||||
SetStatusMessage("Initialization in progress", Color.White, Color.FromArgb(0x38, 0x4d, 0x9d));
|
||||
}
|
||||
else if (PUB.sm.Step == eSMStep.IDLE)
|
||||
{
|
||||
//각종 IO확인하여 에러메세지 표시한다
|
||||
//Check various I/O and display error messages
|
||||
|
||||
var msg = string.Empty;
|
||||
bool errst = true;
|
||||
if (PUB.mot.IsInit == false) msg = "모션 카드 준비 안됨";
|
||||
else if (PUB.dio.IsInit == false) msg = "I/O 카드 준비 안됨";
|
||||
else if (PUB.dio.HasDIOn == false) msg = "전원 확인 필요 (입력포트 감지 안됨)";
|
||||
else if (PUB.mot.HasServoAlarm == true) msg = "서보 알람 발생";
|
||||
else if (PUB.mot.HasHoming == true) msg = "홈 검색 진행 중";
|
||||
else if (PUB.mot.HasServoOff == true) msg = "서보 OFF 발생";
|
||||
else if (DIO.GetIOOutput(eDOName.SOL_AIR) == false) msg = "AIR 출력 안됨(전면 청색 AIR버튼을 누르세요)";
|
||||
else if (DIO.GetIOInput(eDIName.AIR_DETECT) == false) msg = "AIR 감지 안됨";
|
||||
if (PUB.mot.IsInit == false) msg = "Motion card not ready";
|
||||
else if (PUB.dio.IsInit == false) msg = "I/O card not ready";
|
||||
else if (PUB.dio.HasDIOn == false) msg = "Power check required (input port not detected)";
|
||||
else if (PUB.mot.HasServoAlarm == true) msg = "Servo alarm occurred";
|
||||
else if (PUB.mot.HasHoming == true) msg = "Home search in progress";
|
||||
else if (PUB.mot.HasServoOff == true) msg = "Servo OFF occurred";
|
||||
else if (DIO.GetIOOutput(eDOName.SOL_AIR) == false) msg = "AIR output failed (Press the front blue AIR button)";
|
||||
else if (DIO.GetIOInput(eDIName.AIR_DETECT) == false) msg = "AIR not detected";
|
||||
else if (PUB.mot.HasHomeSetOff == true)
|
||||
{
|
||||
if (DIO.GetIOInput(eDIName.PICKER_SAFE) == false)
|
||||
{
|
||||
msg = "피커(X)축을 중앙으로 옮겨주세요 (기능-관리화면)";
|
||||
msg = "Please move the picker (X) axis to center (Function-Management screen)";
|
||||
}
|
||||
else
|
||||
{
|
||||
msg = "홈 검색이 필요 합니다";
|
||||
msg = "Home search is required";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -82,11 +82,11 @@ namespace Project
|
||||
}
|
||||
if (limport.Any())
|
||||
{
|
||||
msg = "서보 LIMIT 알람 발생(Ax:" + string.Join(",", limport) + ")";
|
||||
msg = "Servo LIMIT alarm occurred (Ax:" + string.Join(",", limport) + ")";
|
||||
}
|
||||
else
|
||||
{
|
||||
msg = "작업을 시작 하려면 START를 누르세요";
|
||||
msg = "Press START to begin operation";
|
||||
errst = false;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace Project
|
||||
|
||||
else if (PUB.sm.Step == eSMStep.WAITSTART)
|
||||
{
|
||||
SetStatusMessage("[시작 대기] ", Color.Gold, Color.FromArgb(50, 50, 50));
|
||||
SetStatusMessage("[Waiting to Start] ", Color.Gold, Color.FromArgb(50, 50, 50));
|
||||
}
|
||||
else if (PUB.sm.Step == eSMStep.ERROR)
|
||||
{
|
||||
@@ -119,61 +119,61 @@ namespace Project
|
||||
}
|
||||
else if (PUB.sm.Step == eSMStep.PAUSE)
|
||||
{
|
||||
SetStatusMessage("[일시 정지] ", Color.Gold, Color.FromArgb(50, 50, 50));
|
||||
SetStatusMessage("[Paused] ", Color.Gold, Color.FromArgb(50, 50, 50));
|
||||
}
|
||||
else if (PUB.sm.Step == eSMStep.HOME_FULL)// || Pub.sm.Step == eSMStep.QHOME)
|
||||
{
|
||||
SetStatusMessage($"전체 모션의 원점을 확인하고 있습니다", Color.White, Color.FromArgb(0x98, 0x79, 0xd0), shadow: Color.DimGray);
|
||||
SetStatusMessage($"Checking home position of all motion axes", Color.White, Color.FromArgb(0x98, 0x79, 0xd0), shadow: Color.DimGray);
|
||||
}
|
||||
else if (PUB.sm.Step == eSMStep.HOME_DELAY)// || Pub.sm.Step == eSMStep.QHOME)
|
||||
{
|
||||
SetStatusMessage($"잠시만 기다려 주세요(홈 진행 중)", Color.White, Color.FromArgb(0x98, 0x79, 0xd0), shadow: Color.DimGray);
|
||||
SetStatusMessage($"Please wait a moment (homing in progress)", Color.White, Color.FromArgb(0x98, 0x79, 0xd0), shadow: Color.DimGray);
|
||||
}
|
||||
else if (PUB.sm.Step == eSMStep.HOME_CONFIRM)// || Pub.sm.Step == eSMStep.QHOME)
|
||||
{
|
||||
SetStatusMessage($"홈 작업을 완료 하는 중", Color.White, Color.FromArgb(0x98, 0x79, 0xd0), shadow: Color.DimGray);
|
||||
SetStatusMessage($"Completing home operation", Color.White, Color.FromArgb(0x98, 0x79, 0xd0), shadow: Color.DimGray);
|
||||
}
|
||||
else if (PUB.sm.Step == eSMStep.RUN)
|
||||
{
|
||||
|
||||
double cur = PUB.sm.seq.GetTime(PUB.sm.Step).TotalSeconds;
|
||||
double max = AR.SETTING.Data.Timeout_StepMaxTime;
|
||||
string msg = $"진행 중";
|
||||
string msg = $"In Progress";
|
||||
Color fColor = Color.Gold;
|
||||
|
||||
if (PUB.flag.get(eVarBool.FG_JOB_END))
|
||||
{
|
||||
msg = "로더가 비어 있습니다. 잠시 후 작업이 완료 됩니다";
|
||||
msg = "Loader is empty. Operation will be completed shortly";
|
||||
cur = max = 0;
|
||||
fColor = Color.Lime;
|
||||
|
||||
}
|
||||
else if (PUB.flag.get(eVarBool.FG_WAIT_LOADERINFO))
|
||||
{
|
||||
msg = "사용자 정보 입력을 기다리고 있습니다";
|
||||
msg = "Waiting for user information input";
|
||||
cur = 100;
|
||||
max = 100;
|
||||
}
|
||||
else //if (PUB.flag.get(eVarBool.RDY_VISION1) == true && PUB.flag.get(eVarBool.RDY_PORT_PC) == true && idx == 9)
|
||||
{
|
||||
msg = "작업 중";
|
||||
msg = "Working";
|
||||
if (PUB.flag.get(eVarBool.FG_PRC_VISIONL) && PUB.flag.get(eVarBool.FG_END_VISIONL) == false)
|
||||
msg += "(LEFT-QR검증중)";
|
||||
msg += "(LEFT-QR validation)";
|
||||
if (PUB.flag.get(eVarBool.FG_PRC_VISIONR) && PUB.flag.get(eVarBool.FG_END_VISIONR) == false)
|
||||
msg += "(RIGHT-QR검증중)";
|
||||
msg += "(RIGHT-QR validation)";
|
||||
|
||||
//컨베이어 사용모드에서 컨베이어 인터락 검사
|
||||
//Conveyor interlock check in conveyor usage mode
|
||||
if (VAR.BOOL[eVarBool.Use_Conveyor])
|
||||
{
|
||||
if (DIO.GetIOInput(eDIName.R_CONV1) || DIO.GetIOInput(eDIName.R_CONV4))
|
||||
{
|
||||
if (PUB.iLockCVR.IsEmpty() == false)
|
||||
msg += "(우측컨베이어 인터락 해제 대기)";
|
||||
msg += "(Waiting for right conveyor interlock release)";
|
||||
}
|
||||
if (DIO.GetIOInput(eDIName.L_CONV1) || DIO.GetIOInput(eDIName.L_CONV4))
|
||||
{
|
||||
if (PUB.iLockCVL.IsEmpty() == false)
|
||||
msg += "(좌측컨베이어 인터락 해제 대기)";
|
||||
msg += "(Waiting for left conveyor interlock release)";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -189,7 +189,7 @@ namespace Project
|
||||
//}
|
||||
//else if (PUB.mot.IsMotion((int)eAxis.Y_PICKER])
|
||||
//{
|
||||
// msg = string.Format("이동 중");
|
||||
// msg = string.Format("Moving");
|
||||
// cur = 0;// Pub.getRunSteptime(0).TotalSeconds;// ts.TotalSeconds;
|
||||
// max = 10;//COMM.SETTING.Data.Timeout_JOBEnd;
|
||||
//}
|
||||
@@ -197,7 +197,7 @@ namespace Project
|
||||
}
|
||||
else if (PUB.flag.get(eVarBool.FG_MOVE_PICKER))
|
||||
{
|
||||
SetStatusMessage("X축을 버튼으로 이동 가능 합니다", Color.Black, Color.White);
|
||||
SetStatusMessage("X-axis can be moved with buttons", Color.Black, Color.White);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user