영문화완료

This commit is contained in:
ChiKyun Kim
2025-09-09 17:24:19 +09:00
parent adb66451ca
commit 02028afc27
338 changed files with 2205 additions and 79829 deletions

View File

@@ -14,28 +14,28 @@ namespace Project
if (PUB.sm.Step == eSMStep.RUN)
{
//아무것도 하지 않는다
PUB.log.Add("동작중에는 START 버튼이 사용되지 않습니다");
PUB.log.Add("START button is not available during operation");
}
else if (PUB.sm.Step == eSMStep.IDLE) //일반대기상태
{
if (DIO.isVacOKL() > 0)
{
DIO.SetBuzzer(true);
PUB.popup.setMessage("PICKER ITEM DETECT\nPICKER 에서 아이템이 감지되었습니다\n[작업취소] 를 눌러서 아이템을 DROP 한 후 제거해주세요.");
PUB.popup.setMessage("PICKER ITEM DETECT\nItem detected in PICKER\nPress [Cancel Work] to DROP item and remove it.");
return;
}
else if (DIO.getCartSize(1) == eCartSize.None)
{
DIO.SetBuzzer(true);
PUB.popup.setMessage("로더에 카트가 장착되지 않았습니다");
PUB.popup.setMessage("Cart is not installed in loader");
return;
}
else if (DIO.GetIOInput(eDIName.PORTC_LIM_DN) == true && DIO.GetIOInput(eDIName.PORTC_DET_UP) == true)
{
//하단리밋과, 자재감지가 동시에 들어오면 overload 이다
DIO.SetBuzzer(true);
PUB.popup.setMessage("로더에 너무 많은 릴이 적재 되어 있습니다\n" +
"하단 리밋 센서와 상단 릴 감지 센서가 동시에 확인 됩니다");
PUB.popup.setMessage("Too many reels are loaded in the loader\n" +
"Bottom limit sensor and top reel detection sensor are both active");
return;
}
//else if (Util_DO.getCartSize(0) == eCartSize.None && Util_DO.getCartSize(2) == eCartSize.None)
@@ -68,14 +68,14 @@ namespace Project
//팝업메세지가 사라지도록 한다
PUB.popup.needClose = true;
PUB.sm.SetNewStep(eSMStep.RUN);
PUB.log.Add("[사용자 일시정지] 해제 => 작업이 계속됩니다");
PUB.log.Add("[User pause] released => Work continues");
}
else
{
//string msg = "SYSTEM {0}\n[RESET] 버튼을 누른 후 다시 시도하세요";
//msg = string.Format(msg, PUB.sm.Step);
//PUB.popup.setMessage(msg);
PUB.log.AddE($"[RESET] 버튼을 누른 후 다시 시도하세요");
PUB.log.AddE($"Press [RESET] button and try again");
}
}
}

View File

@@ -34,7 +34,7 @@ namespace Project
{
//일시중지상태로 전환한다
PUB.Result.SetResultMessage(eResult.OPERATION, eECode.USER_STOP, eNextStep.PAUSE);
PUB.log.Add("[사용자 일시정지]");
PUB.log.Add("[User pause]");
}
else if (PUB.sm.Step == eSMStep.HOME_FULL) //홈진행중에는 대기상태로 전환
{

View File

@@ -84,7 +84,7 @@ namespace Project.Class
{
if (string.IsNullOrEmpty(sid))
{
PUB.log.AddAT("SID 추가 실패 SID 값이 입력되지 않았습니다");
PUB.log.AddAT("SID addition failed - SID value not entered");
return;
}
//if (JobSidList.ContainsKey(sid) == false)

View File

@@ -229,7 +229,7 @@ namespace Project
var fi = new System.IO.FileInfo(finame);
if (fi.Directory.Exists == false) fi.Directory.Create();
this.dsList.WriteXml(fi.FullName);
PUB.log.Add("사전목록DB를 저장 했습니다" + fi.FullName);
PUB.log.Add("Pre-list DB saved " + fi.FullName);
}
public void LoadListDB()
@@ -240,7 +240,7 @@ namespace Project
if (fi.Exists)
{
this.dsList.ReadXml(fi.FullName);
PUB.log.Add("사전목록DB를 불러왔습니다" + fi.FullName);
PUB.log.Add("Pre-list DB loaded " + fi.FullName);
}
}
@@ -319,7 +319,7 @@ namespace Project
PUB.log.Add("Result 데이터 초기화");
PUB.log.Add("Result data initialized");
}

View File

@@ -350,7 +350,7 @@ public static partial class EEMStatus
}
else
{
Console.WriteLine("dead lock 오류는 무시한다");
Console.WriteLine("Dead lock error ignored");
}
//ecnt += 1;

View File

@@ -108,9 +108,9 @@ namespace Project.Class
obj.PrintQRValidResult = this.PrintQRValidResult;
obj.Attachtime = this.Attachtime;
obj.PrintTime = this.PrintTime;
PUB.AddDebugLog("아이템 복사 전 rid:" + this.VisionData.RID);
PUB.AddDebugLog("Before item copy rid:" + this.VisionData.RID);
this.VisionData.CopyTo(ref obj.VisionData);
PUB.AddDebugLog($"아이템 복사 후 대상 rid : {obj.VisionData.RID}, guid={obj.guid}");
PUB.AddDebugLog($"After item copy target rid : {obj.VisionData.RID}, guid={obj.guid}");
}
}

View File

@@ -114,9 +114,9 @@ namespace Project
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class RoiOffset
{
[DisplayName("Horizon"), Description("수직(Y축) 변화 값(+는 아래쪽,-는 위쪽)")]
[DisplayName("Horizon"), Description("Vertical (Y-axis) change value (+ is downward, - is upward)")]
public double Y { get; set; }
[DisplayName("Vertical"), Description("수평(X축) 변화 값(+는 오른쪽,-는 왼쪽)")]
[DisplayName("Vertical"), Description("Horizontal (X-axis) change value (+ is right, - is left)")]
public double X { get; set; }
[Browsable(false)]
public bool IsEmpty { get { if (Y == 0 && X == 0) return true; else return false; } }
@@ -140,9 +140,9 @@ namespace Project
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class Range
{
[DisplayName("시작값")]
[DisplayName("Start Value")]
public uint Start { get; set; }
[DisplayName("종료값")]
[DisplayName("End Value")]
public uint End { get; set; }
[Browsable(false)]
public bool IsEmpty { get { if (Start == 0 && End == 0) return true; else return false; } }
@@ -165,9 +165,9 @@ namespace Project
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class RangeF
{
[DisplayName("시작값")]
[DisplayName("Start Value")]
public float Start { get; set; }
[DisplayName("종료값")]
[DisplayName("End Value")]
public float End { get; set; }
[Browsable(false)]
public bool IsEmpty { get { if (Start == 0f && End == 0f) return true; else return false; } }
@@ -190,34 +190,34 @@ namespace Project
public class CVisionProcess
{
[Category("특수설정(개발자용)"), Description("미사용(DOT 인식시에 사용했음)")]
[Category("Special Settings (Developer)"), Description("Unused (was used for DOT recognition)")]
public UInt16 halfKernel { get; set; }
[Category("특수설정(개발자용)"), Description("미사용(DOT 인식시에 사용했음)")]
[Category("Special Settings (Developer)"), Description("Unused (was used for DOT recognition)")]
public UInt16 Constant { get; set; }
[Category("특수설정(개발자용)"), DisplayName("MP_Dilate"), Description("미사용(DOT 인식시에 사용했음)")]
[Category("Special Settings (Developer)"), DisplayName("MP_Dilate"), Description("Unused (was used for DOT recognition)")]
public UInt16 dilate { get; set; }
[Category("특수설정(개발자용)"), DisplayName("MP_Erode"), Description("미사용(DOT 인식시에 사용했음)")]
[Category("Special Settings (Developer)"), DisplayName("MP_Erode"), Description("Unused (was used for DOT recognition)")]
public UInt16 erode { get; set; }
[Category("특수설정(개발자용)"), DisplayName("MP_Open"), Description("미사용(DOT 인식시에 사용했음)")]
[Category("Special Settings (Developer)"), DisplayName("MP_Open"), Description("Unused (was used for DOT recognition)")]
public UInt16 open { get; set; }
[Category("특수설정(개발자용)"), DisplayName("MP_Open"), Description("미사용(DOT 인식시에 사용했음)")]
[Category("Special Settings (Developer)"), DisplayName("MP_Open"), Description("Unused (was used for DOT recognition)")]
public UInt32 segment_threshold { get; set; }
[Category("특수설정(개발자용)"), DisplayName("MP_Open"), Description("미사용(DOT 인식시에 사용했음)")]
[Category("Special Settings (Developer)"), DisplayName("MP_Open"), Description("Unused (was used for DOT recognition)")]
public Boolean isBlack { get; set; }
[Category("특수설정(개발자용)"), DisplayName("MP_Open"), Description("미사용(DOT 인식시에 사용했음)")]
[Category("Special Settings (Developer)"), DisplayName("MP_Open"), Description("Unused (was used for DOT recognition)")]
public UInt32 judg_runcount { get; set; }
[Category("유닛 감지"), DisplayName("밝기 기준값"), Description("입력된 값 이상의 데이터를 취합니다. 이 값이 낮을 수록 검출값이 높아지게 됩니다. 이 기준값으로 검출된 값으로 판정을 합니다. 유닛은 밝은 데이터를 보고 판정 하므로 이 기준값 이상의 데이터가 검출이 됩니다")]
[Category("Unit Detection"), DisplayName("Brightness Threshold"), Description("Collects data above the entered value. The lower this value, the higher the detection value. Detection is determined by the value detected with this threshold. Since units are determined by looking at bright data, data above this threshold is detected")]
public byte detect_threhosld { get; set; }
[Category("유닛 감지"), DisplayName("판정 기준값"), Description("판정을 하는 기준 값입니다. 밝기기준값으로 인해 검출된 값이 5000이라면. 이 판정 기준에 입력된 값이 5000보다 크면 유닛이 존재하는 것으로 판정하며, 그 보다 낮을 때에는 유닛이 없는 'Empty' 유닛으로 감지 됩니다")]
[Category("Unit Detection"), DisplayName("Detection Threshold"), Description("This is the threshold value for detection. If the value detected due to the brightness threshold is 5000, and the value entered in this detection threshold is greater than 5000, it is determined that a unit exists. When it is lower, it is detected as an 'Empty' unit with no unit")]
public UInt16 detect_count { get; set; }
[Category("유닛 감지"), DisplayName("*예외영역 판정기준"), Description("빈 유닛(=Empty) 일때 셔틀 프레임의 빛 반사가 심할 경우 해당 반사값에 의해 유닛이 감지됩니다. 그러한 데이터를 제거하기위해 이 값이 사용되며, 유닛검출에 사용하는 흰색영역의 값외에 추가로 검은색 덩어리를 검사합니다. 설정한 값사이의 검은색 덩어리가 검출되면 'Empty' 유닛으로 감지 됩니다")]
[Category("Unit Detection"), DisplayName("*Exception Area Detection Threshold"), Description("When an empty unit (=Empty), if light reflection from the shuttle frame is severe, the unit is detected by the reflection value. This value is used to remove such data, and in addition to the white area values used for unit detection, black blob detection is performed. If a black blob within the set value range is detected, it is detected as an 'Empty' unit")]
public Point detect_blobrange { get; set; }
[Category("2D 감지"), DisplayName("밝기 기준값"), Description("입력된 값 이하의 데이터를 취합니다. 이 값이 낮을 수록 검출값도 낮아지게 됩니다. 이 기준값으로 검출된 값으로 판정을 합니다. 2D는 어두운 데이터를 보고 판정 하므로 이 기준값 이하의 데이터가 검출이 됩니다")]
[Category("2D Detection"), DisplayName("Brightness Threshold"), Description("Collects data below the entered value. The lower this value, the lower the detection value. Detection is determined by the value detected with this threshold. Since 2D codes are determined by looking at dark data, data below this threshold is detected")]
public byte detectDM_threhosld { get; set; }
[Category("2D 감지"), DisplayName("판정 기준값"), Description("판정을 하는 기준 값입니다. 밝기기준값으로 인해 검출된 값이 5000이라면. 이 판정 기준에 입력된 값이 5000보다 크면 ID가 존재하는 것으로 판정하며, 그 보다 낮을 때에는 ID가 없는 'New' 유닛으로 감지 됩니다")]
[Category("2D Detection"), DisplayName("Detection Threshold"), Description("This is the threshold value for detection. If the value detected due to the brightness threshold is 5000, and the value entered in this detection threshold is greater than 5000, it is determined that an ID exists. When it is lower, it is detected as a 'New' unit with no ID")]
public UInt16 detectDM_count { get; set; }
public CVisionProcess()
@@ -226,7 +226,7 @@ namespace Project
}
public override string ToString()
{
return "비젼 설정 값";
return "Vision Settings";
}
}

View File

@@ -39,7 +39,7 @@ namespace Project.Class
if (int.TryParse(_sid, out sidNum) && sidNum.ToString().Length == 9)
SID = sidNum.ToString();
else
throw new Exception("SID가 숫자가 아니거나 9자리 숫자가 아닙니다.");
throw new Exception("SID is not a number or not a 9-digit number.");
venderLot = _lot;
mfg = _mfgdate;
@@ -52,7 +52,7 @@ namespace Project.Class
{
var spData = qrbarcodestr.Split(';');
if (spData.Length < 6)
throw new Exception("Barcode Length가 적습니다.");
throw new Exception("Barcode length is insufficient.");
SID = spData[0];
venderLot = spData[1];
@@ -63,7 +63,7 @@ namespace Project.Class
if (int.TryParse(spData[3], out _qty))
qty = _qty;
else
throw new Exception("수량란에 숫자 정보가 아닙니다.");
throw new Exception("Quantity field does not contain numeric information.");
id = spData[4];
mfg = spData[5];

View File

@@ -297,7 +297,7 @@ namespace Project.Class
//값이 변경될때 로그에 변경
if (_rid.Equals(value) == false)
{
PUB.AddDebugLog(string.Format("RID 변경 {0} -> {1} by {2}", _rid, value, reason));
PUB.AddDebugLog(string.Format("RID Changed {0} -> {1} by {2}", _rid, value, reason));
}
RID = value;
RID_Trust = true;
@@ -538,27 +538,27 @@ namespace Project.Class
if (QTY.Equals(QTY2) == false)
{
PUB.log.AddE(string.Format("QR검증실패 수량:{0} != {1}", QTY, QTY2));
PUB.log.AddE(string.Format("QR Validation Failed Quantity:{0} != {1}", QTY, QTY2));
return false;
}
if (RID.Equals(RID2) == false)
{
PUB.log.AddE(string.Format("QR검증실패 RID:{0} != {1}", RID, RID2));
PUB.log.AddE(string.Format("QR Validation Failed RID:{0} != {1}", RID, RID2));
return false;
}
if (VLOT.Equals(VLOT2) == false)
{
PUB.log.AddE(string.Format("QR검증실패 VLOT:{0} != {1}", VLOT, VLOT2));
PUB.log.AddE(string.Format("QR Validation Failed VLOT:{0} != {1}", VLOT, VLOT2));
return false;
}
if (PARTNO.Equals(PARTNO2) == false)
{
PUB.log.AddE(string.Format("QR검증실패 PARTNO:{0} != {1}", PARTNO, PARTNO2));
PUB.log.AddE(string.Format("QR Validation Failed PARTNO:{0} != {1}", PARTNO, PARTNO2));
return false;
}
if (SID.Equals(SID2) == false)
{
PUB.log.AddE(string.Format("QR검증실패 SID:{0} != {1}", SID, SID2));
PUB.log.AddE(string.Format("QR Validation Failed SID:{0} != {1}", SID, SID2));
return false;
}
@@ -686,7 +686,7 @@ namespace Project.Class
MCN = string.Empty;
Target = string.Empty;
PUB.log.Add($"비젼데이터삭제({reason})");
PUB.log.Add($"Vision Data Deleted ({reason})");
}
public void CopyTo(ref VisionData obj)

View File

@@ -10042,7 +10042,7 @@ namespace Project {
return ((global::System.DateTime)(this[this.tableK4EE_Component_Reel_Result.ETIMEColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'K4EE_Component_Reel_Result\' 테이블의 \'ETIME\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'ETIME\' column of \'K4EE_Component_Reel_Result\' table is DBNull.", e);
}
}
set {
@@ -10357,7 +10357,7 @@ namespace Project {
return ((global::System.DateTime)(this[this.tableK4EE_Component_Reel_Result.PTIMEColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'K4EE_Component_Reel_Result\' 테이블의 \'PTIME\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'PTIME\' column of \'K4EE_Component_Reel_Result\' table is DBNull.", e);
}
}
set {
@@ -10464,7 +10464,7 @@ namespace Project {
return ((global::System.DateTime)(this[this.tableK4EE_Component_Reel_Result.ATIMEColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'K4EE_Component_Reel_Result\' 테이블의 \'ATIME\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'ATIME\' column of \'K4EE_Component_Reel_Result\' table is DBNull.", e);
}
}
set {
@@ -10512,7 +10512,7 @@ namespace Project {
return ((global::System.Guid)(this[this.tableK4EE_Component_Reel_Result.GUIDColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'K4EE_Component_Reel_Result\' 테이블의 \'GUID\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'GUID\' column of \'K4EE_Component_Reel_Result\' table is DBNull.", e);
}
}
set {
@@ -11356,7 +11356,7 @@ namespace Project {
return ((global::System.DateTime)(this[this.tableK4EE_Component_Reel_SID_Convert.wdateColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'K4EE_Component_Reel_SID_Convert\' 테이블의 \'wdate\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'wdate\' column of \'K4EE_Component_Reel_SID_Convert\' table is DBNull.", e);
}
}
set {
@@ -11567,7 +11567,7 @@ namespace Project {
return ((global::System.DateTime)(this[this.tableK4EE_Component_Reel_SID_Information.wdateColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'K4EE_Component_Reel_SID_Information\' 테이블의 \'wdate\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'wdate\' column of \'K4EE_Component_Reel_SID_Information\' table is DBNull.", e);
}
}
set {
@@ -11840,7 +11840,7 @@ namespace Project {
return ((global::System.DateTime)(this[this.tableK4EE_Component_Reel_PreSet.wdateColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'K4EE_Component_Reel_PreSet\' 테이블의 \'wdate\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'wdate\' column of \'K4EE_Component_Reel_PreSet\' table is DBNull.", e);
}
}
set {
@@ -12292,7 +12292,7 @@ namespace Project {
return ((global::System.DateTime)(this[this.tableK4EE_Component_Reel_Print_Information.wdateColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'K4EE_Component_Reel_Print_Information\' 테이블의 \'wdate\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'wdate\' column of \'K4EE_Component_Reel_Print_Information\' table is DBNull.", e);
}
}
set {
@@ -14128,7 +14128,7 @@ namespace Project {
return ((string)(this[this.tableMailFormat.subjectColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'MailFormat\' 테이블의 \'subject\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'subject\' column of \'MailFormat\' table is DBNull.", e);
}
}
set {
@@ -14144,7 +14144,7 @@ namespace Project {
return ((string)(this[this.tableMailFormat.contentColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'MailFormat\' 테이블의 \'content\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'content\' column of \'MailFormat\' table is DBNull.", e);
}
}
set {
@@ -14210,7 +14210,7 @@ namespace Project {
return ((string)(this[this.tableMailRecipient.NameColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'MailRecipient\' 테이블의 \'Name\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'Name\' column of \'MailRecipient\' table is DBNull.", e);
}
}
set {
@@ -14226,7 +14226,7 @@ namespace Project {
return ((string)(this[this.tableMailRecipient.AddressColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'MailRecipient\' 테이블의 \'Address\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'Address\' column of \'MailRecipient\' table is DBNull.", e);
}
}
set {
@@ -14292,7 +14292,7 @@ namespace Project {
return ((global::System.DateTime)(this[this.tableSIDHistory.timeColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'SIDHistory\' 테이블의 \'time\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'time\' column of \'SIDHistory\' table is DBNull.", e);
}
}
set {
@@ -14574,7 +14574,7 @@ namespace Project {
return ((int)(this[this.tableInputDescription.TerminalNoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'InputDescription\' 테이블의 \'TerminalNo\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'TerminalNo\' column of \'InputDescription\' table is DBNull.", e);
}
}
set {
@@ -14590,7 +14590,7 @@ namespace Project {
return ((bool)(this[this.tableInputDescription.InvertColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'InputDescription\' 테이블의 \'Invert\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'Invert\' column of \'InputDescription\' table is DBNull.", e);
}
}
set {
@@ -14740,7 +14740,7 @@ namespace Project {
return ((int)(this[this.tableOutputDescription.TerminalNoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'OutputDescription\' 테이블의 \'TerminalNo\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'TerminalNo\' column of \'OutputDescription\' table is DBNull.", e);
}
}
set {
@@ -14756,7 +14756,7 @@ namespace Project {
return ((bool)(this[this.tableOutputDescription.InvertColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'OutputDescription\' 테이블의 \'Invert\' 열의 값이 DBNull입니다.", e);
throw new global::System.Data.StrongTypingException("Value in \'Invert\' column of \'OutputDescription\' table is DBNull.", e);
}
}
set {
@@ -23648,40 +23648,40 @@ SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrus
}
if (((this._k4EE_Component_Reel_ResultTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._k4EE_Component_Reel_ResultTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
throw new global::System.ArgumentException("All TableAdapters managed by TableAdapterManager must use the same connection string.");
}
if (((this._k4EE_Component_Reel_RegExRuleTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._k4EE_Component_Reel_RegExRuleTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
throw new global::System.ArgumentException("All TableAdapters managed by TableAdapterManager must use the same connection string.");
}
if (((this._k4EE_Component_Reel_SID_ConvertTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._k4EE_Component_Reel_SID_ConvertTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
throw new global::System.ArgumentException("All TableAdapters managed by TableAdapterManager must use the same connection string.");
}
if (((this._k4EE_Component_Reel_SID_InformationTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._k4EE_Component_Reel_SID_InformationTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
throw new global::System.ArgumentException("All TableAdapters managed by TableAdapterManager must use the same connection string.");
}
if (((this._k4EE_Component_Reel_PreSetTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._k4EE_Component_Reel_PreSetTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
throw new global::System.ArgumentException("All TableAdapters managed by TableAdapterManager must use the same connection string.");
}
if (((this._k4EE_Component_Reel_CustInfoTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._k4EE_Component_Reel_CustInfoTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
throw new global::System.ArgumentException("All TableAdapters managed by TableAdapterManager must use the same connection string.");
}
if (((this._k4EE_Component_Reel_Print_InformationTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._k4EE_Component_Reel_Print_InformationTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
throw new global::System.ArgumentException("All TableAdapters managed by TableAdapterManager must use the same connection string.");
}
if (((this._k4EE_Component_Reel_PrintRegExRuleTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._k4EE_Component_Reel_PrintRegExRuleTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
throw new global::System.ArgumentException("All TableAdapters managed by TableAdapterManager must use the same connection string.");
}
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" +
"eAdapter 인스턴스로 설정하십시오.");
throw new global::System.ApplicationException("TableAdapterManager has no connection information. Set each TableAdapterManager TableAdapter property to a valid " +
"TableAdapter instance.");
}
bool workConnOpened = false;
if (((workConnection.State & global::System.Data.ConnectionState.Broken)
@@ -23694,7 +23694,7 @@ SELECT Id, Seq, CustCode, Description, Symbol, Pattern, Groups, IsEnable, IsTrus
}
global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
if ((workTransaction == null)) {
throw new global::System.ApplicationException("트랜잭션을 시작할 수 없습니다. 현재 데이터 연결에서 트랜잭션이 지원되지 않거나 현재 상태에서 트랜잭션을 시작할 수 없습니다.");
throw new global::System.ApplicationException("Cannot start transaction. Either transactions are not supported by the current data connection or the transaction cannot be started from the current state.");
}
global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();

View File

@@ -158,7 +158,7 @@ namespace Project.Device
var bitmaperrcnt = AR.VAR.I32[eVarInt32.BitmapCompatErr];
if (IsCompatible(source, target) == false)
{
PUB.log.AddE($"키엔스비트맵호환오류 원본:{source.Width}x{source.Height} => 대상:{target.Width}x{target.Height}");
PUB.log.AddE($"Keyence bitmap compatibility error Source:{source.Width}x{source.Height} => Target:{target.Width}x{target.Height}");
if (bitmaperrcnt > 5)
{
@@ -434,7 +434,7 @@ namespace Project.Device
bool retval = false;
if (readimage)
{
PUB.log.AddAT("키엔스 이미지를 받고 잇어 명령을 처리하지 않음");
PUB.log.AddAT("Keyence is receiving image, command not processed");
}
else
{

View File

@@ -18,15 +18,15 @@ namespace Project.Device
var fi = new System.IO.FileInfo(ZPLFileName);
if (fi.Exists == false || fi.Length == 0)
{
PUB.log.AddE($"{ZPLFileName} 이 존재하지않거나 데이터가 없습니다 zpl.txt 기본으로 변경합니다");
PUB.log.AddE($"{ZPLFileName} does not exist or has no data. Changed to default zpl.txt");
fi = new System.IO.FileInfo("zpl.txt");
if (fi.Exists == false) PUB.log.AddE("인쇄기본파일(zpl.txt)가 존재하지 않습니다");
if (fi.Exists == false) PUB.log.AddE("Print template file (zpl.txt) does not exist");
}
if (fi.Exists && fi.Length > 1)
return System.IO.File.ReadAllText(fi.FullName, System.Text.Encoding.Default);
else
{
PUB.log.AddAT("ZPL파일이 없어 설정의 ZPL코드를 사용합니다");
PUB.log.AddAT("No ZPL file found, using ZPL code from settings");
return Properties.Settings.Default.ZPL7;
}

View File

@@ -27,15 +27,15 @@ namespace Project.Device
var fi = new System.IO.FileInfo(ZPLFileName);
if (fi.Exists == false || fi.Length == 0)
{
PUB.log.AddE($"{ZPLFileName} 이 존재하지않거나 데이터가 없습니다 zpl.txt 기본으로 변경합니다");
PUB.log.AddE($"{ZPLFileName} does not exist or has no data. Changed to default zpl.txt");
fi = new System.IO.FileInfo("zpl.txt");
if (fi.Exists == false) PUB.log.AddE("인쇄기본파일(zpl.txt)가 존재하지 않습니다");
if (fi.Exists == false) PUB.log.AddE("Print template file (zpl.txt) does not exist");
}
if (fi.Exists && fi.Length > 1)
return System.IO.File.ReadAllText(fi.FullName, System.Text.Encoding.Default);
else
{
PUB.log.AddAT("ZPL파일이 없어 설정의 ZPL코드를 사용합니다");
PUB.log.AddAT("No ZPL file found, using ZPL code from settings");
return Properties.Settings.Default.ZPL7;
}

View File

@@ -92,7 +92,7 @@ namespace Project
if (PUB.wsL == null || PUB.wsL.Connected == false)
{
if (AR.SETTING.Data.Log_CameraConn)
PUB.log.Add($"카메라(L) 접속 시도({AR.SETTING.Data.HostIPL}:{AR.SETTING.Data.HostPortL})");
PUB.log.Add($"Camera(L) connection attempt ({AR.SETTING.Data.HostIPL}:{AR.SETTING.Data.HostPortL})");
if (PUB.wsL != null)
{
DetachCameraEventL(); //이벤트 종료
@@ -142,7 +142,7 @@ namespace Project
if (PUB.wsR == null || PUB.wsR.Connected == false)
{
if (AR.SETTING.Data.Log_CameraConn)
PUB.log.Add($"카메라(R) 접속 시도({AR.SETTING.Data.HostIPR}:{AR.SETTING.Data.HostPortR})");
PUB.log.Add($"Camera(R) connection attempt ({AR.SETTING.Data.HostIPR}:{AR.SETTING.Data.HostPortR})");
if (PUB.wsR != null)
{
DetachCameraEventR(); //이벤트 종료

View File

@@ -281,7 +281,7 @@ namespace Project.Dialog
if (PUB.dio.IsInit == false)
{
//임시시그널
var dlg = UTIL.MsgQ("가상 시그널을 생성하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to create a virtual signal?");
if (dlg == System.Windows.Forms.DialogResult.Yes)
{
PUB.dio.RaiseEvent(eIOPINDIR.OUTPUT, e.idx, newValue);
@@ -301,7 +301,7 @@ namespace Project.Dialog
if (PUB.dio.IsInit == false || PUB.flag.get(eVarBool.FG_DEBUG) == true)
{
//임시시그널
var dlg = UTIL.MsgQ("가상 시그널을 생성하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to create a virtual signal?");
if (dlg == System.Windows.Forms.DialogResult.Yes)
{
PUB.dio.RaiseEvent(eIOPINDIR.INPUT, e.idx, newValue);

View File

@@ -49,7 +49,7 @@ namespace Project.Dialog.Debug
OPER_NAME = tboper.Text,
HOST_NAME = System.Net.Dns.GetHostEntry("").HostName,
};
UTIL.MsgE("미지원");
UTIL.MsgE("Not supported");
//var rlt = Amkor.RestfulService.Inbound_label_attach_reel_info(reelinfo, out string errmsg);
//if (rlt == false) UTIL.MsgE(errmsg);

View File

@@ -309,7 +309,7 @@
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorMoveFirstItem
//
@@ -318,7 +318,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -327,7 +327,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -336,13 +336,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -356,7 +356,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -365,7 +365,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
@@ -379,7 +379,7 @@
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(51, 22);
this.toolStripButton1.Text = "속도";
this.toolStripButton1.Text = "Speed";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripButton2
@@ -389,7 +389,7 @@
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(63, 22);
this.toolStripButton2.Text = "가속도";
this.toolStripButton2.Text = "Acceleration";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_2);
//
// toolStripButton3
@@ -399,7 +399,7 @@
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(63, 22);
this.toolStripButton3.Text = "감속도";
this.toolStripButton3.Text = "Deceleration";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click_1);
//
// toolStripSeparator1
@@ -450,7 +450,7 @@
this.btJogLeft.TabIndex = 0;
this.btJogLeft.Tag = "CCW";
this.btJogLeft.Text = "NEG(-)";
this.toolTip1.SetToolTip(this.btJogLeft, "역방향 이동");
this.toolTip1.SetToolTip(this.btJogLeft, "Reverse direction movement");
this.btJogLeft.UseVisualStyleBackColor = false;
this.btJogLeft.Click += new System.EventHandler(this.btJogLeft_Click);
this.btJogLeft.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btJogDown_Click);
@@ -472,7 +472,7 @@
this.btJogStop.TabIndex = 0;
this.btJogStop.Tag = "STOP";
this.btJogStop.Text = "■";
this.toolTip1.SetToolTip(this.btJogStop, "비상 정지");
this.toolTip1.SetToolTip(this.btJogStop, "Emergency stop");
this.btJogStop.UseVisualStyleBackColor = true;
this.btJogStop.Click += new System.EventHandler(this.btJogStop_Click);
//
@@ -493,7 +493,7 @@
this.btJogDn.TabIndex = 0;
this.btJogDn.Tag = "CW";
this.btJogDn.Text = "POS(+)";
this.toolTip1.SetToolTip(this.btJogDn, "정방향 이동");
this.toolTip1.SetToolTip(this.btJogDn, "Forward direction movement");
this.btJogDn.UseVisualStyleBackColor = false;
this.btJogDn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btJogDown_Click);
this.btJogDn.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btJogUp_Click);
@@ -515,7 +515,7 @@
this.btJogUp.TabIndex = 0;
this.btJogUp.Tag = "CCW";
this.btJogUp.Text = "NEG(-)";
this.toolTip1.SetToolTip(this.btJogUp, "역 방향 이동");
this.toolTip1.SetToolTip(this.btJogUp, "Reverse direction movement");
this.btJogUp.UseVisualStyleBackColor = false;
this.btJogUp.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btJogDown_Click);
this.btJogUp.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btJogUp_Click);
@@ -534,8 +534,8 @@
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(73, 81);
this.button5.TabIndex = 3;
this.button5.Text = "홈\r\n검색";
this.toolTip1.SetToolTip(this.button5, "홈 검색 실행");
this.button5.Text = "Home\r\nSearch";
this.toolTip1.SetToolTip(this.button5, "Execute home search");
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.btJogHome_Click);
//
@@ -553,8 +553,8 @@
this.btPClear.Name = "btPClear";
this.btPClear.Size = new System.Drawing.Size(74, 81);
this.btPClear.TabIndex = 3;
this.btPClear.Text = "위치\r\n초기화";
this.toolTip1.SetToolTip(this.btPClear, "현재 위치 초기화");
this.btPClear.Text = "Position\r\nReset";
this.toolTip1.SetToolTip(this.btPClear, "Reset current position");
this.btPClear.UseVisualStyleBackColor = true;
this.btPClear.Click += new System.EventHandler(this.btJogPClear_Click);
//
@@ -573,7 +573,7 @@
this.btSVY.Size = new System.Drawing.Size(73, 81);
this.btSVY.TabIndex = 4;
this.btSVY.Text = "SVON";
this.toolTip1.SetToolTip(this.btSVY, "서보 ON/OFF");
this.toolTip1.SetToolTip(this.btSVY, "Servo ON/OFF");
this.btSVY.UseVisualStyleBackColor = true;
this.btSVY.Click += new System.EventHandler(this.btJogSVon_Click);
//
@@ -591,8 +591,8 @@
this.btAClear.Name = "btAClear";
this.btAClear.Size = new System.Drawing.Size(74, 81);
this.btAClear.TabIndex = 4;
this.btAClear.Text = "알람\r\n제거";
this.toolTip1.SetToolTip(this.btAClear, "서보알람 제거");
this.btAClear.Text = "Alarm\r\nClear";
this.toolTip1.SetToolTip(this.btAClear, "Clear servo alarm");
this.btAClear.UseVisualStyleBackColor = true;
this.btAClear.Click += new System.EventHandler(this.btJogAClear_Click);
//
@@ -613,7 +613,7 @@
this.btJogRight.TabIndex = 0;
this.btJogRight.Tag = "CW";
this.btJogRight.Text = "POS(+)";
this.toolTip1.SetToolTip(this.btJogRight, "정 방향 이동");
this.toolTip1.SetToolTip(this.btJogRight, "Forward direction movement");
this.btJogRight.UseVisualStyleBackColor = false;
this.btJogRight.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btJogDown_Click);
this.btJogRight.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btJogUp_Click);
@@ -645,7 +645,7 @@
this.nudPosRel.Size = new System.Drawing.Size(98, 26);
this.nudPosRel.TabIndex = 50;
this.nudPosRel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.nudPosRel, "이동 할 임의 위치값 우측의 GO버튼을 누르면 이동 함");
this.toolTip1.SetToolTip(this.nudPosRel, "Arbitrary position value to move. Press the GO button on the right to move");
//
// button3
//
@@ -659,7 +659,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(45, 26);
this.button3.TabIndex = 51;
this.button3.Text = "이동";
this.button3.Text = "Move";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
@@ -676,7 +676,7 @@
this.linkLabel11.TabStop = true;
this.linkLabel11.Text = "REL.Value";
this.linkLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip1.SetToolTip(this.linkLabel11, "값 변경");
this.toolTip1.SetToolTip(this.linkLabel11, "Change value");
this.linkLabel11.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel11_LinkClicked);
//
// panel14
@@ -698,7 +698,7 @@
this.chkJogMoveForce.Name = "chkJogMoveForce";
this.chkJogMoveForce.Size = new System.Drawing.Size(84, 33);
this.chkJogMoveForce.TabIndex = 59;
this.chkJogMoveForce.Text = "강제조그";
this.chkJogMoveForce.Text = "Force Jog";
this.chkJogMoveForce.UseVisualStyleBackColor = true;
this.chkJogMoveForce.Click += new System.EventHandler(this.chkJogMoveForce_Click);
//
@@ -729,7 +729,7 @@
this.nudPosAbs.Size = new System.Drawing.Size(98, 26);
this.nudPosAbs.TabIndex = 13;
this.nudPosAbs.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.nudPosAbs, "이동 할 임의 위치값 우측의 GO버튼을 누르면 이동 함");
this.toolTip1.SetToolTip(this.nudPosAbs, "Arbitrary position value to move. Press the GO button on the right to move");
//
// button1
//
@@ -743,7 +743,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(45, 26);
this.button1.TabIndex = 51;
this.button1.Text = "이동";
this.button1.Text = "Move";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -760,7 +760,7 @@
this.linkLabel10.TabStop = true;
this.linkLabel10.Text = "ABS.Value";
this.linkLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip1.SetToolTip(this.linkLabel10, "값 변경");
this.toolTip1.SetToolTip(this.linkLabel10, "Change value");
this.linkLabel10.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel10_LinkClicked);
//
// panel11
@@ -790,7 +790,7 @@
this.nudJogVel.Size = new System.Drawing.Size(143, 26);
this.nudJogVel.TabIndex = 0;
this.nudJogVel.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.nudJogVel, "조그모드 이동 속도");
this.toolTip1.SetToolTip(this.nudJogVel, "Jog mode movement speed");
this.nudJogVel.Value = new decimal(new int[] {
20,
0,
@@ -810,7 +810,7 @@
this.linkLabel8.TabStop = true;
this.linkLabel8.Text = "JOG Speed";
this.linkLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip1.SetToolTip(this.linkLabel8, "값 변경");
this.toolTip1.SetToolTip(this.linkLabel8, "Change value");
this.linkLabel8.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel8_LinkClicked);
//
// tabControl2
@@ -1031,7 +1031,7 @@
this.nudJogAcc.Size = new System.Drawing.Size(143, 26);
this.nudJogAcc.TabIndex = 0;
this.nudJogAcc.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.toolTip1.SetToolTip(this.nudJogAcc, "조그모드 이동 속도");
this.toolTip1.SetToolTip(this.nudJogAcc, "Jog mode movement speed");
this.nudJogAcc.Value = new decimal(new int[] {
500,
0,
@@ -1051,7 +1051,7 @@
this.motLinkLabel1.TabStop = true;
this.motLinkLabel1.Text = "JOG Acc";
this.motLinkLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolTip1.SetToolTip(this.motLinkLabel1, "값 변경");
this.toolTip1.SetToolTip(this.motLinkLabel1, "Change value");
this.motLinkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.motLinkLabel1_LinkClicked);
//
// panLeft
@@ -1084,7 +1084,7 @@
//
// columnHeader1
//
this.columnHeader1.Text = "모델명";
this.columnHeader1.Text = "Model Name";
this.columnHeader1.Width = 230;
//
// tabControl4
@@ -1354,7 +1354,7 @@
this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btAdd.Name = "btAdd";
this.btAdd.Size = new System.Drawing.Size(99, 52);
this.btAdd.Text = "추가(&A)";
this.btAdd.Text = "Add(&A)";
this.btAdd.Click += new System.EventHandler(this.toolStripButton6_Click);
//
// btEdit
@@ -1363,7 +1363,7 @@
this.btEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btEdit.Name = "btEdit";
this.btEdit.Size = new System.Drawing.Size(107, 52);
this.btEdit.Text = "이름변경";
this.btEdit.Text = "Rename";
this.btEdit.Click += new System.EventHandler(this.btEdit_Click);
//
// btDel
@@ -1372,7 +1372,7 @@
this.btDel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btDel.Name = "btDel";
this.btDel.Size = new System.Drawing.Size(100, 52);
this.btDel.Text = "삭제(&D)";
this.btDel.Text = "Delete(&D)";
this.btDel.Click += new System.EventHandler(this.toolStripButton7_Click);
//
// btSave
@@ -1380,7 +1380,7 @@
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(98, 52);
this.btSave.Text = "저장(&S)";
this.btSave.Text = "Save(&S)";
this.btSave.Click += new System.EventHandler(this.toolStripButton8_Click);
//
// btCopy
@@ -1389,7 +1389,7 @@
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btCopy.Name = "btCopy";
this.btCopy.Size = new System.Drawing.Size(83, 52);
this.btCopy.Text = "복사";
this.btCopy.Text = "Copy";
this.btCopy.Click += new System.EventHandler(this.btCopy_Click);
//
// btSelect
@@ -1401,7 +1401,7 @@
this.btSelect.Image = global::Project.Properties.Resources.icons8_selection_40;
this.btSelect.Name = "btSelect";
this.btSelect.Size = new System.Drawing.Size(215, 44);
this.btSelect.Text = "이 모델을 선택합니다";
this.btSelect.Text = "Select this model";
this.btSelect.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSelect.Click += new System.EventHandler(this.toolStripButton10_Click);
//
@@ -1418,7 +1418,7 @@
this.toolStripButton11.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton11.Name = "toolStripButton11";
this.toolStripButton11.Size = new System.Drawing.Size(119, 52);
this.toolStripButton11.Text = "그룹이동";
this.toolStripButton11.Text = "Group Move";
this.toolStripButton11.ButtonClick += new System.EventHandler(this.toolStripButton11_ButtonClick);
this.toolStripButton11.Click += new System.EventHandler(this.toolStripButton11_Click);
//
@@ -1427,7 +1427,7 @@
this.ToolStripMenuItem.Image = global::Project.Properties.Resources.icons8_save_to_grid_40;
this.ToolStripMenuItem.Name = "그룹설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(154, 54);
this.ToolStripMenuItem.Text = "그룹설정";
this.ToolStripMenuItem.Text = "Group Settings";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// Column1

View File

@@ -74,9 +74,9 @@ namespace Project
{
if (hasChanged())
{
var dlg = UTIL.MsgQ("변경된 자료가 있습니다.\n" +
"진행하면 변경된 자료는 손실됩니다\n" +
"진행 할까요?");
var dlg = UTIL.MsgQ("There are unsaved changes.\n" +
"Proceeding will discard the changes\n" +
"Do you want to continue?");
if (dlg != DialogResult.Yes)
{
@@ -157,7 +157,7 @@ namespace Project
newdr.idx = ds1.MCModel.Rows.Count + 1;
this.ds1.MCModel.AddMCModelRow(newdr);
UTIL.MsgI("등록된 모델이 없어 기본 모델(Default)를 생성 합니다");
UTIL.MsgI("No registered models found. Creating default model (Default)");
}
//this.axisIndex = 0; //기본Z축
@@ -262,16 +262,16 @@ namespace Project
var nudSpd = ctl.motSpdControl;
if (nud.MotionIndex < 0)
{
UTIL.MsgE("모션 축 번호가 지정되지 않았습니다\n\n" +
"이름 : " + ctl.Name + "\n" +
"제목 : " + ctl.Text);
UTIL.MsgE("Motion axis number is not specified\n\n" +
"Name : " + ctl.Name + "\n" +
"Title : " + ctl.Text);
return;
}
if ((nudAcc == null || nudSpd == null) && ctl.motCommand != arFrame.Control.MotCommandButton.eCommand.AcceptPosition)
{
UTIL.MsgE("속도/가속도 컨트롤이 지정되지 않았습니다\n\n" +
"이름 : " + ctl.Name + "\n" +
"제목 : " + ctl.Text);
UTIL.MsgE("Speed/acceleration control is not specified\n\n" +
"Name : " + ctl.Name + "\n" +
"Title : " + ctl.Text);
return;
}
@@ -281,7 +281,7 @@ namespace Project
//모션이 초기화가 안되있다면 오류로 처리한다
if (PUB.mot.IsHomeSet((short)nud.MotionIndex) == false)
{
UTIL.MsgE("해당 축은 홈 검색이 완료되지 않았습니다.\n먼저 홈 검색을 완료 하세요");
UTIL.MsgE("Home search for this axis is not completed.\nPlease complete home search first");
return;
}
@@ -291,11 +291,11 @@ namespace Project
{
case arFrame.Control.MotCommandButton.eCommand.AcceptPosition:
var msg1 = string.Format("모션의 설정값을 변경 하시겠습니까\n" +
" : {0}\n" +
"변경전 : {1}\n" +
"변경후 : {2}\n" +
"변경 후 '저장'을 눌러야 영구 기록 됩니다", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos, nud.Value);
var msg1 = string.Format("Do you want to change the motion settings?\n" +
"Axis : {0}\n" +
"Before : {1}\n" +
"After : {2}\n" +
"You must press 'Save' after change to record permanently", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos, nud.Value);
if (UTIL.MsgQ(msg1) != System.Windows.Forms.DialogResult.Yes) return;
@@ -314,11 +314,11 @@ namespace Project
if (ctl.motCommand == arFrame.Control.MotCommandButton.eCommand.RelativeMove)
relative = true;
var msg = string.Format("모션의 위치를 변경 하시겠습니까\n" +
" : {0}\n" +
"현재위치 : {1}\n" +
"대상위치 : {2}\n" +
"이동 시 충돌 가능성이 있는지 반드시 확인 하세요", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos);
var msg = string.Format("Do you want to change the motion position?\n" +
"Axis : {0}\n" +
"Current position : {1}\n" +
"Target position : {2}\n" +
"Please make sure to check for potential collisions during movement", axis, PUB.mot.GetActPos((short)nud.MotionIndex), pos);
if (UTIL.MsgQ(msg) != System.Windows.Forms.DialogResult.Yes) return;
@@ -437,11 +437,11 @@ namespace Project
var pos = (double)nudPosAbs.Value;
var vel = (double)nudJogVel.Value;
var msg = $"모션({axis}) 의 좌표를 ({pos})로 이동 할까요?";
var msg = $"Move motion({axis}) coordinate to ({pos})?";
if (UTIL.MsgQ(msg) != DialogResult.Yes) return;
MOT.Move(this.axis, pos, vel, 500, false, !chkJogMoveForce.Checked, !chkJogMoveForce.Checked);
PUB.log.AddI(string.Format("{0}번 축 수동이동(ABS) {1}mm", axisIndex, pos));
PUB.log.AddI(string.Format("Axis {0} manual movement(ABS) {1}mm", axisIndex, pos));
}
private void button3_Click_1(object sender, EventArgs e)
@@ -453,22 +453,22 @@ namespace Project
if(pos == 0.0)
{
UTIL.MsgE("상대 이동시 값은 (0)일 수 없습니다",true);
UTIL.MsgE("Value cannot be (0) for relative movement",true);
return;
}
var msg = $"모션({axis}) 의 좌표를 현재위치에서 ({pos})만큼 이동 할까요?";
var msg = $"Move motion({axis}) coordinate by ({pos}) from current position?";
if (UTIL.MsgQ(msg) != DialogResult.Yes) return;
MOT.Move(this.axis, pos, vel, 500, true, !chkJogMoveForce.Checked, !chkJogMoveForce.Checked);
PUB.log.AddI(string.Format("{0}번 축 수동이동(REL) {1}mm", axisIndex, pos));
PUB.log.AddI(string.Format("Axis {0} manual movement(REL) {1}mm", axisIndex, pos));
}
private void btJogHome_Click(object sender, EventArgs e)
{
//jog-home
var dlg = UTIL.MsgQ(string.Format("{0} 축의 홈 검색을 실행하시겠습니까?", this.axis));
var dlg = UTIL.MsgQ(string.Format("Execute home search for axis {0}?", this.axis));
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var rlt = MOT.Home("Model(UserControl)", this.axis);
if (rlt == false)
@@ -481,8 +481,8 @@ namespace Project
private void btJogPClear_Click(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("위치값을 초기화 하시겠습니까?\n" +
"실 사용전에는 반드시 홈 작업을 진행하세요");
var dlg = UTIL.MsgQ("Initialize position values?\n" +
"Make sure to perform home operation before actual use");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
//jog pos-clear
PUB.mot.ClearPosition((short)axisIndex);
@@ -513,7 +513,7 @@ namespace Project
var curstate = PUB.mot.IsServOn(axisIndex);
if (curstate)
{
var dlg = UTIL.MsgQ("SERVO-ON 상태를 OFF 할까요?\n\nOFF 되면 HOME-SET 상태도 OFF 됩니다");
var dlg = UTIL.MsgQ("Turn OFF SERVO-ON status?\n\nWhen turned OFF, HOME-SET status will also be turned OFF");
if (dlg != DialogResult.Yes) return;
}
PUB.mot.SetServOn((short)axisIndex, !curstate);
@@ -603,7 +603,7 @@ namespace Project
var dr = ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE($"선택된 인덱스({idx})에 해당하는 자료가 없습니다. \n다시 시도하세요", true);
UTIL.MsgE($"No data found for selected index({idx}). \nPlease try again", true);
bsPosData.Filter = "motindex=99 and PosTitle='영구없다'";
return;
}
@@ -626,7 +626,7 @@ namespace Project
this.tabControl1.TabPages[0].Text = $"[{dr.Title}-M{this.axisIndex}] Position Data";
RtLog.AddMsg($"모션좌표값확인({dr.Title}[{dr.idx}],축:{this.axisIndex})");
RtLog.AddMsg($"Motion coordinate value check ({dr.Title}[{dr.idx}], Axis: {this.axisIndex})");
//var rowindex = dvMot.SelectedCells[0].RowIndex;
@@ -640,7 +640,7 @@ namespace Project
//위치정보 표시
bsPosData.Filter = string.Format("pidx={0} and motindex = {1} and PosTitle not like 'XX_%'", dr.idx, this.axisIndex);
RtLog.AddMsg($"({bsPosData.Count}) 건의 자료가 확인 됨");
RtLog.AddMsg($"({bsPosData.Count}) data items confirmed");
//(위치정보) 데이터수량이 맞지 않으면 재 생성한다
@@ -660,7 +660,7 @@ namespace Project
if (axType == null)
{
UTIL.MsgE("지정한 축에 대한 위치정보가 지정되지 않았습니다");
UTIL.MsgE("Position information for specified axis is not defined");
return;
}
@@ -676,7 +676,7 @@ namespace Project
var dellist = ds1.MCModel.Where(t => t.pidx == dr.idx && t.MotIndex == this.axisIndex && t.PosIndex == -1).ToList();
if (dellist.Any())
{
RtLog.AddMsg($"모션({axisIndex}) 에 위치정보가 -1인 데이터 ({dellist.Count})건 있으며 삭제 합니다");
RtLog.AddMsg($"Motion ({axisIndex}) has {dellist.Count} data items with position information -1, deleting them");
cntD += dellist.Count;
foreach (var item in dellist)
ds1.MCModel.RemoveMCModelRow(item);
@@ -723,14 +723,14 @@ namespace Project
this.ds1.MCModel.AddMCModelRow(newdr);
newdr.EndEdit();
sb.AppendLine("항목 추가 : " + arrTitle);
sb.AppendLine("Item added: " + arrTitle);
}
else
{
//이름이 다르다면 추가해준다.
if (pDr.PosTitle != arrTitle)
{
sb.AppendLine("(위치)항목 변경 : " + pDr.PosTitle + " => " + arrTitle);
sb.AppendLine("(Position) Item changed: " + pDr.PosTitle + " => " + arrTitle);
cntE += 1;
pDr.PosTitle = arrTitle;
}
@@ -759,9 +759,9 @@ namespace Project
if (cntI > 0) sb.AppendLine("추가수량 : " + cntI.ToString());
if (cntE > 0) sb.AppendLine("변경수량 : " + cntE.ToString());
if (cntD > 0) sb.AppendLine("삭제수량 : " + cntD.ToString());
if (cntI > 0) sb.AppendLine("Added count: " + cntI.ToString());
if (cntE > 0) sb.AppendLine("Changed count: " + cntE.ToString());
if (cntD > 0) sb.AppendLine("Deleted count: " + cntD.ToString());
//최종 확정
this.ds1.MCModel.AcceptChanges();
@@ -778,9 +778,9 @@ namespace Project
if (chkJogMoveForce.Checked)
{
UTIL.MsgI(
"조그 강제 이동시에는 충돌 조건을 검사하지 않습니다\n" +
"셔틀 이동 시 주변 장애물을 반드시 확인하시기 바랍니다\n" +
"'강제이동' 은 티칭작업시에만 사용하세요");
"Collision conditions are not checked during jog forced movement\n" +
"Please make sure to check surrounding obstacles when moving shuttle\n" +
"'Forced movement' should only be used during teaching operations");
}
}
@@ -829,7 +829,7 @@ namespace Project
{
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈이 완료되지 않았습니다\n메인화면에서 '장치초기화'를 진행 하세요");
UTIL.MsgE("Motion home is not completed\nPlease proceed with 'Device Initialization' from main screen");
return;
}
//현재값으로 모터를 이동
@@ -849,12 +849,12 @@ namespace Project
//if (ctl.motCommand == arFrame.Control.MotCommandButton.eCommand.RelativeMove)
// relative = true;
var msg = string.Format("모션의 위치를 변경 하시겠습니까\n" +
" : {0}\n" +
"현재위치 : {1}\n" +
"대상위치 : {2}\n" +
"이동속도 : {3}(가속도:{4})\n" +
"이동 시 충돌 가능성이 있는지 반드시 확인 하세요", axis, PUB.mot.GetActPos(axisIndex), value, speed, acc);
var msg = string.Format("Do you want to change the motion position?\n" +
"Axis : {0}\n" +
"Current position : {1}\n" +
"Target position : {2}\n" +
"Movement speed : {3}(Acceleration:{4})\n" +
"Please make sure to check for potential collisions during movement", axis, PUB.mot.GetActPos(axisIndex), value, speed, acc);
if (UTIL.MsgQ(msg) != System.Windows.Forms.DialogResult.Yes) return;
@@ -868,7 +868,7 @@ namespace Project
{
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈이 완료되지 않았습니다\n메인화면에서 '장치초기화'를 진행 하세요");
UTIL.MsgE("Motion home is not completed\nPlease proceed with 'Device Initialization' from main screen");
return;
}
@@ -877,11 +877,11 @@ namespace Project
var value = (double)cell.Value;
var nValue = Math.Round(PUB.mot.GetCmdPos(this.axisIndex), 4); //소수점4자리에서 반올림처리한다 210414
var msg1 = string.Format("모션의 설정값을 변경 하시겠습니까\n" +
" : {0}\n" +
"변경전 : {1}\n" +
"변경후 : {2}\n" +
"변경 후 '저장'을 눌러야 영구 기록 됩니다", this.axis, value, nValue);
var msg1 = string.Format("Do you want to change the motion settings?\n" +
"Axis : {0}\n" +
"Before : {1}\n" +
"After : {2}\n" +
"You must press 'Save' after change to record permanently", this.axis, value, nValue);
if (UTIL.MsgQ(msg1) != System.Windows.Forms.DialogResult.Yes) return;
cell.Value = nValue;
@@ -891,7 +891,7 @@ namespace Project
//현재값 변경 팝업
var cell = dv.Rows[e.RowIndex].Cells[e.ColumnIndex];
var value = (double)cell.Value;
value = PUB.ChangeValuePopup(value, "위치 입력");
value = PUB.ChangeValuePopup(value, "Position Input");
cell.Value = value;
}
else if (colName == "btspeed")
@@ -902,10 +902,10 @@ namespace Project
var maxvalue = PUB.system_mot.GetMaxSpeed[this.axisIndex];
if (maxvalue == 0) maxvalue = 1000;
value = PUB.ChangeValuePopup(value, $"속도 입력(최대:{maxvalue}mm/s)");
value = PUB.ChangeValuePopup(value, $"Speed Input(Max:{maxvalue}mm/s)");
if(value > maxvalue)
{
UTIL.MsgE($"입력값({value})이 최대값({maxvalue})을 초과했습니다.\n다시 입력하세요");
UTIL.MsgE($"Input value({value}) exceeds maximum value({maxvalue}).\nPlease input again");
//cell.Value = maxvalue;
}
else
@@ -922,10 +922,10 @@ namespace Project
var maxvalue = PUB.system_mot.GetMaxAcc[this.axisIndex];
if (maxvalue == 0) maxvalue = 2000;
value = PUB.ChangeValuePopup(value, $"가속도 입력(최대:{maxvalue}mm/s)");
value = PUB.ChangeValuePopup(value, $"Acceleration Input(Max:{maxvalue}mm/s)");
if (value > maxvalue)
{
UTIL.MsgE($"입력값({value})이 최대값({maxvalue})을 초과했습니다.\n다시 입력하세요");
UTIL.MsgE($"Input value({value}) exceeds maximum value({maxvalue}).\nPlease input again");
//cell.Value = maxvalue;
}
else
@@ -942,10 +942,10 @@ namespace Project
var maxvalue = PUB.system_mot.GetMaxAcc[this.axisIndex];
if (maxvalue == 0) maxvalue = 2000;
value = PUB.ChangeValuePopup(value, $"감속도 입력(최대:{maxvalue}mm/s)");
value = PUB.ChangeValuePopup(value, $"Deceleration Input(Max:{maxvalue}mm/s)");
if (value > maxvalue)
{
UTIL.MsgE($"입력값({value})이 최대값({maxvalue})을 초과했습니다.\n다시 입력하세요");
UTIL.MsgE($"Input value({value}) exceeds maximum value({maxvalue}).\nPlease input again");
//cell.Value = maxvalue;
}
else
@@ -960,7 +960,7 @@ namespace Project
{
//jopgspeed
var value = (double)nudJogVel.Value;
value = PUB.ChangeValuePopup(value, "속도 입력");
value = PUB.ChangeValuePopup(value, "Speed Input");
nudJogVel.Value = (decimal)value;
}
@@ -968,7 +968,7 @@ namespace Project
{
//absvalue
var value = (double)this.nudPosAbs.Value;
value = PUB.ChangeValuePopup(value, "속도 입력");
value = PUB.ChangeValuePopup(value, "Speed Input");
nudPosAbs.Value = (decimal)value;
}
@@ -976,7 +976,7 @@ namespace Project
{
//reelvalu
var value = (double)nudPosRel.Value;
value = PUB.ChangeValuePopup(value, "속도 입력");
value = PUB.ChangeValuePopup(value, "Speed Input");
nudPosRel.Value = (decimal)value;
}
@@ -985,13 +985,13 @@ namespace Project
var maxspeed = PUB.system_mot.GetMaxSpeed[this.axisIndex];
if (maxspeed == 0) maxspeed = 1000;
var dlg = UTIL.MsgQ($"모든 이동좌표의 속도를 일괄 변경하시겠습니까?\n최대:{maxspeed}mm/s");
var dlg = UTIL.MsgQ($"Change speed of all movement coordinates in batch?\nMax:{maxspeed}mm/s");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(100.0, "일괄 속도 변경");
var value = PUB.ChangeValuePopup(100.0, "Batch Speed Change");
if(value > maxspeed)
{
UTIL.MsgE($"입력값({value})이 최대값({maxspeed})보다 큽니다. 다시 입력 하세요");
UTIL.MsgE($"Input value({value}) is greater than maximum value({maxspeed}). Please input again");
return;
}
for (int i = 0; i < this.bsPosData.Count; i++)
@@ -1010,13 +1010,13 @@ namespace Project
var maxspeed = PUB.system_mot.GetMaxAcc[this.axisIndex];
if (maxspeed == 0) maxspeed = 2000;
var dlg = UTIL.MsgQ($"모든 이동좌표의 가(감)속도를 일괄 변경하시겠습니까?\n최대:{maxspeed}mm/s");
var dlg = UTIL.MsgQ($"Change acceleration/deceleration of all movement coordinates in batch?\nMax:{maxspeed}mm/s");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(100.0, "일괄 가(감)속도 변경");
var value = PUB.ChangeValuePopup(100.0, "Batch Acceleration/Deceleration Change");
if (value > maxspeed)
{
UTIL.MsgE($"입력값({value})이 최대값({maxspeed})보다 큽니다. 다시 입력 하세요");
UTIL.MsgE($"Input value({value}) is greater than maximum value({maxspeed}). Please input again");
return;
}
@@ -1036,13 +1036,13 @@ namespace Project
var maxspeed = PUB.system_mot.GetMaxAcc[this.axisIndex];
if (maxspeed == 0) maxspeed = 2000;
var dlg = UTIL.MsgQ($"모든 이동좌표의 감속도를 일괄 변경하시겠습니까?\n최대:{maxspeed}mm/s");
var dlg = UTIL.MsgQ($"Change deceleration of all movement coordinates in batch?\nMax:{maxspeed}mm/s");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(0, "일괄 감속도 변경");
var value = PUB.ChangeValuePopup(0, "Batch Deceleration Change");
if (value > maxspeed)
{
UTIL.MsgE($"입력값({value})이 최대값({maxspeed})보다 큽니다. 다시 입력 하세요");
UTIL.MsgE($"Input value({value}) is greater than maximum value({maxspeed}). Please input again");
return;
}
@@ -1080,7 +1080,7 @@ namespace Project
{
//jopgspeed
var value = (double)nudJogAcc.Value;
value = PUB.ChangeValuePopup(value, "조그 가속도 입력");
value = PUB.ChangeValuePopup(value, "Jog Acceleration Input");
nudJogAcc.Value = (decimal)value;
}
@@ -1097,13 +1097,13 @@ namespace Project
private void toolStripButton6_Click(object sender, EventArgs e)
{
var f = new AR.Dialog.fInput("모델명을 입력하세요",string.Empty);
var f = new AR.Dialog.fInput("Enter model name",string.Empty);
if (f.ShowDialog() != DialogResult.OK) return;
//지정한 이름이있는지 확인한다.
if (ds1.MCModel.Where(t => t.Title == f.ValueString).Any())
{
UTIL.MsgE("이미 사용중인 이름 입니다\n\n" + f.ValueString);
UTIL.MsgE("Name is already in use\n\n" + f.ValueString);
return;
}
@@ -1126,20 +1126,20 @@ namespace Project
{
if (this.listView1.FocusedItem == null)
{
UTIL.MsgE("삭제할 대상을 선택하고 다시 시도하세요", true);
UTIL.MsgE("Select target to delete and try again", true);
return;
}
var idx = int.Parse(listView1.FocusedItem.Tag.ToString());
var dr = this.ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE($"인덱스({idx}) 값에 해당하는 자료가 없습니다.\n다시 시도하세요");
UTIL.MsgE($"No data found for index({idx}) value.\nPlease try again");
return;
}
var dlg = UTIL.MsgQ("현재 선택된 자료를 삭제하시겠습니까?\n\n" +
$"모델명 : {dr.Title}\n" +
$"모델번호 : ({dr.idx})");
var dlg = UTIL.MsgQ("Delete currently selected data?\n\n" +
$"Model name : {dr.Title}\n" +
$"Model number : ({dr.idx})");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
@@ -1186,7 +1186,7 @@ namespace Project
//빈데이터삭제
if (delrows.Any())
{
sb.AppendLine($"빈데이터삭제 {delrows.Count}");
sb.AppendLine($"Empty data deleted {delrows.Count} items");
for (int i = 0; i < delrows.Count; i++)
ds1.MCModel.RemoveMCModelRow(delrows[i]);
ds1.MCModel.AcceptChanges();
@@ -1199,14 +1199,14 @@ namespace Project
var mpos = PUB.mdm.dataSet.MCModel.Where(t => t.pidx == dr.pidx && t.MotIndex == dr.MotIndex && t.PosIndex == dr.PosIndex);
if (mpos.Any() == false)
{
sb.AppendLine($"[추가] Mot({dr.MotIndex}) {dr.PosTitle}({dr.Position})");
sb.AppendLine($"[Added] Mot({dr.MotIndex}) {dr.PosTitle}({dr.Position})");
}
else
{
var first = mpos.First();
if (dr.Position != first.Position || dr.PosTitle != first.PosTitle)
{
sb.AppendLine($"[변경] Mot({first.MotIndex}) {first.PosTitle}({first.Position}) => {dr.PosTitle}({dr.Position})");
sb.AppendLine($"[Changed] Mot({first.MotIndex}) {first.PosTitle}({first.Position}) => {dr.PosTitle}({dr.Position})");
//sb.AppendLine($" => {dr.PosTitle}({dr.Position})");
}
}
@@ -1220,15 +1220,15 @@ namespace Project
var mpos = ds1.MCModel.Where(t => t.MotIndex == dr.MotIndex && t.PosIndex == dr.PosIndex);
if (mpos.Any() == false)
{
sb.AppendLine($"[삭제] M={dr.MotIndex},P={dr.PosIndex},T={dr.PosTitle},V={dr.Position}");
sb.AppendLine($"[Deleted] M={dr.MotIndex},P={dr.PosIndex},T={dr.PosTitle},V={dr.Position}");
}
}
if (sb.Length > 0)
{
UTIL.MsgI("다음 사항이 변경 되었습니다\n" + sb.ToString());
UTIL.MsgI("The following items have been changed\n" + sb.ToString());
}
else PUB.log.AddI("변경된 모션 정보가 없습니다");
else PUB.log.AddI("No motion information changed");
// if (PUB.LockModel.WaitOne(1000) ==false)
{
@@ -1246,17 +1246,17 @@ namespace Project
var curmodelnmae = PUB.Result.mModel.Title;
if (curmodelnmae.isEmpty())
{
UTIL.MsgE("지정된 모델이 없어 값이 적용되지 않습니다\n작업 모델을 다시 선택하세요", true);
UTIL.MsgE("No specified model, values will not be applied\nPlease select work model again", true);
}
else
{
PUB.log.AddI($"모션모델을 적용 합니다({curmodelnmae})");
PUB.log.AddI($"Applying motion model ({curmodelnmae})");
PUB.Result.mModel.ReadValue(curmodelnmae);
if (PUB.Result.mModel.isSet)
{
PUB.log.AddAT("모션모델적용완료 : " + PUB.Result.mModel.Title);
PUB.log.AddAT("Motion model application completed: " + PUB.Result.mModel.Title);
}
else UTIL.MsgE($"모션모델적용실패\n\n대상 모델명({curmodelnmae})이 없습니다");
else UTIL.MsgE($"Motion model application failed\n\nTarget model name({curmodelnmae}) not found");
}
@@ -1284,7 +1284,7 @@ namespace Project
{
if (this.listView1.FocusedItem == null)
{
UTIL.MsgE("복사할 모델을 선택하세요", true);
UTIL.MsgE("Select model to copy", true);
return;
}
@@ -1292,11 +1292,11 @@ namespace Project
var dr = ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();// drv.Row as DataSet1.MCModelRow;
if (dr == null)
{
UTIL.MsgE($"모델 번호({idx}) 의 자료를 찾을 수 없습니다\n\n다시 시도하세요");
UTIL.MsgE($"Cannot find data for model number({idx})\n\nPlease try again");
return;
}
var dlg = UTIL.MsgQ(string.Format("다음 모델 정보를 복사하시겠습니까?\n\n모델명 : {0}", dr.Title));
var dlg = UTIL.MsgQ(string.Format("Copy the following model information?\n\nModel name : {0}", dr.Title));
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var newdr = this.ds1.MCModel.NewMCModelRow();
@@ -1305,7 +1305,7 @@ namespace Project
var newnameidx = 1;
while (true)
{
var newname = dr.Title + $"-복사됨({newnameidx++})-";
var newname = dr.Title + $"-Copy({newnameidx++})-";
if (ds1.MCModel.Where(t => t.Title == newname).Any() == false)
{
newdr.Title = newname;
@@ -1334,14 +1334,14 @@ namespace Project
this.ds1.MCModel.AddMCModelRow(newdr2);
}
this.ds1.MCModel.AcceptChanges();
PUB.log.Add($"{dr.Title} 모델 복사 => {newdr.Title}");
PUB.log.Add($"{dr.Title} model copy => {newdr.Title}");
}
private void toolStripButton10_Click(object sender, EventArgs e)
{
if (PUB.sm.Step == eSMStep.RUN || PUB.sm.Step == eSMStep.WAITSTART || PUB.sm.Step == eSMStep.PAUSE)
{
UTIL.MsgE("현재 동작(대기) 중이므로 모델을 변경 할 수 없습니다");
UTIL.MsgE("Cannot change model because currently operating (waiting)");
return;
}
//select
@@ -1349,7 +1349,7 @@ namespace Project
if (listView1.FocusedItem == null) return;
if (hasChanged())
{
UTIL.MsgE("저장되지 않은 사항이 있어 모델을 선택할 수 없습니다", true);
UTIL.MsgE("Cannot select model because there are unsaved changes", true);
return;
}
@@ -1372,14 +1372,14 @@ namespace Project
{
if (this.listView1.FocusedItem == null)
{
UTIL.MsgE("모델을 선택하세요", true);
UTIL.MsgE("Select a model", true);
return;
}
var idx = int.Parse(listView1.FocusedItem.Tag.ToString());
var dr = this.ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE($"인덱스({idx}) 에 해당하는 자료가 없습니다\n\n다시 시도하세요", true);
UTIL.MsgE($"No data found for index({idx})\n\nPlease try again", true);
return;
}
@@ -1411,36 +1411,36 @@ namespace Project
{
if (this.listView1.FocusedItem == null)
{
UTIL.MsgE("변경할 대상을 선택하고 다시 시도하세요", true);
UTIL.MsgE("Select target to change and try again", true);
return;
}
var idx = int.Parse(listView1.FocusedItem.Tag.ToString());
var dr = this.ds1.MCModel.Where(t => t.idx == idx).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE($"인덱스({idx}) 값에 해당하는 자료가 없습니다.\n다시 시도하세요");
UTIL.MsgE($"No data found for index({idx}) value.\nPlease try again");
return;
}
var f = new AR.Dialog.fTouchKeyFull("모델명 변경", dr.Title);
var f = new AR.Dialog.fTouchKeyFull("Change Model Name", dr.Title);
if (f.ShowDialog() != DialogResult.OK) return;
var valstr = f.tbInput.Text.Trim();
if (dr.Title.Equals(valstr))
{
UTIL.MsgE("이름이 변경되지 않았습니다", true);
UTIL.MsgE("Name has not been changed", true);
return;
}
if (ds1.MCModel.Where(t => t.Title == valstr).Any())
{
UTIL.MsgE("이미 존재하는 이름 입니다", true);
UTIL.MsgE("Name already exists", true);
return;
}
var dlg = UTIL.MsgQ("현재 선택된 모델의 이름을 변경 하시겠습니까?\n\n" +
$"변경전 : {dr.Title}\n" +
$"변경후 : {valstr}");
var dlg = UTIL.MsgQ("Change the name of currently selected model?\n\n" +
$"Before : {dr.Title}\n" +
$"After : {valstr}");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;

View File

@@ -426,7 +426,7 @@
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(51, 22);
this.toolStripButton4.Text = "추가";
this.toolStripButton4.Text = "Add";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripButton6
@@ -435,7 +435,7 @@
this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton6.Name = "toolStripButton6";
this.toolStripButton6.Size = new System.Drawing.Size(51, 22);
this.toolStripButton6.Text = "삭제";
this.toolStripButton6.Text = "Delete";
this.toolStripButton6.Click += new System.EventHandler(this.toolStripButton6_Click);
//
// toolStripButton7
@@ -454,7 +454,7 @@
this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton8.Name = "toolStripButton8";
this.toolStripButton8.Size = new System.Drawing.Size(51, 22);
this.toolStripButton8.Text = "편집";
this.toolStripButton8.Text = "Edit";
this.toolStripButton8.Click += new System.EventHandler(this.toolStripButton8_Click);
//
// toolStrip1
@@ -475,7 +475,7 @@
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(51, 22);
this.toolStripButton1.Text = "등록";
this.toolStripButton1.Text = "Register";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click_1);
//
// toolStripButton2
@@ -484,7 +484,7 @@
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(51, 22);
this.toolStripButton2.Text = "해제";
this.toolStripButton2.Text = "Unregister";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// toolStripButton3
@@ -555,7 +555,7 @@
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorMoveFirstItem
//
@@ -564,7 +564,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -573,7 +573,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -582,13 +582,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -602,7 +602,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -611,7 +611,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
@@ -624,7 +624,7 @@
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton5.Name = "toolStripButton5";
this.toolStripButton5.Size = new System.Drawing.Size(75, 22);
this.toolStripButton5.Text = "그룹설정";
this.toolStripButton5.Text = "Group Settings";
this.toolStripButton5.Click += new System.EventHandler(this.toolStripButton5_Click);
//
// toolStripSeparator1
@@ -926,7 +926,7 @@
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(115, 40);
this.btSave.TabIndex = 19;
this.btSave.Text = "저장(&S)";
this.btSave.Text = "Save(&S)";
this.btSave.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSave.UseVisualStyleBackColor = true;
this.btSave.Click += new System.EventHandler(this.btSave_Click);
@@ -937,7 +937,7 @@
this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton9.Name = "toolStripButton9";
this.toolStripButton9.Size = new System.Drawing.Size(111, 22);
this.toolStripButton9.Text = "열너비자동조정";
this.toolStripButton9.Text = "Auto Adjust Column Width";
this.toolStripButton9.Click += new System.EventHandler(this.toolStripButton9_Click);
//
// Model_Motion_Desc

View File

@@ -359,7 +359,7 @@ namespace Project.Dialog
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dlg = UTIL.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to delete the currently selected data?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
bs.RemoveCurrent();
this.ds1.MCModel.AcceptChanges();
@@ -408,9 +408,9 @@ namespace Project.Dialog
PUB.Result.mModel.ReadValue(dr.Title, this.ds1.MCModel);
if (PUB.Result.mModel.isSet)
{
PUB.log.AddAT("모션모델선택완료 : " + PUB.Result.mModel.Title);
PUB.log.AddAT("Motion model selection completed: " + PUB.Result.mModel.Title);
}
else UTIL.MsgE("적용 실패\n\n대상 모델 명이 없습니다");
else UTIL.MsgE("Apply failed\n\nTarget model name not found");
}
private void button4_Click(object sender, EventArgs e)
@@ -418,7 +418,7 @@ namespace Project.Dialog
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DataSet1.MCModelRow;
var dlg = UTIL.MsgQ(string.Format("다음 모델 정보를 복사하시겠습니까?\n\n모델명 : {0}", dr.Title));
var dlg = UTIL.MsgQ(string.Format("Do you want to copy the following model information?\n\nModel name: {0}", dr.Title));
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var newdr = this.ds1.MCModel.NewMCModelRow();
@@ -440,7 +440,7 @@ namespace Project.Dialog
{
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈이 완료되지 않았습니다\n메인화면에서 '장치초기화'를 진행 하세요");
UTIL.MsgE("Motion homing not completed\nPlease run 'Device Initialization' from the main screen");
return;
}
//현재값으로 모터를 이동
@@ -480,7 +480,7 @@ namespace Project.Dialog
{
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈이 완료되지 않았습니다\n메인화면에서 '장치초기화'를 진행 하세요");
UTIL.MsgE("Motion homing not completed\nPlease run 'Device Initialization' from the main screen");
return;
}
@@ -537,7 +537,7 @@ namespace Project.Dialog
private void toolStripButton1_Click(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("모든 이동좌표의 속도를 일괄 변경하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to batch change the speed of all movement coordinates?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(100.0, "일괄 속도 변경");
@@ -554,7 +554,7 @@ namespace Project.Dialog
private void toolStripButton2_Click_2(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("모든 이동좌표의 가(감)속도를 일괄 변경하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to batch change the acceleration/deceleration of all movement coordinates?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(100.0, "일괄 가(감)속도 변경");
@@ -571,7 +571,7 @@ namespace Project.Dialog
private void toolStripButton3_Click_1(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("모든 이동좌표의 감속도를 일괄 변경하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to batch change the deceleration of all movement coordinates?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var value = PUB.ChangeValuePopup(0, "일괄 감속도 변경");
@@ -737,11 +737,11 @@ namespace Project.Dialog
{
if (tn.Nodes.Count < 1)
{
UTIL.MsgE("하위 항목이 없습니다");
UTIL.MsgE("No sub items found");
return;
}
var dlg = UTIL.MsgQ($"{tn.Nodes.Count}건의 자료를 모두 추가 할까요?");
var dlg = UTIL.MsgQ($"Do you want to add all {tn.Nodes.Count} data items?");
if (dlg != DialogResult.Yes) return;
var ucnt = 0;
foreach (TreeNode node in tn.Nodes)
@@ -753,7 +753,7 @@ namespace Project.Dialog
ucnt += 1;
}
}
UTIL.MsgI($"{ucnt}건의 아이템이 추가 되었습니다");
UTIL.MsgI($"{ucnt} items have been added");
//현재목록을 리스트로 만들고 업데이트한.ㄷ
var drv = this.bsPos.Current as DataRowView;
var dr = drv.Row as DataSet1.MCModelRow;
@@ -785,7 +785,7 @@ namespace Project.Dialog
dr.EndEdit();
}
else UTIL.MsgE("이미 존재하는 항목 입니다.");
else UTIL.MsgE("This item already exists.");
}

View File

@@ -229,8 +229,8 @@
this.checkBox31.Name = "checkBox31";
this.checkBox31.Size = new System.Drawing.Size(148, 34);
this.checkBox31.TabIndex = 8;
this.checkBox31.Text = "미정의바코드제외";
this.toolTip1.SetToolTip(this.checkBox31, "바코드룰에 없는 데이터를 제외 합니다..");
this.checkBox31.Text = "Exclude Undefined Barcodes";
this.toolTip1.SetToolTip(this.checkBox31, "Excludes data not in barcode rules..");
this.checkBox31.UseVisualStyleBackColor = true;
//
// chkOwnZPL
@@ -242,8 +242,8 @@
this.chkOwnZPL.Name = "chkOwnZPL";
this.chkOwnZPL.Size = new System.Drawing.Size(133, 34);
this.chkOwnZPL.TabIndex = 17;
this.chkOwnZPL.Text = "개별프린트코드";
this.toolTip1.SetToolTip(this.chkOwnZPL, "바코드룰에 없는 데이터를 제외 합니다..");
this.chkOwnZPL.Text = "Individual Print Code";
this.toolTip1.SetToolTip(this.chkOwnZPL, "Excludes data not in barcode rules..");
this.chkOwnZPL.UseVisualStyleBackColor = true;
//
// panel5
@@ -312,7 +312,7 @@
this.chkSIDCHK.Size = new System.Drawing.Size(117, 34);
this.chkSIDCHK.TabIndex = 16;
this.chkSIDCHK.Tag = "0";
this.chkSIDCHK.Text = "SID존재확인";
this.chkSIDCHK.Text = "SID Existence Check";
this.chkSIDCHK.UseVisualStyleBackColor = true;
//
// checkBox32
@@ -327,7 +327,7 @@
this.checkBox32.Size = new System.Drawing.Size(153, 34);
this.checkBox32.TabIndex = 15;
this.checkBox32.Tag = "0";
this.checkBox32.Text = "프린터 사용 안함";
this.checkBox32.Text = "Do not use printer";
this.checkBox32.UseVisualStyleBackColor = true;
this.checkBox32.CheckedChanged += new System.EventHandler(this.checkBox32_CheckedChanged);
//
@@ -343,7 +343,7 @@
this.chkEnbCamera.Size = new System.Drawing.Size(137, 34);
this.chkEnbCamera.TabIndex = 14;
this.chkEnbCamera.Tag = "0";
this.chkEnbCamera.Text = "비전 사용 안함";
this.chkEnbCamera.Text = "Do not use vision";
this.chkEnbCamera.UseVisualStyleBackColor = true;
//
// button1
@@ -353,7 +353,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(55, 34);
this.button1.TabIndex = 18;
this.button1.Text = "편집";
this.button1.Text = "Edit";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -383,7 +383,7 @@
this.tabPage1.Padding = new System.Windows.Forms.Padding(10);
this.tabPage1.Size = new System.Drawing.Size(721, 264);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "옵션";
this.tabPage1.Text = "Options";
this.tabPage1.UseVisualStyleBackColor = true;
//
// chkApplySidInfo
@@ -396,7 +396,7 @@
this.chkApplySidInfo.Size = new System.Drawing.Size(419, 25);
this.chkApplySidInfo.TabIndex = 33;
this.chkApplySidInfo.Tag = "6";
this.chkApplySidInfo.Text = "SID정보 테이블을 이용하여 데이터를 자동 기록합니다";
this.chkApplySidInfo.Text = "Automatically record data using SID information table";
this.chkApplySidInfo.UseVisualStyleBackColor = true;
this.chkApplySidInfo.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -410,7 +410,7 @@
this.chkApplyJobInfo.Size = new System.Drawing.Size(423, 25);
this.chkApplyJobInfo.TabIndex = 32;
this.chkApplyJobInfo.Tag = "5";
this.chkApplyJobInfo.Text = "당일 작업 내역을 이용하여 데이터를 자동 기록 합니다";
this.chkApplyJobInfo.Text = "Automatically record data using today's work history";
this.chkApplyJobInfo.UseVisualStyleBackColor = true;
this.chkApplyJobInfo.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -424,7 +424,7 @@
this.chkApplySIDConvData.Size = new System.Drawing.Size(425, 25);
this.chkApplySIDConvData.TabIndex = 31;
this.chkApplySIDConvData.Tag = "7";
this.chkApplySIDConvData.Text = "SID변환 테이블을 이용하여 데이터를 자동 기록 합니다";
this.chkApplySIDConvData.Text = "Automatically record data using SID conversion table";
this.chkApplySIDConvData.UseVisualStyleBackColor = true;
this.chkApplySIDConvData.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -438,7 +438,7 @@
this.chkUserConfirm.Size = new System.Drawing.Size(435, 25);
this.chkUserConfirm.TabIndex = 13;
this.chkUserConfirm.Tag = "0";
this.chkUserConfirm.Text = "최종 인쇄값을 사용자가 확인 합니다 (자동진행 안됨)";
this.chkUserConfirm.Text = "User confirms final print values (no automatic progress)";
this.chkUserConfirm.UseVisualStyleBackColor = true;
this.chkUserConfirm.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -452,7 +452,7 @@
this.chkSIDConv.Size = new System.Drawing.Size(409, 25);
this.chkSIDConv.TabIndex = 28;
this.chkSIDConv.Tag = "4";
this.chkSIDConv.Text = "SID변환 테이블을 이용하여 SID값을 전환 합니다";
this.chkSIDConv.Text = "Convert SID values using SID conversion table";
this.chkSIDConv.UseVisualStyleBackColor = true;
this.chkSIDConv.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -466,7 +466,7 @@
this.chkQtyServer.Size = new System.Drawing.Size(444, 25);
this.chkQtyServer.TabIndex = 13;
this.chkQtyServer.Tag = "1";
this.chkQtyServer.Text = "Reel ID 를 기준으로 서버의 수량을 조회하여 사용 합니다";
this.chkQtyServer.Text = "Query and use server quantity based on Reel ID";
this.chkQtyServer.UseVisualStyleBackColor = true;
this.chkQtyServer.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -480,7 +480,7 @@
this.chkQtyMRQ.Size = new System.Drawing.Size(405, 25);
this.chkQtyMRQ.TabIndex = 27;
this.chkQtyMRQ.Tag = "3";
this.chkQtyMRQ.Text = "수량을 직접 입력 합니다.(RQ가 읽혔다면 자동 진행)";
this.chkQtyMRQ.Text = "Enter quantity directly (automatic progress if RQ is read)";
this.chkQtyMRQ.UseVisualStyleBackColor = true;
this.chkQtyMRQ.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -494,7 +494,7 @@
this.chkNew.Size = new System.Drawing.Size(247, 24);
this.chkNew.TabIndex = 24;
this.chkNew.Tag = "2";
this.chkNew.Text = "Reel ID 를 신규로 생성 합니다";
this.chkNew.Text = "Create new Reel ID";
this.chkNew.UseVisualStyleBackColor = true;
this.chkNew.CheckStateChanged += new System.EventHandler(this.chkApplySidInfo_CheckStateChanged);
//
@@ -508,7 +508,7 @@
this.tabPage2.Padding = new System.Windows.Forms.Padding(10);
this.tabPage2.Size = new System.Drawing.Size(721, 264);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "옵션 데이터";
this.tabPage2.Text = "Option Data";
this.tabPage2.UseVisualStyleBackColor = true;
//
// GrpSidConvData
@@ -534,7 +534,7 @@
this.GrpSidConvData.Size = new System.Drawing.Size(701, 82);
this.GrpSidConvData.TabIndex = 34;
this.GrpSidConvData.TabStop = false;
this.GrpSidConvData.Text = "SID변환 테이블 서버적용";
this.GrpSidConvData.Text = "SID Conversion Table Server Application";
//
// chkSave2
//
@@ -546,7 +546,7 @@
this.chkSave2.Size = new System.Drawing.Size(230, 23);
this.chkSave2.TabIndex = 39;
this.chkSave2.Tag = "11";
this.chkSave2.Text = "변경 정보를 서버에 기록 합니다";
this.chkSave2.Text = "Record change information to server";
this.chkSave2.UseVisualStyleBackColor = true;
//
// checkBox34
@@ -605,7 +605,7 @@
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(55, 15);
this.label6.TabIndex = 29;
this.label6.Text = "조회대상";
this.label6.Text = "Query Target";
//
// label7
//
@@ -616,7 +616,7 @@
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(55, 15);
this.label7.TabIndex = 29;
this.label7.Text = "적용대상";
this.label7.Text = "Apply Target";
//
// checkBox3
//
@@ -719,7 +719,7 @@
this.grpapplyjob.Size = new System.Drawing.Size(701, 82);
this.grpapplyjob.TabIndex = 33;
this.grpapplyjob.TabStop = false;
this.grpapplyjob.Text = "당일작업 적용";
this.grpapplyjob.Text = "Daily Work Application";
//
// checkBox29
//
@@ -753,7 +753,7 @@
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(55, 15);
this.label3.TabIndex = 29;
this.label3.Text = "조회대상";
this.label3.Text = "Query Target";
//
// label2
//
@@ -764,7 +764,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(55, 15);
this.label2.TabIndex = 29;
this.label2.Text = "적용대상";
this.label2.Text = "Apply Target";
//
// checkBox10
//
@@ -871,7 +871,7 @@
this.grpApplySidinfo.Size = new System.Drawing.Size(701, 82);
this.grpApplySidinfo.TabIndex = 33;
this.grpApplySidinfo.TabStop = false;
this.grpApplySidinfo.Text = "SID정보 적용";
this.grpApplySidinfo.Text = "SID Information Application";
//
// checkBox33
//
@@ -931,7 +931,7 @@
this.chkSave1.Size = new System.Drawing.Size(230, 23);
this.chkSave1.TabIndex = 33;
this.chkSave1.Tag = "8";
this.chkSave1.Text = "변경 정보를 서버에 기록 합니다";
this.chkSave1.Text = "Record change information to server";
this.chkSave1.UseVisualStyleBackColor = true;
//
// checkBox19
@@ -954,7 +954,7 @@
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(55, 15);
this.label4.TabIndex = 29;
this.label4.Text = "조회대상";
this.label4.Text = "Query Target";
//
// label5
//
@@ -965,7 +965,7 @@
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(55, 15);
this.label5.TabIndex = 29;
this.label5.Text = "적용대상";
this.label5.Text = "Apply Target";
//
// checkBox11
//
@@ -1116,7 +1116,7 @@
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(94, 34);
this.label16.TabIndex = 7;
this.label16.Text = "고정값";
this.label16.Text = "Fixed Value";
this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// panel2
@@ -1179,7 +1179,7 @@
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(94, 34);
this.label1.TabIndex = 6;
this.label1.Text = "허용바코드";
this.label1.Text = "Allowed Barcodes";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// tableLayoutPanel1
@@ -1205,7 +1205,7 @@
this.btConvOk.Name = "btConvOk";
this.btConvOk.Size = new System.Drawing.Size(609, 94);
this.btConvOk.TabIndex = 0;
this.btConvOk.Text = "컨베이어 ON";
this.btConvOk.Text = "Conveyor ON";
this.btConvOk.UseVisualStyleBackColor = true;
this.btConvOk.Click += new System.EventHandler(this.btConvOk_Click);
//
@@ -1217,7 +1217,7 @@
this.btConvOff.Name = "btConvOff";
this.btConvOff.Size = new System.Drawing.Size(610, 94);
this.btConvOff.TabIndex = 0;
this.btConvOff.Text = "컨베이어 OFF";
this.btConvOff.Text = "Conveyor OFF";
this.btConvOff.UseVisualStyleBackColor = true;
this.btConvOff.Click += new System.EventHandler(this.btConvOff_Click);
//
@@ -1354,7 +1354,7 @@
this.btAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btAdd.Name = "btAdd";
this.btAdd.Size = new System.Drawing.Size(99, 52);
this.btAdd.Text = "추가(&A)";
this.btAdd.Text = "Add(&A)";
this.btAdd.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// btDel
@@ -1363,7 +1363,7 @@
this.btDel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btDel.Name = "btDel";
this.btDel.Size = new System.Drawing.Size(100, 52);
this.btDel.Text = "삭제(&D)";
this.btDel.Text = "Delete(&D)";
this.btDel.Click += new System.EventHandler(this.toolStripButton5_Click);
//
// btSave
@@ -1371,7 +1371,7 @@
this.btSave.Image = ((System.Drawing.Image)(resources.GetObject("btSave.Image")));
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(98, 52);
this.btSave.Text = "저장(&S)";
this.btSave.Text = "Save(&S)";
this.btSave.Click += new System.EventHandler(this.toolStripButton9_Click);
//
// btCopy
@@ -1380,7 +1380,7 @@
this.btCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btCopy.Name = "btCopy";
this.btCopy.Size = new System.Drawing.Size(83, 52);
this.btCopy.Text = "복사";
this.btCopy.Text = "Copy";
this.btCopy.Click += new System.EventHandler(this.toolStripButton8_Click);
//
// toolStripButton10
@@ -1392,7 +1392,7 @@
this.toolStripButton10.Image = global::Project.Properties.Resources.icons8_selection_40;
this.toolStripButton10.Name = "toolStripButton10";
this.toolStripButton10.Size = new System.Drawing.Size(215, 44);
this.toolStripButton10.Text = "이 모델을 선택합니다";
this.toolStripButton10.Text = "Select this model";
this.toolStripButton10.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click);
//
@@ -1441,7 +1441,7 @@
this.arLabel2.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.arLabel2.Size = new System.Drawing.Size(1231, 36);
this.arLabel2.TabIndex = 7;
this.arLabel2.Text = "설명";
this.arLabel2.Text = "Description";
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.arLabel2.TextShadow = true;
this.arLabel2.TextVisible = true;
@@ -1497,7 +1497,7 @@
this.dvc_title.DataPropertyName = "Title";
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dvc_title.DefaultCellStyle = dataGridViewCellStyle2;
this.dvc_title.HeaderText = "설명";
this.dvc_title.HeaderText = "Description";
this.dvc_title.Name = "dvc_title";
//
// bs
@@ -1522,7 +1522,7 @@
this.Name = "Model_Operation";
this.Padding = new System.Windows.Forms.Padding(1);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "모델 선택";
this.Text = "Model Selection";
this.Load += new System.EventHandler(this.@__Load);
((System.ComponentModel.ISupportInitialize)(this.dv)).EndInit();
this.panel5.ResumeLayout(false);

View File

@@ -34,9 +34,9 @@ namespace Project
//Pub.sm.setNewStep(StateMachine.eSystemStep.IDLE);
if (hasChanged())
{
var dlg = UTIL.MsgQ("변경된 자료가 있습니다.\n" +
"진행하면 변경된 자료는 손실됩니다\n" +
"진행 할까요?");
var dlg = UTIL.MsgQ("There are unsaved changes.\n" +
"If you proceed, the changed data will be lost\n" +
"Do you want to proceed?");
if (dlg != DialogResult.Yes)
{
@@ -67,7 +67,7 @@ namespace Project
var newdr = this.ds1.OPModel.NewOPModelRow();
newdr.Title = "New Model";
this.ds1.OPModel.AddOPModelRow(newdr);
UTIL.MsgI("신규 모델 정보가 추가되었습니다.\n\n최초 설정 이므로 각 상태값을 확인 하세요.");
UTIL.MsgI("New model information has been added.\n\nThis is the initial setup, so please check each status value.");
}
//dispal current
@@ -250,17 +250,9 @@ namespace Project
// e.Row["Light"] = 50;
}
private void modelBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
}
private void bs_CurrentChanged(object sender, EventArgs e)
{
//z range 을 표시한다.
//z position 영역을 문자로 변환한다.
//this.list
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DataSet1.MCModelRow;
@@ -287,10 +279,7 @@ namespace Project
}
private void btSelect_Click(object sender, EventArgs e)
{
}
Boolean hasChanged()
{
this.Validate();
@@ -323,207 +312,21 @@ namespace Project
f.Show();
}
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
{
}
//private void tbFind_KeyDown(object sender, KeyEventArgs e)
//{
// if (e.KeyCode == Keys.Enter)
// {
// findModel();
// }
//}
//void findModel()
//{
// try
// {
// if (this.tbFind.Text.Trim() == "")
// {
// this.bs.Filter = "";
// this.tbFind.BackColor = Color.White;
// }
// else
// {
// string filter = "title like '%{0}%'";
// filter = string.Format(filter, tbFind.Text.Trim());
// this.bs.Filter = filter;
// this.tbFind.BackColor = Color.SkyBlue;
// this.tbFind.SelectAll();
// }
// }
// catch (Exception Ex)
// {
// this.bs.Filter = "";
// this.tbFind.BackColor = Color.Tomato;
// Util.MsgE(Ex.Message);
// }
//}
//private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
//{
// var f = new Dialog.fTouchKeyFull("INPUT - ", this.tbFind.Text.Trim());
// if (f.ShowDialog() != System.Windows.Forms.DialogResult.OK) return;
// var inputLot = f.tbInput.Text.Trim().ToUpper();
// //if (inputLot == "") return;
// tbFind.Text = inputLot;
// findModel();
// tbFind.Focus();
// tbFind.SelectAll();
//}
private void button23_Click(object sender, EventArgs e)
{
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
}
void dv_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (this.dv.Columns[e.ColumnIndex].DataPropertyName.ToLower() == "spn")
{
//var drv = dv.Rows[e.RowIndex].DataBoundItem as DataRowView;
//var dr = drv.Row as DataSet1.ModelRow;
//var spn = dr.SPN;
//spn = selectSPn(spn);
//if(spn != "")
//{
// dr.SPN = spn;
// dv.EndEdit();
//}
}
}
//string selectSPn(string selectedname)
//{
// var od = new OpenFileDialog();
// od.InitialDirectory = COMM.SETTING.Data.SPNPath;
// od.FileName = selectedname;
// if (od.ShowDialog() != System.Windows.Forms.DialogResult.OK) return "";
// var fi = new System.IO.FileInfo(od.FileName);
// if (COMM.SETTING.Data.SPNPath != fi.Directory.FullName)
// {
// COMM.SETTING.Data.SPNPath = fi.Directory.FullName;
// COMM.SETTING.Data.Save();
// }
// var SPN = fi.Name.Replace(fi.Extension, "");
// return SPN;
//}
private void toolStripButton3_Click(object sender, EventArgs e)
{
//if(COMM.SETTING.Data.SPNPath == "")
//{
// Util.MsgE("SEM 파일 저장 경로가 입력되지 않았습니다\n"+
// "환경설정에서 해당 값을 입력할 수 있습니다");
// return;
//}
//Util.RunExplorer(COMM.SETTING.Data.SPNPath);
//return;
//var drv = this.bs.Current as DataRowView;
//if (drv == null) return;
//var dr = drv.Row as DataSet1.ModelRow;
//var spn = selectSPn(dr.SPN);
//if(spn != "")
//{
// dr.SPN = spn;
// dr.EndEdit();
//}
}
private void tbClose_Click(object sender, EventArgs e)
{
this.Close();
}
//private void visXCountLabel_Click(object sender, EventArgs e)
//{
// //jopgspeed
// var value = double.Parse(visXCountTextBox.Text);
// value = Pub.ChangeValuePopup(value, "속도 입력");
// visXCountTextBox.Text = value.ToString();
//}
//private void visYCountLabel_Click(object sender, EventArgs e)
//{
// //jopgspeed
// var value = double.Parse(visYCountTextBox.Text);
// value = Pub.ChangeValuePopup(value, "속도 입력");
// visYCountTextBox.Text = value.ToString();
//}
//private void visXTermLabel_Click(object sender, EventArgs e)
//{
// var value = double.Parse(visXTermTextBox.Text);
// value = Pub.ChangeValuePopup(value, "속도 입력");
// visXTermTextBox.Text = value.ToString();
//}
//private void visYTermLabel_Click(object sender, EventArgs e)
//{
// var value = double.Parse(visYTermTextBox.Text);
// value = Pub.ChangeValuePopup(value, "속도 입력");
// visYTermTextBox.Text = value.ToString();
//}
//private void label1_Click(object sender, EventArgs e)
//{
// var c = int.Parse(textBox1.Text);
// var cd = new ColorDialog();
// cd.Color = Color.FromArgb(c);
// if (cd.ShowDialog() == DialogResult.OK)
// {
// textBox1.Text = cd.Color.ToArgb().ToString();
// }
//}
//private void label2_Click(object sender, EventArgs e)
//{
// var c = int.Parse(textBox2.Text);
// var cd = new ColorDialog();
// cd.Color = Color.FromArgb(c);
// if (cd.ShowDialog() == DialogResult.OK)
// {
// textBox2.Text = cd.Color.ToArgb().ToString();
// }
//}
//private void label4_Click(object sender, EventArgs e)
//{
// var c = int.Parse(textBox4.Text);
// var cd = new ColorDialog();
// cd.Color = Color.FromArgb(c);
// if (cd.ShowDialog() == DialogResult.OK)
// {
// textBox4.Text = cd.Color.ToArgb().ToString();
// }
//}
//private void label3_Click(object sender, EventArgs e)
//{
// var c = int.Parse(textBox3.Text);
// var cd = new ColorDialog();
// cd.Color = Color.FromArgb(c);
// if (cd.ShowDialog() == DialogResult.OK)
// {
// textBox3.Text = cd.Color.ToArgb().ToString();
// }
//}
private void textBox1_TextChanged(object sender, EventArgs e)
{
@@ -535,25 +338,7 @@ namespace Project
else tb.BackColor = Color.Black;
}
//private void button2_Click(object sender, EventArgs e)
//{
// Pub.dev_lightT.SetRGBValue(textBox3.BackColor);
//}
//private void button4_Click(object sender, EventArgs e)
//{
// Pub.dev_lightB.SetRGBValue(textBox1.BackColor);
//}
//private void button3_Click(object sender, EventArgs e)
//{
// Pub.dev_lightB.SetRGBValue(textBox4.BackColor);
//}
//private void button1_Click(object sender, EventArgs e)
//{
// Pub.dev_lightT.SetRGBValue(textBox2.BackColor);
//}
private void bindingNavigatorAddNewItem_Click(object sender, EventArgs e)
{
@@ -564,7 +349,7 @@ namespace Project
{
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dlg = UTIL.MsgQ("현재 선택된 자료를 삭제하시겠습니까?");
var dlg = UTIL.MsgQ("Do you want to delete the currently selected data?");
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
bs.RemoveCurrent();
//this.ds1.Model.AcceptChanges();
@@ -575,7 +360,7 @@ namespace Project
var drv = this.bs.Current as DataRowView;
if (drv == null) return;
var dr = drv.Row as DataSet1.OPModelRow;
var dlg = UTIL.MsgQ(string.Format("다음 모델 정보를 복사하시겠습니까?\n\n모델명 : {0}", dr.Title));
var dlg = UTIL.MsgQ(string.Format("Do you want to copy the following model information?\n\nModel Name : {0}", dr.Title));
if (dlg != System.Windows.Forms.DialogResult.Yes) return;
var newdr = this.ds1.OPModel.NewOPModelRow();
@@ -604,7 +389,7 @@ namespace Project
private void toolStripButton4_Click(object sender, EventArgs e)
{
var f = new AR.Dialog.fTouchKeyFull("모델명을 입력하세요", DateTime.Now.ToString("yyyyMMddHHmmss"));
var f = new AR.Dialog.fTouchKeyFull("Please enter model name", DateTime.Now.ToString("yyyyMMddHHmmss"));
if (f.ShowDialog() == DialogResult.OK)
{
var newdr = this.ds1.OPModel.NewOPModelRow();
@@ -677,7 +462,7 @@ namespace Project
if (hasChanged() == false)
{
PUB.log.Add("모델저장:변경된 사항이 없습니다");
PUB.log.Add("Model save: No changes to save");
return;
}
@@ -706,15 +491,15 @@ namespace Project
{
if (PUB.sm.Step == eSMStep.RUN || PUB.sm.Step == eSMStep.WAITSTART || PUB.sm.Step == eSMStep.PAUSE)
{
UTIL.MsgE("현재 동작(대기) 중이므로 모델을 변경 할 수 없습니다");
UTIL.MsgE("Cannot change model while system is currently running (waiting)");
return;
}
if (hasChanged())
{
var dlg = UTIL.MsgQ("변경된 자료가 있습니다.\n" +
"진행하면 변경된 자료는 손실됩니다\n" +
"진행 할까요?");
var dlg = UTIL.MsgQ("There are unsaved changes.\n" +
"If you proceed, the changed data will be lost\n" +
"Do you want to proceed?");
if (dlg != DialogResult.Yes) return;
}
selectModel();
@@ -768,7 +553,7 @@ namespace Project
if (chkOwnZPL.Checked == false)
{
UTIL.MsgE("개별프린트코드가 해제되어있으므로 실제 적용되지 않습니다");
UTIL.MsgE("Individual print code is disabled, so it will not be applied");
}
var idx = dr.idx;
@@ -776,7 +561,7 @@ namespace Project
var fnBase = UTIL.MakePath("zpl.txt");
if (System.IO.File.Exists(fnBase) && System.IO.File.Exists(fn) == false)
{
UTIL.MsgI("전용 출력파일(ZPL.TXT)이 존재하지 않아 기본에서 복사합니다");
UTIL.MsgI("Dedicated output file (ZPL.TXT) does not exist, copying from default");
var fi = new System.IO.FileInfo(fn);
if (fi.Directory.Exists == false) fi.Directory.Create();
System.IO.File.Copy(fnBase, fn, true);

View File

@@ -141,7 +141,7 @@
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(91, 36);
this.toolStripButton1.Text = "새로고침";
this.toolStripButton1.Text = "Refresh";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// btMove
@@ -152,7 +152,7 @@
this.btMove.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btMove.Name = "btMove";
this.btMove.Size = new System.Drawing.Size(231, 36);
this.btMove.Text = "현재 선택 항목의 좌표로 모션 이동";
this.btMove.Text = "Move motion to selected coordinate";
this.btMove.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// toolStripSeparator1
@@ -166,7 +166,7 @@
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(95, 36);
this.toolStripButton2.Text = "모션 제어";
this.toolStripButton2.Text = "Motion Control";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
//
// toolStripButton3
@@ -175,7 +175,7 @@
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(88, 36);
this.toolStripButton3.Text = "I/O 제어";
this.toolStripButton3.Text = "I/O Control";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
//
// toolStripButton4
@@ -184,7 +184,7 @@
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(67, 36);
this.toolStripButton4.Text = "기능";
this.toolStripButton4.Text = "Function";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripSeparator2
@@ -212,7 +212,7 @@
this.btSet.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btSet.Name = "btSet";
this.btSet.Size = new System.Drawing.Size(171, 36);
this.btSet.Text = "현재 명령좌표로 저장";
this.btSet.Text = "Save as current command coordinate";
this.btSet.Click += new System.EventHandler(this.btSet_Click);
//
// panel1
@@ -506,7 +506,7 @@
this.btAllZSafe.Name = "btAllZSafe";
this.btAllZSafe.Size = new System.Drawing.Size(252, 111);
this.btAllZSafe.TabIndex = 83;
this.btAllZSafe.Text = "모든 Z 축 안전 위치로";
this.btAllZSafe.Text = "All Z Axis to Safe Position";
this.btAllZSafe.UseVisualStyleBackColor = false;
this.btAllZSafe.Click += new System.EventHandler(this.btAllZSafe_Click);
//
@@ -647,7 +647,7 @@
this.linkLabel8.Size = new System.Drawing.Size(61, 35);
this.linkLabel8.TabIndex = 41;
this.linkLabel8.TabStop = true;
this.linkLabel8.Text = "속도";
this.linkLabel8.Text = "Speed";
this.linkLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// statusStrip1

View File

@@ -33,8 +33,8 @@ namespace Project.Dialog
//arDatagridView1.DataSource = dt_.MCModel;
var dr = dt_.MCModel.Where(t => t.idx == targetidx).FirstOrDefault();
if (dr == null) this.Text = "위치 기준 이동";
else this.Text = $"위치 기준 이동(모델명:{dr.Title})";
if (dr == null) this.Text = "Position-Based Movement";
else this.Text = $"Position-Based Movement (Model: {dr.Title})";
}
@@ -256,7 +256,7 @@ namespace Project.Dialog
{
if (seltv == null)
{
UTIL.MsgE("먼저 이동할 위치를 선택하세요");
UTIL.MsgE("Please select a position to move to first");
return null;
}
var tn = seltv.SelectedNode;
@@ -293,9 +293,9 @@ namespace Project.Dialog
//나머지축에 인터락이 있으면 처리하지 않는다.
if (PUB.iLock[dr.MotIndex].IsEmpty() == false)
{
if (sb.Length < 1) sb.AppendLine("모션에 인터락이 설정되어 있습니다\n");
if (sb.Length < 1) sb.AppendLine("Motion interlock is set\n");
var locklist = MOT.GetActiveLockList(ax, PUB.iLock[dr.MotIndex]);
sb.AppendLine($" : {ax}({dr.MotIndex}) 대상:{string.Join(",", locklist)}");
sb.AppendLine($"Axis : {ax}({dr.MotIndex}) Target:{string.Join(",", locklist)}");
}
nlist.Add(ax);
@@ -310,14 +310,14 @@ namespace Project.Dialog
}
Queue<Tuple<eAxis, sPositionData, bool>> poslist = new Queue<Tuple<eAxis, sPositionData, bool>>();
sb.AppendLine("축 이동을 시작할까요?\nZ축은 안전을 위해 0으로 이동 후 이동 됩니다");
sb.AppendLine("Do you want to start axis movement?\nZ-axis will move to 0 first for safety before movement");
int idx = 0;
for (int i = 0; i < zlist.Count; i++)
{
var ax = zlist[i];
var dr = zplist[i];
sb.AppendLine($"[{++idx:000}] 원점(0)으로 이동 : " + ax.ToString());
sb.AppendLine($"[{++idx:000}] Move to origin (0) : " + ax.ToString());
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (short)ax,
@@ -333,7 +333,7 @@ namespace Project.Dialog
{
var ax = nlist[i];
var dr = nplist[i];
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
sb.AppendLine($"[{++idx:000}] {ax} Position move : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (short)ax,
@@ -350,7 +350,7 @@ namespace Project.Dialog
{
var ax = nlist[i];
var dr = nplist[i];
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
sb.AppendLine($"[{++idx:000}] {ax} Position move : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (short)ax,
@@ -367,7 +367,7 @@ namespace Project.Dialog
{
var ax = zlist[i];
var dr = zplist[i];
sb.AppendLine($"[{++idx:000}] {ax} 위치 이동 : {dr.Position}mm({dr.Speed}ms)");
sb.AppendLine($"[{++idx:000}] {ax} Position move : {dr.Position}mm({dr.Speed}ms)");
var p = new Tuple<eAxis, sPositionData, bool>(ax, new sPositionData
{
Axis = (short)ax,
@@ -384,7 +384,7 @@ namespace Project.Dialog
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("홈이 완료되지 않은 모션이 있습니다");
UTIL.MsgE("There are motions that have not completed homing");
return;
}
@@ -415,7 +415,7 @@ namespace Project.Dialog
//}
if (seqtime.TotalSeconds > 60)
{
PUB.log.AddE("위치 이동실패 60초 초과");
PUB.log.AddE("Position movement failed, exceeded 60 seconds");
break;
}
System.Threading.Thread.Sleep(100);
@@ -437,7 +437,7 @@ namespace Project.Dialog
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("홈이 완료되지 않은 모션이 있습니다\n저장을 할 수 없습니다");
UTIL.MsgE("There are motions that have not completed homing\nCannot save");
return;
}
@@ -462,7 +462,7 @@ namespace Project.Dialog
}
Queue<Tuple<DataSet1.MCModelRow, eAxis, string, double, double>> poslist = new Queue<Tuple<DataSet1.MCModelRow, eAxis, string, double, double>>();
var sb = new System.Text.StringBuilder();
sb.AppendLine("다음좌표의 위치를 저장할까요?");
sb.AppendLine("Do you want to save the positions of the following coordinates?");
sb.AppendLine();
for (int i = 0; i < nlist.Count; i++)
@@ -470,7 +470,7 @@ namespace Project.Dialog
var ax = nlist[i];
var dr = nplist[i];
var curpos = PUB.mot.GetCmdPos((short)ax);
sb.AppendLine($"[{dr.idx}] :{ax} - {dr.PosTitle}\n\t변경위치 {dr.Position} -> {curpos}");
sb.AppendLine($"[{dr.idx}] Axis:{ax} - {dr.PosTitle}\n\tChange position {dr.Position} -> {curpos}");
var param = new Tuple<DataSet1.MCModelRow, eAxis, string, double, double>(dr, ax, dr.PosTitle, dr.Position, curpos);
poslist.Enqueue(param);
}
@@ -480,7 +480,7 @@ namespace Project.Dialog
{
if (f.ShowDialog() != DialogResult.OK)
{
UTIL.MsgE("좌표 저장이 취소 됨");
UTIL.MsgE("Coordinate saving was cancelled");
}
}
@@ -615,17 +615,17 @@ namespace Project.Dialog
if (but.Text.StartsWith("X") && axisX >= 0)
{
if (UTIL.MsgQ("x위치를 0으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Do you want to move X position to 0?") != DialogResult.Yes) return;
MOT.Move((eAxis)axisX, 0, 100, 1000, false, false, false);
}
else if (but.Text.StartsWith("Y") && axisY >= 0)
{
if (UTIL.MsgQ("y위치를 0으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Do you want to move Y position to 0?") != DialogResult.Yes) return;
MOT.Move((eAxis)axisY, 0, 100, 1000, false, false, false);
}
else if (but.Text.StartsWith("Z") && axisZ >= 0)
{
if (UTIL.MsgQ("Z위치를 0으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Do you want to move Z position to 0?") != DialogResult.Yes) return;
MOT.Move((eAxis)axisZ, 0, 100, 1000, false, false, false);
}
}
@@ -647,11 +647,11 @@ namespace Project.Dialog
var sb = new System.Text.StringBuilder();
if (PUB.iLock[dr.MotIndex].IsEmpty() == false)
{
if (sb.Length < 1) sb.AppendLine("모션에 인터락이 설정되어 있습니다\n");
if (sb.Length < 1) sb.AppendLine("Motion interlock is set\n");
var locklist = MOT.GetActiveLockList(ax, PUB.iLock[dr.MotIndex]);
sb.AppendLine($" : {ax}({dr.MotIndex}) 대상:{string.Join(",", locklist)}");
sb.AppendLine($"Axis : {ax}({dr.MotIndex}) Target:{string.Join(",", locklist)}");
sb.AppendLine();
sb.AppendLine("진행하시겠습니까?");
sb.AppendLine("Do you want to continue?");
if (UTIL.MsgQ(sb.ToString()) != DialogResult.Yes) return;
}
@@ -661,17 +661,17 @@ namespace Project.Dialog
if (but.Text.StartsWith("X") && cate.StartsWith("X") && axisX >= 0)
{
if (UTIL.MsgQ($"X위치를 ({dr.Position})으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ($"Do you want to move X position to ({dr.Position})?") != DialogResult.Yes) return;
MOT.Move(ax, dr.Position, dr.Speed, 1000, false, false, false);
}
else if (but.Text.StartsWith("Y") && cate.StartsWith("Y") && axisY >= 0)
{
if (UTIL.MsgQ($"Y위치를 ({dr.Position})으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ($"Do you want to move Y position to ({dr.Position})?") != DialogResult.Yes) return;
MOT.Move(ax, dr.Position, dr.Speed, 1000, false, false, false);
}
else if (but.Text.StartsWith("Z") && cate.StartsWith("Z") && axisZ >= 0)
{
if (UTIL.MsgQ($"z위치를 ({dr.Position})으로 이동할가요?") != DialogResult.Yes) return;
if (UTIL.MsgQ($"Do you want to move Z position to ({dr.Position})?") != DialogResult.Yes) return;
MOT.Move(ax, dr.Position, Math.Min(50, dr.Speed), 1000, false, false, false);
}
}
@@ -873,11 +873,11 @@ namespace Project.Dialog
private void btAllZSafe_Click(object sender, EventArgs e)
{
//Z1,2,3 안전위치로 이동한다 220421
var dlg = UTIL.MsgQ("모든 Z축을 안전위치로 이동할까요?\n" +
"Z1,Z4의 경우 소켓을 잡고 있다면 안전위치 이동시 파손될 수 있습니다.\n" +
"각 그리퍼의 소켓 상황을 확인하고 진행 하세요\n" +
"Z축을 임의 이동할 경우 작업이 이어서 진행되지 않을 수 있습니다\n " +
"작업 취소 하고 다시 시작하기를 권장 합니다");
var dlg = UTIL.MsgQ("Do you want to move all Z axes to safe position?\n" +
"For Z1 and Z4, if they are holding sockets, damage may occur during safe position movement.\n" +
"Check the socket status of each gripper before proceeding\n" +
"If Z axes are moved arbitrarily, work may not continue properly\n " +
"It is recommended to cancel the work and start again");
if (dlg != DialogResult.Yes) return;

View File

@@ -179,7 +179,7 @@
this.button60.Size = new System.Drawing.Size(61, 41);
this.button60.TabIndex = 61;
this.button60.Tag = "0";
this.button60.Text = "LP전진";
this.button60.Text = "LP Forward";
this.button60.UseVisualStyleBackColor = false;
this.button60.Click += new System.EventHandler(this.button60_Click);
//
@@ -215,7 +215,7 @@
this.button51.Size = new System.Drawing.Size(61, 41);
this.button51.TabIndex = 57;
this.button51.Tag = "1";
this.button51.Text = "LP흡기";
this.button51.Text = "LP Suction";
this.button51.UseVisualStyleBackColor = false;
this.button51.Click += new System.EventHandler(this.button51_Click);
//
@@ -233,7 +233,7 @@
this.button52.Size = new System.Drawing.Size(61, 41);
this.button52.TabIndex = 57;
this.button52.Tag = "2";
this.button52.Text = "LP배기";
this.button52.Text = "LP Exhaust";
this.button52.UseVisualStyleBackColor = false;
this.button52.Click += new System.EventHandler(this.button51_Click);
//
@@ -268,7 +268,7 @@
this.button41.Name = "button41";
this.button41.Size = new System.Drawing.Size(61, 41);
this.button41.TabIndex = 57;
this.button41.Text = "피커진공";
this.button41.Text = "Picker Vacuum";
this.button41.UseVisualStyleBackColor = false;
this.button41.Click += new System.EventHandler(this.button41_Click);
//
@@ -285,7 +285,7 @@
this.button44.Name = "button44";
this.button44.Size = new System.Drawing.Size(201, 43);
this.button44.TabIndex = 58;
this.button44.Text = "메인AIR";
this.button44.Text = "Main AIR";
this.button44.UseVisualStyleBackColor = false;
this.button44.Click += new System.EventHandler(this.button44_Click);
//
@@ -301,7 +301,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(63, 43);
this.button3.TabIndex = 58;
this.button3.Text = "프린트";
this.button3.Text = "Print";
this.button3.UseVisualStyleBackColor = false;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
@@ -319,7 +319,7 @@
this.button54.Size = new System.Drawing.Size(61, 41);
this.button54.TabIndex = 57;
this.button54.Tag = "2";
this.button54.Text = "RP배기";
this.button54.Text = "RP Exhaust";
this.button54.UseVisualStyleBackColor = false;
this.button54.Click += new System.EventHandler(this.button53_Click);
//
@@ -337,7 +337,7 @@
this.button53.Size = new System.Drawing.Size(61, 41);
this.button53.TabIndex = 57;
this.button53.Tag = "1";
this.button53.Text = "RP흡기";
this.button53.Text = "RP Suction";
this.button53.UseVisualStyleBackColor = false;
this.button53.Click += new System.EventHandler(this.button53_Click);
//
@@ -353,7 +353,7 @@
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(63, 43);
this.button5.TabIndex = 58;
this.button5.Text = "감지L";
this.button5.Text = "Detect L";
this.button5.UseVisualStyleBackColor = false;
//
// button6
@@ -368,7 +368,7 @@
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(63, 43);
this.button6.TabIndex = 58;
this.button6.Text = "감지R";
this.button6.Text = "Detect R";
this.button6.UseVisualStyleBackColor = false;
//
// button4
@@ -383,7 +383,7 @@
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(63, 43);
this.button4.TabIndex = 58;
this.button4.Text = "프린트";
this.button4.Text = "Print";
this.button4.UseVisualStyleBackColor = false;
this.button4.Click += new System.EventHandler(this.button4_Click_1);
//
@@ -401,7 +401,7 @@
this.button59.Size = new System.Drawing.Size(61, 41);
this.button59.TabIndex = 60;
this.button59.Tag = "0";
this.button59.Text = "RP전진";
this.button59.Text = "RP Forward";
this.button59.UseVisualStyleBackColor = false;
this.button59.Click += new System.EventHandler(this.button59_Click);
//
@@ -485,7 +485,7 @@
this.button17.Name = "button17";
this.button17.Size = new System.Drawing.Size(63, 47);
this.button17.TabIndex = 62;
this.button17.Text = "L컨베어";
this.button17.Text = "L Conveyor";
this.button17.UseVisualStyleBackColor = true;
this.button17.Click += new System.EventHandler(this.button17_Click);
//
@@ -497,7 +497,7 @@
this.button19.Name = "button19";
this.button19.Size = new System.Drawing.Size(63, 47);
this.button19.TabIndex = 62;
this.button19.Text = "R컨베어";
this.button19.Text = "R Conveyor";
this.button19.UseVisualStyleBackColor = true;
this.button19.Click += new System.EventHandler(this.button19_Click);
//
@@ -779,7 +779,7 @@
this.btLCyl.Name = "btLCyl";
this.btLCyl.Size = new System.Drawing.Size(63, 47);
this.btLCyl.TabIndex = 63;
this.btLCyl.Text = "L실린더";
this.btLCyl.Text = "L Cylinder";
this.btLCyl.UseVisualStyleBackColor = true;
this.btLCyl.Click += new System.EventHandler(this.button20_Click);
//
@@ -791,7 +791,7 @@
this.btRCyl.Name = "btRCyl";
this.btRCyl.Size = new System.Drawing.Size(63, 47);
this.btRCyl.TabIndex = 63;
this.btRCyl.Text = "R실린더";
this.btRCyl.Text = "R Cylinder";
this.btRCyl.UseVisualStyleBackColor = true;
this.btRCyl.Click += new System.EventHandler(this.button21_Click);
//
@@ -810,7 +810,7 @@
this.Name = "Quick_Control";
this.Padding = new System.Windows.Forms.Padding(1);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "수동조작";
this.Text = "Manual Operation";
this.TopMost = true;
this.Load += new System.EventHandler(this.@__LoaD);
this.panBG.ResumeLayout(false);

View File

@@ -61,7 +61,7 @@ namespace Project.Dialog
{
if (PUB.mot.IsHomeSet((int)eAxis.Z_THETA) == false)
{
UTIL.MsgE("홈 검색이 완료되지 않았으므로 이동할 수 없습니다");
UTIL.MsgE("Cannot move because home search is not completed");
return;
}
@@ -94,13 +94,13 @@ namespace Project.Dialog
var lcyldn = DIO.GetIOInput(eDIName.L_CYLDN);
var rcylup = DIO.GetIOInput(eDIName.R_CYLUP);
var rcyldn = DIO.GetIOInput(eDIName.R_CYLDN);
btLCyl.Text = "L실린더\n" + (lcylup ? "(UP)" : (lcyldn ? "(DN)" : "--"));
btRCyl.Text = "R실린더\n" + (rcylup ? "(UP)" : (rcyldn ? "(DN)" : "--"));
btLCyl.Text = "L Cylinder\n" + (lcylup ? "(UP)" : (lcyldn ? "(DN)" : "--"));
btRCyl.Text = "R Cylinder\n" + (rcylup ? "(UP)" : (rcyldn ? "(DN)" : "--"));
var Lconv = DIO.GetIOOutput(eDOName.LEFT_CONV);
var Rconv = DIO.GetIOOutput(eDOName.RIGHT_CONV);
button17.Text = "L컨베어\n" + (Lconv ? "(RUN)" : "(STOP)");
button19.Text = "R컨베어\n" + (Rconv ? "(RUN)" : "(STOP)");
button17.Text = "L Conveyor\n" + (Lconv ? "(RUN)" : "(STOP)");
button19.Text = "R Conveyor\n" + (Rconv ? "(RUN)" : "(STOP)");
button17.BackColor = Lconv ? Color.Lime : Color.White;
button19.BackColor = Rconv ? Color.Lime : Color.White;
@@ -119,19 +119,19 @@ namespace Project.Dialog
if (PUB.mot.IsHomeSet((short)axis) == false)
{
ermsg.AppendLine("해당 축은 홈 검색이 완료되지 않았습니다");
ermsg.AppendLine("Home search is not completed for this axis");
}
if (ermsg.Length > 0)
{
UTIL.MsgE("이동을 할 수 없습니다\n" + ermsg.ToString());
UTIL.MsgE("Cannot move\n" + ermsg.ToString());
return;
}
var dlg = UTIL.MsgQ(string.Format("모션 축 ({0})의 위치를 0으로 이동하시겠습까?\n" +
"위치 0은 일반적으로 홈 위치 입니다", axis));
var dlg = UTIL.MsgQ(string.Format("Do you want to move motion axis ({0}) to position 0?\n" +
"Position 0 is generally the home position", axis));
if (dlg != DialogResult.Yes) return;
PUB.log.Add("user:move to zero axis=" + axis.ToString());
PUB.mot.Move(motidx, 0);
@@ -290,14 +290,14 @@ namespace Project.Dialog
var cur = DIO.GetIOOutput(eDOName.PRINTL_FWD);
if (cur == false)
{
var dlg = UTIL.MsgQ("프린터(좌) 피커를 전진할까요?"); //210209
var dlg = UTIL.MsgQ("Do you want to advance the printer (left) picker?"); //210209
if (dlg != DialogResult.Yes) return;
//준비위치에서는 전진하면 충돌한다
var ReadyPos = MOT.GetLMPos(eLMLoc.READY);
if (MOT.getPositionMatch(ReadyPos))
{
if (UTIL.MsgQ("현재 위치에서는 충돌위험이 있습니다. 그래도 진행 할까요?") != DialogResult.Yes)
if (UTIL.MsgQ("There is a risk of collision at the current position. Do you want to proceed anyway?") != DialogResult.Yes)
return;
}
}
@@ -310,14 +310,14 @@ namespace Project.Dialog
var cur = DIO.GetIOOutput(eDOName.PRINTR_FWD);
if (cur == false)
{
var dlg = UTIL.MsgQ("프린터(우) 피커를 전진할까요?");
var dlg = UTIL.MsgQ("Do you want to advance the printer (right) picker?");
if (dlg != DialogResult.Yes) return;
//준비위치에서는 전진하면 충돌한다
var ReadyPos = MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(ReadyPos))
{
if (UTIL.MsgQ("현재 위치에서는 충돌위험이 있습니다. 그래도 진행 할까요?") != DialogResult.Yes)
if (UTIL.MsgQ("There is a risk of collision at the current position. Do you want to proceed anyway?") != DialogResult.Yes)
return;
}
}
@@ -328,21 +328,21 @@ namespace Project.Dialog
{
PUB.PrinterL.TestPrint(AR.SETTING.Data.DrawOutbox, "ATK4EE1", "");
var zpl = PUB.PrinterL.LastPrintZPL;
PUB.log.Add("임시프린트L:" + PUB.PrinterL.LastPrintZPL);
PUB.log.Add("Temp Print L: " + PUB.PrinterL.LastPrintZPL);
}
private void button4_Click_1(object sender, EventArgs e)
{
PUB.PrinterR.TestPrint(AR.SETTING.Data.DrawOutbox, "ATK4EE1", "");
var zpl = PUB.PrinterR.LastPrintZPL;
PUB.log.Add("임시프린트R:" + PUB.PrinterR.LastPrintZPL);
PUB.log.Add("Temp Print R: " + PUB.PrinterR.LastPrintZPL);
}
private void button15_Click(object sender, EventArgs e)
{
//왼쪽검증취소
if (PUB.flag.get(eVarBool.FG_PRC_VISIONL) == false) return;
var dlg = UTIL.MsgQ("LEFT-QR코드 검증을 취소할까요?");
var dlg = UTIL.MsgQ("Do you want to cancel LEFT-QR code verification?");
if (dlg != DialogResult.Yes) return;
PUB.flag.set(eVarBool.FG_PRC_VISIONL, false, "CANCEL");
@@ -351,13 +351,13 @@ namespace Project.Dialog
/// PUB.sm.seq.Clear(eSMStep.RUN_VISION0);
//PUB.sm.seq.UpdateTime(eSMStep.RUN_COM_VS0);
PUB.log.Add(string.Format("LEFT-QR검증({0}) 취소 JGUID={1}", "L", PUB.Result.ItemDataL.guid));
PUB.log.Add(string.Format("LEFT-QR verification ({0}) cancelled JGUID={1}", "L", PUB.Result.ItemDataL.guid));
}
private void button16_Click(object sender, EventArgs e)
{
if (PUB.flag.get(eVarBool.FG_PRC_VISIONR) == false) return;
var dlg = UTIL.MsgQ("RIGHT-QR코드 검증을 취소할까요?");
var dlg = UTIL.MsgQ("Do you want to cancel RIGHT-QR code verification?");
if (dlg != DialogResult.Yes) return;
PUB.flag.set(eVarBool.FG_PRC_VISIONR, false, "CANCEL");
@@ -366,7 +366,7 @@ namespace Project.Dialog
//PUB.sm.seq.Clear(eSMStep.RUN_VISION2);
//PUB.sm.seq.UpdateTime(eSMStep.RUN_COM_VS2);
PUB.log.Add(string.Format("RIGHT-QR검증({0}) 취소 JGUID={1}", "R", PUB.Result.ItemDataR.guid));
PUB.log.Add(string.Format("RIGHT-QR verification ({0}) cancelled JGUID={1}", "R", PUB.Result.ItemDataR.guid));
}
private void button8_Click(object sender, EventArgs e)
@@ -424,7 +424,7 @@ namespace Project.Dialog
var pos = MOT.GetLMPos(eLMLoc.READY);
if(MOT.getPositionMatch(pos))
{
PUB.log.AddE($"대기위치이므로 실린더(L)를 내릴 수 없습니다");
PUB.log.AddE($"Cannot lower cylinder (L) because it is at standby position");
}
}
}
@@ -442,7 +442,7 @@ namespace Project.Dialog
var pos = MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(pos))
{
PUB.log.AddE($"대기위치이므로 실린더(R)를 내릴 수 없습니다");
PUB.log.AddE($"Cannot lower cylinder (R) because it is at standby position");
}
}
}

View File

@@ -140,14 +140,14 @@
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorAddNewItem.Text = "새로 추가";
this.bindingNavigatorAddNewItem.Text = "Add New";
//
// bindingNavigatorCountItem
//
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorDeleteItem
//
@@ -156,7 +156,7 @@
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorDeleteItem.Text = "삭제";
this.bindingNavigatorDeleteItem.Text = "Delete";
//
// bindingNavigatorMoveFirstItem
//
@@ -165,7 +165,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -174,7 +174,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -183,13 +183,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -203,7 +203,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -212,7 +212,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
@@ -225,7 +225,7 @@
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("component_Reel_RegExRuleBindingNavigatorSaveItem.Image")));
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Name = "component_Reel_RegExRuleBindingNavigatorSaveItem";
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Text = "데이터 저장";
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Text = "Save Data";
this.component_Reel_RegExRuleBindingNavigatorSaveItem.Click += new System.EventHandler(this.component_Reel_RegExRuleBindingNavigatorSaveItem_Click);
//
// toolStripButton1

View File

@@ -15,7 +15,12 @@ namespace Project.Dialog
public RegExPrintRule()
{
InitializeComponent();
}
this.KeyPreview = true;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
};
}
private void RegExRule_Load(object sender, EventArgs e)
{
@@ -31,7 +36,7 @@ namespace Project.Dialog
var modelName = PUB.Result.vModel.Title;
PUB.Result.BCDPrintPattern = PUB.GetPrintPatterns();
PUB.log.Add($"모델프린트패턴로딩:{PUB.Result.BCDPrintPattern.Count}");
PUB.log.Add($"Model print pattern loading: {PUB.Result.BCDPrintPattern.Count}");
}
private void RefreshList()

View File

@@ -53,6 +53,15 @@
this.btCopy = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.dv1 = new System.Windows.Forms.DataGridView();
this.dvcModelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.IsIgnore = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
@@ -66,15 +75,6 @@
this.panel1 = new System.Windows.Forms.Panel();
this.cmbModelList = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.dvcModelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.IsIgnore = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn2 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewCheckBoxColumn3 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -143,7 +143,7 @@
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorDeleteItem
//
@@ -160,7 +160,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -169,7 +169,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -178,13 +178,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -198,7 +198,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -207,7 +207,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//
@@ -283,6 +283,69 @@
this.dv1.Size = new System.Drawing.Size(967, 380);
this.dv1.TabIndex = 2;
//
// dvcModelName
//
this.dvcModelName.DataPropertyName = "CustCode";
this.dvcModelName.HeaderText = "Model Name";
this.dvcModelName.Name = "dvcModelName";
this.dvcModelName.Visible = false;
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.DataPropertyName = "IsEnable";
this.dataGridViewCheckBoxColumn1.HeaderText = "Enable";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
//
// IsIgnore
//
this.IsIgnore.DataPropertyName = "IsIgnore";
this.IsIgnore.HeaderText = "Except";
this.IsIgnore.Name = "IsIgnore";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridViewTextBoxColumn1.HeaderText = "ID";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "Seq";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle2;
this.dataGridViewTextBoxColumn2.HeaderText = "Order";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "Symbol";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn5.HeaderText = "Type";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn4.DataPropertyName = "Description";
this.dataGridViewTextBoxColumn4.HeaderText = "Description";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
//
// dataGridViewCheckBoxColumn2
//
this.dataGridViewCheckBoxColumn2.DataPropertyName = "IsTrust";
this.dataGridViewCheckBoxColumn2.HeaderText = "Trust";
this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
//
// dataGridViewCheckBoxColumn3
//
this.dataGridViewCheckBoxColumn3.DataPropertyName = "IsAmkStd";
this.dataGridViewCheckBoxColumn3.HeaderText = "AmkStd";
this.dataGridViewCheckBoxColumn3.Name = "dataGridViewCheckBoxColumn3";
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
@@ -425,69 +488,6 @@
this.label4.Text = "Model";
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// dvcModelName
//
this.dvcModelName.DataPropertyName = "CustCode";
this.dvcModelName.HeaderText = "Model Name";
this.dvcModelName.Name = "dvcModelName";
this.dvcModelName.Visible = false;
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.DataPropertyName = "IsEnable";
this.dataGridViewCheckBoxColumn1.HeaderText = "Enable";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
//
// IsIgnore
//
this.IsIgnore.DataPropertyName = "IsIgnore";
this.IsIgnore.HeaderText = "Except";
this.IsIgnore.Name = "IsIgnore";
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
this.dataGridViewTextBoxColumn1.HeaderText = "ID";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.DataPropertyName = "Seq";
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle2;
this.dataGridViewTextBoxColumn2.HeaderText = "Order";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
//
// dataGridViewTextBoxColumn5
//
this.dataGridViewTextBoxColumn5.DataPropertyName = "Symbol";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn5.HeaderText = "Type";
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
//
// dataGridViewTextBoxColumn4
//
this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn4.DataPropertyName = "Description";
this.dataGridViewTextBoxColumn4.HeaderText = "Description";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
//
// dataGridViewCheckBoxColumn2
//
this.dataGridViewCheckBoxColumn2.DataPropertyName = "IsTrust";
this.dataGridViewCheckBoxColumn2.HeaderText = "Trust";
this.dataGridViewCheckBoxColumn2.Name = "dataGridViewCheckBoxColumn2";
//
// dataGridViewCheckBoxColumn3
//
this.dataGridViewCheckBoxColumn3.DataPropertyName = "IsAmkStd";
this.dataGridViewCheckBoxColumn3.HeaderText = "AmkStd";
this.dataGridViewCheckBoxColumn3.Name = "dataGridViewCheckBoxColumn3";
//
// RegExRule
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);

View File

@@ -37,8 +37,11 @@ namespace Project.Dialog
//현재 선택된 모델을 자동선택한다.
cmbModelList.Text = PUB.Result.vModel.Title;
this.KeyPreview = true;
this.KeyDown += (s1, e1) =>
{
if (e1.KeyCode == Keys.Escape) this.Close();
};
LoadSaveBCDtestData();
}
@@ -87,14 +90,14 @@ namespace Project.Dialog
var cnt = this.tam.UpdateAll(this.dataSet1);
if (cnt == 0)
{
UTIL.MsgE("저장된 내용이 없습니다");
UTIL.MsgE("No content has been saved");
}
else UTIL.MsgI($"{cnt}건의 자료가 저장 되었습니다");
else UTIL.MsgI($"{cnt} records have been saved");
var modelName = PUB.Result.vModel.Title;
PUB.Result.BCDPattern = PUB.GetPatterns(modelName, false);
PUB.Result.BCDIgnorePattern = PUB.GetPatterns(modelName, true);
PUB.log.Add($"모델패턴로딩:{PUB.Result.BCDPattern.Count}/{PUB.Result.BCDIgnorePattern.Count}");
PUB.log.Add($"Model pattern loading: {PUB.Result.BCDPattern.Count}/{PUB.Result.BCDIgnorePattern.Count}");
dv1.AutoResizeColumns();
}
@@ -102,7 +105,7 @@ namespace Project.Dialog
{
try
{
if(cust == "ALL")
if (cust == "ALL")
{
dvcModelName.Visible = true;
this.ta.FillAll(this.dataSet1.K4EE_Component_Reel_RegExRule);
@@ -112,7 +115,7 @@ namespace Project.Dialog
dvcModelName.Visible = false;
this.ta.FillByWithSample(this.dataSet1.K4EE_Component_Reel_RegExRule, cust);
}
foreach (DataGridViewRow drow in this.dv1.Rows)
{
var drv = drow.DataBoundItem as DataRowView;
@@ -254,13 +257,13 @@ namespace Project.Dialog
var tacheck = new DataSet1TableAdapters.K4EE_Component_Reel_RegExRuleTableAdapter();
if (tacheck.CheckExsist(newModelName, newDescription) > 0)
{
UTIL.MsgE("이미 존재하는 이름입니다");
UTIL.MsgE("Name already exists");
return;
}
if (this.dataSet1.K4EE_Component_Reel_RegExRule.Where(t => t.CustCode.Equals(newModelName) && t.Description.Equals(newDescription)).Count() > 0)
{
UTIL.MsgE("이미 존재하는 이름입니다");
UTIL.MsgE("Name already exists");
return;
}

View File

@@ -201,20 +201,20 @@
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL2SURBVDhPhZLrS1NxGMf3qv6EsF70MpBS0sjIF+XSmhnY
zVTMcjqnVGqWC4vMmEqmGZq4QYUoRS8qpIub1szc5nKjLTLN+/1Wrpa7H3fOmd9+52yogdADH54Xv9/z
4Tzf8xNwFXdTm3Gs2qhJvGf8k1Bp9JJO8dRw3UQlVvdQR+8a+qNl+rrQpOeb+KH1FV/Rrbc6qd9Wu5u1
uZdhc63x28lBYXDBiZI3MxDXDnlEeerNwdFAJVQarH+cXrZnioZpmoFphoFxioFh0gft6DLaB9xYZoDW
IS9KXk0j68Gg9x+JqELndXh8sMyy+DLLkM7gMy/xQTe2jPcDHiLww7LAwjRPo1w9A+H1zmf8cEpNzMSZ
yqQVqeIUshpOo+FdM8paaiAsDUMMQVS+H3HyvahtreVXcVEMFpc8iLuhY3hBcrXwZWefCqqRx2gwFvGS
8/VHUfQ0HfnNqZAojyNTmYnW3kWo+l14+80BO8npsLyb4gWiOtHmxDsFrHG4C0/65KjS5vGSDEUCGT6B
3Ic50I+5+VU+jHihITksuWkcLvsUEHAVX6mjChvFMI8ZoDRdw52Oq0ipOYSM+iSYpzwwk2C5gPXjgUxs
RBAnXyc4cKuUjirejvQ6ESzjPSjvugC5uhCp92PRrH2Nr3MMzCTYnkkanwhWJw3h7aAgQhYijZRtQ35T
Gs4q4pFWe4SXFKrTIWvJIV8SC+7cMsPiM/eLCU4SZHSxISCIlG2Zi5RtJZdCEFkUgpNVsbj4SAz9gAbl
mmJceCGGRJEMMxGYyNswEgFF+xF1Rbu2wsHibmrBTqF3juXRDc/jcmMussmgVJmKq02XVs84PD4WEQWa
NcG+Ii01a1sT/A83WSE8p22doPCjZ/SHY2Wjyxvhpnz+XRkqV3CcBJnbMbHg8DhHf7r8E7+8mLB6MRbk
l4vm4ZJ3USz3iPw+mrbvONf2PTguEOzJfXcxXNLesVuqsYVL1dQq2QHCslUBJCoqVNK2tDOz7UOYWJ0l
EAgEfwHCoaJtQ43MrwAAAABJRU5ErkJggg==
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL6SURBVDhPhZLbT9NgGMZ3pX+CQS+8NBqF4IwavVAmh4HG
MwpBZMAYBARdYB4SFTOmqIiCBJaoMRKNF2qMhzHUATLGZIvDeJyKiMjJgM6NdW23tvPxa7cwTEh8k1++
i6/PL32fViZOynGrakudw7LtguN3Rq2DIScrUS+eTnZbXR+bcc7+fr3O1rgs8848KTR70k/32qb87K9J
LyV4AkF4qBi//CIsPk74ceLRCFSXPtHKcvP8aDQym8/apzzTtNA3zMH5nYdzhIdjmIf9WwjWL0E8cQcQ
5AHTJwYnHnxH4WU3848kzWBlpukQ+kcFvBrlycnjpSQJoWcwiGdumgjC6J8Q4BznYDCPQHGs67YUzqpP
GtpTm/lH07ILhc270fy0FTX366GojkcSQWlYhxT9ajSYGqRVKJbHpJdGyrEeXhLsrVPc63rXhraBa2h2
VEmSvKYMVN3KRUVrNtTG7SgwFsD0ZhJt7yk8fjsNH+kpVd/LSgJlo3L+1jMHBcfnbtx8p8d5a7kkUbVs
JuEdKLlSDNtgQFqlc4CBhfTgDXBIrXkREYiTfraH1V7Ph2vQDqPzMGo7KpFVvwmqpky4hmm4SLFiwbav
kU48RJCinyXYcLKaW3N0MXIblej/2gdDdyn0Zi2yLyaj1foQr8d4uEixfd84vCBM+TkoTkUFK3VxGrlu
ESpu5GBfSzpyGtIkidacC939YvImyRDv+0cEvBQ/McFPilx3xB4RyHULxuS6heShOMir4rDzfDLKrubD
5rbAYDmK0rv5ULfshYsInOTfcBABy4WxWmuNrbDxSC874WPxZkyQ6Pk8jkPXS1BEghpjNipvHJi5E6FD
AhIPPosJ1lRa2VFPTPA/AmSFhGJzTLBW+5wemPD9mevhuaCYYHhFnomKxkmRJR1D49O0f+CHPzz0k8HQ
FIPBKD8pTkJsnmIFeCk2HAyFfEv2t3+IxmWyVSVPyxLUTzoSNRZPgqaNnaEoQnyRKYLaxC5Vt3uXF7R3
xuebC2UymewvcCKiNqMNhYIAAAAASUVORK5CYII=
</value>
</data>
<metadata name="IsIgnore.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

View File

@@ -87,7 +87,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(1164, 105);
this.button1.TabIndex = 3;
this.button1.Text = "작업 완료";
this.button1.Text = "Job Completed";
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -175,7 +175,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(1164, 44);
this.label2.TabIndex = 6;
this.label2.Text = "현 작업 정보";
this.label2.Text = "Current Job Information";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// tableLayoutPanel1
@@ -277,7 +277,7 @@
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(1164, 44);
this.label3.TabIndex = 8;
this.label3.Text = "당일(1982-11-23) 작업 정보";
this.label3.Text = "Daily(1982-11-23) Job Information";
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label3.Click += new System.EventHandler(this.label3_Click);
//
@@ -467,7 +467,7 @@
this.Name = "fFinishJob";
this.Padding = new System.Windows.Forms.Padding(10);
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "작업완료";
this.Text = "Job Completion";
this.Load += new System.EventHandler(this.@__LoaD);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.tableLayoutPanel1.ResumeLayout(false);

View File

@@ -43,7 +43,7 @@ namespace Project.Dialog
private void __LoaD(object sender, EventArgs e)
{
this.Text = string.Format("금일 작업 목록 입니다({0})", DateTime.Now.ToShortDateString());
this.Text = string.Format("Today's work list ({0})", DateTime.Now.ToShortDateString());
if (AR.SETTING.Data.OnlineMode)
@@ -64,7 +64,7 @@ namespace Project.Dialog
if (PUB.Result.JobStartTime.Year != 1982) sd = PUB.Result.JobStartTime;
if (PUB.Result.JobEndTime.Year != 1982) ed = PUB.Result.JobEndTime;
label2.Text = string.Format("현 작업 정보({0}~{1})", sd.ToString("HH:mm:ss"), ed.ToString("HH:mm:ss"));
label2.Text = string.Format("Current work information ({0}~{1})", sd.ToString("HH:mm:ss"), ed.ToString("HH:mm:ss"));
//현작업
var ta = new DataSet1TableAdapters.K4EE_Component_Reel_ResultTableAdapter();
@@ -75,7 +75,7 @@ namespace Project.Dialog
//당일작업
sd = DateTime.Parse(sd.ToShortDateString() + " 00:00:00");
ed = DateTime.Parse(sd.ToShortDateString() + " 23:59:59");
label3.Text = $"당일({sd.ToShortDateString()}) 작업 정보";
label3.Text = $"Daily ({sd.ToShortDateString()}) work information";
var listday = ta.GetByValid(sd, ed, AR.SETTING.Data.McName);
UpdateList(listday, dataGridView3, dataGridView4);
}

View File

@@ -130,7 +130,7 @@
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(149, 23);
this.label1.TabIndex = 11;
this.label1.Text = "검색어를 입력하세요";
this.label1.Text = "Enter search keyword";
//
// btExport
//
@@ -143,7 +143,7 @@
this.btExport.Size = new System.Drawing.Size(145, 56);
this.btExport.TabIndex = 10;
this.btExport.Tag = "0";
this.btExport.Text = "내보내기(&O)";
this.btExport.Text = "Export(&O)";
this.btExport.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btExport.UseVisualStyleBackColor = true;
this.btExport.Click += new System.EventHandler(this.btExport_Click);
@@ -183,7 +183,7 @@
this.btSearch.Size = new System.Drawing.Size(155, 56);
this.btSearch.TabIndex = 9;
this.btSearch.Tag = "0";
this.btSearch.Text = "검색(F5)";
this.btSearch.Text = "Search(F5)";
this.btSearch.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.btSearch.UseVisualStyleBackColor = true;
this.btSearch.Click += new System.EventHandler(this.btSearch_Click);
@@ -306,7 +306,7 @@
this.sTIMEDataGridViewTextBoxColumn.DataPropertyName = "STIME";
dataGridViewCellStyle1.Format = "MM-dd HH:mm:ss";
this.sTIMEDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.sTIMEDataGridViewTextBoxColumn.HeaderText = "시작";
this.sTIMEDataGridViewTextBoxColumn.HeaderText = "Start";
this.sTIMEDataGridViewTextBoxColumn.Name = "sTIMEDataGridViewTextBoxColumn";
this.sTIMEDataGridViewTextBoxColumn.ReadOnly = true;
//
@@ -315,14 +315,14 @@
this.ETIME.DataPropertyName = "ETIME";
dataGridViewCellStyle2.Format = "MM-dd HH:mm:ss";
this.ETIME.DefaultCellStyle = dataGridViewCellStyle2;
this.ETIME.HeaderText = "종료";
this.ETIME.HeaderText = "End";
this.ETIME.Name = "ETIME";
this.ETIME.ReadOnly = true;
//
// jTYPEDataGridViewTextBoxColumn
//
this.jTYPEDataGridViewTextBoxColumn.DataPropertyName = "JTYPE";
this.jTYPEDataGridViewTextBoxColumn.HeaderText = "형태";
this.jTYPEDataGridViewTextBoxColumn.HeaderText = "Type";
this.jTYPEDataGridViewTextBoxColumn.Name = "jTYPEDataGridViewTextBoxColumn";
this.jTYPEDataGridViewTextBoxColumn.ReadOnly = true;
//
@@ -422,7 +422,7 @@
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.DataPropertyName = "PRNATTACH";
this.dataGridViewCheckBoxColumn1.HeaderText = "부착";
this.dataGridViewCheckBoxColumn1.HeaderText = "Attach";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
this.dataGridViewCheckBoxColumn1.ReadOnly = true;
this.dataGridViewCheckBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
@@ -431,7 +431,7 @@
// PRNVALID
//
this.PRNVALID.DataPropertyName = "PRNVALID";
this.PRNVALID.HeaderText = "검증";
this.PRNVALID.HeaderText = "Validation";
this.PRNVALID.Name = "PRNVALID";
this.PRNVALID.ReadOnly = true;
this.PRNVALID.Resizable = System.Windows.Forms.DataGridViewTriState.True;
@@ -440,7 +440,7 @@
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Column1.HeaderText = "비고";
this.Column1.HeaderText = "Remarks";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
//

View File

@@ -111,7 +111,7 @@ namespace Project.Dialog
//검색일자 검색
if (dtED.Value < dtSD.Value)
{
UTIL.MsgE("검색종료일자가 시작일자보다 작습니다");
UTIL.MsgE("End date is earlier than start date");
dtSD.Value = dtED.Value;
dtSD.Focus();
return;
@@ -233,7 +233,7 @@ namespace Project.Dialog
xls.save(sd.FileName);
PUB.log.Add("Export Data : " + sd.FileName);
if (UTIL.MsgQ("다음 파일이 생성되었습니다.\n\n" + sd.FileName + "\n\n파일을 확인하시겠습니까?") == DialogResult.Yes)
if (UTIL.MsgQ("The following file has been created.\n\n" + sd.FileName + "\n\nWould you like to check the file?") == DialogResult.Yes)
UTIL.RunExplorer(sd.FileName);
}
catch (Exception ex)
@@ -282,7 +282,7 @@ namespace Project.Dialog
private void button1_Click(object sender, EventArgs e)
{
var str = tbFind.Text.Trim();
var f = new AR.Dialog.fTouchKeyFull("검색어 입력", str);
var f = new AR.Dialog.fTouchKeyFull("Enter search term", str);
if (f.ShowDialog() != DialogResult.OK) return;
tbFind.Text = f.tbInput.Text.Trim();
FindData();

View File

@@ -28,7 +28,7 @@ namespace Project.Dialog
uc.numericUpDown1.BackColor = Color.LightGray;
this.flowLayoutPanel1.Controls.Add(uc);
}
this.Text = "엑셀 가져오기(" + title + ")";
this.Text = "Excel Import(" + title + ")";
}
private void NumericUpDown1_ValueChanged(object sender, EventArgs e)
@@ -95,12 +95,12 @@ namespace Project.Dialog
if (sn < 1)
{
MessageBox.Show("시작 줄 번호는 0보다 커야 합니다");
MessageBox.Show("Start row number must be greater than 0");
return;
}
if (en < sn)
{
MessageBox.Show("종료 줄 번호는 시작 번호보다 커야 합니다");
MessageBox.Show("End row number must be greater than start number");
return;
}
@@ -124,7 +124,7 @@ namespace Project.Dialog
}
}
this.listView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
lbMsg.Text = $"미리보기는 최대 {previewcnt}개 까지 표시 됩니다";
lbMsg.Text = $"Preview displays up to {previewcnt} items";
}
private void numericUpDown2_ValueChanged(object sender, EventArgs e)
@@ -181,7 +181,7 @@ namespace Project.Dialog
private void tbUpdate_Click(object sender, EventArgs e)
{
//자료등록메세지
var dlg = MessageBox.Show(string.Format("{0}건의 자료를 등록 할까요?", this.numericUpDown2.Value), "확인", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
var dlg = MessageBox.Show(string.Format("Do you want to register {0} records?", this.numericUpDown2.Value), "Confirm", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (dlg == DialogResult.Yes)
{
//먼저 컬럼 목록을 가져온다
@@ -193,7 +193,7 @@ namespace Project.Dialog
if (no == 0) continue;
if (collist.Where(t => t.Value == no).Any())
{
MessageBox.Show(string.Format("{0}번 열을 이미 지정된 열 입니다", no));
MessageBox.Show(string.Format("Column {0} is already assigned", no));
return;
}
collist.Add(col, no);
@@ -201,7 +201,7 @@ namespace Project.Dialog
if (collist.Count < 1)
{
MessageBox.Show("지정된 열이 없습니다");
MessageBox.Show("No columns have been assigned");
return;
}
@@ -228,7 +228,7 @@ namespace Project.Dialog
for (int i = sn; i <= en; i++)
{
this.prb1.Value = i;
this.lbMsg.Text = string.Format("{0}/{1} 추가:{2},SKIP:{3},중복추가:{4}", i, en, cntI, cntSkip, cntD);
this.lbMsg.Text = string.Format("{0}/{1} Added:{2},SKIP:{3},Duplicate:{4}", i, en, cntI, cntSkip, cntD);
if (i % 10 == 0) Application.DoEvents();
Dictionary<string, string> datalist = new Dictionary<string, string>();
@@ -430,9 +430,9 @@ namespace Project.Dialog
}
this.listView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
lbMsg.Text = string.Format("다음의 수량 만큼 자료가 변경 되었습니다\n" +
"추가:{0},중복추가:{1},SKIP:{2}\n" +
"메인 화면에서 '저장'을 클릭해야 최종 적용 됩니다", cntI, cntD, cntSkip);
lbMsg.Text = string.Format("The following amounts of data have been changed\n" +
"Added:{0},Duplicate:{1},SKIP:{2}\n" +
"Click 'Save' on the main screen to apply changes", cntI, cntD, cntSkip);
MessageBox.Show(lbMsg.Text);
if (cntI > 0 || cntD > 0) DialogResult = DialogResult.OK;
}

View File

@@ -241,7 +241,7 @@
//
this.ToolStripMenuItem.Name = "회전기준바코드로설정ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(206, 22);
this.ToolStripMenuItem.Text = "회전 기준 바코드로 설정";
this.ToolStripMenuItem.Text = "Set as rotation reference barcode";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// panel7
@@ -294,7 +294,7 @@
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(363, 93);
this.btOK.TabIndex = 4;
this.btOK.Text = "◆ 입력 완료 ◆";
this.btOK.Text = "◆ Input Complete ◆";
this.btOK.UseVisualStyleBackColor = false;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//
@@ -356,7 +356,7 @@
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(363, 50);
this.button2.TabIndex = 2;
this.button2.Text = "◀ 바코드 출력정보에 \"입력\"";
this.button2.Text = "◀ \"Input\" to barcode output info";
this.button2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
@@ -371,8 +371,8 @@
this.label1.Padding = new System.Windows.Forms.Padding(5);
this.label1.Size = new System.Drawing.Size(363, 74);
this.label1.TabIndex = 0;
this.label1.Text = "현재 바코드 리더기로 부터 읽은 데이터를 모두 표시합니다. \r\n1. 입력 하고자 하는 데이터 칸을 좌측에서 먼저 선택합니다\r\n2. 입력 데이터를 " +
"아래 목록에서 선택\r\n3. 하단의 \"입력\" 버튼을 누릅니다";
this.label1.Text = "Display all data read from the current barcode reader. \r\n1. First select the data field you want to input from the left side\r\n2. Input data " +
"from the list below\r\n3. Press the \"Input\" button at the bottom";
//
// tbRID
//
@@ -501,7 +501,7 @@
this.btIDChk.Name = "btIDChk";
this.btIDChk.Size = new System.Drawing.Size(57, 50);
this.btIDChk.TabIndex = 30;
this.btIDChk.Text = "검사";
this.btIDChk.Text = "Check";
this.btIDChk.UseVisualStyleBackColor = true;
this.btIDChk.Visible = false;
this.btIDChk.Click += new System.EventHandler(this.btIDCheck_Click);
@@ -513,7 +513,7 @@
this.tbSidFind.Name = "tbSidFind";
this.tbSidFind.Size = new System.Drawing.Size(57, 32);
this.tbSidFind.TabIndex = 29;
this.tbSidFind.Text = "찾기";
this.tbSidFind.Text = "Find";
this.tbSidFind.UseVisualStyleBackColor = true;
this.tbSidFind.Click += new System.EventHandler(this.button7_Click);
//
@@ -524,7 +524,7 @@
this.btPartChk.Name = "btPartChk";
this.btPartChk.Size = new System.Drawing.Size(142, 30);
this.btPartChk.TabIndex = 25;
this.btPartChk.Text = "자동입력";
this.btPartChk.Text = "Auto Input";
this.btPartChk.UseVisualStyleBackColor = true;
this.btPartChk.Click += new System.EventHandler(this.btPart_Click);
//
@@ -607,7 +607,7 @@
this.btDateSelecte.Name = "btDateSelecte";
this.btDateSelecte.Size = new System.Drawing.Size(142, 31);
this.btDateSelecte.TabIndex = 22;
this.btDateSelecte.Text = "선택";
this.btDateSelecte.Text = "Select";
this.btDateSelecte.UseVisualStyleBackColor = true;
this.btDateSelecte.Click += new System.EventHandler(this.button4_Click);
//
@@ -659,7 +659,7 @@
this.btSidConv.Name = "btSidConv";
this.btSidConv.Size = new System.Drawing.Size(82, 32);
this.btSidConv.TabIndex = 11;
this.btSidConv.Text = "SID전환";
this.btSidConv.Text = "SID Convert";
this.btSidConv.UseVisualStyleBackColor = true;
this.btSidConv.Click += new System.EventHandler(this.button3_Click);
//
@@ -670,7 +670,7 @@
this.btNewID.Name = "btNewID";
this.btNewID.Size = new System.Drawing.Size(82, 50);
this.btNewID.TabIndex = 9;
this.btNewID.Text = "생성";
this.btNewID.Text = "Generate";
this.btNewID.UseVisualStyleBackColor = true;
this.btNewID.Click += new System.EventHandler(this.btNewID_Click);
//
@@ -683,7 +683,7 @@
this.btChkQty.Name = "btChkQty";
this.btChkQty.Size = new System.Drawing.Size(142, 51);
this.btChkQty.TabIndex = 8;
this.btChkQty.Text = "서버 수량 체크";
this.btChkQty.Text = "Server Quantity Check";
this.btChkQty.UseVisualStyleBackColor = true;
this.btChkQty.Visible = false;
this.btChkQty.Click += new System.EventHandler(this.btReqQty_Click);
@@ -695,7 +695,7 @@
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(96, 31);
this.button9.TabIndex = 31;
this.button9.Text = "선택";
this.button9.Text = "Select";
this.button9.UseVisualStyleBackColor = true;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
@@ -729,7 +729,7 @@
this.btCustomAutoInput.Name = "btCustomAutoInput";
this.btCustomAutoInput.Size = new System.Drawing.Size(97, 31);
this.btCustomAutoInput.TabIndex = 26;
this.btCustomAutoInput.Text = "자동입력";
this.btCustomAutoInput.Text = "Auto Input";
this.btCustomAutoInput.UseVisualStyleBackColor = true;
this.btCustomAutoInput.Click += new System.EventHandler(this.btCustAutoInput_Click);
//
@@ -909,7 +909,7 @@
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(189, 35);
this.label26.TabIndex = 10;
this.label26.Text = "부착위치";
this.label26.Text = "Attach Position";
this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label26.Click += new System.EventHandler(this.label26_Click);
//
@@ -1121,7 +1121,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(401, 48);
this.button3.TabIndex = 34;
this.button3.Text = "작업 결과에서 데이터 자동 입력";
this.button3.Text = "Auto input data from job results";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
@@ -1133,7 +1133,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(375, 48);
this.button1.TabIndex = 33;
this.button1.Text = "작업 결과에서 데이터를 선택 합니다";
this.button1.Text = "Select data from job results";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//

View File

@@ -133,12 +133,12 @@ namespace Project.Dialog
if (rqBcd.Value != null)
{
var newqty = rqBcd.Value.Data.Substring(2).Trim();
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{newqty}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{newqty}");
tbQTY.Text = newqty;
}
else
{
PUB.log.AddAT("RQ가 설정되어있었으나 해당 값이 코드 목록에 없어 수량을 채우지 않습니다");
PUB.log.AddAT("RQ was set but the value is not in the code list, quantity will not be filled");
}
}
@@ -147,14 +147,14 @@ namespace Project.Dialog
}
else
{
//수량을 직접입력하는 경우이므로 수량값을 지워버린다.
PUB.log.Add($"수량업데이트 {tbQTY.Text}-> (직접입력으로인한삭제)");
//Clear quantity value for manual input case
PUB.log.Add($"Quantity updated {tbQTY.Text}-> (cleared for manual input)");
tbQTY.Text = string.Empty;
}
}
else
{
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{item.VisionData.QTY}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{item.VisionData.QTY}");
tbQTY.Text = item.VisionData.QTY;
}
@@ -168,21 +168,21 @@ namespace Project.Dialog
tbBatch.Text = item.VisionData.BATCH;
tbQtyMax.Text = item.VisionData.QTYMAX;
//라벨위치 정보표시 - 210127 -- delete(220706)
//Label position info display - 210127 -- delete(220706)
//DisplayLabelPos(PUB.Result.ItemData[1].VisionData.LabelPositionData);
//프린트정보표시
//Print info display
this.PrintPos = item.VisionData.PrintPositionData;
if (PUB.flag.get(eVarBool.Opt_DisablePrinter)) this.PrintPos = "8";
if (this.PrintPos.isEmpty() && item.VisionData.SID.isEmpty() == false)
{
//프린트위치가없다면 서버를 조회하여 데이터를 찾아준다. - 231005
//If print position is empty, query server to find data - 231005
var taresult = new DataSet1TableAdapters.K4EE_Component_Reel_ResultTableAdapter();
this.PrintPos = taresult.GetPrintPosition(AR.SETTING.Data.McName, item.VisionData.SID);
}
DisplayPrintPos(this.PrintPos);
//이미지표시 210121
//Image display 210121
this.ivF.Shapes.Clear();
this.ivR.Shapes.Clear();
if (item.VisionData.imageF != null)
@@ -413,7 +413,7 @@ namespace Project.Dialog
//}
if (this.TagStr.isEmpty())
{
UTIL.MsgE("데이터를 입력할 칸을 먼저 클릭 하세요");
UTIL.MsgE("Please click the field to enter data first");
return;
}
var lvitem = this.lvbcdList.FocusedItem;
@@ -422,7 +422,7 @@ namespace Project.Dialog
var lvValue = lvitem.SubItems[1].Text.Trim();
if (lvValue.isEmpty())
{
UTIL.MsgE("선택한 자료에 값이 없습니다\n\n다른 자료를 선택하세요");
UTIL.MsgE("The selected data has no value\n\nPlease select other data");
return;
}
@@ -454,7 +454,7 @@ namespace Project.Dialog
{
tbSID.Text = lvValue;
//sid값을 적용했다면 프린트 위치도 확인한.다.
//If SID value is applied, also check print position
if (this.PrintPos.isEmpty() || this.PrintPos == "5" && lvValue.isEmpty() == false)
{
try
@@ -471,7 +471,7 @@ namespace Project.Dialog
}
catch (Exception ex)
{
UTIL.MsgE("SID:" + lvValue + " 의 인쇄위치값 불러오기 실패\n" + ex.Message);
UTIL.MsgE("SID:" + lvValue + " failed to load print position value\n" + ex.Message);
}
}
}
@@ -481,7 +481,7 @@ namespace Project.Dialog
}
else if (TagStr == "QTY")
{
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{lvValue}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{lvValue}");
tbQTY.Text = lvValue;
}
else if (TagStr == "MFGDATE")
@@ -502,10 +502,10 @@ namespace Project.Dialog
{
CancleAutoConfirm();
//Pub.Result.JobEndTime
//sid를 변경했다면 원본값은 sid0에 넣는다
//If SID is changed, put original value in sid0
if (tbSID.Text.isEmpty())
{
UTIL.MsgE("SID가 없습니다");
UTIL.MsgE("SID is missing");
tbSID.Focus();
return;
}
@@ -516,7 +516,7 @@ namespace Project.Dialog
{
if (VAR.BOOL[eVarBool.Option_AutoConf])
{
btOK.Text = "◆ 입력 완료 ◆";
btOK.Text = "◆ Input Complete ◆";
tmAutoConfirm.Stop();
}
}
@@ -528,40 +528,40 @@ namespace Project.Dialog
if (auto)
{
//데이터베이스에서 조회한다.
//Query from database
try
{
var dr = PUB.Result.DTSidConvert.Where(t => t.SIDFrom == sid);
if (dr.Any() == true) //변환테이블자료가 있다.
if (dr.Any() == true) //Conversion table data exists
{
if (dr.Count() == 1)
{
//원본에 값이 없는경우에만 생성한다
//Create only when original has no value
if (lbSID0.Text.isEmpty())
{
lbSID0.Tag = tbSID.Text; //변환정보가 있으니 현재 정보를 원본의 값에 넣는다
lbSID0.Text = tbSID.Text; //원본값
lbSID0.Tag = tbSID.Text; //Since conversion info exists, put current info into original value
lbSID0.Text = tbSID.Text; //Original value
}
tbSID.Text = dr.First().SIDTo; //변환된 값을 현재 값에 넣는다.
tbSID.Text = dr.First().SIDTo; //Put converted value into current value
var drsid = dr.First();
PUB.log.Add(string.Format("다음 SID 자동변환 {0}->{1}", drsid.SIDFrom, drsid.SIDTo));
PUB.log.Add(string.Format("SID auto conversion {0}->{1}", drsid.SIDFrom, drsid.SIDTo));
}
else
{
PUB.log.AddE(string.Format("SID 자동변환실패 {0}, 발견 SID변환정보 수량:{1}", sid, dr.Count()));
PUB.log.AddE(string.Format("SID auto conversion failed {0}, found SID conversion info count:{1}", sid, dr.Count()));
PUB.Result.DTSidConvertMultiList.Add(sid);
}
}
else
{
PUB.Result.DTSidConvertEmptyList.Add(sid);
PUB.log.Add(string.Format("SID자동변경실패 변환자료 없음 sid:{0}", sid));
PUB.log.Add(string.Format("SID auto conversion failed - no conversion data sid:{0}", sid));
}
}
catch (Exception ex)
{
PUB.log.AddE("SID변환작업실패 메세지:" + ex.Message);
PUB.log.AddE("SID conversion operation failed message:" + ex.Message);
}
}
else
@@ -569,7 +569,7 @@ namespace Project.Dialog
var f = new Dialog.fNewSID(sid);
if (f.ShowDialog() != DialogResult.OK) return;
if (lbSID0.Tag == null || lbSID0.Tag.ToString().isEmpty()) //기존에 변환된 정보가 있는가?
if (lbSID0.Tag == null || lbSID0.Tag.ToString().isEmpty()) //Is there previously converted info?
{
//원본값 백업
lbSID0.Tag = tbSID.Text;
@@ -579,7 +579,7 @@ namespace Project.Dialog
PUB.Result.LastSIDFrom = tbSID.Text.Trim();
PUB.Result.LastSIDTo = f.NewSID.Trim();
PUB.log.Add($"sid수동선택으로 인해 마지막 기록을 입력합니다 from={PUB.Result.LastSIDFrom},to={PUB.Result.LastSIDTo}");
PUB.log.Add($"Entering last record due to manual SID selection from={PUB.Result.LastSIDFrom},to={PUB.Result.LastSIDTo}");
}
PUB.Result.LastSIDCnt = f.FindSIDCount;
@@ -641,7 +641,7 @@ namespace Project.Dialog
return;
}
//화면에 표시 --자동화면일떄에는 묻지않고 적용한다
//Display on screen - apply without asking in auto mode
if (auto == false && UTIL.MsgQ(msg) != DialogResult.Yes) return;
if (dr.CustCode.isEmpty() == false && TbCustCode.Text != dr.CustCode)
{
@@ -668,7 +668,7 @@ namespace Project.Dialog
}
catch (Exception ex)
{
PUB.log.AddE($"SID정보 업데이트 실패:{ex.Message}");
PUB.log.AddE($"SID information update failed: {ex.Message}");
}
taSID.Dispose();
taPRN.Dispose();
@@ -715,9 +715,9 @@ namespace Project.Dialog
bwarn = true;
//if (func_existbcddata(amkorid.MFGDate) == false)
{
AddErrorMessage("V.Name 이전 기록으로 업데이트");
PUB.log.Add("'V.Name' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("V.Name updated from previous record");
PUB.log.Add("'V.Name' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -737,9 +737,9 @@ namespace Project.Dialog
bwarn = true;
if (func_existbcddata(amkorid.MFGDate) == false)
{
AddErrorMessage("MFG 이전 기록으로 업데이트");
PUB.log.Add("'MFG Date' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("MFG updated from previous record");
PUB.log.Add("'MFG Date' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -753,15 +753,15 @@ namespace Project.Dialog
{
//해당 mfgdae 가 바코드목록에 잇다면 바로 적용
//업다면 적용하고 적용 메세지 표시한다
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{amkorid.QTY}");
PUB.log.Add($"Quantity updated {tbQTY.Text}->{amkorid.QTY}");
tbQTY.Text = amkorid.QTY.ToString();
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},qty={1}", sid, amkorid.QTY));
bwarn = true;
if (func_existbcddata(amkorid.QTY.ToString()) == false)
{
AddErrorMessage("QTY 이전 기록으로 업데이트");
PUB.log.Add("'Qty' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("QTY updated from previous record");
PUB.log.Add("'Qty' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -781,9 +781,9 @@ namespace Project.Dialog
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},PARTNO={1}", sid, amkorid.PARTNO));
if (func_existbcddata(amkorid.PARTNO) == false)
{
AddErrorMessage("PartNo 이전 기록으로 업데이트");
PUB.log.Add("'Part No' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("PartNo updated from previous record");
PUB.log.Add("'Part No' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -804,9 +804,9 @@ namespace Project.Dialog
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},VLOT={1}", sid, amkorid.VLOT));
if (func_existbcddata(TbCustCode.Text) == false)
{
AddErrorMessage("Customer Code 이전 기록으로 업데이트");
PUB.log.Add("'Customer Code' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("Customer Code updated from previous record");
PUB.log.Add("'Customer Code' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -829,9 +829,9 @@ namespace Project.Dialog
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},VLOT={1}", sid, amkorid.VLOT));
if (func_existbcddata(amkorid.VLOT) == false)
{
AddErrorMessage("VLOT 이전 기록으로 업데이트");
PUB.log.Add("'Vender LOT' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("VLOT updated from previous record");
PUB.log.Add("'Vender LOT' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -851,9 +851,9 @@ namespace Project.Dialog
//Pub.log.Add(string.Format("이전결과에서 값 업데이트 sid:{0},VENDERNAME={1}", sid, amkorid.VENDERNAME));
if (func_existbcddata(amkorid.VENDERNAME) == false)
{
AddErrorMessage("VNAME 이전 기록으로 업데이트");
PUB.log.Add("'Vender Name' 값을 이전 기록을 통해서 입력했습니다\n" +
"이전 작업시간 : " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
AddErrorMessage("VNAME updated from previous record");
PUB.log.Add("'Vender Name' value entered from previous record\n" +
"Previous work time: " + ((DateTime)(preData.wdate)).ToString("yyyy-MM-dd HH:mm:ss") + "\n" +
"SID : " + preData.SID + "\n" +
"MFG Date : " + amkorid.MFGDate + "\n" +
"Part No : " + amkorid.PARTNO + "\n" +
@@ -868,7 +868,7 @@ namespace Project.Dialog
}
/// <summary>
/// 키엔스 바코드 목록에서 해당 데이터가 있는지 체크합니다
/// Check if the data exists in Keyence barcode list
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
@@ -884,12 +884,12 @@ namespace Project.Dialog
var rid = tbRID.Text.Trim();
if (rid.isEmpty())
{
UTIL.MsgE("Reel ID 가 필요 합니다");
UTIL.MsgE("Reel ID is required");
return;
}
if (AR.SETTING.Data.OnlineMode == false)
{
UTIL.MsgE("오프라인 모드라 사용할 수 없습니다");
UTIL.MsgE("Cannot be used in offline mode");
return;
}
@@ -900,12 +900,12 @@ namespace Project.Dialog
var newCnt = (int)cnt;
if (oldCnt == newCnt)
{
//수량이 동일하니 처리하지 않는다
//Quantities are same, no processing needed
}
else
{
//숫자가 달라지면?
if (UTIL.MsgQ(string.Format("수량을 변경하시겠습니까?\n현재:{0}\n서버:{1}", tbQTY.Text, newCnt)) == DialogResult.Yes)
//If numbers are different?
if (UTIL.MsgQ(string.Format("Do you want to change the quantity?\nCurrent: {0}\nServer: {1}", tbQTY.Text, newCnt)) == DialogResult.Yes)
{
PUB.log.Add($"수량업데이트 {tbQTY.Text}->{newCnt}");
tbQTY.Text = newCnt.ToString();
@@ -914,7 +914,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE("서버수량 확인 실패\n\n" + msg);
UTIL.MsgE("Server quantity check failed\n\n" + msg);
}
}
@@ -974,7 +974,7 @@ namespace Project.Dialog
bool MakeNewID = true;
if (tbRID0.Text.isEmpty() == false && tbRID.Text.isEmpty() == false)
{
if (UTIL.MsgQ($"현재 새로 생성된 ReelID 입니다. 다시 생성할까요?") != DialogResult.Yes)
if (UTIL.MsgQ($"This is a newly generated ReelID. Do you want to generate it again?") != DialogResult.Yes)
{
MakeNewID = false;
}
@@ -990,7 +990,7 @@ namespace Project.Dialog
return;
}
//WMS은 DB에서 생성하낟.
//WMS generates from DB
var newid = PUB.MakeNewREELID(sid);
if (newid.success==false)
{
@@ -1079,7 +1079,7 @@ namespace Project.Dialog
//파트번호자동입력(sid 를 가지고 테이블에서 찾는다)
if (tbSID.Text.isEmpty())
{
UTIL.MsgE("SID값이 필요 합니다", true);
UTIL.MsgE("SID value is required", true);
return;
}
var sid = tbSID.Text.Trim();
@@ -1088,14 +1088,14 @@ namespace Project.Dialog
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE("해당 SID로 등록된 정보가 없습니다");
UTIL.MsgE("No information found for this SID");
return;
}
//파트번호가 잇어야 한다.
if (dr.PartNo != null || dr.PartNo.isEmpty())
{
UTIL.MsgE("해당 SID에 Part No 의 값이 입력되지 않았습니다");
UTIL.MsgE("Part No value is not entered for this SID");
return;
}
@@ -1103,9 +1103,9 @@ namespace Project.Dialog
if (tbpartno.Text.isEmpty()) tbpartno.Text = partno;
else
{
var dlg = UTIL.MsgQ(string.Format("Part NO 값을 변경 할까요?\n" +
"기존 : " + tbpartno.Text + "\n" +
"신규 : " + partno));
var dlg = UTIL.MsgQ(string.Format("Would you like to change the Part NO value?\n" +
"Existing : " + tbpartno.Text + "\n" +
"New : " + partno));
if (dlg == DialogResult.Yes) tbpartno.Text = dr.PartNo;
}
}
@@ -1120,14 +1120,14 @@ namespace Project.Dialog
var sid = tbSID.Text.Trim();
if (sid.isEmpty())
{
UTIL.MsgE("SID값이 필요 합니다", true);
UTIL.MsgE("SID value is required", true);
return;
}
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
if (dr == null || dr.CustCode.isEmpty())
{
UTIL.MsgE("해당 SID로 등록된 정보가 없습니다");
UTIL.MsgE("No information found for this SID");
return;
}
@@ -1170,7 +1170,7 @@ namespace Project.Dialog
var partno = tbpartno.Text.Trim();
if (partno.isEmpty())
{
UTIL.MsgE("SID 를 찾기 위해서는 다음 정보가 필요 합니다\n" +
UTIL.MsgE("The following information is required to find SID\n" +
"1. Part No");
return;
}
@@ -1190,7 +1190,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE("등록된 Customer Code /Part No 에 해당되는 SID를 확인할 수 없습니다\n" +
UTIL.MsgE("Cannot confirm SID corresponding to registered Customer Code/Part No\n" +
"Customer Code : " + custcode + "\n" +
"Part No : " + partno);
return;
@@ -1201,7 +1201,7 @@ namespace Project.Dialog
var drow = dtSIDInfo.Where(t => t.CustCode == custcode && string.IsNullOrEmpty(t.SID) == false).ToList();
if (drow == null || drow.Count < 1)
{
UTIL.MsgE("등록된 Customer Code 에 해당되는 SID를 확인할 수 없습니다\nCustomer : " + custcode);
UTIL.MsgE("Cannot find SID for the registered Customer Code\nCustomer: " + custcode);
return;
}
var f = new fSelectDataList(drow.Select(t => t.SID).ToArray());
@@ -1211,7 +1211,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE("사용자 선택이 취소 되었습니다");
UTIL.MsgE("User selection was canceled");
return;
}
}
@@ -1220,7 +1220,7 @@ namespace Project.Dialog
var drow = dtSIDInfo.Where(t => t.PartNo == partno && string.IsNullOrEmpty(t.SID) == false).ToList();
if (drow == null || drow.Count < 1)
{
UTIL.MsgE("등록된 Part No 에 해당되는 SID를 확인할 수 없습니다\n" + "Part No : " + partno);
UTIL.MsgE("Cannot find SID for the registered Part No\n" + "Part No: " + partno);
return;
}
@@ -1241,7 +1241,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE("사용자 선택이 취소 되었습니다");
UTIL.MsgE("User selection was canceled");
return;
}
}
@@ -1271,16 +1271,16 @@ namespace Project.Dialog
var rid = tbRID.Text.Trim();
if (rid.isEmpty())
{
UTIL.MsgE("Reel Id 값이 없습니다");
UTIL.MsgE("Reel ID value is missing");
return;
}
if (AR.SETTING.Data.OnlineMode == false)
{
UTIL.MsgE("오프라인 모드라 사용할 수 없습니다");
UTIL.MsgE("Cannot be used in offline mode");
return;
}
UTIL.MsgE("WMS 기능 없음");
UTIL.MsgE("WMS function not available");
//var result = Amkor.RestfulService.get_existed_matl_by_id(rid);
//if (result.Complete == false)
//{
@@ -1290,7 +1290,7 @@ namespace Project.Dialog
//{
// if (result.Result == true)
// {
// UTIL.MsgE($"해당 ID는 중복된 ID 입니다\n값:{rid}");
// UTIL.MsgE($"This ID is a duplicate ID\nValue: {rid}");
// return;
// }
// else
@@ -1356,7 +1356,7 @@ namespace Project.Dialog
if (this.lvbcdList.CheckedItems.Count != 1)
{
PUB.AddSystemLog(Application.ProductVersion, "MAIN", $"회전 기준데이터가 {this.lvbcdList.CheckedItems.Count}건 입니다");
UTIL.MsgE("회전 기준데이터는 1개만 선택되어야 합니다");
UTIL.MsgE("Only one rotation reference data should be selected");
return;
}
if (this.lvbcdList.CheckedItems.Count == 1)
@@ -1388,48 +1388,48 @@ namespace Project.Dialog
#region "Check iNput Data"
if (tbSID.Text.isEmpty())
{
UTIL.MsgE("SID 가 입력되지 않았습니다");
UTIL.MsgE("SID is not entered");
tbSID.Focus();
return;
}
if (tbVLOT.Text.isEmpty())
{
UTIL.MsgE("VLOT 가 입력되지 않았습니다");
UTIL.MsgE("VLOT is not entered");
tbVLOT.Focus();
return;
}
if (tbQTY.Text.isEmpty())
{
UTIL.MsgE("QTY 가 입력되지 않았습니다");
UTIL.MsgE("QTY is not entered");
tbQTY.Focus();
return;
}
if (tbMFG.Text.isEmpty())
{
UTIL.MsgE("MFG-DATE 가 입력되지 않았습니다");
UTIL.MsgE("MFG-DATE is not entered");
tbMFG.Focus();
return;
}
if (tbRID.Text.isEmpty())
{
UTIL.MsgE("REEL ID 가 입력되지 않았습니다");
UTIL.MsgE("REEL ID is not entered");
tbRID.Focus();
return;
}
if (this.tbpartno.Text.isEmpty())
{
UTIL.MsgE("PART No 가 입력되지 않았습니다");
UTIL.MsgE("PART No is not entered");
tbpartno.Focus();
return;
}
if (PUB.OPT_BYPASS() == false && PUB.Result.vModel.DisablePrinter == false && this.PrintPos.isEmpty())
{
UTIL.MsgE("프린트 부착 위치가 지정되지 않았습니다");
UTIL.MsgE("Print attachment position is not specified");
return;
}
if (PUB.OPT_BYPASS() == false && this.tbVName.Text.isEmpty())
{
UTIL.MsgE("Vender Name 이 입력되지 않았습니다");
UTIL.MsgE("Vendor Name is not entered");
return;
}
#endregion
@@ -1442,7 +1442,7 @@ namespace Project.Dialog
if (VAR.BOOL[eVarBool.Opt_NewReelID] && (tbRID.Text.isEmpty() || NewReelId == false))
{
UTIL.MsgE("신규 릴ID 생성모드 입니다.\nREEL ID를 생성하세요.");
UTIL.MsgE("New Reel ID generation mode.\nPlease generate REEL ID.");
this.TopMost = topmost;
return;
}
@@ -1452,7 +1452,7 @@ namespace Project.Dialog
{
if (lbSID0.Tag == null || lbSID0.Text.Length != 9)
{
UTIL.MsgE("SID전환모드입니다. SID변환을 수행 하세요");
UTIL.MsgE("SID conversion mode. Please perform SID conversion");
this.TopMost = topmost;
return;
}
@@ -1463,7 +1463,7 @@ namespace Project.Dialog
if (VAR.BOOL[eVarBool.Opt_NewReelID] && CheckRID() == false)
{
PUB.AddSystemLog(Application.ProductVersion, "MAIN", $"Reel ID 의 Customer Code 값이 현재 값과 일치하지 않습니다(RID:{tbRID.Text}/CUST:{TbCustCode.Text})");
UTIL.MsgE("Reel ID Customer Code 값이 현재 값과 일치하지 않습니다\n필요한 경우 REEL ID를 다시 생성하세요");
UTIL.MsgE("Reel ID Customer Code value does not match the current value\nRegenerate REEL ID if necessary");
this.TopMost = topmost;
return;
}
@@ -1478,8 +1478,8 @@ namespace Project.Dialog
var LastLot = taQ.GetLastVLotFromSID(sidNew);
if (LastLot.isEmpty() == false && LastLot.Equals(lot) == false)
{
UTIL.MsgE("이전 LOT 값이 일치 하지 않습니다. 자동 확인이 취소 됩니다\n" +
$"이전 LOT:{LastLot}, 신규 LOT:{lot}");
UTIL.MsgE("Previous LOT value does not match. Auto confirmation is canceled\n" +
$"Previous LOT:{LastLot}, New LOT:{lot}");
warn = true;
this.TopMost = topmost;
return;
@@ -1513,7 +1513,7 @@ namespace Project.Dialog
//SID변환기능이 동작한상태에서는 변환된 SID정보를 저장하지 않는다 230510
if (VAR.BOOL[eVarBool.Opt_SIDConvert])
{
PUB.log.AddAT($"SID변환기능사용으로인해 SID정보는 업데이트하지 않습니다");
PUB.log.AddAT($"SID information will not be updated due to SID conversion feature usage");
}
else columns.Add("SID", tbSID.Text);
}
@@ -1541,7 +1541,7 @@ namespace Project.Dialog
ServerWriteCNV(columns, wheres);
}
}
else PUB.log.AddI($"시드변환정보(SID)는 저장하지 않습니다");
else PUB.log.AddI($"Seed conversion information(SID) will not be saved");
//시드변환테이블에 데이터를 저장하는 경우이다.
if (VAR.BOOL[eVarBool.Opt_ApplySIDConv] && VAR.BOOL[eVarBool.Opt_Conv_WriteServer])
@@ -1567,7 +1567,7 @@ namespace Project.Dialog
PUB.log.Add($"sid변환정보 저장컬럼:{string.Join(",", columns)},where:{string.Join("',", wheres)}");
ServerWriteCONVINF(columns, wheres);
}
else PUB.log.AddI($"시드변환정보(상세)는 저장하지 않습니다");
else PUB.log.AddI($"Seed conversion information(detailed) will not be saved");
}
//값을 설정해주고 빠져나간다
@@ -1690,13 +1690,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because target reel information is missing\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because multiple target reel information exists ({cnt} items)\n" + whke);
}
else
{
@@ -1834,13 +1834,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 변환정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update conversion information because target reel information is missing\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 변환정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because multiple target reel conversion information exists ({cnt} items)\n" + whke);
}
else
{
@@ -2055,7 +2055,7 @@ namespace Project.Dialog
var sid = this.tbSID.Text.Trim();
if (sid.isEmpty()) return;
var dlg = UTIL.MsgQ("SID 에서 인쇄 위치를 검색 할까요?");
var dlg = UTIL.MsgQ("Do you want to search for print position from SID?");
if (dlg != DialogResult.Yes) return;
using (var db = new DataSet1TableAdapters.K4EE_Component_Reel_Print_InformationTableAdapter())
@@ -2063,7 +2063,7 @@ namespace Project.Dialog
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
if (dr == null || dr.PrintPosition.isEmpty())
{
UTIL.MsgE("입력된 SID에 저장된 인쇄 위치가 없습니다\n" +
UTIL.MsgE("No print position stored for entered SID\n" +
"SID:" + sid);
return;
}
@@ -2122,7 +2122,7 @@ namespace Project.Dialog
//customer code
if (result.Count < 1)
{
UTIL.MsgE("검색된 결과가 없습니다\n검색 아이템\n" +
UTIL.MsgE("No search results found\nSearch items\n" +
"1.SID\n" +
"2.LOT\n" +
"3.PARTNO\n");
@@ -2179,7 +2179,7 @@ namespace Project.Dialog
if (msg.isEmpty() == false)
{
UTIL.MsgI("다음 정보가 변경 되었습니다\n" + msg, true);
UTIL.MsgI("The following information has been changed\n" + msg, true);
}
}
@@ -2192,7 +2192,7 @@ namespace Project.Dialog
var dr = db.GetBySID(PUB.MCCode, sid).FirstOrDefault();
if (dr == null || dr.PrintPosition.isEmpty())
{
UTIL.MsgE("입력된 SID에 저장된 인쇄 위치가 없습니다\n" +
UTIL.MsgE("No print position stored for entered SID\n" +
"SID:" + sid);
return;
}
@@ -2207,7 +2207,7 @@ namespace Project.Dialog
var sid = this.tbSID.Text.Trim();
if (sid.isEmpty())
{
UTIL.MsgE("SID 값이 필요합니다");
UTIL.MsgE("SID value is required");
return;
}
func_CheckDateQty();
@@ -2230,7 +2230,7 @@ namespace Project.Dialog
{
if (lvbcdList.FocusedItem == null)
{
UTIL.MsgE("포커스를 받은 항목이 없습니다");
UTIL.MsgE("No item has focus");
return;
}
var dataindex = lvbcdList.FocusedItem.Index;
@@ -2246,7 +2246,7 @@ namespace Project.Dialog
if (tbpartno.Text.isEmpty()) tbpartno.Text = "N/A";
else
{
var dlg = UTIL.MsgQ("현재 Part No 값을 N/A로 변경 할까요?");
var dlg = UTIL.MsgQ("Do you want to change the current Part No value to N/A?");
if (dlg == DialogResult.Yes) tbpartno.Text = "N/A";
}
}
@@ -2280,7 +2280,7 @@ namespace Project.Dialog
if (tbVName.Text.isEmpty()) tbVName.Text = "N/A";
else
{
var dlg = UTIL.MsgQ("현재 VenderName 값을 N/A로 변경 할까요?");
var dlg = UTIL.MsgQ("Do you want to change the current VenderName value to N/A?");
if (dlg == DialogResult.Yes) tbVName.Text = "N/A";
}
}
@@ -2324,7 +2324,7 @@ namespace Project.Dialog
}
else
{
UTIL.MsgE($"103 SID 불일치로 파트번호를 설정하지 않습니다\n원본SID:{tbSID.Text}\n대상SID:{sid}");
UTIL.MsgE($"Part number not set due to 103 SID mismatch\nOriginal SID: {tbSID.Text}\nTarget SID: {sid}");
}
}
else if (tbSID.Text.StartsWith("101"))
@@ -2338,9 +2338,9 @@ namespace Project.Dialog
}
}
}
else PUB.log.AddE($"사용자바코드 0번이 SID가 아닙니다{data}");
else PUB.log.AddE($"User barcode 0 is not SID{data}");
}
else PUB.log.AddE($"사용자 바코드 오류 배열갯수가 적다:{data}");
else PUB.log.AddE($"User barcode error insufficient array count:{data}");
tbBarcode.SelectAll();
tbBarcode.Focus();
}

View File

@@ -103,7 +103,7 @@
this.chkDelinfo.Name = "chkDelinfo";
this.chkDelinfo.Size = new System.Drawing.Size(126, 29);
this.chkDelinfo.TabIndex = 4;
this.chkDelinfo.Text = "인쇄후제거";
this.chkDelinfo.Text = "Delete after printing";
this.chkDelinfo.UseVisualStyleBackColor = true;
//
// nudCnt
@@ -225,7 +225,7 @@
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 38);
this.button7.TabIndex = 3;
this.button7.Text = "삭제";
this.button7.Text = "Delete";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
//
@@ -279,7 +279,7 @@
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(75, 38);
this.button6.TabIndex = 3;
this.button6.Text = "삭제";
this.button6.Text = "Delete";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
@@ -321,7 +321,7 @@
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(75, 38);
this.button5.TabIndex = 2;
this.button5.Text = "삭제";
this.button5.Text = "Delete";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click);
//
@@ -363,7 +363,7 @@
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(75, 38);
this.button4.TabIndex = 2;
this.button4.Text = "삭제";
this.button4.Text = "Delete";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
@@ -405,7 +405,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 38);
this.button3.TabIndex = 2;
this.button3.Text = "삭제";
this.button3.Text = "Delete";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
@@ -447,7 +447,7 @@
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 38);
this.button2.TabIndex = 2;
this.button2.Text = "삭제";
this.button2.Text = "Delete";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
@@ -489,7 +489,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 37);
this.button1.TabIndex = 2;
this.button1.Text = "삭제";
this.button1.Text = "Delete";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -513,7 +513,7 @@
this.groupBox2.Size = new System.Drawing.Size(522, 81);
this.groupBox2.TabIndex = 0;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "바코드입력칸(커서를 이동 후 입력하세요)";
this.groupBox2.Text = "Barcode input field (move cursor and enter)";
//
// tbBarcodeInput
//

View File

@@ -80,7 +80,7 @@ namespace Project.Dialog
if (int.TryParse(qty, out int vqty) == false)
{
UTIL.MsgE("수량은 숫자로 입력하세요");
UTIL.MsgE("Please enter quantity as a number");
tbQty.SelectAll();
tbQty.Focus();
return;
@@ -103,13 +103,13 @@ namespace Project.Dialog
if (Printer.Print(zpl) == false)
{
//인쇄실패시 처리하지 않음
UTIL.MsgE("인쇄 실패로 인해 더이상 진행하지 않습니다");
UTIL.MsgE("Cannot proceed further due to printing failure");
break;
}
else
{
if (i == 0) //첫장만 로깅
PUB.log.Add("사용자 프린트 완료" + string.Join("|", new string[] { sid, lot, spy, qty, rid, mfg, pan }));
PUB.log.Add("User print completed" + string.Join("|", new string[] { sid, lot, spy, qty, rid, mfg, pan }));
}
System.Threading.Thread.Sleep(100);
}
@@ -183,7 +183,7 @@ namespace Project.Dialog
private void tbSID_Click(object sender, EventArgs e)
{
var tb = sender as TextBox;
var rlt = AR.UTIL.InputBox("값을 입력하세요", tb.Text, AR.UTIL.eInputbox.TouchFullSingleLine);
var rlt = AR.UTIL.InputBox("Please enter a value", tb.Text, AR.UTIL.eInputbox.TouchFullSingleLine);
if (rlt.Item1) tb.Text = rlt.Item2;
}
@@ -204,13 +204,13 @@ namespace Project.Dialog
var buf = tbBarcodeInput.Text.Trim().Split(';');
if (buf.Length != 7)
{
UTIL.MsgE("바코드 데이터가 7개가 아닙니다");
UTIL.MsgE("Barcode data does not contain 7 elements");
tbBarcodeInput.SelectAll();
return;
}
if (int.TryParse(buf[3], out var code) == false)
{
UTIL.MsgE("4번데이터(수량)가 숫자가 아닙니다\nAmkor STD 바코드만 허용 됩니다");
UTIL.MsgE("The 4th data (quantity) is not a number\nOnly Amkor STD barcodes are allowed");
return;
}
tbSID.Text = buf[0];

View File

@@ -53,7 +53,7 @@
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(565, 50);
this.btOK.TabIndex = 18;
this.btOK.Text = "확인";
this.btOK.Text = "OK";
this.btOK.UseVisualStyleBackColor = true;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//

View File

@@ -50,7 +50,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(883, 100);
this.button1.TabIndex = 1;
this.button1.Text = "확인";
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//

View File

@@ -44,7 +44,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(694, 68);
this.button1.TabIndex = 4;
this.button1.Text = "확인";
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -95,7 +95,7 @@
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(147, 97);
this.button2.TabIndex = 9;
this.button2.Text = "변환정보에서 찾기";
this.button2.Text = "Find in conversion info";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//

View File

@@ -66,15 +66,15 @@ namespace Project.Dialog
if (NewSID.isEmpty())
{
UTIL.MsgE("SID값이 입력(선택) 되지 않았습니다");
UTIL.MsgE("SID value has not been entered (selected)");
return;
}
if (NewSID == tbOldSid.Text)
{
UTIL.MsgE($"기존 SID와 동일한 SID값이 확인되었습니다\n\n" +
$"기존:{tbOldSid.Text}\n" +
$"신규:{NewSID}");
UTIL.MsgE($"The same SID value as the existing one was confirmed\n\n" +
$"Existing:{tbOldSid.Text}\n" +
$"New:{NewSID}");
return;
}

View File

@@ -28,370 +28,370 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.btlw = new System.Windows.Forms.Button();
this.btc = new System.Windows.Forms.Button();
this.btl = new System.Windows.Forms.Button();
this.btrw = new System.Windows.Forms.Button();
this.btr = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button12 = new System.Windows.Forms.Button();
this.button13 = new System.Windows.Forms.Button();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.button14 = new System.Windows.Forms.Button();
this.button15 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.button9, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.button10, 4, 2);
this.tableLayoutPanel1.Controls.Add(this.button11, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.button12, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.button13, 3, 2);
this.tableLayoutPanel1.Controls.Add(this.button1, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.button2, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.button3, 2, 3);
this.tableLayoutPanel1.Controls.Add(this.button4, 3, 3);
this.tableLayoutPanel1.Controls.Add(this.button5, 4, 3);
this.tableLayoutPanel1.Controls.Add(this.btl, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.btlw, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.btc, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.btrw, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.btr, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.button6, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.button7, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.button8, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.button14, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.button15, 4, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00001F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(822, 561);
this.tableLayoutPanel1.TabIndex = 0;
//
// btlw
//
this.btlw.Dock = System.Windows.Forms.DockStyle.Fill;
this.btlw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btlw.Location = new System.Drawing.Point(174, 150);
this.btlw.Margin = new System.Windows.Forms.Padding(10);
this.btlw.Name = "btlw";
this.btlw.Size = new System.Drawing.Size(144, 120);
this.btlw.TabIndex = 0;
this.btlw.Text = "대기";
this.btlw.UseVisualStyleBackColor = true;
this.btlw.Click += new System.EventHandler(this.button1_Click);
//
// btc
//
this.btc.Dock = System.Windows.Forms.DockStyle.Fill;
this.btc.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btc.ForeColor = System.Drawing.Color.ForestGreen;
this.btc.Location = new System.Drawing.Point(338, 150);
this.btc.Margin = new System.Windows.Forms.Padding(10);
this.btc.Name = "btc";
this.btc.Size = new System.Drawing.Size(144, 120);
this.btc.TabIndex = 0;
this.btc.Text = "중앙";
this.btc.UseVisualStyleBackColor = true;
this.btc.Click += new System.EventHandler(this.button2_Click);
//
// btl
//
this.btl.Dock = System.Windows.Forms.DockStyle.Fill;
this.btl.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btl.Location = new System.Drawing.Point(10, 150);
this.btl.Margin = new System.Windows.Forms.Padding(10);
this.btl.Name = "btl";
this.btl.Size = new System.Drawing.Size(144, 120);
this.btl.TabIndex = 0;
this.btl.Text = "좌측";
this.btl.UseVisualStyleBackColor = true;
this.btl.Click += new System.EventHandler(this.button3_Click);
//
// btrw
//
this.btrw.Dock = System.Windows.Forms.DockStyle.Fill;
this.btrw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btrw.Location = new System.Drawing.Point(502, 150);
this.btrw.Margin = new System.Windows.Forms.Padding(10);
this.btrw.Name = "btrw";
this.btrw.Size = new System.Drawing.Size(144, 120);
this.btrw.TabIndex = 0;
this.btrw.Text = "대기";
this.btrw.UseVisualStyleBackColor = true;
this.btrw.Click += new System.EventHandler(this.button4_Click);
//
// btr
//
this.btr.Dock = System.Windows.Forms.DockStyle.Fill;
this.btr.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btr.Location = new System.Drawing.Point(666, 150);
this.btr.Margin = new System.Windows.Forms.Padding(10);
this.btr.Name = "btr";
this.btr.Size = new System.Drawing.Size(146, 120);
this.btr.TabIndex = 0;
this.btr.Text = "우측";
this.btr.UseVisualStyleBackColor = true;
this.btr.Click += new System.EventHandler(this.button5_Click);
//
// button6
//
this.button6.Dock = System.Windows.Forms.DockStyle.Fill;
this.button6.Font = new System.Drawing.Font("Consolas", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.button6.Location = new System.Drawing.Point(174, 10);
this.button6.Margin = new System.Windows.Forms.Padding(10);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(144, 120);
this.button6.TabIndex = 1;
this.button6.Text = "◀";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
this.button6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button7
//
this.button7.Dock = System.Windows.Forms.DockStyle.Fill;
this.button7.Font = new System.Drawing.Font("Consolas", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.button7.Location = new System.Drawing.Point(502, 10);
this.button7.Margin = new System.Windows.Forms.Padding(10);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(144, 120);
this.button7.TabIndex = 1;
this.button7.Text = "▶";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
this.button7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button7.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button8
//
this.button8.Dock = System.Windows.Forms.DockStyle.Fill;
this.button8.Font = new System.Drawing.Font("Consolas", 45F, System.Drawing.FontStyle.Bold);
this.button8.ForeColor = System.Drawing.Color.Red;
this.button8.Location = new System.Drawing.Point(338, 10);
this.button8.Margin = new System.Windows.Forms.Padding(10);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(144, 120);
this.button8.TabIndex = 2;
this.button8.Text = "";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// button9
//
this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.button9.Dock = System.Windows.Forms.DockStyle.Fill;
this.button9.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.button9.Location = new System.Drawing.Point(10, 290);
this.button9.Margin = new System.Windows.Forms.Padding(10);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(144, 120);
this.button9.TabIndex = 3;
this.button9.Text = "비젼검증\r\n취소(L)";
this.button9.UseVisualStyleBackColor = false;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// button10
//
this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.button10.Dock = System.Windows.Forms.DockStyle.Fill;
this.button10.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.button10.Location = new System.Drawing.Point(666, 290);
this.button10.Margin = new System.Windows.Forms.Padding(10);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(146, 120);
this.button10.TabIndex = 4;
this.button10.Text = "비젼검증\r\n취소(R)";
this.button10.UseVisualStyleBackColor = false;
this.button10.Click += new System.EventHandler(this.button10_Click);
//
// button11
//
this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button11.Dock = System.Windows.Forms.DockStyle.Fill;
this.button11.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button11.Location = new System.Drawing.Point(174, 290);
this.button11.Margin = new System.Windows.Forms.Padding(10);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(144, 120);
this.button11.TabIndex = 5;
this.button11.Text = "프린트관리\r\n위치(L)";
this.button11.UseVisualStyleBackColor = false;
this.button11.Click += new System.EventHandler(this.button11_Click);
//
// button12
//
this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button12.Dock = System.Windows.Forms.DockStyle.Fill;
this.button12.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button12.Location = new System.Drawing.Point(338, 290);
this.button12.Margin = new System.Windows.Forms.Padding(10);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(144, 120);
this.button12.TabIndex = 5;
this.button12.Text = "관리위치\r\n복귀";
this.button12.UseVisualStyleBackColor = false;
this.button12.Click += new System.EventHandler(this.button12_Click);
//
// button13
//
this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button13.Dock = System.Windows.Forms.DockStyle.Fill;
this.button13.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button13.Location = new System.Drawing.Point(502, 290);
this.button13.Margin = new System.Windows.Forms.Padding(10);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(144, 120);
this.button13.TabIndex = 5;
this.button13.Text = "프린트관리\r\n위치(R)";
this.button13.UseVisualStyleBackColor = false;
this.button13.Click += new System.EventHandler(this.button13_Click);
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// button14
//
this.button14.Dock = System.Windows.Forms.DockStyle.Fill;
this.button14.Font = new System.Drawing.Font("Consolas", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button14.ForeColor = System.Drawing.Color.DarkMagenta;
this.button14.Location = new System.Drawing.Point(10, 10);
this.button14.Margin = new System.Windows.Forms.Padding(10);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(144, 120);
this.button14.TabIndex = 1;
this.button14.Text = "▲";
this.button14.UseVisualStyleBackColor = true;
this.button14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button14.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button15
//
this.button15.Dock = System.Windows.Forms.DockStyle.Fill;
this.button15.Font = new System.Drawing.Font("Consolas", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button15.ForeColor = System.Drawing.Color.DarkMagenta;
this.button15.Location = new System.Drawing.Point(666, 10);
this.button15.Margin = new System.Windows.Forms.Padding(10);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(146, 120);
this.button15.TabIndex = 1;
this.button15.Text = "▼";
this.button15.UseVisualStyleBackColor = true;
this.button15.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button15.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button5
//
this.button5.Dock = System.Windows.Forms.DockStyle.Fill;
this.button5.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button5.Location = new System.Drawing.Point(666, 430);
this.button5.Margin = new System.Windows.Forms.Padding(10);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(146, 121);
this.button5.TabIndex = 6;
this.button5.Text = "Z-ZERO";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click_1);
//
// button4
//
this.button4.Dock = System.Windows.Forms.DockStyle.Fill;
this.button4.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button4.Location = new System.Drawing.Point(502, 430);
this.button4.Margin = new System.Windows.Forms.Padding(10);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(144, 121);
this.button4.TabIndex = 6;
this.button4.Text = "프린트\r\n(R)";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click_1);
//
// button3
//
this.button3.Dock = System.Windows.Forms.DockStyle.Fill;
this.button3.Enabled = false;
this.button3.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button3.Location = new System.Drawing.Point(338, 430);
this.button3.Margin = new System.Windows.Forms.Padding(10);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(144, 121);
this.button3.TabIndex = 6;
this.button3.Text = "--";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
// button2
//
this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
this.button2.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button2.Location = new System.Drawing.Point(174, 430);
this.button2.Margin = new System.Windows.Forms.Padding(10);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(144, 121);
this.button2.TabIndex = 6;
this.button2.Text = "프린트\r\n(L)";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click_1);
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
this.button1.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button1.Location = new System.Drawing.Point(10, 430);
this.button1.Margin = new System.Windows.Forms.Padding(10);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(144, 121);
this.button1.TabIndex = 6;
this.button1.Text = "Z-HOME";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// fPickerMove
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(822, 561);
this.Controls.Add(this.tableLayoutPanel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fPickerMove";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "피커(X) 이동 및 관리";
this.Load += new System.EventHandler(this.fPickerMove_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
this.components = new System.ComponentModel.Container();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.button9 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.button11 = new System.Windows.Forms.Button();
this.button12 = new System.Windows.Forms.Button();
this.button13 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.btl = new System.Windows.Forms.Button();
this.btlw = new System.Windows.Forms.Button();
this.btc = new System.Windows.Forms.Button();
this.btrw = new System.Windows.Forms.Button();
this.btr = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button14 = new System.Windows.Forms.Button();
this.button15 = new System.Windows.Forms.Button();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.tableLayoutPanel1.SuspendLayout();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 5;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.button9, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.button10, 4, 2);
this.tableLayoutPanel1.Controls.Add(this.button11, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.button12, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.button13, 3, 2);
this.tableLayoutPanel1.Controls.Add(this.button1, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.button2, 1, 3);
this.tableLayoutPanel1.Controls.Add(this.button3, 2, 3);
this.tableLayoutPanel1.Controls.Add(this.button4, 3, 3);
this.tableLayoutPanel1.Controls.Add(this.button5, 4, 3);
this.tableLayoutPanel1.Controls.Add(this.btl, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.btlw, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.btc, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.btrw, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.btr, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.button6, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.button7, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.button8, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.button14, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.button15, 4, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.00001F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(822, 561);
this.tableLayoutPanel1.TabIndex = 0;
//
// button9
//
this.button9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.button9.Dock = System.Windows.Forms.DockStyle.Fill;
this.button9.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.button9.Location = new System.Drawing.Point(10, 290);
this.button9.Margin = new System.Windows.Forms.Padding(10);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(144, 120);
this.button9.TabIndex = 3;
this.button9.Text = "Vision Validation\r\nCancel(L)";
this.button9.UseVisualStyleBackColor = false;
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// button10
//
this.button10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
this.button10.Dock = System.Windows.Forms.DockStyle.Fill;
this.button10.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.button10.Location = new System.Drawing.Point(666, 290);
this.button10.Margin = new System.Windows.Forms.Padding(10);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(146, 120);
this.button10.TabIndex = 4;
this.button10.Text = "Vision Validation\r\nCancel(R)";
this.button10.UseVisualStyleBackColor = false;
this.button10.Click += new System.EventHandler(this.button10_Click);
//
// button11
//
this.button11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button11.Dock = System.Windows.Forms.DockStyle.Fill;
this.button11.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button11.Location = new System.Drawing.Point(174, 290);
this.button11.Margin = new System.Windows.Forms.Padding(10);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(144, 120);
this.button11.TabIndex = 5;
this.button11.Text = "Print Management\r\nPosition(L)";
this.button11.UseVisualStyleBackColor = false;
this.button11.Click += new System.EventHandler(this.button11_Click);
//
// button12
//
this.button12.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button12.Dock = System.Windows.Forms.DockStyle.Fill;
this.button12.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button12.Location = new System.Drawing.Point(338, 290);
this.button12.Margin = new System.Windows.Forms.Padding(10);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(144, 120);
this.button12.TabIndex = 5;
this.button12.Text = "Management Position\r\nReturn";
this.button12.UseVisualStyleBackColor = false;
this.button12.Click += new System.EventHandler(this.button12_Click);
//
// button13
//
this.button13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(255)))));
this.button13.Dock = System.Windows.Forms.DockStyle.Fill;
this.button13.Font = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold);
this.button13.Location = new System.Drawing.Point(502, 290);
this.button13.Margin = new System.Windows.Forms.Padding(10);
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(144, 120);
this.button13.TabIndex = 5;
this.button13.Text = "Print Management\r\nPosition(R)";
this.button13.UseVisualStyleBackColor = false;
this.button13.Click += new System.EventHandler(this.button13_Click);
//
// button1
//
this.button1.Dock = System.Windows.Forms.DockStyle.Fill;
this.button1.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button1.Location = new System.Drawing.Point(10, 430);
this.button1.Margin = new System.Windows.Forms.Padding(10);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(144, 121);
this.button1.TabIndex = 6;
this.button1.Text = "Z-HOME";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click_1);
//
// button2
//
this.button2.Dock = System.Windows.Forms.DockStyle.Fill;
this.button2.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button2.Location = new System.Drawing.Point(174, 430);
this.button2.Margin = new System.Windows.Forms.Padding(10);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(144, 121);
this.button2.TabIndex = 6;
this.button2.Text = "PRINT\r\n(L)";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click_1);
//
// button3
//
this.button3.Dock = System.Windows.Forms.DockStyle.Fill;
this.button3.Enabled = false;
this.button3.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button3.Location = new System.Drawing.Point(338, 430);
this.button3.Margin = new System.Windows.Forms.Padding(10);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(144, 121);
this.button3.TabIndex = 6;
this.button3.Text = "--";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
// button4
//
this.button4.Dock = System.Windows.Forms.DockStyle.Fill;
this.button4.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button4.Location = new System.Drawing.Point(502, 430);
this.button4.Margin = new System.Windows.Forms.Padding(10);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(144, 121);
this.button4.TabIndex = 6;
this.button4.Text = "PRINT\r\n(R)";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click_1);
//
// button5
//
this.button5.Dock = System.Windows.Forms.DockStyle.Fill;
this.button5.Font = new System.Drawing.Font("Consolas", 20F, System.Drawing.FontStyle.Bold);
this.button5.Location = new System.Drawing.Point(666, 430);
this.button5.Margin = new System.Windows.Forms.Padding(10);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(146, 121);
this.button5.TabIndex = 6;
this.button5.Text = "Z-ZERO";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click_1);
//
// btl
//
this.btl.Dock = System.Windows.Forms.DockStyle.Fill;
this.btl.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btl.Location = new System.Drawing.Point(10, 150);
this.btl.Margin = new System.Windows.Forms.Padding(10);
this.btl.Name = "btl";
this.btl.Size = new System.Drawing.Size(144, 120);
this.btl.TabIndex = 0;
this.btl.Text = "Left";
this.btl.UseVisualStyleBackColor = true;
this.btl.Click += new System.EventHandler(this.button3_Click);
//
// btlw
//
this.btlw.Dock = System.Windows.Forms.DockStyle.Fill;
this.btlw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btlw.Location = new System.Drawing.Point(174, 150);
this.btlw.Margin = new System.Windows.Forms.Padding(10);
this.btlw.Name = "btlw";
this.btlw.Size = new System.Drawing.Size(144, 120);
this.btlw.TabIndex = 0;
this.btlw.Text = "Wait";
this.btlw.UseVisualStyleBackColor = true;
this.btlw.Click += new System.EventHandler(this.button1_Click);
//
// btc
//
this.btc.Dock = System.Windows.Forms.DockStyle.Fill;
this.btc.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btc.ForeColor = System.Drawing.Color.ForestGreen;
this.btc.Location = new System.Drawing.Point(338, 150);
this.btc.Margin = new System.Windows.Forms.Padding(10);
this.btc.Name = "btc";
this.btc.Size = new System.Drawing.Size(144, 120);
this.btc.TabIndex = 0;
this.btc.Text = "Center";
this.btc.UseVisualStyleBackColor = true;
this.btc.Click += new System.EventHandler(this.button2_Click);
//
// btrw
//
this.btrw.Dock = System.Windows.Forms.DockStyle.Fill;
this.btrw.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btrw.Location = new System.Drawing.Point(502, 150);
this.btrw.Margin = new System.Windows.Forms.Padding(10);
this.btrw.Name = "btrw";
this.btrw.Size = new System.Drawing.Size(144, 120);
this.btrw.TabIndex = 0;
this.btrw.Text = "Wait";
this.btrw.UseVisualStyleBackColor = true;
this.btrw.Click += new System.EventHandler(this.button4_Click);
//
// btr
//
this.btr.Dock = System.Windows.Forms.DockStyle.Fill;
this.btr.Font = new System.Drawing.Font("맑은 고딕", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.btr.Location = new System.Drawing.Point(666, 150);
this.btr.Margin = new System.Windows.Forms.Padding(10);
this.btr.Name = "btr";
this.btr.Size = new System.Drawing.Size(146, 120);
this.btr.TabIndex = 0;
this.btr.Text = "Right";
this.btr.UseVisualStyleBackColor = true;
this.btr.Click += new System.EventHandler(this.button5_Click);
//
// button6
//
this.button6.Dock = System.Windows.Forms.DockStyle.Fill;
this.button6.Font = new System.Drawing.Font("Consolas", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.button6.Location = new System.Drawing.Point(174, 10);
this.button6.Margin = new System.Windows.Forms.Padding(10);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(144, 120);
this.button6.TabIndex = 1;
this.button6.Text = "◀";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
this.button6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button6.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button7
//
this.button7.Dock = System.Windows.Forms.DockStyle.Fill;
this.button7.Font = new System.Drawing.Font("Consolas", 50F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64)))));
this.button7.Location = new System.Drawing.Point(502, 10);
this.button7.Margin = new System.Windows.Forms.Padding(10);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(144, 120);
this.button7.TabIndex = 1;
this.button7.Text = "▶";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
this.button7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button7.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button8
//
this.button8.Dock = System.Windows.Forms.DockStyle.Fill;
this.button8.Font = new System.Drawing.Font("Consolas", 45F, System.Drawing.FontStyle.Bold);
this.button8.ForeColor = System.Drawing.Color.Red;
this.button8.Location = new System.Drawing.Point(338, 10);
this.button8.Margin = new System.Windows.Forms.Padding(10);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(144, 120);
this.button8.TabIndex = 2;
this.button8.Text = "■";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// button14
//
this.button14.Dock = System.Windows.Forms.DockStyle.Fill;
this.button14.Font = new System.Drawing.Font("Consolas", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button14.ForeColor = System.Drawing.Color.DarkMagenta;
this.button14.Location = new System.Drawing.Point(10, 10);
this.button14.Margin = new System.Windows.Forms.Padding(10);
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(144, 120);
this.button14.TabIndex = 1;
this.button14.Text = "▲";
this.button14.UseVisualStyleBackColor = true;
this.button14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button14.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// button15
//
this.button15.Dock = System.Windows.Forms.DockStyle.Fill;
this.button15.Font = new System.Drawing.Font("Consolas", 60F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button15.ForeColor = System.Drawing.Color.DarkMagenta;
this.button15.Location = new System.Drawing.Point(666, 10);
this.button15.Margin = new System.Windows.Forms.Padding(10);
this.button15.Name = "button15";
this.button15.Size = new System.Drawing.Size(146, 120);
this.button15.TabIndex = 1;
this.button15.Text = "▼";
this.button15.UseVisualStyleBackColor = true;
this.button15.MouseDown += new System.Windows.Forms.MouseEventHandler(this.button6_MouseDown);
this.button15.MouseUp += new System.Windows.Forms.MouseEventHandler(this.button6_MouseUp);
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// fPickerMove
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(822, 561);
this.Controls.Add(this.tableLayoutPanel1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "fPickerMove";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Picker(X) Movement and Management";
this.Load += new System.EventHandler(this.fPickerMove_Load);
this.tableLayoutPanel1.ResumeLayout(false);
this.ResumeLayout(false);
}

View File

@@ -29,13 +29,13 @@ namespace Project.Dialog
{
if (ManPosL)
{
UTIL.MsgE("프린터측 모션이 관리위치에 있습니다\n위치를 복귀 한 후 다시 시도하세요", true);
UTIL.MsgE("Printer motion is in management position\nReturn to position and try again", true);
e.Cancel = true;
return;
}
if (ManPosR)
{
UTIL.MsgE("프린터측 모션이 관리위치에 있습니다\n위치를 복귀 한 후 다시 시도하세요", true);
UTIL.MsgE("Printer motion is in management position\nReturn to position and try again", true);
e.Cancel = true;
return;
}
@@ -47,13 +47,13 @@ namespace Project.Dialog
{
if (DIO.isSaftyDoorF() == false)
{
UTIL.MsgE("전면 도어가 열려 있습니다");
UTIL.MsgE("Front door is open");
return false;
}
if (PUB.mot.HasHomeSetOff)
{
UTIL.MsgE("모션의 홈 작업이 완료되지 않았습니다");
UTIL.MsgE("Motion home operation is not completed");
return false;
}
return true;
@@ -68,7 +68,7 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
@@ -76,7 +76,7 @@ namespace Project.Dialog
var m1 = MOT.GetLMPos(eLMLoc.READY);
if (MOT.getPositionMatch(m1) == false)
{
UTIL.MsgE("프린터 부착물 위치가 준비 위치가 아닙니다.\n충돌 할 수 있으므로 이동 할 수 없습니다");
UTIL.MsgE("Printer attachment is not in ready position.\nCannot move as collision may occur");
return;
}
@@ -84,7 +84,7 @@ namespace Project.Dialog
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(2, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
@@ -102,7 +102,7 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
@@ -110,14 +110,14 @@ namespace Project.Dialog
var m1 = MOT.GetLMPos(eLMLoc.READY);
if (MOT.getPositionMatch(m1) == false)
{
UTIL.MsgE("프린터 부착물 위치가 준비 위치가 아닙니다.\n충돌 할 수 있으므로 이동 할 수 없습니다");
UTIL.MsgE("Printer attachment is not in ready position.\nCannot move as collision may occur");
return;
}
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(2, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
var p1 = MOT.GetPXPos(ePXLoc.READYL);
@@ -134,14 +134,14 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(1, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
var p1 = MOT.GetPXPos(ePXLoc.PICKON);
@@ -158,7 +158,7 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
@@ -166,13 +166,13 @@ namespace Project.Dialog
var m1 = MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(m1) == false)
{
UTIL.MsgE("프린터 부착물 위치가 준비 위치가 아닙니다.\n충돌 할 수 있으므로 이동 할 수 없습니다");
UTIL.MsgE("Printer attachment is not in ready position.\nCannot move as collision may occur");
return;
}
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(0, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
var p1 = MOT.GetPXPos(ePXLoc.READYR);
MOT.Move(eAxis.PX_PICK, p1.Position, 250, p1.Acc, false, false, false);
@@ -188,7 +188,7 @@ namespace Project.Dialog
var zpos = MOT.getPositionOffset(z);
if (zpos >= 0.5)
{
UTIL.MsgE("Z 축을 올리고 다시 시도하세요");
UTIL.MsgE("Raise the Z axis and try again");
return;
}
@@ -196,14 +196,14 @@ namespace Project.Dialog
var m1 = MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(m1) == false)
{
UTIL.MsgE("프린터 부착물 위치가 준비 위치가 아닙니다.\n충돌 할 수 있으므로 이동 할 수 없습니다");
UTIL.MsgE("Printer attachment is not in ready position.\nCannot move as collision may occur");
return;
}
//도어가 열려있다면 경고메세지를 표시한다.
if (DIO.isSaftyDoorF(0, true) == false)
{
if (UTIL.MsgQ("도어가 열려있습니다. 모션을 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Door is open. Do you want to move the motion?") != DialogResult.Yes) return;
}
var p1 = MOT.GetPXPos(ePXLoc.PICKOFFR);
@@ -253,14 +253,14 @@ namespace Project.Dialog
{
//왼쪽검증취소
// if (PUB.flag.get(eVarBool.RDY_VISION0) == false) return;
var dlg = UTIL.MsgQ("LEFT-QR코드 검증을 취소할까요?");
var dlg = UTIL.MsgQ("Do you want to cancel LEFT-QR code verification?");
if (dlg != DialogResult.Yes) return;
PUB.flag.set(eVarBool.FG_PRC_VISIONL, false, "CANCEL");
PUB.flag.set(eVarBool.FG_PORTL_ITEMON, false, "CANCEL");
//PUB.sm.seq.Clear(eSMStep.RUN_VISION0);
//PUB.sm.seq.UpdateTime(eSMStep.RUN_COM_VS0);
PUB.log.Add(string.Format("LEFT-QR검증({0}) 취소 JGUID={1}", "L", PUB.Result.ItemDataL.guid));
PUB.log.Add(string.Format("LEFT-QR verification({0}) cancelled JGUID={1}", "L", PUB.Result.ItemDataL.guid));
UpdateDatabase(eWorkPort.Left);
DialogResult = DialogResult.OK;
}
@@ -269,14 +269,14 @@ namespace Project.Dialog
{
//왼쪽검증취소
//if (PUB.flag.get(eVarBool.RDY_VISION0) == false) return;
var dlg = UTIL.MsgQ("RIGHT-QR코드 검증을 취소할까요?");
var dlg = UTIL.MsgQ("Do you want to cancel RIGHT-QR code verification?");
if (dlg != DialogResult.Yes) return;
PUB.flag.set(eVarBool.FG_PRC_VISIONR, false, "CANCEL");
PUB.flag.set(eVarBool.FG_PORTR_ITEMON, false, "CANCEL");
//PUB.sm.seq.Clear(eSMStep.RUN_VISION2);
//PUB.sm.seq.UpdateTime(eSMStep.RUN_COM_VS2);
PUB.log.Add(string.Format("RIGHT-QR검증({0}) 취소 JGUID={1}", "R", PUB.Result.ItemDataR.guid));
PUB.log.Add(string.Format("RIGHT-QR verification({0}) cancelled JGUID={1}", "R", PUB.Result.ItemDataR.guid));
UpdateDatabase(eWorkPort.Right);
DialogResult = DialogResult.OK;
@@ -290,7 +290,7 @@ namespace Project.Dialog
var dr = DBHelper.Get<DataSet1.K4EE_Component_Reel_ResultDataTable>(sql, new SqlParameter("jguid", itemdata.guid)).FirstOrDefault();
if (dr == null)
{
var ermsg = string.Format("다음 guid 를 찾을수 없어 검증취소 를 변경하지 못함 vidx={2},guid={0},sid={1}", itemdata.guid, itemdata.VisionData.SID, vidx);
var ermsg = string.Format("Cannot find the following guid, unable to change verification cancellation vidx={2},guid={0},sid={1}", itemdata.guid, itemdata.VisionData.SID, vidx);
PUB.AddDebugLog(ermsg, true);
PUB.log.AddE(ermsg);
}
@@ -301,7 +301,7 @@ namespace Project.Dialog
{
{ "ANGLE", itemdata.VisionData.ApplyAngle },
{ "PRNVALID", 0 },
{ "REMARK", "검증취소" }
{ "REMARK", "Verification cancelled" }
},
new Dictionary<string, object>
{
@@ -335,7 +335,7 @@ namespace Project.Dialog
{
if (PUB.sm.Step != eSMStep.IDLE)
{
UTIL.MsgE("대기상태에서만 사용 가능 합니다");
UTIL.MsgE("Available only in standby state");
return;
}
@@ -343,7 +343,7 @@ namespace Project.Dialog
var Xpos = DIO.GetIOInput(eDIName.PICKER_SAFE);// MOT.getPositionMatch(MOT.GetPXPos(ePXLoc.PICKON), 1);
if (Xpos == false)
{
UTIL.MsgE("피커위치가 중앙에서만 사용 가능 합니다");
UTIL.MsgE("Available only when picker is in center position");
return;
}
@@ -393,7 +393,7 @@ namespace Project.Dialog
var Xpos = DIO.GetIOInput(eDIName.PICKER_SAFE);
if (Xpos == false)
{
UTIL.MsgE("피커위치가 중앙에서만 사용 가능 합니다");
UTIL.MsgE("Available only when picker is in center position");
return;
}
@@ -486,32 +486,32 @@ namespace Project.Dialog
private void button2_Click_1(object sender, EventArgs e)
{
PUB.PrinterL.TestPrint(AR.SETTING.Data.DrawOutbox, "", "");
PUB.log.Add("임시프린트L:" + PUB.PrinterL.LastPrintZPL);
PUB.log.Add("Temporary print L:" + PUB.PrinterL.LastPrintZPL);
}
private void button4_Click_1(object sender, EventArgs e)
{
PUB.PrinterR.TestPrint(AR.SETTING.Data.DrawOutbox, "", "");
PUB.log.Add("임시프린트R:" + PUB.PrinterR.LastPrintZPL);
PUB.log.Add("Temporary print R:" + PUB.PrinterR.LastPrintZPL);
}
private void button5_Click_1(object sender, EventArgs e)
{
if (PUB.mot.IsHomeSet((int)eAxis.PZ_PICK) == false)
{
UTIL.MsgE("Z 홈작업이 완료되지 않았습니다 HOME 을 먼저 진행 하세요");
UTIL.MsgE("Z home operation is not completed. Please perform HOME first");
return;
}
if (UTIL.MsgQ("피커 Z축을 좌표:0 으로 이동 할까요?") != DialogResult.Yes) return;
if (UTIL.MsgQ("Do you want to move picker Z-axis to coordinate:0?") != DialogResult.Yes) return;
MOT.Move(eAxis.PZ_PICK, 0, 500, 1000, false, false, false);
}
private void button1_Click_1(object sender, EventArgs e)
{
var dlg = UTIL.MsgQ("피커 Z축 홈 검색을 진행 할까요?");
var dlg = UTIL.MsgQ("Do you want to proceed with picker Z-axis home search?");
if (dlg != DialogResult.Yes) return;
MOT.Home("관리", eAxis.PZ_PICK, false);
MOT.Home("Management", eAxis.PZ_PICK, false);
}
private void button3_Click_1(object sender, EventArgs e)

View File

@@ -62,7 +62,7 @@ namespace Project.Dialog
{
if (this.listView1.FocusedItem == null) return;
var file = this.listView1.FocusedItem.Tag.ToString();
var dlg = UTIL.MsgQ(string.Format("다음 파일을 삭제 하시겠습니까?\n{0}", file));
var dlg = UTIL.MsgQ(string.Format("Do you want to delete the following file?\n{0}", file));
if (dlg != DialogResult.Yes) return;
System.IO.File.Delete(file);
this.listView1.Items.Remove(this.listView1.FocusedItem);

View File

@@ -62,17 +62,17 @@
//
// columnHeader2
//
this.columnHeader2.Text = "위치";
this.columnHeader2.Text = "Position";
this.columnHeader2.Width = 220;
//
// columnHeader3
//
this.columnHeader3.Text = "변경전";
this.columnHeader3.Text = "Before Change";
this.columnHeader3.Width = 200;
//
// columnHeader4
//
this.columnHeader4.Text = "변경후";
this.columnHeader4.Text = "After Change";
this.columnHeader4.Width = 200;
//
// button1
@@ -83,7 +83,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(815, 56);
this.button1.TabIndex = 1;
this.button1.Text = "확인";
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//

View File

@@ -70,7 +70,7 @@
this.btOK.Name = "btOK";
this.btOK.Size = new System.Drawing.Size(499, 50);
this.btOK.TabIndex = 19;
this.btOK.Text = "확인";
this.btOK.Text = "OK";
this.btOK.UseVisualStyleBackColor = true;
this.btOK.Click += new System.EventHandler(this.btOK_Click);
//

View File

@@ -49,7 +49,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(398, 55);
this.button1.TabIndex = 1;
this.button1.Text = "선택 확인";
this.button1.Text = "Confirm Selection";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -64,7 +64,7 @@
this.MinimizeBox = false;
this.Name = "fSelectDataList";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "목록을 선택하세요";
this.Text = "Please select from list";
this.Load += new System.EventHandler(this.fSelectDataList_Load);
this.ResumeLayout(false);

View File

@@ -37,7 +37,7 @@ namespace Project.Dialog
{
if (this.listBox1.SelectedIndex < 0)
{
UTIL.MsgE("아이템을 선택하세요\n\n취소하려면 ESC키 혹은 닫기 버튼을 누르세요");
UTIL.MsgE("Please select an item\n\nPress ESC key or close button to cancel");
return;
}
this.SelectedValue = this.listBox1.Items[this.listBox1.SelectedIndex].ToString();

View File

@@ -47,7 +47,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(669, 61);
this.button1.TabIndex = 1;
this.button1.Text = "선택";
this.button1.Text = "Select";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//

View File

@@ -230,7 +230,7 @@
this.lbMsgCamoff.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbMsgCamoff.Size = new System.Drawing.Size(733, 49);
this.lbMsgCamoff.TabIndex = 61;
this.lbMsgCamoff.Text = "카메라 사용이 OFF 되었습니다";
this.lbMsgCamoff.Text = "Camera usage is OFF";
this.lbMsgCamoff.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lbMsgCamoff.TextShadow = false;
this.lbMsgCamoff.TextVisible = true;
@@ -275,7 +275,7 @@
this.lbTitle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.lbTitle.Size = new System.Drawing.Size(733, 110);
this.lbTitle.TabIndex = 60;
this.lbTitle.Text = "작업 방식을 선택하세요";
this.lbTitle.Text = "Please select work method";
this.lbTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.lbTitle.TextShadow = false;
this.lbTitle.TextVisible = true;
@@ -309,7 +309,7 @@
this.tabPage1.Padding = new System.Windows.Forms.Padding(10);
this.tabPage1.Size = new System.Drawing.Size(725, 266);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "옵션";
this.tabPage1.Text = "Options";
this.tabPage1.UseVisualStyleBackColor = true;
//
// chkApplySidInfo
@@ -322,7 +322,7 @@
this.chkApplySidInfo.Size = new System.Drawing.Size(423, 25);
this.chkApplySidInfo.TabIndex = 33;
this.chkApplySidInfo.Tag = "6";
this.chkApplySidInfo.Text = "SID정보 테이블을 이용하여 데이터를 자동 기록합니다.";
this.chkApplySidInfo.Text = "Automatically record data using SID information table.";
this.chkApplySidInfo.UseVisualStyleBackColor = true;
this.chkApplySidInfo.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -336,7 +336,7 @@
this.chkApplyJobInfo.Size = new System.Drawing.Size(427, 25);
this.chkApplyJobInfo.TabIndex = 32;
this.chkApplyJobInfo.Tag = "5";
this.chkApplyJobInfo.Text = "당일 작업 내역을 이용하여 데이터를 자동 기록 합니다.";
this.chkApplyJobInfo.Text = "Automatically record data using daily work history.";
this.chkApplyJobInfo.UseVisualStyleBackColor = true;
this.chkApplyJobInfo.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -350,7 +350,7 @@
this.chkApplySIDConv.Size = new System.Drawing.Size(425, 25);
this.chkApplySIDConv.TabIndex = 31;
this.chkApplySIDConv.Tag = "7";
this.chkApplySIDConv.Text = "SID변환 테이블을 이용하여 데이터를 자동 기록 합니다";
this.chkApplySIDConv.Text = "Automatically record data using SID conversion table";
this.chkApplySIDConv.UseVisualStyleBackColor = true;
this.chkApplySIDConv.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -364,7 +364,7 @@
this.chkUserConfirm.Size = new System.Drawing.Size(435, 25);
this.chkUserConfirm.TabIndex = 13;
this.chkUserConfirm.Tag = "0";
this.chkUserConfirm.Text = "최종 인쇄값을 사용자가 확인 합니다 (자동진행 안됨)";
this.chkUserConfirm.Text = "User confirms final print values (no automatic progress)";
this.chkUserConfirm.UseVisualStyleBackColor = true;
this.chkUserConfirm.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -378,7 +378,7 @@
this.chkSIDConv.Size = new System.Drawing.Size(413, 25);
this.chkSIDConv.TabIndex = 28;
this.chkSIDConv.Tag = "4";
this.chkSIDConv.Text = "SID변환 테이블을 이용하여 SID값을 전환 합니다.";
this.chkSIDConv.Text = "Convert SID values using SID conversion table.";
this.chkSIDConv.UseVisualStyleBackColor = true;
this.chkSIDConv.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -392,7 +392,7 @@
this.chkQtyServer.Size = new System.Drawing.Size(448, 25);
this.chkQtyServer.TabIndex = 13;
this.chkQtyServer.Tag = "1";
this.chkQtyServer.Text = "Reel ID 를 기준으로 서버의 수량을 조회하여 사용 합니다.";
this.chkQtyServer.Text = "Query and use server quantities based on Reel ID.";
this.chkQtyServer.UseVisualStyleBackColor = true;
this.chkQtyServer.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -406,7 +406,7 @@
this.chkQtyMRQ.Size = new System.Drawing.Size(405, 25);
this.chkQtyMRQ.TabIndex = 27;
this.chkQtyMRQ.Tag = "3";
this.chkQtyMRQ.Text = "수량을 직접 입력 합니다.(RQ가 읽혔다면 자동 진행)";
this.chkQtyMRQ.Text = "Enter quantity manually (auto-proceed if RQ is read).";
this.chkQtyMRQ.UseVisualStyleBackColor = true;
this.chkQtyMRQ.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -420,7 +420,7 @@
this.chkNew.Size = new System.Drawing.Size(247, 24);
this.chkNew.TabIndex = 24;
this.chkNew.Tag = "2";
this.chkNew.Text = "Reel ID 를 신규로 생성 합니다";
this.chkNew.Text = "Create new Reel ID.";
this.chkNew.UseVisualStyleBackColor = true;
this.chkNew.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
//
@@ -434,7 +434,7 @@
this.tabPage2.Padding = new System.Windows.Forms.Padding(10);
this.tabPage2.Size = new System.Drawing.Size(725, 266);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "옵션 데이터";
this.tabPage2.Text = "Option Data";
this.tabPage2.UseVisualStyleBackColor = true;
//
// GrpSidConvData
@@ -460,7 +460,7 @@
this.GrpSidConvData.Size = new System.Drawing.Size(705, 82);
this.GrpSidConvData.TabIndex = 34;
this.GrpSidConvData.TabStop = false;
this.GrpSidConvData.Text = "SID변환 테이블 서버적용";
this.GrpSidConvData.Text = "SID Conversion Table Server Application";
//
// chkCVSave
//
@@ -472,7 +472,7 @@
this.chkCVSave.Size = new System.Drawing.Size(230, 23);
this.chkCVSave.TabIndex = 51;
this.chkCVSave.Tag = "11";
this.chkCVSave.Text = "변경 정보를 서버에 기록 합니다";
this.chkCVSave.Text = "Record change information to server";
this.chkCVSave.UseVisualStyleBackColor = true;
//
// chkCVApplyBatch
@@ -599,7 +599,7 @@
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(55, 15);
this.label6.TabIndex = 29;
this.label6.Text = "조회대상";
this.label6.Text = "Query Target";
//
// label7
//
@@ -610,7 +610,7 @@
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(55, 15);
this.label7.TabIndex = 29;
this.label7.Text = "적용대상";
this.label7.Text = "Apply Target";
//
// grpapplyjob
//
@@ -633,7 +633,7 @@
this.grpapplyjob.Size = new System.Drawing.Size(705, 82);
this.grpapplyjob.TabIndex = 33;
this.grpapplyjob.TabStop = false;
this.grpapplyjob.Text = "당일작업 적용";
this.grpapplyjob.Text = "Daily Work Application";
//
// chkDayWhereLot
//
@@ -667,7 +667,7 @@
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(55, 15);
this.label3.TabIndex = 29;
this.label3.Text = "조회대상";
this.label3.Text = "Query Target";
//
// label2
//
@@ -678,7 +678,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(55, 15);
this.label2.TabIndex = 29;
this.label2.Text = "적용대상";
this.label2.Text = "Apply Target";
//
// chkDayApplyVender
//
@@ -783,7 +783,7 @@
this.grpApplySidinfo.Size = new System.Drawing.Size(705, 82);
this.grpApplySidinfo.TabIndex = 33;
this.grpApplySidinfo.TabStop = false;
this.grpApplySidinfo.Text = "입력정보 적용";
this.grpApplySidinfo.Text = "Input Information Application";
//
// chkInfoWhereLot
//
@@ -819,7 +819,7 @@
this.chkInfoSave.Size = new System.Drawing.Size(230, 23);
this.chkInfoSave.TabIndex = 32;
this.chkInfoSave.Tag = "8";
this.chkInfoSave.Text = "변경 정보를 서버에 기록 합니다";
this.chkInfoSave.Text = "Record change information to server";
this.chkInfoSave.UseVisualStyleBackColor = true;
//
// chkInfoApplyPrint
@@ -842,7 +842,7 @@
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(55, 15);
this.label4.TabIndex = 29;
this.label4.Text = "조회대상";
this.label4.Text = "Query Target";
//
// label5
//
@@ -853,7 +853,7 @@
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(55, 15);
this.label5.TabIndex = 29;
this.label5.Text = "적용대상";
this.label5.Text = "Apply Target";
//
// chkInfoApplyVender
//
@@ -942,7 +942,7 @@
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(725, 266);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "기타";
this.tabPage3.Text = "Others";
this.tabPage3.UseVisualStyleBackColor = true;
//
// chkCustom
@@ -1009,7 +1009,7 @@
this.btOK.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.btOK.Size = new System.Drawing.Size(361, 95);
this.btOK.TabIndex = 1;
this.btOK.Text = "시작";
this.btOK.Text = "Start";
this.btOK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btOK.TextShadow = true;
this.btOK.TextVisible = true;
@@ -1055,7 +1055,7 @@
this.btCancle.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
this.btCancle.Size = new System.Drawing.Size(360, 95);
this.btCancle.TabIndex = 0;
this.btCancle.Text = "취소";
this.btCancle.Text = "Cancel";
this.btCancle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.btCancle.TextShadow = true;
this.btCancle.TextVisible = true;

View File

@@ -34,7 +34,7 @@ namespace Project.Dialog
//// = new Dialog.fBlurPanel();
//fb.Show();
}
this.Text = $"작업 시작({PUB.Result.vModel.Title})";
this.Text = $"Job Start ({PUB.Result.vModel.Title})";
PUB.flag.set(eVarBool.FG_SCR_JOBSELECT, true, "selectjbo");
PUB.dio.IOValueChanged += Dio_IOValueChanged;
@@ -42,12 +42,12 @@ namespace Project.Dialog
//var visionoff = PUB.Result.vModel.DisableCamera || (SETTING.Data.Enable_Unloader_QRValidation == false);
List<string> offlist = new List<string>();
if (SETTING.Data.SystemBypass || PUB.Result.vModel.DisableCamera || SETTING.Data.Enable_Unloader_QRValidation == false)
offlist.Add("카메라");
offlist.Add("Camera");
if (SETTING.Data.SystemBypass || PUB.Result.vModel.DisablePrinter || (SETTING.Data.Disable_PrinterL && SETTING.Data.Disable_PrinterR))
offlist.Add("프린터");
offlist.Add("Printer");
if (offlist.Any())
{
var msg = "(" + string.Join("/", offlist) + ") 사용이 OFF 되었습니다";
var msg = "(" + string.Join("/", offlist) + ") usage is turned OFF";
lbMsgCamoff.Text = msg;
}
@@ -87,7 +87,7 @@ namespace Project.Dialog
ta.Fill(this.dataSet11.K4EE_Component_Reel_PreSet, "R1");
//작업형태를 다시 시작해준다. - 210329
if (PUB.Result.JobType2.isEmpty()) PUB.Result.JobType2 = "모델정보";
if (PUB.Result.JobType2.isEmpty()) PUB.Result.JobType2 = "Model Info";
Func_SelectJobType("M");
}
@@ -136,12 +136,12 @@ namespace Project.Dialog
if (this.ModeData.isEmpty() || this.ModeData == "--")
{
UTIL.MsgE("작업 방식이 선택되지 않았습니다");
UTIL.MsgE("Work method is not selected");
return;
}
if (this.ModeData == "--")
{
UTIL.MsgE("사용할 수 없는 작업방법 입니다");
UTIL.MsgE("Unusable work method");
return;
}
if (GrpSidConvData.Enabled)
@@ -150,12 +150,12 @@ namespace Project.Dialog
var v = CheckDataIn(GrpSidConvData);
if (v.Item1 < 1)
{
UTIL.MsgE("서버기록 항목 중 대상항목이 지정되지 않았습니다");
UTIL.MsgE("Target item is not specified among server record items");
return;
}
if (v.Item2 < 1)
{
UTIL.MsgE("서버기록 항목 중 검색항목이 지정되지 않았습니다");
UTIL.MsgE("Search item is not specified among server record items");
return;
}
}
@@ -165,12 +165,12 @@ namespace Project.Dialog
var v = CheckDataIn(grpapplyjob);
if (v.Item1 < 1)
{
UTIL.MsgE("당일작업 항목 중 대상항목이 지정되지 않았습니다");
UTIL.MsgE("Target item is not specified among daily work items");
return;
}
if (v.Item2 < 1)
{
UTIL.MsgE("당일작업 항목 중 검색항목이 지정되지 않았습니다");
UTIL.MsgE("Search item is not specified among daily work items");
return;
}
}
@@ -180,12 +180,12 @@ namespace Project.Dialog
var v = CheckDataIn(grpApplySidinfo);
if (v.Item1 < 1)
{
UTIL.MsgE("SID정보 항목 중 대상항목이 지정되지 않았습니다");
UTIL.MsgE("Target item is not specified among SID information items");
return;
}
if (v.Item2 < 1)
{
UTIL.MsgE("SID정보 항목 중 검색항목이 지정되지 않았습니다");
UTIL.MsgE("Search item is not specified among SID information items");
return;
}
}
@@ -218,11 +218,11 @@ namespace Project.Dialog
PUB.Result.DTSidConvert.AcceptChanges();
PUB.Result.DTSidConvertEmptyList.Clear();
PUB.Result.DTSidConvertMultiList.Clear();
PUB.log.Add($"sid변환테이블 {PUB.Result.DTSidConvert.Rows.Count}건 확인");
PUB.log.Add($"sid conversion table {PUB.Result.DTSidConvert.Rows.Count} cases confirmed");
}
catch (Exception ex)
{
UTIL.MsgE("SID변환정보 확인실패\n" + ex.Message);
UTIL.MsgE("SID conversion information check failed\n" + ex.Message);
return;
}
}
@@ -360,7 +360,7 @@ namespace Project.Dialog
{
if (mode.Equals("--"))
{
UTIL.MsgE("사용할 수 없는 버튼 입니다");
UTIL.MsgE("Unusable button");
return;
}
ModeData = mode;
@@ -450,17 +450,17 @@ namespace Project.Dialog
var tagstr = bt.Tag.ToString();
if (tagstr == "M") //모델기본
{
UTIL.MsgI("이 모델은 기본모델입니다 [작업모델] 화면에서 업데이트 하세요");
UTIL.MsgI("This model is a default model. Please update it on the [Work Model] screen");
}
else
{
var dlg = UTIL.MsgQ($"{txt} 항목 옵션을 현재 값으로 변경 할까요??");
var dlg = UTIL.MsgQ($"Do you want to change the {txt} item option to the current value??");
if (dlg != DialogResult.Yes) return;
var dr = this.dataSet11.K4EE_Component_Reel_PreSet.Where(t => t.Title == txt).FirstOrDefault();
if (dr == null)
{
UTIL.MsgE("프리셋 정보를 찾을 수 없어 신규로 생성합니다");
UTIL.MsgE("Preset information not found, creating new preset");
return;
}
dr.MC = "R1";// AR.SETTING.Data.McName;
@@ -499,7 +499,7 @@ namespace Project.Dialog
var ta = new DataSet1TableAdapters.K4EE_Component_Reel_PreSetTableAdapter();
var rlt = ta.Update(this.dataSet11.K4EE_Component_Reel_PreSet) == 1;
if (rlt == false) UTIL.MsgE("변경 실패");
if (rlt == false) UTIL.MsgE("Change failed");
}

View File

@@ -46,7 +46,7 @@
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(932, 55);
this.button1.TabIndex = 1;
this.button1.Text = "선택 확인";
this.button1.Text = "Select Confirm";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
@@ -117,7 +117,7 @@
this.MinimizeBox = false;
this.Name = "fSelectResult";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "값을 선택하세요 (실제 비어 있는 데이터만 선택값에서 추출 됩니다)";
this.Text = "Please select a value (Only empty data will be extracted from the selection)";
this.Load += new System.EventHandler(this.fSelectDataList_Load);
this.ResumeLayout(false);

View File

@@ -50,7 +50,7 @@ namespace Project.Dialog
{
if (this.lv1.FocusedItem == null)
{
UTIL.MsgE("아이템을 선택하세요\n\n취소하려면 ESC키 혹은 닫기 버튼을 누르세요");
UTIL.MsgE("Please select an item\n\nPress ESC key or close button to cancel");
return;
}
this.SelectedValue = this.lv1.FocusedItem.Tag as DataSet1.K4EE_Component_Reel_ResultRow;

View File

@@ -46,7 +46,7 @@ namespace Project.Dialog
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(633, 60);
this.label1.TabIndex = 0;
this.label1.Text = "복수개의 SID 변환 정보가 확인 되었습니다.\r\n아래 SID 목록에서 사용할 데이터를 선택하고 \"확인\" 을 누르세요.";
this.label1.Text = "Multiple SID conversion information has been found.\r\nPlease select the data to use from the SID list below and press \"OK\".";
//
// listView1
//
@@ -81,7 +81,7 @@ namespace Project.Dialog
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(652, 66);
this.button1.TabIndex = 2;
this.button1.Text = "확인";
this.button1.Text = "OK";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//

View File

@@ -85,7 +85,7 @@ namespace Project.Dialog
else
{
///자료가 없다
lv.SubItems.Add("정보 없음");
lv.SubItems.Add("No information");
}
}
}

View File

@@ -319,7 +319,7 @@
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(27, 22);
this.bindingNavigatorCountItem.Text = "/{0}";
this.bindingNavigatorCountItem.ToolTipText = "전체 항목 수";
this.bindingNavigatorCountItem.ToolTipText = "Total item count";
//
// bindingNavigatorMoveFirstItem
//
@@ -328,7 +328,7 @@
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveFirstItem.Text = "처음으로 이동";
this.bindingNavigatorMoveFirstItem.Text = "Move to first";
//
// bindingNavigatorMovePreviousItem
//
@@ -337,7 +337,7 @@
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMovePreviousItem.Text = "이전으로 이동";
this.bindingNavigatorMovePreviousItem.Text = "Move to previous";
//
// bindingNavigatorSeparator
//
@@ -346,13 +346,13 @@
//
// bindingNavigatorPositionItem
//
this.bindingNavigatorPositionItem.AccessibleName = "위치";
this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(49, 23);
this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "현재 위치";
this.bindingNavigatorPositionItem.ToolTipText = "Current position";
//
// bindingNavigatorSeparator1
//
@@ -366,7 +366,7 @@
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveNextItem.Text = "다음으로 이동";
this.bindingNavigatorMoveNextItem.Text = "Move to next";
//
// bindingNavigatorMoveLastItem
//
@@ -375,7 +375,7 @@
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
this.bindingNavigatorMoveLastItem.Text = "마지막으로 이동";
this.bindingNavigatorMoveLastItem.Text = "Move to last";
//
// bindingNavigatorSeparator2
//

View File

@@ -294,7 +294,7 @@ namespace Project.Dialog
#region "Check iNput Data"
if (tbSID.Text.isEmpty())
{
UTIL.MsgE("SID 가 입력되지 않았습니다");
UTIL.MsgE("SID was not entered");
tbSID.Focus();
return;
}
@@ -351,7 +351,7 @@ namespace Project.Dialog
//SID변환기능이 동작한상태에서는 변환된 SID정보를 저장하지 않는다 230510
if (VAR.BOOL[eVarBool.Opt_SIDConvert])
{
PUB.log.AddAT($"SID변환기능사용으로인해 SID정보는 업데이트하지 않습니다");
PUB.log.AddAT($"SID information is not updated due to the use of SID conversion function");
}
else columns.Add("SID", tbSID.Text);
}
@@ -444,7 +444,7 @@ namespace Project.Dialog
var dlgMsg = $"다음 값을 서버(SID정보)에 저장 하시겠습니까?\n";
foreach (var item in UpdateTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -459,13 +459,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because there is no target reel information\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Multiple target reel information({cnt} records) exists, cannot update information\n" + whke);
}
else
{
@@ -494,7 +494,7 @@ namespace Project.Dialog
var dlgMsg = $"다음 값을 서버에 저장 하시겠습니까?\n";
foreach (var item in InsertTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -586,7 +586,7 @@ namespace Project.Dialog
{
var dlgMsg = $"다음 값을 EED서버(SID정보)에 저장 하시겠습니까?\n";
foreach (var item in UpdateTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -600,13 +600,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Cannot update information because there is no target reel information\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Multiple target reel information({cnt} records) exists, cannot update information\n" + whke);
}
else
{
@@ -634,7 +634,7 @@ namespace Project.Dialog
{
var dlgMsg = $"다음 값을 EED서버에 저장 하시겠습니까?\n";
foreach (var item in InsertTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -728,7 +728,7 @@ namespace Project.Dialog
var dlgMsg = $"다음 SID변환값을 서버에 업데이트 하시겠습니까?\n";
foreach (var item in UpdateTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
if (dlg == DialogResult.Yes)
@@ -743,13 +743,13 @@ namespace Project.Dialog
if (cnt < 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 정보가 없어 변환정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"No target reel information exists, cannot update conversion information\n" + whke);
}
else if (cnt > 1)
{
PUB.log.AddAT("SQL=" + CSQL);
UTIL.MsgE($"대상 릴 변환정보가 복수로({cnt}건) 존재하여 정보를 업데이트 할 수 없습니다\n" + whke);
UTIL.MsgE($"Multiple target reel conversion information({cnt} records) exists, cannot update information\n" + whke);
}
else
{
@@ -778,7 +778,7 @@ namespace Project.Dialog
var dlgMsg = $"다음 변환값을 서버에 추가 하시겠습니까?\n";
foreach (var item in InsertTarget)
dlgMsg += $"항목:{item.Key} => {item.Value}\n";
dlgMsg += $"Item:{item.Key} => {item.Value}\n";
var dlg = UTIL.MsgQ(dlgMsg);
@@ -820,7 +820,7 @@ namespace Project.Dialog
if (tbPart.Text.isEmpty()) tbPart.Text = "N/A";
else
{
var dlg = UTIL.MsgQ("현재 Part No 값을 N/A로 변경 할까요?");
var dlg = UTIL.MsgQ("Would you like to change the current Part No value to N/A?");
if (dlg == DialogResult.Yes) tbPart.Text = "N/A";
}
}
@@ -832,7 +832,7 @@ namespace Project.Dialog
if (tbVName.Text.isEmpty()) tbVName.Text = "N/A";
else
{
var dlg = UTIL.MsgQ("현재 VenderName 값을 N/A로 변경 할까요?");
var dlg = UTIL.MsgQ("Would you like to change the current VenderName value to N/A?");
if (dlg == DialogResult.Yes) tbVName.Text = "N/A";
}
}
@@ -872,7 +872,7 @@ namespace Project.Dialog
var dr = drv.Row as dsWMS.VW_GET_MAX_QTY_VENDOR_LOTRow;
if (dr == null) return;
var dlg = UTIL.MsgQ("선택항 항목의 값을 입력할까요?\n비어있는 값은 자동으로 입력하고 이미 존재하는 경우에는 사용자 확인을 합니다");
var dlg = UTIL.MsgQ("Would you like to enter the values of the selected items?\nEmpty values will be entered automatically and user confirmation will be required for existing values");
if (dlg != DialogResult.Yes) return;
//SID값은 반드시 있다

View File

@@ -53,14 +53,14 @@ namespace Project.Dialog
private void toolStripButton1_Click(object sender, EventArgs e)
{
//load
if (UTIL.MsgQ("다시 불러 올까요?") == DialogResult.Yes)
if (UTIL.MsgQ("Do you want to reload?") == DialogResult.Yes)
this.richTextBox1.Text = System.IO.File.ReadAllText(this.fn, System.Text.Encoding.Default);
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
//save
if (UTIL.MsgQ("저장 할까요?") == DialogResult.Yes)
if (UTIL.MsgQ("Do you want to save?") == DialogResult.Yes)
System.IO.File.WriteAllText(this.fn, this.richTextBox1.Text.Trim(), System.Text.Encoding.Default);
}
@@ -69,7 +69,7 @@ namespace Project.Dialog
//right
if (PUB.PrinterR.IsOpen)
PUB.PrinterR.Print(this.richTextBox1.Text);
else PUB.log.AddAT("프린터R연결 안됨");
else PUB.log.AddAT("Printer R not connected");
}
private void toolStripButton3_Click(object sender, EventArgs e)
@@ -78,7 +78,7 @@ namespace Project.Dialog
if (PUB.PrinterL.IsOpen)
PUB.PrinterL.Print(this.richTextBox1.Text);
else
PUB.log.AddAT("프린터L 연결 안됨");
PUB.log.AddAT("Printer L not connected");
}
}
}

View File

@@ -115,7 +115,7 @@ namespace Project.Dialog
private void Form1_Load(object sender, EventArgs e)
{
PUB.log.AddI("프로그램시작");
PUB.log.AddI("Program started");
PUB.plc.ValueChanged += Plc_ValueChanged;
ioPanel1.ItemClick += IoPanel1_ItemClick;
timer1.Start();

View File

@@ -1,259 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Project
{
public static class Lang
{
////main
public static string OK { get; set; }
public static string Q_EXIT { get; set; }
public static string ERROR { get; set; }
public static string NO { get; set; }
public static string YES { get; set; }
public static string MENU_RESET { get; set; }
public static string MENU_LOGIN { get; set; }
public static string MENU_LOGOUT { get; set; }
public static string MENU_RESULT { get; set; }
public static string MENU_MODELEDIT { get; set; }
public static string MENU_SETUP { get; set; }
public static string RESULT { get; set; }
public static string LOG { get; set; }
public static string HISTORY { get; set; }
public static string NOT_READY { get; set; }
public static string CAN_NOT_RUN_AUTOMODE { get; set; }
public static string m_오류_AIROFF { get; set; }
public static string m_오류_AIRDETECT { get; set; }
public static string m_오류_SAFTYAREA { get; set; }
public static string m_오류_REQUIRELOTLIST { get; set; }
public static string m_진행중 { get; set; }
public static string m_준비완료 { get; set; }
public static string m_트레이로드 { get; set; }
public static string m_시작조건검사 { get; set; }
public static string m_시작조건프로그램 { get; set; }
public static string m_시작조건장치 { get; set; }
public static string m_카메라촬영 { get; set; }
public static string m_이미지수집 { get; set; }
public static string m_비젼검사_원점 { get; set; }
public static string m_비젼검사_DOT { get; set; }
public static string m_LASERMARKING { get; set; }
public static string m_AIRBLOW { get; set; }
public static string m_트레이언로드 { get; set; }
public static void CreateFile()
{
//utf8파일로 파일을 생성한다.
//if (System.IO.File.Exists(FileName)) System.IO.File.Delete(FileName);
iniHelper.CreateFile(); //System.IO.File.WriteAllText(FileName, "//INI FILE", System.Text.Encoding.Unicode);
int i = 1;
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.Q_EXIT);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.OK);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.ERROR);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.NO);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.YES);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.MENU_RESULT);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.MENU_LOGOUT);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.MENU_LOGIN);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.MENU_MODELEDIT);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.MENU_SETUP);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.MENU_RESET);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.RESULT);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.LOG);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.HISTORY);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.NOT_READY);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.CAN_NOT_RUN_AUTOMODE);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_오류_AIROFF);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_오류_AIRDETECT);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_오류_SAFTYAREA);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_오류_REQUIRELOTLIST);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_진행중);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_준비완료);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_트레이로드);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_시작조건검사);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_시작조건프로그램);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_시작조건장치);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_카메라촬영);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_이미지수집);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_비젼검사_원점 );
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_비젼검사_DOT );
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_LASERMARKING );
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_AIRBLOW);
SetINIValue(string.Format("MSG{0:0000}", i++), Lang.m_트레이언로드);
iniHelper.Flush();
}
public static bool Loading(string langName)
{
Lang.SelectedLang = langName;
iniHelper = new AR.INIHelper(FileName);
int i = 1;
Lang.Q_EXIT = GetINIValue(string.Format("MSG{0:0000}", i++), "종료하시겠습니까?");
Lang.OK = GetINIValue(string.Format("MSG{0:0000}", i++), "확인");
Lang.ERROR = GetINIValue(string.Format("MSG{0:0000}", i++), "오류");
Lang.NO = GetINIValue(string.Format("MSG{0:0000}", i++), "아니오");
Lang.YES = GetINIValue(string.Format("MSG{0:0000}", i++), "예");
Lang.MENU_RESULT = GetINIValue(string.Format("MSG{0:0000}", i++), "History");
Lang.MENU_LOGOUT = GetINIValue(string.Format("MSG{0:0000}", i++), "Logout");
Lang.MENU_LOGIN = GetINIValue(string.Format("MSG{0:0000}", i++), "Login");
Lang.MENU_MODELEDIT = GetINIValue(string.Format("MSG{0:0000}", i++), "Model Editor");
Lang.MENU_SETUP = GetINIValue(string.Format("MSG{0:0000}", i++), "Setting");
Lang.MENU_RESET = GetINIValue(string.Format("MSG{0:0000}", i++), "Clear");
Lang.RESULT = GetINIValue(string.Format("MSG{0:0000}", i++), "Result");
Lang.LOG = GetINIValue(string.Format("MSG{0:0000}", i++), "Log");
Lang.HISTORY = GetINIValue(string.Format("MSG{0:0000}", i++), "History");
Lang.NOT_READY = GetINIValue(string.Format("MSG{0:0000}", i++), "Input sensor condition not completed.");
Lang.CAN_NOT_RUN_AUTOMODE = "AUTO-RUN MODE{n}[자동실행] 중에는 사용할 수 없습니다{n}중지 후 다시 시도하세요";
Lang.m_오류_AIROFF = GetINIValue(string.Format("MSG{0:0000}", i++), "AIR OFF{n}AIR 공급상태가 [OFF] 입니다{n}전면의 [AIR S/W]를 누르세요{n}출력포트 : Y004");
Lang.m_오류_AIRDETECT = GetINIValue(string.Format("MSG{0:0000}", i++), "AIR NOT DETECTED{n}장비 전면커버를 열고 AIR 감지 센서의 출력을 확인합니다{n}감지센서 : X005");
Lang.m_오류_SAFTYAREA = GetINIValue(string.Format("MSG{0:0000}", i++), "SAFTY AREA SENSOR ERROR{n}매거진 투입구 안전 센서가 감지되었습니다{n}감지센서 : X00A");
Lang.m_오류_REQUIRELOTLIST = GetINIValue(string.Format("MSG{0:0000}", i++), "REQUIRE LOT-LIST{n}LOT 목록이 조회 되어야 합니다{n}바코드를 이용하여 A/L TAG를 입력하세요");
Lang.m_진행중 = GetINIValue(string.Format("MSG{0:0000}", i++), "진행 중");
Lang.m_준비완료 = GetINIValue(string.Format("MSG{0:0000}", i++), "준비 완료");
Lang.m_트레이로드 = GetINIValue(string.Format("MSG{0:0000}", i++), "TRAY LOAD");
Lang.m_시작조건검사 = GetINIValue(string.Format("MSG{0:0000}", i++), "CHECK INIT");
Lang.m_시작조건프로그램 = GetINIValue(string.Format("MSG{0:0000}", i++), "CHECK S/W");
Lang.m_시작조건장치 = GetINIValue(string.Format("MSG{0:0000}", i++), "CHECK H/W");
Lang.m_카메라촬영 = GetINIValue(string.Format("MSG{0:0000}", i++), "CAMERA ON");
Lang.m_이미지수집 = GetINIValue(string.Format("MSG{0:0000}", i++), "GRAB IMAGE");
Lang.m_비젼검사_원점 = GetINIValue(string.Format("MSG{0:0000}", i++), "IMAGE(ORIGNE)");
Lang.m_비젼검사_DOT = GetINIValue(string.Format("MSG{0:0000}", i++), "IMAGE(DOT)");
Lang.m_LASERMARKING = GetINIValue(string.Format("MSG{0:0000}", i++), "LASER MARKING");
Lang.m_AIRBLOW = GetINIValue(string.Format("MSG{0:0000}", i++), "AIR BLOW");
Lang.m_트레이언로드 = GetINIValue(string.Format("MSG{0:0000}", i++), "TRAY UNLOAD");
Type thClass = typeof(Lang);
foreach (var method in thClass.GetMethods())
{
var parameters = method.GetParameters();
if (method.Name.StartsWith("get_m_")==false) continue;
//set은 사용하지 않는다.
//key
string keyname = method.Name.Substring(4);
string methodName = method.Name;
string valuetype = method.ReturnType.Name.ToLower();
var odata = thClass.GetMethod(methodName).Invoke(null, null).ToString();
if(odata.Contains("{n}"))
{
var ndata = odata.Replace("{n}", "\n");
thClass.GetMethod("set_" + keyname).Invoke(thClass, new object[] { ndata });
}
}
//171104 없다면 생성
if (!isExist()) CreateFile();
return true;
}
#region "Common "
public static Boolean ReLoad()
{
return Loading(SelectedLang);
}
private static AR.INIHelper iniHelper;
private static string GetINIValue(string key, string def = "")
{
if (!System.IO.File.Exists(Lang.FileName))
return def;
string retval = iniHelper.get_Data("lang", key, def);
return retval;
}
private static void SetINIValue(string key, string value)
{
iniHelper.set_Data("lang", key, value);
}
public static Boolean isExist()
{
return System.IO.File.Exists(FileName);
}
////local data
private static string _path = "";
private static string _selectedLang = "";
public static string SelectedLang
{
get
{
if ((string.IsNullOrWhiteSpace(_selectedLang)))
{
return "kor";
}
else
{
string fullname = Path + "\\" + _selectedLang + ".ini";
//if ((!System.IO.File.Exists(fullname)))
//{
// CreateFile();
//}
return _selectedLang;
}
}
set { _selectedLang = value; }
}
public static string Path
{
get
{
if (string.IsNullOrWhiteSpace(_path))
{
_path = AppDomain.CurrentDomain.BaseDirectory + "\\Language";
if (!System.IO.Directory.Exists(_path)) System.IO.Directory.CreateDirectory(_path);
}
return _path;
}
set { _path = value; }
}
public static List<string> LangList
{
get
{
List<string> retval = new List<string>();
if ((System.IO.Directory.Exists(Path)))
{
string[] files = System.IO.Directory.GetFiles(Path, "*.ini");
foreach (string file in files)
{
retval.Add(file.Substring(file.LastIndexOf("\\") + 1));
}
}
return retval;
}
}
public static string FileName
{
get
{
string fn = Path + "\\" + SelectedLang;
if(fn.ToLower().LastIndexOf(".ini") == -1) fn += ".ini";
return fn.Replace("\\\\", "\\");
}
}
#endregion
}
}

View File

@@ -274,7 +274,7 @@ namespace Project.Manager
if (int.TryParse(cntStr, out curCnt) == false)
{
curCnt = 2;
PUB.log.AddE("기존 사용수량 읽기 실패 카운트문자=" + cntStr + "기본값(1)으로 설정");
PUB.log.AddE("Failed to read existing usage count. Counter string=" + cntStr + ". Setting to default value(1)");
}
newCount = curCnt + newCount;
}
@@ -346,7 +346,7 @@ namespace Project.Manager
if (int.TryParse(cntStr, out curCnt) == false)
{
curCnt = 1;
PUB.log.AddE("기존 사용수량 읽기 실패 카운트문자=" + cntStr + "기본값(1)으로 설정");
PUB.log.AddE("Failed to read existing usage count. Counter string=" + cntStr + ". Setting to default value(1)");
}
retval.Add(id, curCnt);
}

View File

@@ -73,8 +73,8 @@ namespace Project
/// <summary>
/// database manager
/// </summary>
//public static Manager.DatabaseManagerHistory dbmHistory; //트레이기록(날짜기준)
public static Manager.DatabaseManagerCount dbmCount; //수량기록(ID기준)
//public static Manager.DatabaseManagerHistory dbmHistory; //Tray records (by date)
public static Manager.DatabaseManagerCount dbmCount; //Quantity records (by ID)
public static Manager.DatabaseManagerSIDHistory dbmSidHistory;
//public static Manager.DataBaseMSSQL dbSQL;
@@ -107,7 +107,7 @@ namespace Project
//########################################################
// DEVICE DEFINE
//########################################################
public static Device.CStateMachine sm; //상태머신분리 190529
public static Device.CStateMachine sm; //State machine separation 190529
public static Boolean UserAdmin { get { return true; } }
@@ -117,7 +117,7 @@ namespace Project
var retval = VAR.BOOL[eVarBool.Opt_DisableCamera];
if (retval == false)
{
//전체옵션은 사용가능하지만 환경설정의 개별옵션이 꺼진경우에 동작안함
//Overall option is available but doesn't work when individual option in environment settings is off
retval = !AR.SETTING.Data.Enable_Unloader_QRValidation;
}
return retval;
@@ -131,7 +131,7 @@ namespace Project
var retval = VAR.BOOL[eVarBool.Opt_DisablePrinter];
if (retval == false)
{
//전체옵션은 사용가능하지만 환경설정의 개별옵션이 꺼진경우에 동작안함
//Overall option is available but doesn't work when individual option in environment settings is off
if (target == eWorkPort.Left)
retval = AR.SETTING.Data.Disable_PrinterL;
else
@@ -170,13 +170,13 @@ namespace Project
// return;
//}
//초기화
//Initialize
var rlt = PUB.Result.mModel.ReadValue(modelName);
if (rlt && PUB.Result.mModel.isSet)
{
PUB.log.AddAT("모션모델선택완료 : " + PUB.Result.mModel.Title);
PUB.log.AddAT("Motion model selection complete: " + PUB.Result.mModel.Title);
//사용한 모델이름을 저장함
//Save the model name used
if (SETTING.User.LastModelM != PUB.Result.mModel.Title)
{
SETTING.User.LastModelM = PUB.Result.mModel.Title;
@@ -186,7 +186,7 @@ namespace Project
}
else
{
PUB.log.AddE("모션모델선택실패(없는모델명:" + modelName + ")");
PUB.log.AddE("Motion model selection failed (non-existent model name:" + modelName + ")");
return false;
}
}
@@ -231,9 +231,9 @@ namespace Project
// return;
//}
//초기화
//Initialize
PUB.Result.vModel.Title = string.Empty;
PUB.PrinterL.ZPLFileName = "zpl.txt"; //기본파일로 설정
PUB.PrinterL.ZPLFileName = "zpl.txt"; //Set as default file
PUB.PrinterR.ZPLFileName = "zpl.txt";
var modelVision = PUB.mdm.GetDataV(modelName);
@@ -241,9 +241,9 @@ namespace Project
{
var mv = PUB.Result.vModel;
mv.ReadValue(modelVision); //Util.CopyData(model, Pub.Result.vModel);
PUB.log.AddAT("작업모델선택완료 : " + mv.Title);
PUB.log.AddAT("Work model selection complete: " + mv.Title);
//선택한 모델을 저장함
//Save the selected model
if (SETTING.User.LastModelV != mv.Title)
{
SETTING.User.LastModelV = mv.Title;
@@ -254,7 +254,7 @@ namespace Project
PUB.Result.BCDIgnorePattern = PUB.GetPatterns(modelName, true);
PUB.Result.BCDPrintPattern = PUB.GetPrintPatterns(); //220902
PUB.log.Add($"모델패턴로딩:{PUB.Result.BCDPattern.Count}/{PUB.Result.BCDIgnorePattern.Count}");
PUB.log.Add($"Model pattern loading:{PUB.Result.BCDPattern.Count}/{PUB.Result.BCDIgnorePattern.Count}");
if (modelVision.Code.isEmpty())
{
//PUB.Result.CustCode = string.Empty;
@@ -269,10 +269,10 @@ namespace Project
VAR.STR[eVarString.JOB_CUSTOMER_CODE] = custcode;
}
//모든 저장된 바코드를 삭제한ㄷ.
//Delete all saved barcodes
PUB.Result.ItemDataC.Clear("SELCTMODEL");
//바코드설정파일 업데이트
//Update barcode configuration file
if (bUploadConfig)
{
//SAVE
@@ -287,16 +287,16 @@ namespace Project
{
PUB.PrinterL.ZPLFileName = fn;
PUB.PrinterR.ZPLFileName = fn;
PUB.log.AddI($"전용 ZPL 설정 {fn}");
PUB.log.AddI($"Dedicated ZPL settings {fn}");
}
else
{
PUB.log.AddE($"전용 ZPL파일이 없습니다 {fn}");
PUB.log.AddE($"No dedicated ZPL file {fn}");
}
}
else
{
PUB.log.AddI($"공용 ZPL파일을 사용합니다");
PUB.log.AddI($"Using shared ZPL file");
}
return true;
}
@@ -304,7 +304,7 @@ namespace Project
{
//PUB.Result.CustCode = string.Empty;
VAR.STR[eVarString.JOB_CUSTOMER_CODE] = string.Empty;
PUB.log.AddE("모델선택실패(없는모델명:" + modelName + ")");
PUB.log.AddE("Model selection failed (non-existent model name:" + modelName + ")");
return false;
}
@@ -316,13 +316,13 @@ namespace Project
{
var tagstr = keyence?.Tag ?? string.Empty;
PUB.log.AddAT($"바코드({tagstr})가 연결되지 않아 설정 파일을 업로드하지 않습니다." +
"신규 작업 시작시 해당 정보는 재 전송 됩니다." +
$"{(tagstr == "F" ? "" : "")}측하단의 바코드 연결을 확인 후 모델을 선택하시면 이 오류가 발생되지 않습니다");
PUB.log.AddAT($"Barcode ({tagstr}) is not connected, configuration file will not be uploaded." +
"This information will be retransmitted when starting a new job." +
$"This error will not occur if you select the model after checking the barcode connection at the {(tagstr == "F" ? "left" : "right")} bottom.");
return false;
}
//바코드설정파일 입력
//Input barcode configuration file
var mv = PUB.Result.vModel;
var configfilenameB = mv.Title;
if (configfilenameB.isEmpty()) configfilenameB = mv.Title;
@@ -344,7 +344,7 @@ namespace Project
if (configfiB.Exists == false && configfiJ.Exists == false)
{
PUB.log.AddAT($"바코드({keyence.Tag}) 설정파일({configfiB.Name})이 없습니다");
PUB.log.AddAT($"Barcode({keyence.Tag}) configuration file({configfiB.Name}) not found");
}
else
{
@@ -360,14 +360,14 @@ namespace Project
var fn = configfiJ.Exists ? configfiJ.FullName : configfiB.FullName;
var upOk = ftp.Upload(UPFileName, fn);
if (upOk == false) PUB.log.AddE($"바코드({keyence.Tag}) 설정파일 업로드 실패");
else PUB.log.AddI($"바코드({keyence.Tag}) 설정파일 업로드 완료({fn})");
if (upOk == false) PUB.log.AddE($"Barcode({keyence.Tag}) configuration file upload failed");
else PUB.log.AddI($"Barcode({keyence.Tag}) configuration file upload completed({fn})");
if (keyence.IsConnect) keyence.Trigger(true);
return true;
}
catch (Exception ex)
{
PUB.log.AddE($"바코드({keyence.Tag}) FTP전송 실패:{ex.Message}");
PUB.log.AddE($"Barcode({keyence.Tag}) FTP transfer failed:{ex.Message}");
}
}
return false;
@@ -386,13 +386,13 @@ namespace Project
//기존 SID정보에서 데이터를 취합니다.
var mc = AR.SETTING.Data.McName;
PUB.log.AddAT($"환경설정에서 ECS SKIP이 되었습니다 기존 정보에서 데이터를 생성합니다 MC={mc}");
PUB.log.AddAT($"ECS SKIP is set in configuration. Data will be generated from existing information MC={mc}");
using (var tainfo = new DataSet1TableAdapters.K4EE_Component_Reel_SID_InformationTableAdapter())
{
var cntd = tainfo.DeleteAll("IB");
PUB.log.AddAT($"{cntd}건의 자료가 삭제됨");
PUB.log.AddAT($"{cntd} records deleted");
var cnti = tainfo.MakeIBData(mc);
PUB.log.AddAT($"{cnti}건의 자료가 복제됨");
PUB.log.AddAT($"{cnti} records duplicated");
}
message = "ECS-OFF 됨 장비전용 데이터로 진행 함";
result = true;
@@ -460,7 +460,7 @@ namespace Project
}
catch (Exception ex)
{
PUB.log.AddE("SID변환정보 확인실패\n" + ex.Message);
PUB.log.AddE("SID conversion information check failed\n" + ex.Message);
return false;
}
}
@@ -653,7 +653,7 @@ namespace Project
}
else
{
PUB.log.AddAT($"SId변환테이블에 자료가 없습니다");
PUB.log.AddAT($"No data in SID conversion table");
VAR.BOOL[eVarBool.JOB_Empty_SIDConvertInfo] = true;
}
@@ -696,7 +696,7 @@ namespace Project
var sidconvDr = sidconvlist.First();
err = false;
if (PUB.sm.Step == eSMStep.RUN)
PUB.log.AddI($"[{src}] sid변환완료 {oldsid}->{sidconvDr.SIDTo}");
PUB.log.AddI($"[{src}] SID conversion completed {oldsid}->{sidconvDr.SIDTo}");
return sidconvDr.SIDTo;
}
}
@@ -905,7 +905,7 @@ namespace Project
//신규발행에의해 신뢰된 자료라면 원본릴아이디에 이 값을 쓴다
if (vdata.QTY0.Equals("NONE") || vdata.QTY0.isEmpty())
{
PUB.log.AddAT($"릴수량(원본)값 적용(신규값적용상태):{Value}");
PUB.log.AddAT($"Reel quantity(original) value applied(new value applied state):{Value}");
vdata.QTY0 = Value.Trim();
}
}
@@ -1251,8 +1251,8 @@ namespace Project
iLock[i].idx = i;
}
//language
Lang.Loading(AR.SETTING.Data.Language + ".ini");
//language - disabled (now using hardcoded English)
// Lang.Loading(AR.SETTING.Data.Language + ".ini");
LoadDataTable();
@@ -1749,12 +1749,12 @@ namespace Project
var val = decimal.Parse(f.tbInput.Text);
if (val < valueCtl.Minimum)
{
UTIL.MsgE(string.Format("최소 입력값은 {0} 입니다.", valueCtl.Minimum));
UTIL.MsgE(string.Format("Minimum input value is {0}.", valueCtl.Minimum));
val = valueCtl.Minimum;
}
if (val > valueCtl.Maximum)
{
UTIL.MsgE(string.Format("최대 입력값은 {0} 입니다.", valueCtl.Maximum));
UTIL.MsgE(string.Format("Maximum input value is {0}.", valueCtl.Maximum));
val = valueCtl.Maximum;
}
valueCtl.Value = val;

View File

@@ -81,7 +81,7 @@ namespace Project
if (DIO.IsEmergencyOn() == true) return;
if (PUB.sm.Step == eSMStep.RUN) return;
PUB.log.AddAT("조이스틱으로 홈 초기화작업");
PUB.log.AddAT("Home initialization operation with joystick");
Func_sw_initialize();
}
}
@@ -157,17 +157,17 @@ namespace Project
private void Joystick_Disconnected(object sender, EventArgs e)
{
PUB.log.AddE("조이스틱 연결 종료");
PUB.log.AddE("Joystick connection terminated");
}
private void Joystick_Connected(object sender, EventArgs e)
{
PUB.log.AddI("조이스틱 연결 완료");
PUB.log.AddI("Joystick connection completed");
}
private void Joystick_Changed(object sender, EventArgs e)
{
PUB.log.AddAT("조이스틱 감지");
PUB.log.AddAT("Joystick detected");
}
}

View File

@@ -66,7 +66,7 @@ namespace Project
//PUB.keyence.UpdateBitmap((Bitmap)e.Image, newbitmap);
keyenceview.Image = e.Image;
if (old != null) old.Dispose();
PUB.log.AddAT("최초 이미지 수신");
PUB.log.AddAT("First image received");
}
else
{
@@ -149,7 +149,7 @@ namespace Project
//에러처리 221018
if (resp.StartsWith("0:ERROR")) continue;
PUB.log.AddE($"***바코드({Source}) 응답데이터 오류 값(키엔스 전송포맷을 확인하세요) " + resp);
PUB.log.AddE($"***Barcode({Source}) response data error value (please check Keyence transmission format) " + resp);
listView21.SetText(9, 3, "ERR");//.setTitle(8, 1, "ERR");
continue;
}
@@ -157,7 +157,7 @@ namespace Project
if (AR.VAR.BOOL[eVarBool.JOB_PickON_Retry]) //221110
{
if (PUB.sm.Step == eSMStep.RUN)
PUB.log.AddAT($"피커({Source}) 재시도 중이라 바코드를 무시 합니다:{resp}");
PUB.log.AddAT($"Picker({Source}) is retrying, ignoring barcode:{resp}");
continue;
}

View File

@@ -1,22 +0,0 @@
//using System;
//using System.Collections.Generic;
//using System.Diagnostics;
//using System.Drawing;
//using System.IO;
//using System.Linq;
//using System.Net;
//using System.Net.NetworkInformation;
//using System.Runtime.Serialization.Formatters.Binary;
//using System.Text;
//using System.Windows.Forms;
//using System.Management;
//using COMM;
//namespace Project
//{
// public static partial class UTIL
// {
// }
//}

View File

@@ -51,14 +51,14 @@ namespace Project
var t1 = VAR.I32[eVarInt32.LEFT_ITEM_COUNT];
var t2 = VAR.I32[eVarInt32.RIGT_ITEM_COUNT];
groupBox2.Text = $"바코드({t1:N1}/{t2:N1})";
groupBox2.Text = $"Barcode({t1:N1}/{t2:N1})";
}
else
{
groupBox2.Text = "바코드";
groupBox2.Text = "Barcode";
}
groupBox1.Text = $"장비조작({PUB.sm.Loop_ms:N0}ms)";
groupBox1.Text = $"Equipment Operation({PUB.sm.Loop_ms:N0}ms)";
//릴사이즈가 맞지 않으면 깜박인다.
if (DIO.getCartSize(1) != eCartSize.None)
{
@@ -117,9 +117,9 @@ namespace Project
var l1 = DIO.GetIOOutput(eDOName.CART_MAG1);
var l2 = DIO.GetIOOutput(eDOName.CART_MAG2);
lbLock0.Text = l0 ? "카트 교환" : "카트 없음";
lbLock1.Text = l1 ? "카트 교환" : "카트 없음";
lbLock2.Text = l2 ? "카트 교환" : "카트 없음";
lbLock0.Text = l0 ? "Cart Exchange" : "No Cart";
lbLock1.Text = l1 ? "Cart Exchange" : "No Cart";
lbLock2.Text = l2 ? "Cart Exchange" : "No Cart";
var sbVisTitle0 = listView21.GetCell(0, 1);
var sbVisTitle2 = listView21.GetCell(0, 5);
@@ -365,7 +365,7 @@ namespace Project
}
else
{
lbModelName.Text = "모델을 선택하세요";
lbModelName.Text = "Please select a model";
lbModelName.ForeColor = Color.Blue;
lbModelName.BackColor = Color.Tomato;
lbModelName.BackColor2 = Color.Red;

View File

@@ -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
{

View File

@@ -26,7 +26,7 @@ namespace Project
{
//사용자 값 입력창에서는 오류를 표시하지않는다
if (Step == eSMStep.PAUSE && PUB.flag.get(eVarBool.FG_WAIT_LOADERINFO))
PUB.log.Add("바코드정보입력창이라 일시중지 메세지를 표시하지 않음");
PUB.log.Add("Pause message not displayed because barcode information input window is open");
else
PUB.popup.setMessage(errorMessage);
}

View File

@@ -20,9 +20,9 @@ namespace Project
if (free < 3.0)
{
string msg = "FREE SPACE ERROR\n" +
"디스크 공간(3%)이 부족하여 작업을 진행할 수 없습니다\n" +
"저장경로 : {0}\n" +
"데이터를 삭제하거나 설정의 삭제주기를 확인하세요";
"Insufficient disk space (3%) to proceed with the work\n" +
"Storage path: {0}\n" +
"Please delete data or check the deletion cycle in settings";
msg = string.Format(msg, AR.SETTING.Data.GetDataPath());
PUB.popup.setMessage(msg);
DIO.SetBuzzer(true);
@@ -34,7 +34,7 @@ namespace Project
if (PUB.Result.isSetmModel == false)
{
string msg = "모션모델이 선택되지 않았습니다\n작업모델의 'MOTION'항목을 확인하세요";
string msg = "Motion model not selected\nPlease check the 'MOTION' item in the work model";
PUB.popup.setMessage(msg);
DIO.SetBuzzer(true);
PUB.sm.SetNewStep(eSMStep.IDLE);
@@ -109,11 +109,11 @@ namespace Project
if (PUB.flag.get(eVarBool.FG_USERSTEP))
{
PUB.flag.set(eVarBool.FG_USERSTEP, false, "STACHKSW");
PUB.log.AddI("작업 시작으로 인해 H/W검사 무시기능을 해제 함");
PUB.log.AddI("H/W inspection ignore function disabled due to work start");
}
//공용변수초기화
PUB.log.Add("공용변수(카운트)값 초기화");
PUB.log.Add("Common variable (count) values initialized");
VAR.I32.Clear((int)eVarInt32.LPickOfCount);
VAR.I32.Clear((int)eVarInt32.LPickOnCount);
VAR.I32.Clear((int)eVarInt32.RPickOfCount);
@@ -136,7 +136,7 @@ namespace Project
PUB.Result.BCDPattern = PUB.GetPatterns(modelName, false);
PUB.Result.BCDIgnorePattern = PUB.GetPatterns(modelName, true);
PUB.Result.BCDPrintPattern = PUB.GetPrintPatterns();
PUB.log.Add($"모델패턴로딩:{PUB.Result.BCDPattern.Count}/{PUB.Result.BCDIgnorePattern.Count}");
PUB.log.Add($"Model pattern loading: {PUB.Result.BCDPattern.Count}/{PUB.Result.BCDIgnorePattern.Count}");
//변환SID SID확인여부데이터 삭제
PUB.Result.DTSidConvertEmptyList.Clear();

View File

@@ -120,7 +120,7 @@ namespace Project
//}
if (VAR.DBL[eVarDBL.CONVL_RUNTIME] > 15)
{
PUB.log.AddE($"(L) 컨베이어 15초 초과로 버퍼 클리어");
PUB.log.AddE($"(L) Buffer cleared due to conveyor exceeding 15 seconds");
VAR.I32[eVarInt32.LEFT_ITEM_COUNT] = 0;
}
else return false;
@@ -144,7 +144,7 @@ namespace Project
//}
if (VAR.DBL[eVarDBL.CONVR_RUNTIME] > 15)
{
PUB.log.AddE($"(R) 컨베이어 15초 초과로 버퍼 클리어");
PUB.log.AddE($"(R) Buffer cleared due to conveyor exceeding 15 seconds");
VAR.I32[eVarInt32.RIGT_ITEM_COUNT] = 0;
}
else return false;
@@ -222,7 +222,7 @@ namespace Project
}
if (MOT.CheckMotionPos(seqTime, Pos, funcName) == false) return false;
PUB.log.AddAT($"###### 처음 작업 회피 이동 완료({target})");
PUB.log.AddAT($"###### Initial work avoidance movement completed ({target})");
}
else
{
@@ -293,7 +293,7 @@ namespace Project
//sPositionData Pos = target == eWorkPort.Left ? MOT.GetPXPos(ePXLoc.READYL) : MOT.GetPXPos(ePXLoc.READYR);
if (MOT.getPositionMatch(Pos) == false)
{
PUB.log.AddAT($"######비젼데이터없으므로 회피이동II({target})");
PUB.log.AddAT($"######Avoidance movement II due to no vision data({target})");
MOT.Move(Pos);
}
return false;
@@ -315,7 +315,7 @@ namespace Project
{
this.Invoke(new Action(() =>
{
PUB.log.Add("사용자 선택창(INF)을 호출 합니다");
PUB.log.Add("Calling user selection window (INF)");
var f = new Dialog.fSelectSIDInformation();
f.Show();
}));
@@ -337,19 +337,19 @@ namespace Project
bool ShowUserFormBCD = false;
if (AR.SETTING.Data.RetryPickOnMaxCount == 0)
{
PUB.log.Add($"픽온 재시작 횟수가 없어 사용자 확인창을 띄웁니다");
PUB.log.Add($"Showing user confirmation window due to no pick-on retry count");
ShowUserFormBCD = true;
}
else if (AR.VAR.I32[AR.eVarInt32.PickOnRetry] >= AR.SETTING.Data.RetryPickOnMaxCount)
{
PUB.log.Add($"픽온 재시도 횟수가 초과됨 (최대:{AR.SETTING.Data.RetryPickOnMaxCount})");
PUB.log.Add($"Pick-on retry count exceeded (Max: {AR.SETTING.Data.RetryPickOnMaxCount})");
ShowUserFormBCD = true;
}
else
{
if (VAR.BOOL[eVarBool.Need_UserConfirm_Data])
{
PUB.log.Add($"사용자확인창을 띄워야함");
PUB.log.Add($"Need to show user confirmation window");
ShowUserFormBCD = true;
}
else
@@ -357,12 +357,12 @@ namespace Project
//읽은데이터가 atkstandard라면 바로 팝업을 띄운다
if (PUB.Result.ItemDataC.VisionData.SID.isEmpty() || PUB.Result.ItemDataC.VisionData.SID_Trust == false)
{
PUB.log.Add($"픽온을 재시도 합니다 ({AR.VAR.I32[AR.eVarInt32.PickOnRetry]}/{AR.SETTING.Data.RetryPickOnMaxCount})");
PUB.log.Add($"Retrying pick-on ({AR.VAR.I32[AR.eVarInt32.PickOnRetry]}/{AR.SETTING.Data.RetryPickOnMaxCount})");
ShowUserFormBCD = false;
}
else
{
PUB.log.Add($"SID값이 있으니 재시도하지 않고 사용자확인창을 띄웁니다");
PUB.log.Add($"SID value exists, showing user confirmation window instead of retrying");
ShowUserFormBCD = true;
}
}
@@ -372,7 +372,7 @@ namespace Project
this.Invoke(new Action(() =>
{
var itemC = PUB.Result.ItemDataC;
PUB.log.Add("사용자 확인창을 호출 합니다");
PUB.log.Add("Calling user confirmation window");
var f = new Dialog.fLoaderInfo(itemC.VisionData.bcdMessage);
f.Show();
}));
@@ -384,7 +384,7 @@ namespace Project
VAR.I32[eVarInt32.PickOnRetry] += 1;//, 1);
VAR.BOOL[eVarBool.JOB_PickON_Retry] = true;
PUB.log.Add($"픽온재시도 ({VAR.I32[eVarInt32.PickOnRetry]})");
PUB.log.Add($"Pick-on retry ({VAR.I32[eVarInt32.PickOnRetry]})");
PUB.sm.seq.Update(cmdIndex, -2);
}
}
@@ -397,7 +397,7 @@ namespace Project
else VAR.BOOL[eVarBool.wait_for_keyenceR] = false;
PUB.Result.ItemDataC.VisionData.ReelSize = DIO.getCartSize(1);
PUB.log.AddI($"[{target}] 키엔스 확인 완료(크기:{PUB.Result.ItemDataC.VisionData.ReelSize})");
PUB.log.AddI($"[{target}] Keyence verification completed (Size: {PUB.Result.ItemDataC.VisionData.ReelSize})");
PUB.log.AddI($"[{target}] Print Position:{PUB.Result.ItemDataC.VisionData.PrintPositionData}");
@@ -412,7 +412,7 @@ namespace Project
PUB.sm.seq.Clear(eSMStep.RUN_PRINTER_ON_F);
//PUB.sm.seq.Clear(eSMStep.RUN_PRINTER_OFF_F);
PUB.Result.ItemDataC.CopyTo(ref PUB.Result.ItemDataL);
PUB.log.Add($"[{target}] 비젼데이터 카피 (C->L) ID:{PUB.Result.ItemDataL.VisionData.RID}");
PUB.log.Add($"[{target}] Vision data copy (C->L) ID:{PUB.Result.ItemDataL.VisionData.RID}");
}
else
{
@@ -423,7 +423,7 @@ namespace Project
PUB.sm.seq.Clear(eSMStep.RUN_PRINTER_ON_R);
//PUB.sm.seq.Clear(eSMStep.RUN_PRINTER_OFF_R);
PUB.Result.ItemDataC.CopyTo(ref PUB.Result.ItemDataR);
PUB.log.Add($"[{target}] 비젼데이터 카피 (C->R) ID:{PUB.Result.ItemDataR.VisionData.RID}");
PUB.log.Add($"[{target}] Vision data copy (C->R) ID:{PUB.Result.ItemDataR.VisionData.RID}");
}
//트리거 OFF
@@ -454,7 +454,7 @@ namespace Project
if (OPT_BYPASS)
{
PUB.log.Add($"바이패스이므로 이전 릴아이디 검사 안함");
PUB.log.Add($"Bypass mode - skipping previous reel ID check");
}
else
{
@@ -471,7 +471,7 @@ namespace Project
}
else
{
PUB.log.Add($"신규아이디 사용체크 OK PRE={pre_ridN},NEW={cur_ridN}");
PUB.log.Add($"New ID usage check OK PRE={pre_ridN},NEW={cur_ridN}");
if (pre_ridO.isEmpty() == false && cur_ridO.isEmpty() == false) //구형아이디는 둘다 값이 있을때 처리한다.
{
@@ -482,24 +482,24 @@ namespace Project
else
PUB.Result.SetResultMessage(eResult.OPERATION, eECode.PRE_USE_REELID_R, eNextStep.ERROR, target, pre_ridO, cur_ridO);
}
else PUB.log.Add($"신규아이디 사용체크(ORG) OK PRE={pre_ridO},NEW={cur_ridO}");
else PUB.log.Add($"New ID usage check (ORG) OK PRE={pre_ridO},NEW={cur_ridO}");
}
else
{
PUB.log.Add($"신규아이디 사용체크(ORG) SKIP(NODATA) PRE={pre_ridO},NEW={cur_ridO}");
PUB.log.Add($"New ID usage check (ORG) SKIP (NO DATA) PRE={pre_ridO},NEW={cur_ridO}");
}
}
}
else
{
PUB.log.Add($"처음작업하므로 이전 릴아이디 검사 안함");
PUB.log.Add($"First work - skipping previous reel ID check");
}
VAR.STR[eVarString.PrePick_ReelIDNew] = cur_ridN;
VAR.STR[eVarString.PrePick_ReelIDOld] = cur_ridO;
VAR.STR[eVarString.PrePick_ReelIDTarget] = target.ToString();
PUB.log.Add($"이전작업릴ID설정 값 N={cur_ridN},O={cur_ridO}");
PUB.log.Add($"Previous work reel ID set values N={cur_ridN},O={cur_ridO}");
}
PUB.sm.seq.Update(cmdIndex);
@@ -536,7 +536,7 @@ namespace Project
// if (cvrun < 6) return false;
//}
}
PUB.log.Add($"CVMODE에서 컨베이어 비어있음(SEQ)");
PUB.log.Add($"Conveyor empty in CV MODE (SEQ)");
}
PUB.sm.seq.Update(cmdIndex);
@@ -571,7 +571,7 @@ namespace Project
{
PUB.sm.seq.Clear(eSMStep.RUN_PICKER_OFF_L);
//PUB.Result.ItemData[1].CopyTo(ref PUB.Result.ItemData[0]);
PUB.log.Add($"바코드데이터 복제(LEFT)");
PUB.log.Add($"Barcode data copy (LEFT)");
PUB.flag.set(eVarBool.FG_BUSY_LEFT, true, funcName);
//프린터용 AIR처리해준다.
@@ -583,7 +583,7 @@ namespace Project
{
PUB.sm.seq.Clear(eSMStep.RUN_PICKER_OFF_R);
//PUB.Result.ItemData[1].CopyTo(ref PUB.Result.ItemData[0]);
PUB.log.Add($"바코드데이터 복제(RIGHT)");
PUB.log.Add($"Barcode data copy (RIGHT)");
PUB.flag.set(eVarBool.FG_BUSY_RIGHT, true, funcName);
//프린터용 AIR처리해준다.
@@ -592,7 +592,7 @@ namespace Project
//PUB.Result.ItemData[1].UpdateTo(ref PUB.Result.ItemData[2]);
}
PUB.Result.ItemDataC.Clear($"[{target}] 픽온완료"); //전송했으니 지운다
PUB.Result.ItemDataC.Clear($"[{target}] Pick-on completed"); //Clear after transmission
KeyenceBarcodeDataF = string.Empty;
KeyenceBarcodeDataR = string.Empty;
@@ -626,14 +626,14 @@ namespace Project
if (PUB.Result.PrintPostionList.ContainsKey(sid) == false)
{
PUB.Result.PrintPostionList.Add(sid, prn);
PUB.log.AddAT($"프린트위치저장 SID:{sid} = {prn}");
PUB.log.AddAT($"Print position saved SID:{sid} = {prn}");
}
else
{
var predata = PUB.Result.PrintPostionList[sid];
if (predata != prn)
{
PUB.log.AddAT($"프린트위치저장값 변경 SID:{sid} = {predata} -> {prn}");
PUB.log.AddAT($"Print position save value changed SID:{sid} = {predata} -> {prn}");
PUB.Result.PrintPostionList[sid] = prn;
}
}
@@ -964,7 +964,7 @@ namespace Project
if (SETTING.Data.SystemBypass == false)
{
rlt = PUB.UpdateWMS(item.VisionData); //rlt = Amkor.RestfulService.Inbound_label_attach_reel_info(reelinfo, out errmsg);
PUB.log.AddE("WMS전송" + (rlt ? "성공" : "실패") + $":{errmsg}");
PUB.log.AddE("WMS transmission " + (rlt ? "success" : "failed") + $": {errmsg}");
if (rlt == false) //230927 - 오류발생시
{
PUB.Result.SetResultMessage(eResult.OPERATION, eECode.INBOUNDWEBAPIERROR, eNextStep.PAUSE, target, errmsg);
@@ -975,7 +975,7 @@ namespace Project
{
errmsg = "bypass";
rlt = false;
PUB.log.AddAT($"System bytpass 로 인해 WMS 저장 안함");
PUB.log.AddAT($"WMS save disabled due to System bypass");
}
if (errmsg.Length > 190) errmsg = errmsg.Substring(0, 190); //230810 maxlength error
SaveData_EE(item, (target == eWorkPort.Left ? "L" : "R"), (rlt ? "OK" : errmsg), "root_sequence");
@@ -1004,7 +1004,7 @@ namespace Project
}
VAR.TIME[(int)eVarTime.JOBEVENT] = DateTime.Now;
PUB.log.AddI($"[{target}] 작업완료");
PUB.log.AddI($"[{target}] Work completed");
PUB.sm.seq.Clear(cmdIndex);
return true;
}

View File

@@ -39,7 +39,7 @@ namespace Project
//데이터가 완료되었는지 확인
if (itemC.VisionData.Confirm)
{
PUB.log.AddAT("비젼 데이터 완료로 인해 바코드 메세지를 제거 합니다");
PUB.log.AddAT("Removing barcode messages due to vision data completion");
itemC.VisionData.bcdMessage.Clear();
return EResultKeyence.Complete;
}
@@ -58,12 +58,12 @@ namespace Project
{
if (PUB.Result.DryRun)
{
PUB.log.Add($"[{target}] DRY-RUN 으로 인한 완료");
PUB.log.Add($"[{target}] Completed due to DRY-RUN");
SetDryrunData();
}
else
{
PUB.logDbg.Add($"[{target}] 키엔스 읽기 시작");
PUB.logDbg.Add($"[{target}] Keyence reading started");
if (PUB.keyenceF != null) PUB.keyenceF.Trigger(true);
if (PUB.keyenceR != null) PUB.keyenceR.Trigger(true);
}
@@ -535,7 +535,7 @@ namespace Project
//이미 수량업데이트된 경우이므로 복원시켜준다
if (itemC.VisionData.QTY0.isEmpty() == false)
{
PUB.log.AddAT($"릴아이디 변경으로 인해 수량을 복원합니다({itemC.VisionData.QTY}->{itemC.VisionData.QTY0})");
PUB.log.AddAT($"Restoring quantity due to reel ID change ({itemC.VisionData.QTY}->{itemC.VisionData.QTY0})");
itemC.VisionData.QTY = itemC.VisionData.QTY0;
itemC.VisionData.QTY0 = string.Empty;
}
@@ -546,7 +546,7 @@ namespace Project
var logtime = VAR.TIME.RUN((int)eVarTime.LOG_NEWIDERROR);
if (logtime.TotalSeconds >= 3000)
{
PUB.log.AddAT($"Reel_ID 생성실패 : {newid.message}");
PUB.log.AddAT($"Reel_ID generation failed : {newid.message}");
VAR.TIME.Update(eVarTime.LOG_NEWIDERROR);
}
}
@@ -558,11 +558,11 @@ namespace Project
{
//이미 완료된 데이터
if (itemC.VisionData.ConfirmAuto)
PUB.log.AddI($"데이터확정완료(자동)로 인한 진행");
PUB.log.AddI($"Proceeding due to data confirmation completion (automatic)");
else if (itemC.VisionData.ConfirmUser)
PUB.log.AddI($"데이터확정완료(수동)로 인한 진행");
PUB.log.AddI($"Proceeding due to data confirmation completion (manual)");
else
PUB.log.AddI($"데이터확정완료(BYPASS)로 인한 진행");
PUB.log.AddI($"Proceeding due to data confirmation completion (BYPASS)");
}
else if (itemC.VisionData.QRInputRaw.isEmpty() == false && itemC.VisionData.BATCH.isEmpty() == false)
{
@@ -646,24 +646,24 @@ namespace Project
//수량원본이 없는 경우
if (item.VisionData.QTY0.isEmpty())
{
string msg = "서버 수량 업데이트 기능은 WMS에 적용되지 않음, 필요한 경우 개발자 컨택";
string msg = "Server quantity update feature is not applicable to WMS, contact developer if needed";
var cnt = 0;// (int)(Amkor.RestfulService.get_stock_count(item.VisionData.RID, out msg));
if (mainjob)
{
PUB.log.AddE("서버 수량 업데이트 기능은 WMS에 적용되지 않음, 필요한 경우 개발자 컨택");
PUB.log.AddE("Server quantity update feature is not applicable to WMS, contact developer if needed");
}
if (cnt > 0)
{
//새로받은 데이터를 실제 수량에 추가한다
item.VisionData.QTY0 = item.VisionData.QTY;
item.VisionData.QTY = cnt.ToString();
if (mainjob) PUB.log.Add($"서버수량업데이트 RID:{item.VisionData.RID} :{item.VisionData.QTY},:{cnt}");
if (mainjob) PUB.log.Add($"Server quantity update RID:{item.VisionData.RID} Old:{item.VisionData.QTY}, New:{cnt}");
}
else
{
if (mainjob) PUB.log.AddE($"수량업데이트 실패 rID:{item.VisionData.RID},Message={msg}");
if (mainjob) PUB.log.AddE($"Quantity update failed rID:{item.VisionData.RID}, Message={msg}");
NeedConfirm = true;
if (mainjob) item.VisionData.bcdMessage.Add("수량 업데이트 실패");
if (mainjob) item.VisionData.bcdMessage.Add("Quantity update failed");
}
}
}
@@ -678,19 +678,19 @@ namespace Project
if (rqBcd.Value != null)
{
var newqty = rqBcd.Value.Data.Substring(2).Trim();
if (mainjob) PUB.log.Add($"수량업데이트(01) {item.VisionData.QTY}->{newqty}");
if (mainjob) PUB.log.Add($"Quantity update (01) {item.VisionData.QTY}->{newqty}");
item.VisionData.QTY = newqty;
if (mainjob) PUB.log.AddI("수량수동입력상태이나 RQ값이 확인되어 사용자 확인을 하지 않음");
if (mainjob) PUB.log.AddI("Manual quantity input mode but RQ value confirmed, no user confirmation required");
}
else
{
if (mainjob) item.VisionData.bcdMessage.Add("RQ값 오류 (자동불가)");
if (mainjob) item.VisionData.bcdMessage.Add("RQ value error (auto mode not possible)");
NeedConfirm = true;
}
}
else
{
if (mainjob) item.VisionData.bcdMessage.Add("수량 수동 입력 필요");
if (mainjob) item.VisionData.bcdMessage.Add("Manual quantity input required");
NeedConfirm = true;
}
}
@@ -752,7 +752,7 @@ namespace Project
{
if (NeedConfirm == false)
{
if (mainjob) item.VisionData.bcdMessage.Add("사용자 확인 필요");
if (mainjob) item.VisionData.bcdMessage.Add("User confirmation required");
NeedConfirm = true;
}
}
@@ -766,7 +766,7 @@ namespace Project
//프린트를 하지 않는다면 처리하지 않는다.
if (VAR.BOOL[eVarBool.Opt_DisablePrinter] == false)
{
if (mainjob) item.VisionData.bcdMessage.Add("첫번째 릴 확인 필요");
if (mainjob) item.VisionData.bcdMessage.Add("First reel confirmation required");
NeedConfirm = true;
}
}
@@ -778,7 +778,7 @@ namespace Project
{
if (NeedConfirm == false)
{
if (mainjob) item.VisionData.bcdMessage.Add("SID변환값 확인 필요");
if (mainjob) item.VisionData.bcdMessage.Add("SID conversion value confirmation required");
NeedConfirm = true;
}
}
@@ -793,7 +793,7 @@ namespace Project
{
item.VisionData.PrintPositionData = "1";
item.VisionData.PrintPositionCheck = true;
PUB.log.AddI($"바이패스SID({item.VisionData.SID})로 인해 인쇄위치 임의지정");
PUB.log.AddI($"Print position arbitrarily set due to bypass SID ({item.VisionData.SID})");
}
}
else
@@ -804,12 +804,12 @@ namespace Project
var preprnpos = PUB.Result.PrintPostionList[item.VisionData.SID];
item.VisionData.PrintPositionData = preprnpos;
item.VisionData.PrintPositionCheck = true;
PUB.log.AddI($"현 작업정보에서 프린트위치 찾음 SID:{item.VisionData.SID},={preprnpos}");
PUB.log.AddI($"Print position found in current job info SID:{item.VisionData.SID}, Value={preprnpos}");
}
else if (NeedConfirm == false)
{
//현작업내에서의 정보를 찾아서 적용한다 231005
if (mainjob) item.VisionData.bcdMessage.Add("부착위치 없음");
if (mainjob) item.VisionData.bcdMessage.Add("Attachment position not found");
NeedConfirm = true;
}
}
@@ -839,13 +839,13 @@ namespace Project
{
if (OPT_BYPASS)
{
PUB.log.Add("데이터가 모두 확인되어 자동 확정을 진행 합니다(bypassmode)");
PUB.log.Add("All data confirmed, proceeding with automatic confirmation (bypass mode)");
if (item.VisionData.bcdMessage.Count > 0) item.VisionData.bcdMessage.Clear();
item.VisionData.ConfirmBypass = true;
}
else if (item.VisionData.ConfirmAuto == false)
{
PUB.log.Add("데이터가 모두 확인되어 자동 확정을 진행 합니다");
PUB.log.Add("All data confirmed, proceeding with automatic confirmation");
if (item.VisionData.bcdMessage.Count > 0) item.VisionData.bcdMessage.Clear();
item.VisionData.ConfirmAuto = true;
}
@@ -858,7 +858,7 @@ namespace Project
if (mainjob)
{
NeedConfirm = true;
PUB.log.AddAT($"데이터가 완료되지 않았으나 QR을 읽은 상태이므로 바로 확인창을 띄운다");
PUB.log.AddAT($"Data incomplete but QR has been read, showing confirmation window immediately");
}
}
}
@@ -875,7 +875,7 @@ namespace Project
}
else if (PUB.Result.ItemDataC.VisionData.ConfirmAuto == false)
{
PUB.logDbg.Add($"비젼 자동 확정 처리 {Source}");
PUB.logDbg.Add($"Vision automatic confirmation processing {Source}");
PUB.Result.ItemDataC.VisionData.ConfirmAuto = true;
}
@@ -885,7 +885,7 @@ namespace Project
private void SetDryrunData()
{
var item = PUB.Result.ItemDataC;
PUB.log.AddAT("드라이런 기본 데이터 입력");
PUB.log.AddAT("Dry run basic data input");
if (item.VisionData.QTY.isEmpty()) item.VisionData.QTY = DateTime.Now.ToString("HHmm");
if (item.VisionData.MFGDATE.isEmpty()) item.VisionData.MFGDATE = DateTime.Now.ToString("yy-MM-dd");
if (item.VisionData.SID.isEmpty()) item.VisionData.SID = "108" + "0" + DateTime.Now.ToString("HH").PadLeft(2, '0') + DateTime.Now.ToString("fff").PadLeft(3, '0');

View File

@@ -49,7 +49,7 @@ namespace Project
//####################################################
if (PUB.sm.seq.Get(cmdIndex) == idx++)
{
PUB.log.Add($"[{target}] 피커 ON 작업시작");
PUB.log.Add($"[{target}] Picker ON work started");
PUB.sm.seq.Update(cmdIndex);
return false;
}
@@ -65,7 +65,7 @@ namespace Project
var PosZ = MOT.GetPZPos(ePZLoc.READY);
if (MOT.CheckMotionPos(seqTime, PosZ, funcName) == false) return false;
if (MOT.CheckMotionPos(seqTime, Pos, funcName) == false) return false;
PUB.log.Add($"[{target}] 피커 ON X,Y 준비위치 확인");
PUB.log.Add($"[{target}] Picker ON X,Y ready position confirmed");
DIO.SetPickerVac(true);
PUB.sm.seq.Update(cmdIndex);
return false;
@@ -205,11 +205,11 @@ namespace Project
{
baseAngle = bcd.Angle;
baseSource = bcd.barcodeSource; //230504 각도
PUB.log.AddI($"[{target}] 각도산출내용:{msg},바코드:{bcd.Data},ID:{vdata.RID}"); //210602
PUB.log.AddI($"[{target}] Angle calculation: {msg}, Barcode: {bcd.Data}, ID: {vdata.RID}"); //210602
}
else if (PUB.Result.DryRun)
{
PUB.log.AddAT($"[{target}] 드라이런으로 인해 각도를 적용하지 않음");
PUB.log.AddAT($"[{target}] Angle not applied due to dry run");
}
else
{
@@ -218,7 +218,7 @@ namespace Project
var addangle = baseSource == "R" ? SETTING.Data.RearBarcodeRotate : SETTING.Data.FrontBarcodeRotate;
var rotAngle = baseAngle + addangle + vdata.PositionAngle;
PUB.log.AddI($"[{target}]-소스:{baseSource} 회전값(Base:{baseAngle}+추가:{addangle}+비젼:{vdata.PositionAngle}={rotAngle})");
PUB.log.AddI($"[{target}] Source: {baseSource} Rotation value (Base: {baseAngle} + Additional: {addangle} + Vision: {vdata.PositionAngle} = {rotAngle})");
int dir = -1;
while (true)
@@ -234,7 +234,7 @@ namespace Project
dir = 1;
}
PUB.log.AddI($"[{target}] 회전(최종) [{rotAngle}도,방향:{dir}],RID:{vdata.RID}");
PUB.log.AddI($"[{target}] Rotation (Final) [{rotAngle} degrees, Direction: {dir}], RID: {vdata.RID}");
if (target == eWorkPort.Left)
PUB.Result.ItemDataL.VisionData.ApplyAngle = rotAngle; //회전각도를 넣는다
@@ -243,7 +243,7 @@ namespace Project
var curtheta = PUB.mot.GetActPos((int)eAxis.Z_THETA);
var newPos = curtheta + (dir * rotAngle);
PUB.log.Add($"회전전 모터 위치 : {curtheta}, 대상위치:{newPos},속도:{thpos.Speed},가속:{thpos.Acc}");
PUB.log.Add($"Motor position before rotation: {curtheta}, Target position: {newPos}, Speed: {thpos.Speed}, Acceleration: {thpos.Acc}");
if (target == eWorkPort.Left)
VAR.DBL[(int)eVarDBL.ThetaPositionL] = newPos;

View File

@@ -49,7 +49,7 @@ namespace Project
//####################################################
if (PUB.sm.seq.Get(cmdIndex) == idx++)
{
PUB.log.Add($"[{target}] 피커 RETRY 작업시작({PickerRetryCount}/{AR.SETTING.Data.RetryPickOnMaxCount})");
PUB.log.Add($"[{target}] Picker RETRY work started ({PickerRetryCount}/{AR.SETTING.Data.RetryPickOnMaxCount})");
//기존자료를 모두 삭제 한다 221102
if (PUB.Result.ItemDataC != null && PUB.Result.ItemDataC.VisionData != null && PUB.Result.ItemDataC.VisionData.barcodelist != null)
@@ -218,7 +218,7 @@ namespace Project
PUB.mot.ClearPosition((int)eAxis.Z_THETA);
if (MOT.CheckMotionPos(seqTime, Pos, funcName) == false) return false;
PUB.log.AddAT($"###### 재시도 작업 회피 이동 완료({target})");
PUB.log.AddAT($"###### Retry work avoidance movement completed ({target})");
PUB.sm.seq.Update(cmdIndex);
return false;
}
@@ -228,7 +228,7 @@ namespace Project
//####################################################
if (PUB.sm.seq.Get(cmdIndex) == idx++)
{
PUB.log.Add($"retry 완료로 비젼데이터를 삭제 합니다");
PUB.log.Add($"Deleting vision data due to retry completion");
PUB.Result.ItemDataC.VisionData.Clear(funcName, true);
AR.VAR.BOOL[eVarBool.JOB_PickON_Retry] = false;
PUB.sm.seq.Update(cmdIndex);

View File

@@ -70,10 +70,10 @@ namespace Project
if (DIO.GetIOInput(eDIName.R_CONV1)) return false;
if (VAR.I32[eVarInt32.RIGT_ITEM_COUNT] > 0) return false;
}
PUB.log.Add($"CVMODE에서 컨베이어 비어있음");
PUB.log.Add($"Conveyor is empty in CV MODE");
}
PUB.log.Add($"[{target}] 피커 OFF 작업시작");
PUB.log.Add($"[{target}] Picker OFF work started");
PUB.sm.seq.Update(cmdIndex);
return false;
}
@@ -87,7 +87,7 @@ namespace Project
var Pos = target == eWorkPort.Left ? MOT.GetLMPos(eLMLoc.READY) : MOT.GetRMPos(eRMLoc.READY);
if (MOT.getPositionMatch(Pos) == false)
{
PUB.Result.SetResultMessage(eResult.OPERATION, eECode.POSITION_ERROR, eNextStep.PAUSE, "프린터 Y축이 준비위치에 있지 않습니다");
PUB.Result.SetResultMessage(eResult.OPERATION, eECode.POSITION_ERROR, eNextStep.PAUSE, "Printer Y-axis is not at ready position");
return false;
}
PUB.sm.seq.Update(cmdIndex);
@@ -265,7 +265,7 @@ namespace Project
{
if (OPT_BYPASS == true || OPT_PrinterOff)
{
PUB.log.AddAT($"bypass 로 인해 추가 회전을 하지 않습니다");
PUB.log.AddAT($"Additional rotation not performed due to bypass");
}
else
{
@@ -285,7 +285,7 @@ namespace Project
else VAR.DBL[(int)eVarDBL.ThetaPositionR] = theta + OffsetAngle;
if (AR.SETTING.Data.Log_Debug)
PUB.logDbg.Add($"[{target}] 모션 추가회전 :{OffsetAngle}");
PUB.logDbg.Add($"[{target}] Motor additional rotation: {OffsetAngle}");
}
}
@@ -307,7 +307,7 @@ namespace Project
var Pos = MOT.GetPTPos(ePTLoc.READY);
Pos.Position = Theta;
if (MOT.CheckMotionPos(seqTime, Pos, funcName, false) == false) return false;
PUB.log.Add($"[{target}] 회전축 확인 완료 위치:{Theta},모터값:{PUB.mot.GetActPos((int)eAxis.Z_THETA)} => 위치초기화함");
PUB.log.Add($"[{target}] Rotation axis verification complete Position: {Theta}, Motor value: {PUB.mot.GetActPos((int)eAxis.Z_THETA)} => Position initialized");
PUB.mot.ClearPosition((int)eAxis.Z_THETA);
}

View File

@@ -34,7 +34,7 @@ namespace Project
//####################################################
if (PUB.sm.seq.Get(cmdIndex) == idx++)
{
PUB.log.Add($"[{target}] 프린트 작업 시작");
PUB.log.Add($"[{target}] Print operation started");
PUB.sm.seq.Update(cmdIndex);
return false;
}
@@ -106,7 +106,7 @@ namespace Project
item.VisionData.ZPL = zpl;
item.VisionData.PrintQRData = qrdata;
PUB.log.Add("PRINT", $"[{target}] 프린트");//QR=" + item.VisionData.QRData);
PUB.log.Add("PRINT", $"[{target}] Printing");//QR=" + item.VisionData.QRData);
if (target == eWorkPort.Left)
{
@@ -141,7 +141,7 @@ namespace Project
}
}
}
else PUB.log.AddAT($"[{target}] 프린터 기능 OFF(bypass or model or setting)");
else PUB.log.AddAT($"[{target}] Printer function OFF (bypass or model or setting)");
PUB.sm.seq.Update(cmdIndex);
return false;

View File

@@ -86,7 +86,7 @@ namespace Project
if ( == false)
{
if (seqTime.TotalMilliseconds < 100) return false;
PUB.log.AddAT($"[{target}] 용지감지기능 OFF(3초후 진행)");
PUB.log.AddAT($"[{target}] Paper detection function OFF(proceed after 3 seconds)");
}
else
{
@@ -148,7 +148,7 @@ namespace Project
if ( == false)
{
if (seqTime.TotalMilliseconds < 100) return false;
PUB.log.AddAT($"[{target}] 용지감지기능 OFF(3초후 진행)");
PUB.log.AddAT($"[{target}] Paper detection function OFF(proceed after 3 seconds)");
}
else
{

View File

@@ -25,7 +25,7 @@ namespace Project
var retval = false;
if (AR.SETTING.Data.OnlineMode == false)
{
PUB.log.AddAT($"[SAVE-EE] 오프라인으로 저장 하지 않음");
PUB.log.AddAT($"[SAVE-EE] Not saving in offline mode");
return;
}

View File

@@ -50,7 +50,7 @@ namespace Project
{
//카메라 트리거 전송
var sendok = WS_Send(target, WS, item.guid, "TRIG", item.VisionData.PrintQRData);
PUB.log.Add($"바코드트리거전송({target}) = {sendok}");
PUB.log.Add($"Barcode trigger transmission ({target}) = {sendok}");
if(sendok==false) //230512 전송실패시 오류로 한다
{
PUB.Result.SetResultMessage(eResult.HARDWARE, eECode.VISION_TRIGERROR, eNextStep.PAUSE);
@@ -73,7 +73,7 @@ namespace Project
{
if (VAR.BOOL[eVarBool.VisionL_Retry] == false)
{
PUB.log.AddAT("비젼(L) 1회 실패로 재 시도 합니다");
PUB.log.AddAT("Vision (L) failed once, retrying");
VAR.BOOL[eVarBool.VisionL_Retry] = true;
PUB.sm.seq.Update(cmdIndex, -1);
return false;
@@ -92,7 +92,7 @@ namespace Project
{
if (VAR.BOOL[eVarBool.VisionR_Retry] == false)
{
PUB.log.AddAT("비젼(R) 1회 실패로 재 시도 합니다");
PUB.log.AddAT("Vision (R) failed once, retrying");
VAR.BOOL[eVarBool.VisionR_Retry] = true;
PUB.sm.seq.Update(cmdIndex, -1);
return false;
@@ -121,12 +121,12 @@ namespace Project
{
if (PUB.flag.get(eVarBool.FG_END_VISIONL)) //종료신호가 설정되어있다면 완료된 경우다
{
PUB.log.AddI($"{target} 비젼 종료 신호로 인해 완료 처리 합니다");
PUB.log.AddI($"{target} Completed processing due to vision end signal");
item.PrintQRValid = true;
}
else if (PUB.flag.get(eVarBool.FG_PRC_VISIONL) == false) //사용자가 취소했다면 넘어간다
{
PUB.log.AddAT($"{target} 사용자 취소로 QR검증을 넘김");
PUB.log.AddAT($"{target} Skip QR verification due to user cancellation");
item.PrintQRValid = false;
}
else return false; //아직 완료전이므로 리턴한다
@@ -135,12 +135,12 @@ namespace Project
{
if (PUB.flag.get(eVarBool.FG_END_VISIONR))
{
PUB.log.AddI($"{target} 비젼 종료 신호로 인해 완료 처리 합니다");
PUB.log.AddI($"{target} Completed processing due to vision end signal");
item.PrintQRValid = true;
}
else if (PUB.flag.get(eVarBool.FG_PRC_VISIONR) == false) //사용자가 취소했다면 넘어간다
{
PUB.log.AddAT($"{target} 사용자 취소로 QR검증을 넘김");
PUB.log.AddAT($"{target} Skip QR verification due to user cancellation");
item.PrintQRValid = false;
}
else return false; //아직 완료전이므로 리턴한다
@@ -157,7 +157,7 @@ namespace Project
//####################################################
if (PUB.sm.seq.Get(cmdIndex) == idx++)
{
PUB.log.Add($"{target} 비젼 검증 완료(결과:{item.PrintQRValid})");
PUB.log.Add($"{target} Vision verification completed (Result: {item.PrintQRValid})");
if (target == eWorkPort.Left)
PUB.flag.set(eVarBool.FG_PRC_VISIONL, false, funcName);

View File

@@ -117,7 +117,7 @@ namespace Project
{
var o = (eSMStep)e.Old;
var n = (eSMStep)e.New;
PUB.log.AddI($"스텝전환({o} >> {n})");
PUB.log.AddI($"Step transition({o} >> {n})");
//230313
EEMStatus.AddStatusSQL(n);

View File

@@ -80,7 +80,7 @@ namespace Project
var runMethod = obj.GetMethod(runMethodName);
if (runMethod == null)
{
PUB.log.AddE($"다음 명령이 구현되지 않았습니다 {methodName}/{runMethodName}");
PUB.log.AddE($"The following command is not implemented {methodName}/{runMethodName}");
PUB.Result.SetResultMessage(eResult.DEVELOP, eECode.NOFUNCTION, eNextStep.ERROR, methodName, runMethodName);
}
else
@@ -101,7 +101,7 @@ namespace Project
var rlt = (bool)runMethod.Invoke(this, param);
if (rlt == true)
{
PUB.log.AddI("사용자스텝(자동) 실행완료 대기상태전환");
PUB.log.AddI("User step(automatic) execution completed, switching to idle state");
PUB.sm.SetNewStep(eSMStep.IDLE, true);
}
}

View File

@@ -15,7 +15,7 @@ namespace Project
var diPin = DIO.Pin.input.Where(t=>t.terminalno == e.ArrIDX).FirstOrDefault();
if(diPin == null)
{
PUB.log.AddE($"DI INDEX:{e.ArrIDX} 에 해당하는 터미널 대상이 없습니다");
PUB.log.AddE($"No terminal target found for DI INDEX:{e.ArrIDX}");
}
else
{
@@ -33,7 +33,7 @@ namespace Project
var doPin = DIO.Pin.output.Where(t => t.terminalno == e.ArrIDX).FirstOrDefault();
if (doPin == null)
{
PUB.log.AddE($"DO INDEX:{e.ArrIDX} 에 해당하는 터미널 대상이 없습니다");
PUB.log.AddE($"No terminal target found for DO INDEX:{e.ArrIDX}");
}
else
{
@@ -108,7 +108,7 @@ namespace Project
if (port == 3) SETTING.Counter.CountPrintR += value;
else
{
PUB.log.AddAT(string.Format("[{0}] 미지정 포트이므로 수량 증가 불가", seq));
PUB.log.AddAT(string.Format("[{0}] Cannot increase quantity as it is an unspecified port", seq));
}
//Pub.log.AddI("수량정보가 저장 되었습니다");

View File

@@ -62,9 +62,9 @@ namespace Project
PUB.Result.ResultCode = eResult.EMERGENCY;
PUB.Result.ResultMessage = string.Format("EMERGENCY\n" +
"비상정지 버튼({0})이 눌렸습니다\n" +
"모든 모션이 강제 정지 합니다\n" +
"비상 정지 버튼을 확인 한 후 시스템을 초기화 하세요", EmgButtonState);
"Emergency stop button ({0}) has been pressed\n" +
"All motions are forced to stop\n" +
"Please check the emergency stop button and initialize the system", EmgButtonState);
PUB.log.AddI("SPS:Reserve Emergency Step");
PUB.sm.SetNewStep(eSMStep.EMERGENCY);

View File

@@ -40,7 +40,7 @@ namespace Project
if (pats.Any() == false)
{
PUB.log.AddAT($"등록된 패턴이 없습니다(SYM={barcodeSymbol})");
PUB.log.AddAT($"No registered pattern(SYM={barcodeSymbol})");
return new Tuple<int, List<string>>(0, new List<string>());
}
@@ -50,19 +50,19 @@ namespace Project
{
if (vm.BCD_DM == false && barcodeSymbol == "2")
{
PUB.log.AddAT($"모델(DM)에서 비활성:{bcd}");
PUB.log.AddAT($"Inactive in model(DM):{bcd}");
IgnoreBarcode = true;
return new Tuple<int, List<string>>(0, new List<string>());
}
else if (vm.BCD_1D == false && (barcodeSymbol == "6" || barcodeSymbol == "11"))
{
PUB.log.AddAT($"모델(1D)에서 비활성:{bcd}");
PUB.log.AddAT($"Inactive in model(1D):{bcd}");
IgnoreBarcode = true;
return new Tuple<int, List<string>>(0, new List<string>());
}
else if (vm.BCD_QR == false && (barcodeSymbol == "1"))
{
PUB.log.AddAT($"모델(QR)에서 비활성:{bcd}");
PUB.log.AddAT($"Inactive in model(QR):{bcd}");
IgnoreBarcode = true;
return new Tuple<int, List<string>>(0, new List<string>());
}

View File

@@ -36,7 +36,7 @@ namespace Project
DIO.SetOutput(eDOName.RIGHT_CONV, false);
DIO.SetBuzzer(true, AR.SETTING.Data.Force_JobEndBuzzer);
PUB.log.AddI("작업이 완료되었습니다");
PUB.log.AddI("Work has been completed");
needShowSummary = true;
}

View File

@@ -16,7 +16,7 @@ namespace Project
DIO.SetBuzzer(false);
//홈이완료되었으므로 3초정도 기다려준다.
PUB.log.AddAT("홈 완료 확정을 위한 타이머 시작");
PUB.log.AddAT("Timer started for home completion confirmation");
HomeSuccessTime = DateTime.Now;
}
@@ -42,7 +42,7 @@ namespace Project
DIO.SetBuzzer(false);
PUB.flag.set(eVarBool.FG_USERSTEP, false, "SM_HOME");
PUB.log.AddI("홈 작업 완료로 인해 홈 검증 코드로 이동함");
PUB.log.AddI("Moving to home verification code due to home operation completion");
HomeChkTime = DateTime.Now;
PUB.sm.SetNewStep(eSMStep.HOME_CONFIRM);

View File

@@ -478,7 +478,7 @@ namespace Project
void FlagClear(bool ClearItemOn)
{
PUB.log.AddAT($"플래그초기화({ClearItemOn})");
PUB.log.AddAT($"Flag initialization({ClearItemOn})");
//연관플래그 소거
if (ClearItemOn)
{

View File

@@ -52,7 +52,7 @@ namespace Project
var ts = DateTime.Now - IdleStartTime;
if (ts.TotalMinutes > AR.SETTING.Data.AutoOffRoomLightMin)
{
PUB.log.Add("대기상태 전환으로 인해 조명을 끕니다");
PUB.log.Add("Turning off lights due to idle state transition");
IdleSleep = true;
DIO.SetRoomLight(false);
}

View File

@@ -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");
}
}

View File

@@ -129,7 +129,7 @@ namespace Project
//plc의 SID 데이터를 갱신하도록 한다
PUB.Result.ClearAllSID = true;
PUB.log.AddI("*** 신규 작업이 시작 되었습니다 ***");
PUB.log.AddI("*** New job has started ***");
//PUB.flag.set(eVarBool.RDY_VISION1, true, "JOB START"); //최초 시작시에는 1번 비젼이 동작하게 한다
//새로시작할때에는 이 값을 초기화 해준다.
@@ -149,10 +149,10 @@ namespace Project
{
if (VAR.BOOL[eVarBool.wait_for_keyence])
{
PUB.log.Add($"바코드수신대기중이었으므로 기존 값을 삭제 합니다(CONF={PUB.Result.ItemDataC.VisionData.Confirm},ID:{PUB.Result.ItemDataC.VisionData.RID})");
PUB.log.Add($"Deleting existing values because barcode reception was waiting (CONF={PUB.Result.ItemDataC.VisionData.Confirm}, ID:{PUB.Result.ItemDataC.VisionData.RID})");
PUB.Result.ItemDataC.VisionData.Clear("RESTART", true);
}
PUB.log.AddI("*** 작업이 재시작 되었습니다 ***");
PUB.log.AddI("*** Job has been restarted ***");
}
}
@@ -253,7 +253,7 @@ namespace Project
if (PUB.flag.get(eVarBool.FG_JOB_END) == false)
{
PUB.log.AddAT("작업완료조건실행");
PUB.log.AddAT("Work completion condition execution");
VAR.TIME.Update(eVarTime.JOB_END);
PUB.flag.set(eVarBool.FG_JOB_END, true, "SM_RUN");
}
@@ -264,7 +264,7 @@ namespace Project
if (ts.TotalSeconds >= AR.SETTING.Data.Timeout_JOBEnd)
{
PUB.Result.JobEndTime = DateTime.Now;
PUB.log.AddI($"작업완료 상태로 전환합니다(대기시간:{AR.SETTING.Data.Timeout_JOBEnd})");
PUB.log.AddI($"Switching to job completion state (wait time: {AR.SETTING.Data.Timeout_JOBEnd} seconds)");
PUB.sm.SetNewStep(eSMStep.FINISH);
PUB.flag.set(eVarBool.FG_JOB_END, false, "SM_RUN:FINISH");
}
@@ -275,7 +275,7 @@ namespace Project
//이조건일때에는 job_End 가 없어야한다
if (PUB.flag.get(eVarBool.FG_JOB_END) == true)
{
PUB.log.AddI("작업완료조건 해제");
PUB.log.AddI("Work completion condition released");
PUB.flag.set(eVarBool.FG_JOB_END, false, "run");
//메인메세지를 제거 해준다.

View File

@@ -105,7 +105,7 @@ namespace Project
{
PUB.flag.set(FG_RDY_PORT, false, "IOCHANGE");
if (PUB.sm.Step > eSMStep.IDLE)
PUB.log.AddAT("안전센서 검출로 인해 PORT_READY(L)를 해제 합니다");
PUB.log.AddAT("Releasing PORT_READY(L) due to safety sensor detection");
}
//도어가 열리면 포트를 멈춘다 210329
@@ -225,7 +225,7 @@ namespace Project
var PosZ = MOT.getPositionMatch(MOT.GetLZPos(eLZLoc.PICKON));//.MOT.GetPRM_PosName();
if (PosM && PosZ)
{
PUB.log.Add("도어열림으로 인해 프린터L Z축을 올립니다");
PUB.log.Add("Raising printer L Z-axis due to door opening");
var Pos = MOT.GetLZPos(eLZLoc.PICKON);
MOT.Move(Pos);
}
@@ -236,7 +236,7 @@ namespace Project
var PosZ = MOT.getPositionMatch(MOT.GetRZPos(eRZLoc.PICKON));// GetPRZ_PosName();
if (PosM && PosZ)
{
PUB.log.Add("도어열림으로 인해 프린터R Z축을 올립니다");
PUB.log.Add("Raising printer R Z-axis due to door opening");
MOT.Move(eAxis.PR_UPDN, 0, 100, 1000, false, false, false);
}
}
@@ -257,7 +257,7 @@ namespace Project
if (PosM && PosZ)
{
var zpos = MOT.GetLZPos(eLZLoc.PICKON);
PUB.log.Add("도어닫힘으로 인해 프린터L Z축을 내립니다");
PUB.log.Add("Lowering printer L Z-axis due to door closing");
MOT.Move(eAxis.PL_UPDN, zpos.Position, 100, 1000, false, false, false);
}
}
@@ -268,7 +268,7 @@ namespace Project
if (PosM && PosZ)
{
var zpos = MOT.GetRZPos(eRZLoc.PICKON);
PUB.log.Add("도어닫힘으로 인해 프린터R Z축을 내립니다");
PUB.log.Add("Lowering printer R Z-axis due to door closing");
MOT.Move(eAxis.PR_UPDN, zpos.Position, 100, 1000, false, false, false);
}
}
@@ -286,12 +286,12 @@ namespace Project
if (curState == false)
{
DIO.SetAIR(!curState);
PUB.log.AddI("에어 컴");
PUB.log.AddI("Air ON");
}
else
{
DIO.SetAIR(!curState);
PUB.log.AddAT("에어 끔");
PUB.log.AddAT("Air OFF");
}
}
//AIR의 LED는 실제 AIR 출력 상태와 동기화 한다 * output event 에서 처리함
@@ -430,7 +430,7 @@ namespace Project
if (DIO.GetIOInput(eDIName.PORTL_LIM_DN) == true && DIO.GetIOOutput(eDOName.CART_MAG0) == true)
{
DIO.SetPortMagnet(0, false);
PUB.log.Add("좌측 포트의 마그넷 OFF");
PUB.log.Add("Left port magnet OFF");
}
}
else if (pin == eDIName.PORTC_LIM_DN)
@@ -439,7 +439,7 @@ namespace Project
if (DIO.GetIOInput(eDIName.PORTC_LIM_DN) == true && DIO.GetIOOutput(eDOName.CART_MAG1) == true)
{
DIO.SetPortMagnet(1, false);
PUB.log.Add("중앙 포트의 마그넷 OFF");
PUB.log.Add("Center port magnet OFF");
if(PUB.sm.Step == eSMStep.FINISH)
{
@@ -453,7 +453,7 @@ namespace Project
if (DIO.GetIOInput(eDIName.PORTR_LIM_DN) == true && DIO.GetIOOutput(eDOName.CART_MAG2) == true)
{
DIO.SetPortMagnet(2, false);
PUB.log.Add("우측 포트의 마그넷 OFF");
PUB.log.Add("Right port magnet OFF");
}
}
else if (pin == eDIName.L_CONV3)
@@ -464,7 +464,7 @@ namespace Project
if(VAR.I32[eVarInt32.LEFT_ITEM_COUNT] > 0)
{
VAR.I32[eVarInt32.LEFT_ITEM_COUNT] -= 1;//= false; //해제
PUB.log.AddAT($"left 버퍼 수량 감소");
PUB.log.AddAT($"Left buffer quantity decrease");
}
}
@@ -477,7 +477,7 @@ namespace Project
if (VAR.I32[eVarInt32.RIGT_ITEM_COUNT] > 0)
{
VAR.I32[eVarInt32.RIGT_ITEM_COUNT] -= 1;//= false; //해제
PUB.log.AddAT($"right 버퍼 수량 감소");
PUB.log.AddAT($"Right buffer quantity decrease");
}
}

View File

@@ -45,7 +45,7 @@ namespace Project
}
var reason = string.Join(",", lst);
PUB.log.Add("MOT", $"모터정지사유({e.axis}):{reason}:bit={bitstatus}");
PUB.log.Add("MOT", $"Motor stop reason ({e.axis}): {reason}: bit={bitstatus}");
}
@@ -61,7 +61,7 @@ namespace Project
}
else if (e.NewStatus == arDev.MOT.HOME_RESULT.HOME_SUCCESS)
{
PUB.log.AddI(string.Format("홈 검색이 완료되었습니다 축:{0}", e.Axis));
PUB.log.AddI(string.Format("Home search completed for axis: {0}", e.Axis));
}
}
}
@@ -71,7 +71,7 @@ namespace Project
{
if (e.IsError)
{
if (e.Message.IndexOf("동일위치") != -1 || e.Message.IndexOf("inposition") != -1)
if (e.Message.IndexOf("same position") != -1 || e.Message.IndexOf("inposition") != -1)
{ // Pub.log.AddAT("MOT:" + e.Message);
}
else PUB.log.AddE("MOT:" + e.Message);

View File

@@ -148,11 +148,11 @@ namespace Project
if (DIO.isSaftyDoorF() == false)
{
PUB.Result.SetResultMessage(eResult.EMERGENCY, eECode.DOORSAFTY, eNextStep.PAUSE);// false);
PUB.mot.MoveStop("안전문제", true);
PUB.mot.MoveStop("Safety issue", true);
if (DIO.isSaftyDoorF(0, false) == false) DIO.SetPortMotor(0, eMotDir.CW, false, "안전오류");
if (DIO.isSaftyDoorF(1, false) == false) DIO.SetPortMotor(1, eMotDir.CW, false, "안전오류");
if (DIO.isSaftyDoorF(2, false) == false) DIO.SetPortMotor(2, eMotDir.CW, false, "안전오류");
if (DIO.isSaftyDoorF(0, false) == false) DIO.SetPortMotor(0, eMotDir.CW, false, "Safety error");
if (DIO.isSaftyDoorF(1, false) == false) DIO.SetPortMotor(1, eMotDir.CW, false, "Safety error");
if (DIO.isSaftyDoorF(2, false) == false) DIO.SetPortMotor(2, eMotDir.CW, false, "Safety error");
return false;
}
@@ -176,7 +176,7 @@ namespace Project
Boolean isPortLimDN(int idx)
{
if (idx < 0 || idx > 2) throw new Exception("포트번호는(0~2)사이로 입력하세요");
if (idx < 0 || idx > 2) throw new Exception("Port number must be between (0~2)");
if (idx == 0) return DIO.GetIOInput(eDIName.PORTL_LIM_DN);
else if (idx == 1) return DIO.GetIOInput(eDIName.PORTC_LIM_DN);
else return DIO.GetIOInput(eDIName.PORTR_LIM_DN);
@@ -184,14 +184,14 @@ namespace Project
}
Boolean isPortLimUP(int idx)
{
if (idx < 0 || idx > 2) throw new Exception("포트번호는(0~2)사이로 입력하세요");
if (idx < 0 || idx > 2) throw new Exception("Port number must be between (0~2)");
if (idx == 0) return DIO.GetIOInput(eDIName.PORTL_LIM_UP);
else if (idx == 1) return DIO.GetIOInput(eDIName.PORTC_LIM_UP);
else return DIO.GetIOInput(eDIName.PORTR_LIM_UP);
}
Boolean isPortDetUp(int idx)
{
if (idx < 0 || idx > 2) throw new Exception("포트번호는(0~2)사이로 입력하세요");
if (idx < 0 || idx > 2) throw new Exception("Port number must be between (0~2)");
if (idx == 0) return DIO.GetIOInput(eDIName.PORTL_DET_UP);
else if (idx == 1) return DIO.GetIOInput(eDIName.PORTC_DET_UP);
else return DIO.GetIOInput(eDIName.PORTR_DET_UP);

View File

@@ -56,27 +56,27 @@ namespace Project
private void Ws_DisconnectedL(object sender, EventArgs e)
{
var ws = sender as WatsonWebsocket.WatsonWsClient;
PUB.log.AddAT("카메라L 접속 종료");
PUB.log.AddAT("Camera L connection terminated");
//_isCrevisOpen[0] = false;
PUB.flag.set(eVarBool.FG_RDY_CAMERA_L, false, "DISC");
}
private void Ws_ConnectedL(object sender, EventArgs e)
{
PUB.log.AddAT("카메라L 접속 성공");
PUB.log.AddAT("Camera L connection successful");
//_isCrevisOpen[0] = true;
}
private void Ws_DisconnectedR(object sender, EventArgs e)
{
var ws = sender as WatsonWebsocket.WatsonWsClient;
PUB.log.AddAT("카메라R 접속 종료");
PUB.log.AddAT("Camera R connection terminated");
//_isCrevisOpen[2] = false;
PUB.flag.set(eVarBool.FG_RDY_CAMERA_R, false, "DISC");
}
private void Ws_ConnectedR(object sender, EventArgs e)
{
PUB.log.AddAT("카메라R 접속 성공");
PUB.log.AddAT("Camera R connection successful");
//_isCrevisOpen[2] = true;
}
@@ -137,7 +137,7 @@ namespace Project
if(PUB.flag.get(eVarBool.FG_RDY_CAMERA_L)==false)
{
PUB.flag.set(eVarBool.FG_RDY_CAMERA_L, true, "WEBSOCKET");
PUB.log.Add("왼쪽카메라 준비 완료");
PUB.log.Add("Left camera ready");
}
}
else
@@ -145,7 +145,7 @@ namespace Project
if (PUB.flag.get(eVarBool.FG_RDY_CAMERA_R) == false)
{
PUB.flag.set(eVarBool.FG_RDY_CAMERA_R, true, "WEBSOCKET");
PUB.log.Add("오른쪽카메라 준비 완료");
PUB.log.Add("Right camera ready");
}
}
@@ -158,7 +158,7 @@ namespace Project
}
catch (Exception ex)
{
PUB.log.AddE("상태메시지 분석실패: " + ex.Message);
PUB.log.AddE("Status message analysis failed: " + ex.Message);
}
}
else
@@ -166,16 +166,16 @@ namespace Project
//처리가능한 상황에서만 큐에 데이터를 넣는다
if (idx == 0 && PUB.flag.get(eVarBool.FG_PRC_VISIONL) == false)
{
PUB.log.AddAT("(좌)측 비젼 검증상태가 아니므로 바코드 데이터 삭제\n" + data);
PUB.log.AddAT("Left side vision not in verification state, deleting barcode data\n" + data);
return;
}
if (idx != 0 && PUB.flag.get(eVarBool.FG_PRC_VISIONR) == false)
{
PUB.log.AddAT("(우)측 비젼 검증상태가 아니므로 바코드 데이터 삭제\n" + data);
PUB.log.AddAT("Right side vision not in verification state, deleting barcode data\n" + data);
return;
}
PUB.log.Add($"QR검증({(idx == 0 ? "L" : "R")})수신: " + data);
PUB.log.Add($"QR verification ({(idx == 0 ? "L" : "R")}) received: " + data);
var guid = idx == 0 ? PUB.Result.ItemDataL.guid : PUB.Result.ItemDataR.guid;
//BarcodeParsing(idx, guid, data, "WS");
@@ -190,7 +190,7 @@ namespace Project
var Complete = RecvQRProcess(qrDataList, eWorkPort.Left);
if (Complete) PUB.flag.set(eVarBool.FG_END_VISIONL, true, "DATA_ARRIVAL");
}
else PUB.log.AddAT("비젼(L) 이전작업이 완료되어 처리하지 않음");
else PUB.log.AddAT("Vision (L) previous task completed, not processing");
}
else
{
@@ -199,7 +199,7 @@ namespace Project
var Complete = RecvQRProcess(qrDataList, eWorkPort.Right);
if (Complete) PUB.flag.set(eVarBool.FG_END_VISIONR, true, "DATA_ARRIVAL");
}
else PUB.log.AddAT("비젼(R) 이전작업이 완료되어 처리하지 않음");
else PUB.log.AddAT("Vision (R) previous task completed, not processing");
}
}
@@ -258,7 +258,7 @@ namespace Project
}
catch (Exception ex)
{
PUB.log.AddE($"전송{idx}실패{ex.Message}");
PUB.log.AddE($"Transmission {idx} failed {ex.Message}");
sendok = false;
}
@@ -271,13 +271,13 @@ namespace Project
if(ws != null)
{
PUB.log.AddAT($"전송{idx} 실패로 소켓을 닫습니다");
PUB.log.AddAT($"Closing socket due to transmission {idx} failure");
ws.Stop();
}
}
catch (Exception ex)
{
PUB.log.AddE($"소켓{idx} 종료 실패:{ex.Message}");
PUB.log.AddE($"Socket {idx} termination failed: {ex.Message}");
}
}
return sendok;
@@ -303,7 +303,7 @@ namespace Project
if (JsonStr.isEmpty())
{
PUB.log.AddE("바코드 수신값(JSON) 이 없어 진행할 수 없습니다");
PUB.log.AddE("Cannot proceed due to missing barcode receive value (JSON)");
return retval;
}
@@ -371,7 +371,7 @@ namespace Project
}
catch (Exception ex)
{
PUB.logVision.Add($"카메라(${vIdx}) ProcessBarcodeQue 실패{ex.Message}"); PUB.logVision.Flush();
PUB.logVision.Add($"Camera ({vIdx}) ProcessBarcodeQue failed {ex.Message}"); PUB.logVision.Flush();
}
return retval;

View File

@@ -475,11 +475,11 @@
<Compile Include="DataSet1.cs">
<DependentUpon>DataSet1.xsd</DependentUpon>
</Compile>
<Compile Include="Dialog\Quick_Control.cs.cs">
<Compile Include="Dialog\Quick_Control.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Dialog\Quick_Control.cs.Designer.cs">
<DependentUpon>Quick_Control.cs.cs</DependentUpon>
<Compile Include="Dialog\Quick_Control.Designer.cs">
<DependentUpon>Quick_Control.cs</DependentUpon>
</Compile>
<Compile Include="Dialog\DIOMonitor.cs">
<SubType>Form</SubType>
@@ -564,7 +564,6 @@
<DependentUpon>fMain.cs</DependentUpon>
</Compile>
<Compile Include="Manager\DatabaseManagerSIDHistory.cs" />
<Compile Include="RunCode\Display\GetErrorMessage.cs" />
<Compile Include="RunCode\Display\_Interval_1min.cs">
<SubType>Form</SubType>
</Compile>
@@ -619,7 +618,6 @@
<Compile Include="RunCode\_99_System_Shutdown.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Language\Lang.cs" />
<Compile Include="Manager\DataBaseManagerCount.cs" />
<Compile Include="Manager\DatabaseManagerHistory.cs" />
<Compile Include="Manager\ModelManager.cs" />
@@ -814,8 +812,8 @@
<EmbeddedResource Include="Dialog\Motion_MoveToGroup.resx">
<DependentUpon>Motion_MoveToGroup.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialog\Quick_Control.cs.resx">
<DependentUpon>Quick_Control.cs.cs</DependentUpon>
<EmbeddedResource Include="Dialog\Quick_Control.resx">
<DependentUpon>Quick_Control.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Dialog\fSelectSID.resx">
<DependentUpon>fSelectSID.cs</DependentUpon>

View File

@@ -71,19 +71,8 @@
this.btdoorf1 = new System.Windows.Forms.Button();
this.btdoorf2 = new System.Windows.Forms.Button();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.keyDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.valueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.bsLang = new System.Windows.Forms.BindingSource(this.components);
this.dataSet1 = new Project.DataSet1();
this.statusStrip2 = new System.Windows.Forms.StatusStrip();
this.lbFile = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.btDefIO = new System.Windows.Forms.Button();
this.btDefError = new System.Windows.Forms.Button();
@@ -98,12 +87,8 @@
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsLang)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
this.statusStrip2.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.tabPage4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bsRecipient)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bsMailForm)).BeginInit();
@@ -118,7 +103,7 @@
this.btSave.Name = "btSave";
this.btSave.Size = new System.Drawing.Size(604, 53);
this.btSave.TabIndex = 0;
this.btSave.Text = "저장(&S)";
this.btSave.Text = "Save(&S)";
this.btSave.UseVisualStyleBackColor = true;
this.btSave.Click += new System.EventHandler(this.button1_Click);
//
@@ -148,7 +133,6 @@
//
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(0, 0);
@@ -168,7 +152,7 @@
this.tabPage2.Padding = new System.Windows.Forms.Padding(5);
this.tabPage2.Size = new System.Drawing.Size(606, 590);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "간편설정";
this.tabPage2.Text = "Quick Settings";
this.tabPage2.UseVisualStyleBackColor = true;
//
// groupBox1
@@ -202,7 +186,7 @@
this.groupBox1.Size = new System.Drawing.Size(596, 403);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "기능 사용";
this.groupBox1.Text = "Function Control";
//
// btSystemBypass
//
@@ -220,7 +204,7 @@
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(124, 43);
this.button7.TabIndex = 48;
this.button7.Text = "피커-실린더";
this.button7.Text = "Picker-Cylinder";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click_2);
//
@@ -231,7 +215,7 @@
this.btbuzAfterFinish.Name = "btbuzAfterFinish";
this.btbuzAfterFinish.Size = new System.Drawing.Size(135, 43);
this.btbuzAfterFinish.TabIndex = 25;
this.btbuzAfterFinish.Text = "작업완료 후 부저";
this.btbuzAfterFinish.Text = "Buzzer After Completion";
this.btbuzAfterFinish.UseVisualStyleBackColor = true;
this.btbuzAfterFinish.Click += new System.EventHandler(this.button10_Click);
//
@@ -241,7 +225,7 @@
this.button13.Name = "button13";
this.button13.Size = new System.Drawing.Size(128, 42);
this.button13.TabIndex = 46;
this.button13.Text = "AIR()";
this.button13.Text = "AIR(Lower)";
this.button13.UseVisualStyleBackColor = true;
this.button13.Click += new System.EventHandler(this.button13_Click);
//
@@ -251,7 +235,7 @@
this.button14.Name = "button14";
this.button14.Size = new System.Drawing.Size(128, 42);
this.button14.TabIndex = 47;
this.button14.Text = "AIR()";
this.button14.Text = "AIR(Lower)";
this.button14.UseVisualStyleBackColor = true;
this.button14.Click += new System.EventHandler(this.button14_Click);
//
@@ -262,7 +246,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(124, 43);
this.button3.TabIndex = 38;
this.button3.Text = "QR검증";
this.button3.Text = "QR Validation";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click_1);
//
@@ -272,7 +256,7 @@
this.btmag2.Name = "btmag2";
this.btmag2.Size = new System.Drawing.Size(124, 43);
this.btmag2.TabIndex = 42;
this.btmag2.Text = "피커-자석";
this.btmag2.Text = "Picker-Magnet";
this.btmag2.UseVisualStyleBackColor = true;
this.btmag2.Click += new System.EventHandler(this.button5_Click_1);
//
@@ -282,18 +266,18 @@
this.btRoomLamp.Name = "btRoomLamp";
this.btRoomLamp.Size = new System.Drawing.Size(135, 43);
this.btRoomLamp.TabIndex = 28;
this.btRoomLamp.Text = "내부조명";
this.btRoomLamp.Text = "Interior Light";
this.btRoomLamp.UseVisualStyleBackColor = true;
this.btRoomLamp.Click += new System.EventHandler(this.button2_Click_2);
//
// button6
//
this.button6.Font = new System.Drawing.Font("맑은 고딕", 18F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button6.Font = new System.Drawing.Font("맑은 고딕", 14F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button6.Location = new System.Drawing.Point(404, 75);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(163, 49);
this.button6.TabIndex = 44;
this.button6.Text = "우측-기능";
this.button6.Text = "Right-Function";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click_3);
//
@@ -303,7 +287,7 @@
this.btPickerVac.Name = "btPickerVac";
this.btPickerVac.Size = new System.Drawing.Size(124, 43);
this.btPickerVac.TabIndex = 34;
this.btPickerVac.Text = "피커-진공";
this.btPickerVac.Text = "Picker-Vacuum";
this.btPickerVac.UseVisualStyleBackColor = true;
this.btPickerVac.Click += new System.EventHandler(this.btPickerVac_Click);
//
@@ -314,7 +298,7 @@
this.btPort1.Name = "btPort1";
this.btPort1.Size = new System.Drawing.Size(124, 43);
this.btPort1.TabIndex = 23;
this.btPort1.Text = "피커-포트";
this.btPort1.Text = "Picker-Port";
this.btPort1.UseVisualStyleBackColor = true;
this.btPort1.Click += new System.EventHandler(this.btPort1_Click);
//
@@ -324,7 +308,7 @@
this.btmag1.Name = "btmag1";
this.btmag1.Size = new System.Drawing.Size(128, 42);
this.btmag1.TabIndex = 41;
this.btmag1.Text = "자석";
this.btmag1.Text = "Magnet";
this.btmag1.UseVisualStyleBackColor = true;
this.btmag1.Click += new System.EventHandler(this.button6_Click_2);
//
@@ -334,7 +318,7 @@
this.btTWLamp.Name = "btTWLamp";
this.btTWLamp.Size = new System.Drawing.Size(135, 43);
this.btTWLamp.TabIndex = 21;
this.btTWLamp.Text = "타워램프";
this.btTWLamp.Text = "Tower Lamp";
this.btTWLamp.UseVisualStyleBackColor = true;
this.btTWLamp.Click += new System.EventHandler(this.btTWLamp_Click);
//
@@ -344,7 +328,7 @@
this.btBuz.Name = "btBuz";
this.btBuz.Size = new System.Drawing.Size(135, 43);
this.btBuz.TabIndex = 4;
this.btBuz.Text = "부저";
this.btBuz.Text = "Buzzer";
this.btBuz.UseVisualStyleBackColor = true;
this.btBuz.Click += new System.EventHandler(this.button6_Click);
//
@@ -354,18 +338,18 @@
this.btmag0.Name = "btmag0";
this.btmag0.Size = new System.Drawing.Size(128, 42);
this.btmag0.TabIndex = 40;
this.btmag0.Text = "자석";
this.btmag0.Text = "Magnet";
this.btmag0.UseVisualStyleBackColor = true;
this.btmag0.Click += new System.EventHandler(this.button7_Click_1);
//
// button5
//
this.button5.Font = new System.Drawing.Font("맑은 고딕", 18F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button5.Font = new System.Drawing.Font("맑은 고딕", 14F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.button5.Location = new System.Drawing.Point(18, 77);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(163, 49);
this.button5.TabIndex = 43;
this.button5.Text = "좌측-기능";
this.button5.Text = "Left-Function";
this.button5.UseVisualStyleBackColor = true;
this.button5.Click += new System.EventHandler(this.button5_Click_2);
//
@@ -376,7 +360,7 @@
this.btPort0.Name = "btPort0";
this.btPort0.Size = new System.Drawing.Size(128, 42);
this.btPort0.TabIndex = 22;
this.btPort0.Text = "포트";
this.btPort0.Text = "Port";
this.btPort0.UseVisualStyleBackColor = true;
this.btPort0.Click += new System.EventHandler(this.btPort0_Click);
//
@@ -387,7 +371,7 @@
this.btPort2.Name = "btPort2";
this.btPort2.Size = new System.Drawing.Size(128, 42);
this.btPort2.TabIndex = 35;
this.btPort2.Text = "포트";
this.btPort2.Text = "Port";
this.btPort2.UseVisualStyleBackColor = true;
this.btPort2.Click += new System.EventHandler(this.btPort2_Click);
//
@@ -397,7 +381,7 @@
this.btLeftVac.Name = "btLeftVac";
this.btLeftVac.Size = new System.Drawing.Size(128, 42);
this.btLeftVac.TabIndex = 32;
this.btLeftVac.Text = "VAC()";
this.btLeftVac.Text = "VAC(Upper)";
this.btLeftVac.UseVisualStyleBackColor = true;
this.btLeftVac.Click += new System.EventHandler(this.btLeftVac_Click);
//
@@ -408,7 +392,7 @@
this.btPrintR.Name = "btPrintR";
this.btPrintR.Size = new System.Drawing.Size(128, 42);
this.btPrintR.TabIndex = 37;
this.btPrintR.Text = "프린터";
this.btPrintR.Text = "Printer";
this.btPrintR.UseVisualStyleBackColor = true;
this.btPrintR.Click += new System.EventHandler(this.button3_Click);
//
@@ -419,7 +403,7 @@
this.btPrintL.Name = "btPrintL";
this.btPrintL.Size = new System.Drawing.Size(128, 42);
this.btPrintL.TabIndex = 36;
this.btPrintL.Text = "프린터";
this.btPrintL.Text = "Printer";
this.btPrintL.UseVisualStyleBackColor = true;
this.btPrintL.Click += new System.EventHandler(this.button4_Click_2);
//
@@ -429,7 +413,7 @@
this.btRightVac.Name = "btRightVac";
this.btRightVac.Size = new System.Drawing.Size(128, 42);
this.btRightVac.TabIndex = 33;
this.btRightVac.Text = "VAC()";
this.btRightVac.Text = "VAC(Upper)";
this.btRightVac.UseVisualStyleBackColor = true;
this.btRightVac.Click += new System.EventHandler(this.btRightVac_Click);
//
@@ -453,7 +437,7 @@
this.groupBox2.Size = new System.Drawing.Size(596, 177);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "센서 사용";
this.groupBox2.Text = "Sensor Control";
//
// btDetectPrintR
//
@@ -462,7 +446,7 @@
this.btDetectPrintR.Name = "btDetectPrintR";
this.btDetectPrintR.Size = new System.Drawing.Size(100, 43);
this.btDetectPrintR.TabIndex = 24;
this.btDetectPrintR.Text = "인쇄감지-R";
this.btDetectPrintR.Text = "Print Detect-R";
this.btDetectPrintR.UseVisualStyleBackColor = true;
this.btDetectPrintR.Click += new System.EventHandler(this.btDetectPrintR_Click);
//
@@ -473,7 +457,7 @@
this.btDetectPrintL.Name = "btDetectPrintL";
this.btDetectPrintL.Size = new System.Drawing.Size(100, 43);
this.btDetectPrintL.TabIndex = 23;
this.btDetectPrintL.Text = "인쇄감지-L";
this.btDetectPrintL.Text = "Print Detect-L";
this.btDetectPrintL.UseVisualStyleBackColor = true;
this.btDetectPrintL.Click += new System.EventHandler(this.btDetectPrintL_Click);
//
@@ -484,7 +468,7 @@
this.btCartDetR.Name = "btCartDetR";
this.btCartDetR.Size = new System.Drawing.Size(100, 43);
this.btCartDetR.TabIndex = 20;
this.btCartDetR.Text = "카트감지(R)";
this.btCartDetR.Text = "Cart Detect(R)";
this.btCartDetR.UseVisualStyleBackColor = true;
this.btCartDetR.Click += new System.EventHandler(this.button5_Click);
//
@@ -495,7 +479,7 @@
this.btCartDetL.Name = "btCartDetL";
this.btCartDetL.Size = new System.Drawing.Size(100, 43);
this.btCartDetL.TabIndex = 21;
this.btCartDetL.Text = "카트감지(L)";
this.btCartDetL.Text = "Cart Detect(L)";
this.btCartDetL.UseVisualStyleBackColor = true;
this.btCartDetL.Click += new System.EventHandler(this.button6_Click_1);
//
@@ -506,7 +490,7 @@
this.btCartDetC.Name = "btCartDetC";
this.btCartDetC.Size = new System.Drawing.Size(100, 43);
this.btCartDetC.TabIndex = 22;
this.btCartDetC.Text = "카트감지(C)";
this.btCartDetC.Text = "Cart Detect(C)";
this.btCartDetC.UseVisualStyleBackColor = true;
this.btCartDetC.Click += new System.EventHandler(this.button7_Click);
//
@@ -584,50 +568,9 @@
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(606, 590);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "상세설정";
this.tabPage1.Text = "Advanced Settings";
this.tabPage1.UseVisualStyleBackColor = true;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.dataGridView1);
this.tabPage3.Controls.Add(this.statusStrip2);
this.tabPage3.Controls.Add(this.toolStrip1);
this.tabPage3.Location = new System.Drawing.Point(4, 29);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Size = new System.Drawing.Size(606, 590);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "언어설정";
this.tabPage3.UseVisualStyleBackColor = true;
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AutoGenerateColumns = false;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.keyDataGridViewTextBoxColumn,
this.valueDataGridViewTextBoxColumn});
this.dataGridView1.DataSource = this.bsLang;
this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
this.dataGridView1.Location = new System.Drawing.Point(0, 25);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(606, 543);
this.dataGridView1.TabIndex = 2;
//
// keyDataGridViewTextBoxColumn
//
this.keyDataGridViewTextBoxColumn.DataPropertyName = "Key";
this.keyDataGridViewTextBoxColumn.HeaderText = "Key";
this.keyDataGridViewTextBoxColumn.Name = "keyDataGridViewTextBoxColumn";
//
// valueDataGridViewTextBoxColumn
//
this.valueDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.valueDataGridViewTextBoxColumn.DataPropertyName = "Value";
this.valueDataGridViewTextBoxColumn.HeaderText = "Value";
this.valueDataGridViewTextBoxColumn.Name = "valueDataGridViewTextBoxColumn";
//
// bsLang
//
this.bsLang.DataMember = "language";
@@ -638,73 +581,6 @@
this.dataSet1.DataSetName = "DataSet1";
this.dataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// statusStrip2
//
this.statusStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.lbFile});
this.statusStrip2.Location = new System.Drawing.Point(0, 568);
this.statusStrip2.Name = "statusStrip2";
this.statusStrip2.Size = new System.Drawing.Size(606, 22);
this.statusStrip2.TabIndex = 1;
this.statusStrip2.Text = "statusStrip2";
//
// lbFile
//
this.lbFile.Name = "lbFile";
this.lbFile.Size = new System.Drawing.Size(17, 17);
this.lbFile.Text = "--";
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1,
this.toolStripButton3,
this.toolStripButton4,
this.toolStripButton2});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(606, 25);
this.toolStrip1.TabIndex = 0;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.Image = global::Project.Properties.Resources.icons8_plus_40;
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(75, 22);
this.toolStripButton1.Text = "신규생성";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// toolStripButton3
//
this.toolStripButton3.Image = global::Project.Properties.Resources.icons8_repeat_40;
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton3.Name = "toolStripButton3";
this.toolStripButton3.Size = new System.Drawing.Size(75, 22);
this.toolStripButton3.Text = "새로고침";
this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
//
// toolStripButton4
//
this.toolStripButton4.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton4.Image = global::Project.Properties.Resources.icons8_checked_40;
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton4.Name = "toolStripButton4";
this.toolStripButton4.Size = new System.Drawing.Size(51, 22);
this.toolStripButton4.Text = "적용";
this.toolStripButton4.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripButton2
//
this.toolStripButton2.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.toolStripButton2.Image = global::Project.Properties.Resources.icons8_save_40;
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton2.Name = "toolStripButton2";
this.toolStripButton2.Size = new System.Drawing.Size(51, 22);
this.toolStripButton2.Text = "저장";
this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// tabPage4
//
this.tabPage4.Controls.Add(this.btDefIO);
@@ -714,7 +590,7 @@
this.tabPage4.Name = "tabPage4";
this.tabPage4.Size = new System.Drawing.Size(606, 590);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "기타";
this.tabPage4.Text = "Other";
this.tabPage4.UseVisualStyleBackColor = true;
//
// btDefIO
@@ -723,7 +599,7 @@
this.btDefIO.Name = "btDefIO";
this.btDefIO.Size = new System.Drawing.Size(189, 43);
this.btDefIO.TabIndex = 48;
this.btDefIO.Text = "I/O 설명 정의";
this.btDefIO.Text = "Define I/O Description";
this.btDefIO.UseVisualStyleBackColor = true;
this.btDefIO.Click += new System.EventHandler(this.button12_Click);
//
@@ -733,7 +609,7 @@
this.btDefError.Name = "btDefError";
this.btDefError.Size = new System.Drawing.Size(189, 43);
this.btDefError.TabIndex = 47;
this.btDefError.Text = "오류 메세지 정의";
this.btDefError.Text = "Define Error Messages";
this.btDefError.UseVisualStyleBackColor = true;
this.btDefError.Click += new System.EventHandler(this.button11_Click);
//
@@ -743,7 +619,7 @@
this.btOpenZPL.Name = "btOpenZPL";
this.btOpenZPL.Size = new System.Drawing.Size(189, 43);
this.btOpenZPL.TabIndex = 46;
this.btOpenZPL.Text = "ZPL 열기";
this.btOpenZPL.Text = "Open ZPL";
this.btOpenZPL.UseVisualStyleBackColor = true;
this.btOpenZPL.Click += new System.EventHandler(this.btOpenZPL_Click);
//
@@ -776,7 +652,7 @@
this.MinimizeBox = false;
this.Name = "fSetting";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "프로그램 설정";
this.Text = "Program Settings";
this.Load += new System.EventHandler(this.@__Load);
this.panel1.ResumeLayout(false);
this.tabControl1.ResumeLayout(false);
@@ -784,15 +660,8 @@
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsLang)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
this.statusStrip2.ResumeLayout(false);
this.statusStrip2.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.tabPage4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bsRecipient)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bsMailForm)).EndInit();
@@ -817,17 +686,6 @@
private System.Windows.Forms.Button btdoorr1;
private System.Windows.Forms.Button btdoorf1;
private System.Windows.Forms.Button btBuz;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.StatusStrip statusStrip2;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ToolStripButton toolStripButton2;
private System.Windows.Forms.ToolStripStatusLabel lbFile;
private System.Windows.Forms.ToolStripButton toolStripButton3;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn keyDataGridViewTextBoxColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn valueDataGridViewTextBoxColumn;
private System.Windows.Forms.ToolStripButton toolStripButton4;
private System.Windows.Forms.Button btdoorf2;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button btdoorf3;

View File

@@ -12,7 +12,7 @@ namespace Project
{
public partial class fSetting : Form
{
CommonSetting dummySetting; //설정을 임시로 저장하고 있다가 완료시에 덮어준다.
CommonSetting dummySetting; //Temporarily store settings and overwrite on completion
public fSetting()
{
@@ -47,7 +47,7 @@ namespace Project
this.propertyGrid1.SelectedObject = this.dummySetting;
this.propertyGrid1.Refresh();
//기능사용
//Function usage
btdoorr1.BackColor = dummySetting.Disable_safty_R0 ? Color.Tomato : Color.Lime;
btdoorr2.BackColor = dummySetting.Disable_safty_R1 ? Color.Tomato : Color.Lime;
btdoorr3.BackColor = dummySetting.Disable_safty_R2 ? Color.Tomato : Color.Lime;
@@ -59,38 +59,38 @@ namespace Project
this.btTWLamp.BackColor = dummySetting.Disable_TowerLamp ? Color.Tomato : Color.Lime;
this.btRoomLamp.BackColor = dummySetting.Disable_RoomLight == true ? Color.Tomato : Color.Lime;
//진공사용여부
//Vacuum usage status
this.btLeftVac.BackColor = dummySetting.Disable_PLVac ? Color.Tomato : Color.Lime;
this.btRightVac.BackColor = dummySetting.Disable_PRVac ? Color.Tomato : Color.Lime;
this.btPickerVac.BackColor = dummySetting.Disable_PKVac ? Color.Tomato : Color.Lime;
//포트사용여부
//Port usage status
this.btPort0.BackColor = dummySetting.Disable_PortL ? Color.Tomato : Color.Lime;
this.btPort1.BackColor = dummySetting.Disable_PortC ? Color.Tomato : Color.Lime;
this.btPort2.BackColor = dummySetting.Disable_PortR ? Color.Tomato : Color.Lime;
//프린터사용여부
//Printer usage status
this.btPrintL.BackColor = dummySetting.Disable_PrinterL ? Color.Tomato : Color.Lime;
this.btPrintR.BackColor = dummySetting.Disable_PrinterR ? Color.Tomato : Color.Lime;
//언로더QR검증
//Unloader QR validation
this.button3.BackColor = dummySetting.Enable_Unloader_QRValidation ? Color.Lime : Color.Tomato;
//카드감지센서
//Card detection sensor
this.btCartDetL.BackColor = dummySetting.Detect_CartL ? Color.Lime : Color.Tomato;
this.btCartDetC.BackColor = dummySetting.Detect_CartC ? Color.Lime : Color.Tomato;
this.btCartDetR.BackColor = dummySetting.Detect_CartR ? Color.Lime : Color.Tomato;
//마그넷사용
//Magnet usage
this.btmag0.BackColor = dummySetting.Enable_Magnet0 ? Color.Lime : Color.Tomato;
this.btmag1.BackColor = dummySetting.Enable_Magnet1 ? Color.Lime : Color.Tomato;
this.btmag2.BackColor = dummySetting.Enable_Magnet2 ? Color.Lime : Color.Tomato;
//인쇄용지감지
//Print paper detection
this.btDetectPrintL.BackColor = dummySetting.Detect_PrintL ? Color.Lime : Color.Tomato;
this.btDetectPrintR.BackColor = dummySetting.Detect_PrintR ? Color.Lime : Color.Tomato;
//기능사용
//Function usage
this.button5.BackColor = dummySetting.Disable_Left == false ? Color.Lime : Color.Tomato;
this.button6.BackColor = dummySetting.Disable_Right == false ? Color.Lime : Color.Tomato;
//this.button9.BackColor = dummySetting.Enable_RQAuto ? Color.Lime : Color.Tomato;
@@ -101,7 +101,6 @@ namespace Project
this.button7.BackColor = dummySetting.Enable_PickerCylinder ? Color.Lime : Color.Tomato;
this.btSystemBypass.BackColor = dummySetting.SystemBypass ? Color.DarkBlue : Color.Transparent;
this.btSystemBypass.ForeColor = dummySetting.SystemBypass ? Color.White : Color.Black;
lbFile.Text = Lang.FileName;
}
private void button1_Click(object sender, EventArgs e)
@@ -131,7 +130,7 @@ namespace Project
var ChangeR = dummySetting.Disable_Right != AR.SETTING.Data.Disable_Right;
if (ChangeL || ChangeR)
{
UTIL.MsgI("좌/우 사용 옵션은 작업을 다시 시작해야 적용 됩니다");
UTIL.MsgI("Left/Right usage options will be applied after restarting the job");
}
this.Invalidate();
@@ -176,7 +175,7 @@ namespace Project
catch (Exception ex)
{
PUB.log.AddE("Setting Save Error:" + ex.Message);
UTIL.MsgE("Error\n" + ex.Message + "\n\n다시 시도하세요");
UTIL.MsgE("Error\n" + ex.Message + "\n\nPlease try again");
}
//PUB.flag.set(eVarBool.TestRun, btLoaderDetect.BackColor == Color.Lime);
@@ -191,64 +190,10 @@ namespace Project
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
var langfile = Lang.FileName;
Lang.CreateFile();
UTIL.MsgI("다음 파일이 생성되었습니다.\n\n" + langfile);
}
private void toolStripButton3_Click(object sender, EventArgs e)
{
var langfile = Lang.FileName;
if (System.IO.File.Exists(langfile) == false)
{
UTIL.MsgE("언어파일이 없습니다\n" + langfile);
return;
}
var ini = new AR.INIHelper();
ini.Load(langfile);
this.dataSet1.language.Clear();
foreach (var item in ini.GetItemList("lang").OrderBy(t => t.Key))
{
this.dataSet1.language.Rows.Add(new string[] {
"lang",
item.Key,
item.Value.Replace("\n","\\n"),
});
}
this.dataSet1.language.AcceptChanges();
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
var file = Lang.FileName;
var ini = new AR.INIHelper(file);
this.bsLang.EndEdit();
this.dataSet1.language.AcceptChanges();
foreach (DataSet1.languageRow dr in dataSet1.language.Rows)
{
if (dr.Key == "") continue;
ini.set_Data("lang", dr.Key, dr.Value);
}
ini.Flush();
UTIL.MsgE("다음 파일에 저장되었습니다.\n\n" + file);
}
private void toolStripButton4_Click(object sender, EventArgs e)
{
//적용
var file = new System.IO.FileInfo(Lang.FileName);
var langname = file.Name.Replace(file.Extension, "");
Lang.Loading(langname);
}
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
if (this.tabControl1.SelectedIndex == 2)
{
if (this.dataSet1.language.Rows.Count < 1)
toolStripButton3.PerformClick();
}
}
@@ -463,7 +408,7 @@ namespace Project
if (fi.Exists == false)
{
System.IO.File.WriteAllText(fi.FullName, Properties.Settings.Default.ZPL7, System.Text.Encoding.Default);
UTIL.MsgI("ZPL파일을 신규 생성 했습니다\n" + fi.FullName);
UTIL.MsgI("New ZPL file has been created\n" + fi.FullName);
}
using (var f = new Dialog.fZPLEditor(fi.FullName))
f.ShowDialog();

Some files were not shown because too many files have changed in this diff Show More