diff --git a/Cs_HMI/Project/AGV4.csproj b/Cs_HMI/Project/AGV4.csproj
index 32786a6..1df3f86 100644
--- a/Cs_HMI/Project/AGV4.csproj
+++ b/Cs_HMI/Project/AGV4.csproj
@@ -322,7 +322,7 @@
Form
-
+
Form
diff --git a/Cs_HMI/Project/CSetting.cs b/Cs_HMI/Project/CSetting.cs
index 6c3680e..cdf5a71 100644
--- a/Cs_HMI/Project/CSetting.cs
+++ b/Cs_HMI/Project/CSetting.cs
@@ -173,53 +173,6 @@ namespace Project
#endregion
- #region "TAGS"
- [Browsable(false)]
- public int TAGPOT { get; set; }
- [Browsable(false)]
- public int TAGNOT { get; set; }
- [Browsable(false)]
- public int TAG_F2_F3 { get; set; }
- [Browsable(false)]
- public int TAG_QC_F1 { get; set; }
- [Browsable(false)]
- public int TAG_F1_F2 { get; set; }
- [Browsable(false)]
- public int TAG_F3_F4 { get; set; }
- [Browsable(false)]
- public int TAG_F4_F5 { get; set; }
- [Browsable(false)]
- public int TAG_QA_QC { get; set; }
- [Browsable(false)]
- public int TAGQAB { get; set; }
- [Browsable(false)]
- public int TAGQAA { get; set; }
- [Browsable(false)]
- public int TAGQCB { get; set; }
- [Browsable(false)]
- public int TAGQCA { get; set; }
- [Browsable(false)]
- public int TAGF1A { get; set; }
- [Browsable(false)]
- public int TAGF2A { get; set; }
- [Browsable(false)]
- public int TAGF3A { get; set; }
- [Browsable(false)]
- public int TAGF4A { get; set; }
- [Browsable(false)]
- public int TAGF5A { get; set; }
- [Browsable(false)]
- public int TAGF1B { get; set; }
- [Browsable(false)]
- public int TAGF2B { get; set; }
- [Browsable(false)]
- public int TAGF3B { get; set; }
- [Browsable(false)]
- public int TAGF4B { get; set; }
- [Browsable(false)]
- public int TAGF5B { get; set; }
- #endregion
-
#region "Charge"
[Browsable(false)]
public int ChargetWaitSec { get; set; }
@@ -378,43 +331,6 @@ namespace Project
if (XBE_ID < 1) XBE_ID = 0xFF; //0은 acs 이므로 쓰지못하게한다.
if (SAD == 0) SAD = 999;
if (GDSValue == 0) GDSValue = 1000;
- if (TAGF1A == 0)
- {
- TAGNOT = 9000;
-
- TAGQAB = 9200;
- TAGQCB = 9300;
- TAGF1B = 9400;
- TAGF2B = 9500;
- TAGF3B = 9600;
- TAGF4B = 9700;
- TAGF5B = 9800;
-
- TAGQAA = 9201;
- TAGQCA = 9301;
- TAGF1A = 9401;
- TAGF2A = 9501;
- TAGF3A = 9601;
- TAGF4A = 9701;
- TAGF5A = 9801;
-
- TAGPOT = 9900;
-
- TAG_QA_QC = 9250;
- TAG_QC_F1 = 9350;
- TAG_F1_F2 = 9450;
- TAG_F2_F3 = 9550;
- TAG_F3_F4 = 9650;
- TAG_F4_F5 = 9750;
- }
-
- if (TAG_F4_F5 == 0)
- {
- TAG_F4_F5 = 9750;
- TAGF5B = 9800;
- TAGF5A = 9801;
- }
-
if (SCK == 0) SCK = 10;
if (SSK == 0) SSK = 10;
if (STT == 0) STT = 30;
diff --git a/Cs_HMI/Project/Class/EnumData.cs b/Cs_HMI/Project/Class/EnumData.cs
index cce789b..589097e 100644
--- a/Cs_HMI/Project/Class/EnumData.cs
+++ b/Cs_HMI/Project/Class/EnumData.cs
@@ -71,7 +71,8 @@ namespace Project
MARK_TIMEOUT,
MARK_SENSOR_FAIL,
LIFT_ERROR,
- AGV_SPEED_FAIL,
+ AGV_SPEED_SET_FAIL,
+ AGV_RUN_FAIL,
AGV_STOP_FAIL,
PATH_INTEGRITY_FAIL,
TURN_FAIL,
diff --git a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_BUFFER_IN.cs b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_BUFFER_IN.cs
index 7d9474a..173abfa 100644
--- a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_BUFFER_IN.cs
+++ b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_BUFFER_IN.cs
@@ -80,11 +80,7 @@ namespace Project
else if (turnState == arDev.eNarumiTurn.Right || turnState == arDev.eNarumiTurn.RightIng)
{
//비정상 상태 (우회전 중?)
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] 턴 방향 불일치(Current:{turnState}). 우회전 상태에서 좌회전을 시도할 수 없습니다.");
- PUB._mapCanvas.SetAlertMessage("Turn 방향 오류");
- PUB.Result.RunStepErrorCode = eECode.TURN_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] 턴 방향 불일치(Current:{turnState}). 우회전 상태에서 좌회전을 시도할 수 없습니다.", eECode.TURN_FAIL);
}
else
{
@@ -118,11 +114,7 @@ namespace Project
if (PUB.AGV.TurnInformation.Runtime.TotalSeconds > overtime)
{
//30초동안 AGV까 움직이지 않았다면 오류 처리한다.
- PUB.AGV.AGVMoveStop($"[bufferin] {overtime}초이내 턴 감지 안됨");
- PUB.log.AddE($"[{funcname}] {overtime}초이내 턴 감지 안됨");
- PUB._mapCanvas.SetAlertMessage($"턴 완료 확인 불가(최대:{overtime}초)");
- PUB.Result.RunStepErrorCode = eECode.TURN_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] {overtime}초이내 턴 감지 안됨", eECode.TURN_FAIL);
return false;
}
else PUB._mapCanvas.SetAlertMessage($"턴 진행 중({PUB.AGV.TurnInformation.Runtime.TotalSeconds:N0}/{overtime})");
@@ -170,11 +162,7 @@ namespace Project
{
if (seqtime.TotalSeconds > 20)
{
- PUB.log.AddE($"[{funcname}] 리프트가 내려가지 않습니다");
- PUB.AGV.LiftControl(arDev.Narumi.LiftCommand.STP);
- PUB._mapCanvas.SetAlertMessage("리프트가 내려가지 않음");
- PUB.Result.RunStepErrorCode = eECode.LIFT_ERROR;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] 리프트가 내려가지 않습니다", eECode.LIFT_ERROR);
}
else PUB._mapCanvas.SetAlertMessage($"리프트 하강 확인 중({seqtime.TotalSeconds:N0}/20)");
return false;
@@ -209,11 +197,7 @@ namespace Project
{
if (ret >= arDev.eNarumiCommandResult.Error)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] AGV속도설정이 완료되지 않았습니다");
- PUB._mapCanvas.SetAlertMessage("agv속도설정 실패");
- PUB.Result.RunStepErrorCode = eECode.AGV_SPEED_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] AGV속도설정이 완료되지 않았습니다", eECode.AGV_SPEED_SET_FAIL);
}
return false;
}
@@ -231,11 +215,7 @@ namespace Project
{
if(seqtime.TotalSeconds > 3)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] AGV이동이 확인되지 않습니다");
- PUB._mapCanvas.SetAlertMessage($"[{funcname}] AGV이동이 확인되지 않습니다");
- PUB.Result.RunStepErrorCode = eECode.AGV_SPEED_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] AGV이동이 확인되지 않습니다", eECode.AGV_RUN_FAIL);
}
return false;
}
@@ -257,11 +237,7 @@ namespace Project
{
if (seqtime.TotalSeconds > 3)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] MARK STOP신호가 확인되지 않습니다");
- PUB._mapCanvas.SetAlertMessage("mark stop 신호 확인 안됨");
- PUB.Result.RunStepErrorCode = eECode.MARK_TIMEOUT;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] MARK STOP신호가 확인되지 않습니다", eECode.MARK_TIMEOUT);
return false;
}
}
@@ -277,11 +253,7 @@ namespace Project
var ts = VAR.TIME.RUN(eVarTime.LastTurnCommandTime);
if (ts.TotalSeconds > 10)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] AGV가 멈추지 않아 강제종료 합니다");
- PUB._mapCanvas.SetAlertMessage("agv가 멈추지 않아 강제 종료");
- PUB.Result.RunStepErrorCode = eECode.AGV_STOP_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] AGV가 멈추지 않아 강제종료 합니다", eECode.AGV_STOP_FAIL);
return false;
}
return false;
diff --git a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_BUFFER_OUT.cs b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_BUFFER_OUT.cs
index 4aa9bc2..68a65fe 100644
--- a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_BUFFER_OUT.cs
+++ b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_BUFFER_OUT.cs
@@ -70,11 +70,7 @@ namespace Project
{
if (seqtime.TotalSeconds > 20)
{
- PUB.log.AddE($"[{funcname}] 리프트가 동작하지 않습니다");
- PUB.AGV.LiftControl(arDev.Narumi.LiftCommand.STP);
- PUB._mapCanvas.SetAlertMessage("LIft 동작오류");
- PUB.Result.RunStepErrorCode = eECode.LIFT_ERROR;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] 리프트가 동작하지 않습니다", eECode.LIFT_ERROR);
}
return false;
}
@@ -96,11 +92,7 @@ namespace Project
{
if (ret >= arDev.eNarumiCommandResult.Error)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] AGV속도설정이 완료되지 않았습니다");
- PUB._mapCanvas.SetAlertMessage("agv 속도설정실패");
- PUB.Result.RunStepErrorCode = eECode.AGV_SPEED_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] AGV속도설정이 완료되지 않았습니다", eECode.AGV_SPEED_SET_FAIL);
}
return false;
}
@@ -124,11 +116,7 @@ namespace Project
if (seqtime.TotalSeconds > 3)
{
//구동이확인되지 않으면 오류처리를 한다.
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] AGV 전진 구동이 확인되지 않습니다");
- PUB._mapCanvas.SetAlertMessage("agv 전진실패");
- PUB.Result.RunStepErrorCode = eECode.AGV_SPEED_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] AGV 전진 구동이 확인되지 않습니다", eECode.AGV_RUN_FAIL);
}
return false;
}
@@ -144,11 +132,7 @@ namespace Project
{
if (seqtime.TotalSeconds > 3)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] MARK STOP신호가 확인되지 않습니다");
- PUB._mapCanvas.SetAlertMessage("mark stop 신호 확인 안됨");
- PUB.Result.RunStepErrorCode = eECode.MARK_TIMEOUT;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] MARK STOP신호가 확인되지 않습니다", eECode.MARK_TIMEOUT);
}
return false;
}
@@ -162,11 +146,7 @@ namespace Project
{
if (seqtime.TotalSeconds > 15)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] AGV가 멈추지 않아 강제종료 합니다");
- PUB._mapCanvas.SetAlertMessage("agv가 멈추지 않아 강제 종료");
- PUB.Result.RunStepErrorCode = eECode.AGV_STOP_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] AGV가 멈추지 않아 강제종료 합니다", eECode.AGV_STOP_FAIL);
}
return false;
}
@@ -196,11 +176,7 @@ namespace Project
else if (turnState == arDev.eNarumiTurn.Left || turnState == arDev.eNarumiTurn.LeftIng)
{
//비정상 상태 (좌회전 중?)
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] 턴 방향 불일치(Current:{turnState}). 좌회전 상태에서 우회전을 시도할 수 없습니다.");
- PUB._mapCanvas.SetAlertMessage("Turn 방향 오류");
- PUB.Result.RunStepErrorCode = eECode.TURN_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] 턴 방향 불일치(Current:{turnState}). 좌회전 상태에서 우회전을 시도할 수 없습니다.", eECode.TURN_FAIL);
}
else
{
@@ -232,11 +208,7 @@ namespace Project
return false;
}
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] Turn 구동 실패");
- PUB._mapCanvas.SetAlertMessage("Turn 구동 실패");
- PUB.Result.RunStepErrorCode = eECode.TURN_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] Turn 구동 실패", eECode.TURN_FAIL);
}
return false;
}
@@ -250,11 +222,7 @@ namespace Project
{
if (seqtime.TotalSeconds > 25)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] Turn 완료 실패 (Timeout)");
- PUB._mapCanvas.SetAlertMessage("Turn 완료 실패");
- PUB.Result.RunStepErrorCode = eECode.TURN_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] Turn 완료 실패 (Timeout)", eECode.TURN_FAIL);
}
return false;
}
diff --git a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_CHARGE_GO.cs b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_CHARGE_GO.cs
index bf830ee..7df1aec 100644
--- a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_CHARGE_GO.cs
+++ b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_CHARGE_GO.cs
@@ -32,8 +32,7 @@ namespace Project
if (VAR.BOOL[eVarBool.FLAG_CHARGEONA] == true || PUB.AGV.system1.Battery_charging == true ||
VAR.BOOL[eVarBool.FLAG_CHARGEONM] == true)
{
- var ermsg = $"현재 충전중이므로 충전시퀀스를 시작할 수 없습니다";
- SetRunStepError(ermsg, eECode.ALREADY_CHARGE);
+ SetRunStepError($"현재 충전중이므로 충전시퀀스를 시작할 수 없습니다", eECode.ALREADY_CHARGE);
return false;
}
@@ -61,17 +60,16 @@ namespace Project
var targetnode = PUB.FindByRFID(PUB.setting.NodeMAP_RFID_Charger);
if (targetnode == null)
{
- var ermsg = ($"충전기 노드가 설정되지 않았습니다");
- SetRunStepError(ermsg, eECode.NOTSET_CHARGEPOINT);
+ SetRunStepError($"충전기 노드가 설정되지 않았습니다", eECode.NOTSET_CHARGEPOINT);
return false;
}
//현재위치가 충전기위치이고 마크센서가 감지되었다면 충전기위치로 인지하고
//그렇지 못하면 충전위치가 아니라는 오류를 발생한다
- if (PUB.AGV.signal1.mark_sensor == false || PUB._virtualAGV.CurrentNode.Id != targetnode.Id)
+ var curnode = PUB._virtualAGV.CurrentNode;
+ if (PUB.AGV.signal1.mark_sensor == false || curnode.Id != targetnode.Id)
{
- var ermsg = $"충전기위치가 아니므로 충전을 시작할 수 없습니다(현재위치:{PUB._virtualAGV.CurrentNode.RfidId})";
- SetRunStepError(ermsg, eECode.NO_CHARGEPOINT);
+ SetRunStepError($"충전기위치가 아니므로 충전을 시작할 수 없습니다(현재위치:{curnode.RfidId})", eECode.NO_CHARGEPOINT);
return false;
}
@@ -110,8 +108,7 @@ namespace Project
PUB.counter.Save();
VAR.BYTE[eVarByte.CHARGE_CMDCNT] = 0;
- var ermsg = $"충전명령 재전송 횟수 초과";
- SetRunStepError(ermsg, eECode.NO_CHARGEPOINT);
+ SetRunStepError($"충전명령 재전송 횟수 초과", eECode.MESSAGE_ERROR);
return false;
}
else
diff --git a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_ENTER.cs b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_ENTER.cs
index 9e92e7a..0ec1038 100644
--- a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_ENTER.cs
+++ b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_ENTER.cs
@@ -38,12 +38,7 @@ namespace Project
//마크센서가 감지된상태여야 완전한위치로 가정한다
if(PUB.AGV.signal1.mark_sensor == false)
{
- var errmsg = $"[{funcname}] 마크센서가 감지되지 않습니다";
- PUB.AGV.AGVMoveStop(errmsg);
- PUB.log.AddE(errmsg);
- PUB._mapCanvas.SetAlertMessage(errmsg);
- PUB.Result.RunStepErrorCode = eECode.MARK_SENSOR_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] 마크센서가 감지되지 않습니다", eECode.MARK_SENSOR_FAIL);
}
PUB.sm.UpdateRunStepSeq();
return false;
@@ -56,12 +51,7 @@ namespace Project
//가지러가야하는 경우이므로 카트가 없어야한다.
if (PUB.AGV.signal2.cart_detect1 || PUB.AGV.signal2.cart_detect2)
{
- var errmsg = $"[{funcname}] 카트가 존재하여 진입을 할 수 없습니다";
- PUB.AGV.AGVMoveStop(errmsg);
- PUB.log.AddE(errmsg);
- PUB._mapCanvas.SetAlertMessage(errmsg);
- PUB.Result.RunStepErrorCode = eECode.CART_EXIST;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] 카트가 존재하여 진입을 할 수 없습니다", eECode.CART_EXIST);
return false;
}
}
@@ -71,22 +61,14 @@ namespace Project
if (PUB.AGV.signal2.cart_detect1 == false || PUB.AGV.signal2.cart_detect2 == false)
{
var errmsg = $"[{funcname}] 카트감지센서가 인식되지 않았습니다";
- PUB.AGV.AGVMoveStop(errmsg);
- PUB.log.AddE(errmsg);
- PUB._mapCanvas.SetAlertMessage(errmsg);
- PUB.Result.RunStepErrorCode = eECode.CART_EXIST;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError(errmsg, eECode.CART_EXIST);
return false;
}
}
else
{
var errmsg = $"[{funcname}] 알수없는 작업형태입니다({PUB.NextWorkCmd})";
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE(errmsg);
- PUB._mapCanvas.SetAlertMessage(errmsg);
- PUB.Result.RunStepErrorCode = eECode.NOMODELV; // Unknown work command
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError(errmsg, eECode.NOMODELV);
return false;
}
@@ -111,11 +93,7 @@ namespace Project
if (ts.TotalSeconds > 10)
{
var errmsg = $"[{funcname}] 리프트다운이 확인되지 않습니다";
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE(errmsg);
- PUB._mapCanvas.SetAlertMessage(errmsg);
- PUB.Result.RunStepErrorCode = eECode.LIFT_ERROR;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError(errmsg, eECode.LIFT_ERROR);
}
return false;
}
@@ -141,11 +119,7 @@ namespace Project
{
if (ret >= arDev.eNarumiCommandResult.Error)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("AGV속도설정이 완료되지 않았습니다");
- PUB._mapCanvas.SetAlertMessage("agv 속도 설정 실패");
- PUB.Result.RunStepErrorCode = eECode.AGV_SPEED_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("AGV속도설정이 완료되지 않았습니다", eECode.AGV_SPEED_SET_FAIL);
}
return false;
}
@@ -169,11 +143,7 @@ namespace Project
if (seqTime.TotalMilliseconds > 1000)
{
//구동이확인되지 않으면 오류처리를 한다.
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("AGV속도설정이 완료되지 않았습니다");
- PUB._mapCanvas.SetAlertMessage("agv 속도 설정 실패");
- PUB.Result.RunStepErrorCode = eECode.AGV_SPEED_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("AGV 구동이 확인되지 않습니다", eECode.AGV_RUN_FAIL);
}
return false;
}
@@ -189,11 +159,7 @@ namespace Project
{
if (seqTime.TotalMilliseconds > 3000)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("MARK STOP신호가 확인되지 않습니다");
- PUB._mapCanvas.SetAlertMessage("mark stop 신호 확인 불가");
- PUB.Result.RunStepErrorCode = eECode.MARK_TIMEOUT;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("MARK STOP신호가 확인되지 않습니다", eECode.MARK_TIMEOUT);
}
return false;
}
@@ -207,11 +173,7 @@ namespace Project
{
if (seqTime.TotalSeconds > 10)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("AGV가 멈추지 않아 강제종료 합니다");
- PUB._mapCanvas.SetAlertMessage("agv 가 멈추지 않아 강제 종료");
- PUB.Result.RunStepErrorCode = eECode.AGV_STOP_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("AGV가 멈추지 않아 강제종료 합니다", eECode.AGV_STOP_FAIL);
}
return false;
}
@@ -226,11 +188,7 @@ namespace Project
{
if (seqTime.TotalSeconds > 5)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("마크센서가 감지되지 않았습니다");
- PUB._mapCanvas.SetAlertMessage("마크센서가 감지되지 않았습니다");
- PUB.Result.RunStepErrorCode = eECode.MARK_SENSOR_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("마크센서가 감지되지 않았습니다", eECode.MARK_SENSOR_FAIL);
}
return false;
}
diff --git a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_EXIT.cs b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_EXIT.cs
index e8a0cd8..cd1e0ef 100644
--- a/Cs_HMI/Project/StateMachine/Step/_SM_RUN_EXIT.cs
+++ b/Cs_HMI/Project/StateMachine/Step/_SM_RUN_EXIT.cs
@@ -65,12 +65,7 @@ namespace Project
var ts = VAR.TIME.RUN(eVarTime.LastTurnCommandTime);
if (ts.TotalSeconds > 10)
{
- var errmsg = $"[{funcname}] 리프트({liftCmd})이 확인되지 않습니다";
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE(errmsg);
- PUB._mapCanvas.SetAlertMessage(errmsg);
- PUB.Result.RunStepErrorCode = eECode.LIFT_ERROR;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] 리프트({liftCmd})이 확인되지 않습니다", eECode.LIFT_ERROR);
}
return false;
}
@@ -94,11 +89,7 @@ namespace Project
{
if (ret >= arDev.eNarumiCommandResult.Error)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE($"[{funcname}] AGV속도설정이 완료되지 않았습니다");
- PUB._mapCanvas.SetAlertMessage("agv 속도 설정 실패");
- PUB.Result.RunStepErrorCode = eECode.AGV_SPEED_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"[{funcname}] AGV속도설정이 완료되지 않았습니다", eECode.AGV_SPEED_SET_FAIL);
}
return false;
}
@@ -121,11 +112,7 @@ namespace Project
if (seqTime.TotalMilliseconds > 1000)
{
//구동이확인되지 않으면 오류처리를 한다.
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("AGV속도설정이 완료되지 않았습니다");
- PUB._mapCanvas.SetAlertMessage("agv 속도 설정 실패");
- PUB.Result.RunStepErrorCode = eECode.AGV_SPEED_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("AGV 구동이 확인되지 않습니다", eECode.AGV_RUN_FAIL);
}
return false;
}
@@ -141,11 +128,7 @@ namespace Project
{
if (seqTime.TotalMilliseconds > 3000)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("MARK STOP신호가 확인되지 않습니다");
- PUB._mapCanvas.SetAlertMessage("mark stop 신호 확인 불가");
- PUB.Result.RunStepErrorCode = eECode.MARK_TIMEOUT;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("MARK STOP신호가 확인되지 않습니다", eECode.MARK_TIMEOUT);
}
return false;
}
@@ -159,11 +142,7 @@ namespace Project
{
if (seqTime.TotalSeconds > 10)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("AGV가 멈추지 않아 강제종료 합니다");
- PUB._mapCanvas.SetAlertMessage("agv 가 멈추지 않아 강제 종료");
- PUB.Result.RunStepErrorCode = eECode.AGV_STOP_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("AGV가 멈추지 않아 강제종료 합니다", eECode.AGV_STOP_FAIL);
}
return false;
}
@@ -177,11 +156,7 @@ namespace Project
{
if (seqTime.TotalSeconds > 5)
{
- PUB.AGV.AGVMoveStop(funcname);
- PUB.log.AddE("마크센서가 감지되지 않았습니다");
- PUB._mapCanvas.SetAlertMessage("마크센서가 감지되지 않았습니다");
- PUB.Result.RunStepErrorCode = eECode.MARK_SENSOR_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError("마크센서가 감지되지 않았습니다", eECode.MARK_SENSOR_FAIL);
}
return false;
}
diff --git a/Cs_HMI/Project/StateMachine/Step/_Util.cs b/Cs_HMI/Project/StateMachine/Step/_Util.cs
index 801bea8..e610927 100644
--- a/Cs_HMI/Project/StateMachine/Step/_Util.cs
+++ b/Cs_HMI/Project/StateMachine/Step/_Util.cs
@@ -45,10 +45,11 @@ namespace Project
///
///
///
- public void SetRunStepError(string ermsg, eECode ecode)
+ public void SetRunStepError(string errmsg, eECode ecode)
{
- PUB.log.AddE(ermsg);
- PUB._mapCanvas.SetAlertMessage(ermsg);
+ PUB.AGV.AGVMoveStop(errmsg);
+ PUB.log.AddE(errmsg);
+ PUB._mapCanvas.SetAlertMessage(errmsg);
PUB.Result.RunStepErrorCode = ecode;
PUB.sm.SetNewRunStep(ERunStep.ERROR);
}
@@ -151,10 +152,7 @@ namespace Project
VAR.I32[eVarInt32.PathValidationError] += 1;
if (VAR.I32[eVarInt32.PathValidationError] > 50)
{
- PUB.log.AddE($"연속 경로 무결성 오류로 인해 중지 합니다");
- PUB._mapCanvas.SetAlertMessage($"연속 경로 무결성 오류로 인해 중지 합니다");
- PUB.Result.RunStepErrorCode = eECode.PATH_INTEGRITY_FAIL;
- PUB.sm.SetNewRunStep(ERunStep.ERROR);
+ SetRunStepError($"연속 경로 무결성 오류로 인해 중지 합니다", eECode.PATH_INTEGRITY_FAIL);
}
return false;
}
diff --git a/Cs_HMI/Project/fSetup.Designer.cs b/Cs_HMI/Project/fSetup.Designer.cs
index 755c1e1..a607982 100644
--- a/Cs_HMI/Project/fSetup.Designer.cs
+++ b/Cs_HMI/Project/fSetup.Designer.cs
@@ -35,9 +35,9 @@
this.tabPage6 = new System.Windows.Forms.TabPage();
this.panel1 = new System.Windows.Forms.Panel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
- this.btMusic = new arCtl.arLabel();
this.btAutoCharge = new arCtl.arLabel();
this.btSpeaker = new arCtl.arLabel();
+ this.btMusic = new arCtl.arLabel();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.button8 = new System.Windows.Forms.Button();
this.vcGDS = new AGVControl.ValueSelect();
@@ -133,39 +133,6 @@
this.vcChargeMaxTime = new AGVControl.ValueSelect();
this.vcChargeRetryTerm = new AGVControl.ValueSelect();
this.vcChargeSearchTime = new AGVControl.ValueSelect();
- this.tabPage5 = new System.Windows.Forms.TabPage();
- this.label54 = new System.Windows.Forms.Label();
- this.vcTagF5A = new AGVControl.ValueSelect();
- this.vcTagF5B = new AGVControl.ValueSelect();
- this.vcTagF4F5 = new AGVControl.ValueSelect();
- this.vcTagQAA = new AGVControl.ValueSelect();
- this.vcTagQAB = new AGVControl.ValueSelect();
- this.label17 = new System.Windows.Forms.Label();
- this.button4 = new System.Windows.Forms.Button();
- this.label49 = new System.Windows.Forms.Label();
- this.label53 = new System.Windows.Forms.Label();
- this.label47 = new System.Windows.Forms.Label();
- this.label48 = new System.Windows.Forms.Label();
- this.label51 = new System.Windows.Forms.Label();
- this.label46 = new System.Windows.Forms.Label();
- this.label45 = new System.Windows.Forms.Label();
- this.vcTagQAQC = new AGVControl.ValueSelect();
- this.vcTagF3F4 = new AGVControl.ValueSelect();
- this.vcTagF2F3 = new AGVControl.ValueSelect();
- this.vcTagF1A = new AGVControl.ValueSelect();
- this.vcTagF1B = new AGVControl.ValueSelect();
- this.vcTagF3A = new AGVControl.ValueSelect();
- this.vcTagQCA = new AGVControl.ValueSelect();
- this.vcTagF3B = new AGVControl.ValueSelect();
- this.vcTagF2A = new AGVControl.ValueSelect();
- this.vcTagQCB = new AGVControl.ValueSelect();
- this.vcTagF4A = new AGVControl.ValueSelect();
- this.vcTagF1F2 = new AGVControl.ValueSelect();
- this.vcTagF2B = new AGVControl.ValueSelect();
- this.vcTagF4B = new AGVControl.ValueSelect();
- this.vcTagQCF1 = new AGVControl.ValueSelect();
- this.vcTagPOT = new AGVControl.ValueSelect();
- this.vcTagNOT = new AGVControl.ValueSelect();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.chkClearPos = new System.Windows.Forms.CheckBox();
@@ -198,7 +165,6 @@
this.label8 = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.bt5 = new arCtl.arLabel();
- this.bt4 = new arCtl.arLabel();
this.bt3 = new arCtl.arLabel();
this.bt2 = new arCtl.arLabel();
this.bt1 = new arCtl.arLabel();
@@ -211,7 +177,6 @@
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
- this.tabPage5.SuspendLayout();
this.tabPage4.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox1.SuspendLayout();
@@ -242,7 +207,6 @@
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
- this.tabControl1.Controls.Add(this.tabPage5);
this.tabControl1.Controls.Add(this.tabPage4);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(5, 142);
@@ -291,52 +255,6 @@
this.tableLayoutPanel1.Size = new System.Drawing.Size(1227, 550);
this.tableLayoutPanel1.TabIndex = 24;
//
- // btMusic
- //
- this.btMusic.BackColor = System.Drawing.Color.Lime;
- this.btMusic.BackColor2 = System.Drawing.Color.Green;
- this.btMusic.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
- this.btMusic.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
- this.btMusic.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(150)))), ((int)(((byte)(152)))));
- this.btMusic.BorderSize = new System.Windows.Forms.Padding(2);
- this.btMusic.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
- this.btMusic.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btMusic.Dock = System.Windows.Forms.DockStyle.Fill;
- this.btMusic.Font = new System.Drawing.Font("맑은 고딕", 80F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btMusic.ForeColor = System.Drawing.Color.White;
- this.btMusic.GradientEnable = true;
- this.btMusic.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
- this.btMusic.GradientRepeatBG = false;
- this.btMusic.isButton = true;
- this.btMusic.Location = new System.Drawing.Point(3, 278);
- this.btMusic.MouseDownColor = System.Drawing.Color.Yellow;
- this.btMusic.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.btMusic.msg = null;
- this.btMusic.Name = "btMusic";
- this.btMusic.ProgressBorderColor = System.Drawing.Color.Black;
- this.btMusic.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
- this.btMusic.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
- this.btMusic.ProgressEnable = false;
- this.btMusic.ProgressFont = new System.Drawing.Font("Consolas", 10F);
- this.btMusic.ProgressForeColor = System.Drawing.Color.Black;
- this.btMusic.ProgressMax = 100F;
- this.btMusic.ProgressMin = 0F;
- this.btMusic.ProgressPadding = new System.Windows.Forms.Padding(0);
- this.btMusic.ProgressValue = 0F;
- this.btMusic.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
- this.btMusic.Sign = "";
- this.btMusic.SignAlign = System.Drawing.ContentAlignment.BottomRight;
- this.btMusic.SignColor = System.Drawing.Color.Yellow;
- this.btMusic.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
- this.btMusic.Size = new System.Drawing.Size(607, 269);
- this.btMusic.TabIndex = 23;
- this.btMusic.Tag = "2";
- this.btMusic.Text = "배경음악";
- this.btMusic.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.btMusic.TextShadow = true;
- this.btMusic.TextVisible = true;
- this.btMusic.Click += new System.EventHandler(this.btMagnet_Click);
- //
// btAutoCharge
//
this.btAutoCharge.BackColor = System.Drawing.Color.Lime;
@@ -429,6 +347,52 @@
this.btSpeaker.TextVisible = true;
this.btSpeaker.Click += new System.EventHandler(this.btMagnet_Click);
//
+ // btMusic
+ //
+ this.btMusic.BackColor = System.Drawing.Color.Lime;
+ this.btMusic.BackColor2 = System.Drawing.Color.Green;
+ this.btMusic.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
+ this.btMusic.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
+ this.btMusic.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(150)))), ((int)(((byte)(152)))));
+ this.btMusic.BorderSize = new System.Windows.Forms.Padding(2);
+ this.btMusic.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
+ this.btMusic.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btMusic.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.btMusic.Font = new System.Drawing.Font("맑은 고딕", 80F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btMusic.ForeColor = System.Drawing.Color.White;
+ this.btMusic.GradientEnable = true;
+ this.btMusic.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
+ this.btMusic.GradientRepeatBG = false;
+ this.btMusic.isButton = true;
+ this.btMusic.Location = new System.Drawing.Point(3, 278);
+ this.btMusic.MouseDownColor = System.Drawing.Color.Yellow;
+ this.btMusic.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.btMusic.msg = null;
+ this.btMusic.Name = "btMusic";
+ this.btMusic.ProgressBorderColor = System.Drawing.Color.Black;
+ this.btMusic.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
+ this.btMusic.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
+ this.btMusic.ProgressEnable = false;
+ this.btMusic.ProgressFont = new System.Drawing.Font("Consolas", 10F);
+ this.btMusic.ProgressForeColor = System.Drawing.Color.Black;
+ this.btMusic.ProgressMax = 100F;
+ this.btMusic.ProgressMin = 0F;
+ this.btMusic.ProgressPadding = new System.Windows.Forms.Padding(0);
+ this.btMusic.ProgressValue = 0F;
+ this.btMusic.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
+ this.btMusic.Sign = "";
+ this.btMusic.SignAlign = System.Drawing.ContentAlignment.BottomRight;
+ this.btMusic.SignColor = System.Drawing.Color.Yellow;
+ this.btMusic.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
+ this.btMusic.Size = new System.Drawing.Size(607, 269);
+ this.btMusic.TabIndex = 23;
+ this.btMusic.Tag = "2";
+ this.btMusic.Text = "배경음악";
+ this.btMusic.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.btMusic.TextShadow = true;
+ this.btMusic.TextVisible = true;
+ this.btMusic.Click += new System.EventHandler(this.btMagnet_Click);
+ //
// tabPage1
//
this.tabPage1.BackColor = System.Drawing.Color.Navy;
@@ -1329,7 +1293,7 @@
this.tabPage2.Location = new System.Drawing.Point(4, 4);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage2.Size = new System.Drawing.Size(1244, 590);
+ this.tabPage2.Size = new System.Drawing.Size(1244, 570);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "통신";
//
@@ -1594,7 +1558,7 @@
this.tabPage3.Font = new System.Drawing.Font("궁서체", 18F, System.Drawing.FontStyle.Bold);
this.tabPage3.Location = new System.Drawing.Point(4, 4);
this.tabPage3.Name = "tabPage3";
- this.tabPage3.Size = new System.Drawing.Size(1244, 590);
+ this.tabPage3.Size = new System.Drawing.Size(1244, 570);
this.tabPage3.TabIndex = 4;
this.tabPage3.Text = "충전";
//
@@ -2031,671 +1995,6 @@
this.vcChargeSearchTime.Value = 120D;
this.vcChargeSearchTime.ValueChanged += new System.EventHandler(this.vcChargeLow_ValueChanged);
//
- // tabPage5
- //
- this.tabPage5.BackColor = System.Drawing.Color.Orange;
- this.tabPage5.Controls.Add(this.label54);
- this.tabPage5.Controls.Add(this.vcTagF5A);
- this.tabPage5.Controls.Add(this.vcTagF5B);
- this.tabPage5.Controls.Add(this.vcTagF4F5);
- this.tabPage5.Controls.Add(this.vcTagQAA);
- this.tabPage5.Controls.Add(this.vcTagQAB);
- this.tabPage5.Controls.Add(this.label17);
- this.tabPage5.Controls.Add(this.button4);
- this.tabPage5.Controls.Add(this.label49);
- this.tabPage5.Controls.Add(this.label53);
- this.tabPage5.Controls.Add(this.label47);
- this.tabPage5.Controls.Add(this.label48);
- this.tabPage5.Controls.Add(this.label51);
- this.tabPage5.Controls.Add(this.label46);
- this.tabPage5.Controls.Add(this.label45);
- this.tabPage5.Controls.Add(this.vcTagQAQC);
- this.tabPage5.Controls.Add(this.vcTagF3F4);
- this.tabPage5.Controls.Add(this.vcTagF2F3);
- this.tabPage5.Controls.Add(this.vcTagF1A);
- this.tabPage5.Controls.Add(this.vcTagF1B);
- this.tabPage5.Controls.Add(this.vcTagF3A);
- this.tabPage5.Controls.Add(this.vcTagQCA);
- this.tabPage5.Controls.Add(this.vcTagF3B);
- this.tabPage5.Controls.Add(this.vcTagF2A);
- this.tabPage5.Controls.Add(this.vcTagQCB);
- this.tabPage5.Controls.Add(this.vcTagF4A);
- this.tabPage5.Controls.Add(this.vcTagF1F2);
- this.tabPage5.Controls.Add(this.vcTagF2B);
- this.tabPage5.Controls.Add(this.vcTagF4B);
- this.tabPage5.Controls.Add(this.vcTagQCF1);
- this.tabPage5.Controls.Add(this.vcTagPOT);
- this.tabPage5.Controls.Add(this.vcTagNOT);
- this.tabPage5.Location = new System.Drawing.Point(4, 4);
- this.tabPage5.Name = "tabPage5";
- this.tabPage5.Size = new System.Drawing.Size(1244, 590);
- this.tabPage5.TabIndex = 5;
- this.tabPage5.Text = "TAG";
- //
- // label54
- //
- this.label54.AutoSize = true;
- this.label54.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label54.ForeColor = System.Drawing.Color.Black;
- this.label54.Location = new System.Drawing.Point(220, 535);
- this.label54.Name = "label54";
- this.label54.Size = new System.Drawing.Size(102, 27);
- this.label54.TabIndex = 80;
- this.label54.Text = "FVI #5";
- //
- // vcTagF5A
- //
- this.vcTagF5A.BackColorButton = System.Drawing.Color.White;
- this.vcTagF5A.ButtonWidth = "30";
- this.vcTagF5A.ColorBorder = System.Drawing.Color.White;
- this.vcTagF5A.DecimalPosition = ((ushort)(0));
- this.vcTagF5A.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF5A.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF5A.ForeColor = System.Drawing.Color.Black;
- this.vcTagF5A.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF5A.Location = new System.Drawing.Point(324, 529);
- this.vcTagF5A.MaxValue = 99999D;
- this.vcTagF5A.MinValue = 0D;
- this.vcTagF5A.Name = "vcTagF5A";
- this.vcTagF5A.NullDisplay = "--";
- this.vcTagF5A.SideButtonClickValue = 3D;
- this.vcTagF5A.Size = new System.Drawing.Size(197, 37);
- this.vcTagF5A.TabIndex = 82;
- this.vcTagF5A.Tag = "";
- this.vcTagF5A.Text = "9701";
- this.vcTagF5A.Value = 9701D;
- this.vcTagF5A.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF5B
- //
- this.vcTagF5B.BackColorButton = System.Drawing.Color.White;
- this.vcTagF5B.ButtonWidth = "30";
- this.vcTagF5B.ColorBorder = System.Drawing.Color.White;
- this.vcTagF5B.DecimalPosition = ((ushort)(0));
- this.vcTagF5B.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF5B.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF5B.ForeColor = System.Drawing.Color.Black;
- this.vcTagF5B.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF5B.Location = new System.Drawing.Point(19, 529);
- this.vcTagF5B.MaxValue = 99999D;
- this.vcTagF5B.MinValue = 0D;
- this.vcTagF5B.Name = "vcTagF5B";
- this.vcTagF5B.NullDisplay = "--";
- this.vcTagF5B.SideButtonClickValue = 3D;
- this.vcTagF5B.Size = new System.Drawing.Size(197, 37);
- this.vcTagF5B.TabIndex = 81;
- this.vcTagF5B.Tag = "";
- this.vcTagF5B.Text = "9700";
- this.vcTagF5B.Value = 9700D;
- this.vcTagF5B.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF4F5
- //
- this.vcTagF4F5.BackColor = System.Drawing.Color.Purple;
- this.vcTagF4F5.BackColorButton = System.Drawing.Color.White;
- this.vcTagF4F5.ButtonWidth = "30";
- this.vcTagF4F5.ColorBorder = System.Drawing.Color.White;
- this.vcTagF4F5.DecimalPosition = ((ushort)(0));
- this.vcTagF4F5.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF4F5.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF4F5.ForeColor = System.Drawing.Color.LightGray;
- this.vcTagF4F5.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF4F5.Location = new System.Drawing.Point(19, 485);
- this.vcTagF4F5.MaxValue = 99999D;
- this.vcTagF4F5.MinValue = 0D;
- this.vcTagF4F5.Name = "vcTagF4F5";
- this.vcTagF4F5.NullDisplay = "--";
- this.vcTagF4F5.SideButtonClickValue = 3D;
- this.vcTagF4F5.Size = new System.Drawing.Size(502, 37);
- this.vcTagF4F5.TabIndex = 79;
- this.vcTagF4F5.Tag = "";
- this.vcTagF4F5.Text = "9750";
- this.vcTagF4F5.Value = 9750D;
- this.vcTagF4F5.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagQAA
- //
- this.vcTagQAA.BackColorButton = System.Drawing.Color.White;
- this.vcTagQAA.ButtonWidth = "30";
- this.vcTagQAA.ColorBorder = System.Drawing.Color.White;
- this.vcTagQAA.DecimalPosition = ((ushort)(0));
- this.vcTagQAA.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagQAA.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagQAA.ForeColor = System.Drawing.Color.Black;
- this.vcTagQAA.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagQAA.Location = new System.Drawing.Point(324, 21);
- this.vcTagQAA.MaxValue = 99999D;
- this.vcTagQAA.MinValue = 0D;
- this.vcTagQAA.Name = "vcTagQAA";
- this.vcTagQAA.NullDisplay = "--";
- this.vcTagQAA.SideButtonClickValue = 3D;
- this.vcTagQAA.Size = new System.Drawing.Size(197, 37);
- this.vcTagQAA.TabIndex = 78;
- this.vcTagQAA.Tag = "";
- this.vcTagQAA.Text = "9201";
- this.vcTagQAA.Value = 9201D;
- this.vcTagQAA.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagQAB
- //
- this.vcTagQAB.BackColorButton = System.Drawing.Color.White;
- this.vcTagQAB.ButtonWidth = "30";
- this.vcTagQAB.ColorBorder = System.Drawing.Color.White;
- this.vcTagQAB.DecimalPosition = ((ushort)(0));
- this.vcTagQAB.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagQAB.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagQAB.ForeColor = System.Drawing.Color.Black;
- this.vcTagQAB.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagQAB.Location = new System.Drawing.Point(19, 21);
- this.vcTagQAB.MaxValue = 99999D;
- this.vcTagQAB.MinValue = 0D;
- this.vcTagQAB.Name = "vcTagQAB";
- this.vcTagQAB.NullDisplay = "--";
- this.vcTagQAB.SideButtonClickValue = 3D;
- this.vcTagQAB.Size = new System.Drawing.Size(197, 37);
- this.vcTagQAB.TabIndex = 76;
- this.vcTagQAB.Tag = "";
- this.vcTagQAB.Text = "9200";
- this.vcTagQAB.Value = 9200D;
- this.vcTagQAB.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label17.ForeColor = System.Drawing.Color.Black;
- this.label17.Location = new System.Drawing.Point(250, 27);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(42, 27);
- this.label17.TabIndex = 75;
- this.label17.Text = "QA";
- //
- // button4
- //
- this.button4.Font = new System.Drawing.Font("맑은 고딕", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- this.button4.Location = new System.Drawing.Point(1043, 6);
- this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(195, 108);
- this.button4.TabIndex = 74;
- this.button4.Text = "기본값";
- this.button4.UseVisualStyleBackColor = true;
- this.button4.Click += new System.EventHandler(this.button4_Click);
- //
- // label49
- //
- this.label49.AutoSize = true;
- this.label49.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label49.ForeColor = System.Drawing.Color.Black;
- this.label49.Location = new System.Drawing.Point(220, 197);
- this.label49.Name = "label49";
- this.label49.Size = new System.Drawing.Size(102, 27);
- this.label49.TabIndex = 67;
- this.label49.Text = "FVI #1";
- //
- // label53
- //
- this.label53.AutoSize = true;
- this.label53.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label53.ForeColor = System.Drawing.Color.Black;
- this.label53.Location = new System.Drawing.Point(220, 362);
- this.label53.Name = "label53";
- this.label53.Size = new System.Drawing.Size(102, 27);
- this.label53.TabIndex = 67;
- this.label53.Text = "FVI #3";
- //
- // label47
- //
- this.label47.AutoSize = true;
- this.label47.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label47.ForeColor = System.Drawing.Color.Black;
- this.label47.Location = new System.Drawing.Point(250, 113);
- this.label47.Name = "label47";
- this.label47.Size = new System.Drawing.Size(42, 27);
- this.label47.TabIndex = 67;
- this.label47.Text = "QC";
- //
- // label48
- //
- this.label48.AutoSize = true;
- this.label48.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label48.ForeColor = System.Drawing.Color.Black;
- this.label48.Location = new System.Drawing.Point(220, 277);
- this.label48.Name = "label48";
- this.label48.Size = new System.Drawing.Size(102, 27);
- this.label48.TabIndex = 67;
- this.label48.Text = "FVI #2";
- //
- // label51
- //
- this.label51.AutoSize = true;
- this.label51.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label51.ForeColor = System.Drawing.Color.Black;
- this.label51.Location = new System.Drawing.Point(220, 448);
- this.label51.Name = "label51";
- this.label51.Size = new System.Drawing.Size(102, 27);
- this.label51.TabIndex = 67;
- this.label51.Text = "FVI #4";
- //
- // label46
- //
- this.label46.AutoSize = true;
- this.label46.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label46.ForeColor = System.Drawing.Color.Black;
- this.label46.Location = new System.Drawing.Point(760, 65);
- this.label46.Name = "label46";
- this.label46.Size = new System.Drawing.Size(57, 27);
- this.label46.TabIndex = 61;
- this.label46.Text = "POT";
- //
- // label45
- //
- this.label45.AutoSize = true;
- this.label45.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.label45.ForeColor = System.Drawing.Color.Black;
- this.label45.Location = new System.Drawing.Point(760, 31);
- this.label45.Name = "label45";
- this.label45.Size = new System.Drawing.Size(57, 27);
- this.label45.TabIndex = 59;
- this.label45.Text = "NOT";
- //
- // vcTagQAQC
- //
- this.vcTagQAQC.BackColor = System.Drawing.Color.Purple;
- this.vcTagQAQC.BackColorButton = System.Drawing.Color.White;
- this.vcTagQAQC.ButtonWidth = "30";
- this.vcTagQAQC.ColorBorder = System.Drawing.Color.White;
- this.vcTagQAQC.DecimalPosition = ((ushort)(0));
- this.vcTagQAQC.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagQAQC.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagQAQC.ForeColor = System.Drawing.Color.LightGray;
- this.vcTagQAQC.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagQAQC.Location = new System.Drawing.Point(19, 64);
- this.vcTagQAQC.MaxValue = 99999D;
- this.vcTagQAQC.MinValue = 0D;
- this.vcTagQAQC.Name = "vcTagQAQC";
- this.vcTagQAQC.NullDisplay = "--";
- this.vcTagQAQC.SideButtonClickValue = 3D;
- this.vcTagQAQC.Size = new System.Drawing.Size(502, 37);
- this.vcTagQAQC.TabIndex = 77;
- this.vcTagQAQC.Tag = "";
- this.vcTagQAQC.Text = "9250";
- this.vcTagQAQC.Value = 9250D;
- this.vcTagQAQC.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF3F4
- //
- this.vcTagF3F4.BackColor = System.Drawing.Color.Purple;
- this.vcTagF3F4.BackColorButton = System.Drawing.Color.White;
- this.vcTagF3F4.ButtonWidth = "30";
- this.vcTagF3F4.ColorBorder = System.Drawing.Color.White;
- this.vcTagF3F4.DecimalPosition = ((ushort)(0));
- this.vcTagF3F4.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF3F4.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF3F4.ForeColor = System.Drawing.Color.LightGray;
- this.vcTagF3F4.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF3F4.Location = new System.Drawing.Point(19, 399);
- this.vcTagF3F4.MaxValue = 99999D;
- this.vcTagF3F4.MinValue = 0D;
- this.vcTagF3F4.Name = "vcTagF3F4";
- this.vcTagF3F4.NullDisplay = "--";
- this.vcTagF3F4.SideButtonClickValue = 3D;
- this.vcTagF3F4.Size = new System.Drawing.Size(502, 37);
- this.vcTagF3F4.TabIndex = 73;
- this.vcTagF3F4.Tag = "";
- this.vcTagF3F4.Text = "9650";
- this.vcTagF3F4.Value = 9650D;
- this.vcTagF3F4.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF2F3
- //
- this.vcTagF2F3.BackColor = System.Drawing.Color.Purple;
- this.vcTagF2F3.BackColorButton = System.Drawing.Color.White;
- this.vcTagF2F3.ButtonWidth = "30";
- this.vcTagF2F3.ColorBorder = System.Drawing.Color.White;
- this.vcTagF2F3.DecimalPosition = ((ushort)(0));
- this.vcTagF2F3.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF2F3.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF2F3.ForeColor = System.Drawing.Color.LightGray;
- this.vcTagF2F3.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF2F3.Location = new System.Drawing.Point(19, 313);
- this.vcTagF2F3.MaxValue = 99999D;
- this.vcTagF2F3.MinValue = 0D;
- this.vcTagF2F3.Name = "vcTagF2F3";
- this.vcTagF2F3.NullDisplay = "--";
- this.vcTagF2F3.SideButtonClickValue = 3D;
- this.vcTagF2F3.Size = new System.Drawing.Size(502, 37);
- this.vcTagF2F3.TabIndex = 72;
- this.vcTagF2F3.Tag = "";
- this.vcTagF2F3.Text = "9550";
- this.vcTagF2F3.Value = 9550D;
- this.vcTagF2F3.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF1A
- //
- this.vcTagF1A.BackColorButton = System.Drawing.Color.White;
- this.vcTagF1A.ButtonWidth = "30";
- this.vcTagF1A.ColorBorder = System.Drawing.Color.White;
- this.vcTagF1A.DecimalPosition = ((ushort)(0));
- this.vcTagF1A.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF1A.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF1A.ForeColor = System.Drawing.Color.Black;
- this.vcTagF1A.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF1A.Location = new System.Drawing.Point(324, 191);
- this.vcTagF1A.MaxValue = 99999D;
- this.vcTagF1A.MinValue = 0D;
- this.vcTagF1A.Name = "vcTagF1A";
- this.vcTagF1A.NullDisplay = "--";
- this.vcTagF1A.SideButtonClickValue = 3D;
- this.vcTagF1A.Size = new System.Drawing.Size(197, 37);
- this.vcTagF1A.TabIndex = 70;
- this.vcTagF1A.Tag = "";
- this.vcTagF1A.Text = "9401";
- this.vcTagF1A.Value = 9401D;
- this.vcTagF1A.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF1B
- //
- this.vcTagF1B.BackColorButton = System.Drawing.Color.White;
- this.vcTagF1B.ButtonWidth = "30";
- this.vcTagF1B.ColorBorder = System.Drawing.Color.White;
- this.vcTagF1B.DecimalPosition = ((ushort)(0));
- this.vcTagF1B.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF1B.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF1B.ForeColor = System.Drawing.Color.Black;
- this.vcTagF1B.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF1B.Location = new System.Drawing.Point(19, 191);
- this.vcTagF1B.MaxValue = 99999D;
- this.vcTagF1B.MinValue = 0D;
- this.vcTagF1B.Name = "vcTagF1B";
- this.vcTagF1B.NullDisplay = "--";
- this.vcTagF1B.SideButtonClickValue = 3D;
- this.vcTagF1B.Size = new System.Drawing.Size(197, 37);
- this.vcTagF1B.TabIndex = 68;
- this.vcTagF1B.Tag = "";
- this.vcTagF1B.Text = "9400";
- this.vcTagF1B.Value = 9400D;
- this.vcTagF1B.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF3A
- //
- this.vcTagF3A.BackColorButton = System.Drawing.Color.White;
- this.vcTagF3A.ButtonWidth = "30";
- this.vcTagF3A.ColorBorder = System.Drawing.Color.White;
- this.vcTagF3A.DecimalPosition = ((ushort)(0));
- this.vcTagF3A.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF3A.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF3A.ForeColor = System.Drawing.Color.Black;
- this.vcTagF3A.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF3A.Location = new System.Drawing.Point(324, 356);
- this.vcTagF3A.MaxValue = 99999D;
- this.vcTagF3A.MinValue = 0D;
- this.vcTagF3A.Name = "vcTagF3A";
- this.vcTagF3A.NullDisplay = "--";
- this.vcTagF3A.SideButtonClickValue = 3D;
- this.vcTagF3A.Size = new System.Drawing.Size(197, 37);
- this.vcTagF3A.TabIndex = 70;
- this.vcTagF3A.Tag = "";
- this.vcTagF3A.Text = "9601";
- this.vcTagF3A.Value = 9601D;
- this.vcTagF3A.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagQCA
- //
- this.vcTagQCA.BackColorButton = System.Drawing.Color.White;
- this.vcTagQCA.ButtonWidth = "30";
- this.vcTagQCA.ColorBorder = System.Drawing.Color.White;
- this.vcTagQCA.DecimalPosition = ((ushort)(0));
- this.vcTagQCA.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagQCA.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagQCA.ForeColor = System.Drawing.Color.Black;
- this.vcTagQCA.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagQCA.Location = new System.Drawing.Point(324, 107);
- this.vcTagQCA.MaxValue = 99999D;
- this.vcTagQCA.MinValue = 0D;
- this.vcTagQCA.Name = "vcTagQCA";
- this.vcTagQCA.NullDisplay = "--";
- this.vcTagQCA.SideButtonClickValue = 3D;
- this.vcTagQCA.Size = new System.Drawing.Size(197, 37);
- this.vcTagQCA.TabIndex = 70;
- this.vcTagQCA.Tag = "";
- this.vcTagQCA.Text = "9301";
- this.vcTagQCA.Value = 9301D;
- this.vcTagQCA.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF3B
- //
- this.vcTagF3B.BackColorButton = System.Drawing.Color.White;
- this.vcTagF3B.ButtonWidth = "30";
- this.vcTagF3B.ColorBorder = System.Drawing.Color.White;
- this.vcTagF3B.DecimalPosition = ((ushort)(0));
- this.vcTagF3B.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF3B.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF3B.ForeColor = System.Drawing.Color.Black;
- this.vcTagF3B.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF3B.Location = new System.Drawing.Point(19, 356);
- this.vcTagF3B.MaxValue = 99999D;
- this.vcTagF3B.MinValue = 0D;
- this.vcTagF3B.Name = "vcTagF3B";
- this.vcTagF3B.NullDisplay = "--";
- this.vcTagF3B.SideButtonClickValue = 3D;
- this.vcTagF3B.Size = new System.Drawing.Size(197, 37);
- this.vcTagF3B.TabIndex = 68;
- this.vcTagF3B.Tag = "";
- this.vcTagF3B.Text = "9600";
- this.vcTagF3B.Value = 9600D;
- this.vcTagF3B.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF2A
- //
- this.vcTagF2A.BackColorButton = System.Drawing.Color.White;
- this.vcTagF2A.ButtonWidth = "30";
- this.vcTagF2A.ColorBorder = System.Drawing.Color.White;
- this.vcTagF2A.DecimalPosition = ((ushort)(0));
- this.vcTagF2A.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF2A.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF2A.ForeColor = System.Drawing.Color.Black;
- this.vcTagF2A.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF2A.Location = new System.Drawing.Point(324, 271);
- this.vcTagF2A.MaxValue = 99999D;
- this.vcTagF2A.MinValue = 0D;
- this.vcTagF2A.Name = "vcTagF2A";
- this.vcTagF2A.NullDisplay = "--";
- this.vcTagF2A.SideButtonClickValue = 3D;
- this.vcTagF2A.Size = new System.Drawing.Size(197, 37);
- this.vcTagF2A.TabIndex = 70;
- this.vcTagF2A.Tag = "";
- this.vcTagF2A.Text = "9501";
- this.vcTagF2A.Value = 9501D;
- this.vcTagF2A.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagQCB
- //
- this.vcTagQCB.BackColorButton = System.Drawing.Color.White;
- this.vcTagQCB.ButtonWidth = "30";
- this.vcTagQCB.ColorBorder = System.Drawing.Color.White;
- this.vcTagQCB.DecimalPosition = ((ushort)(0));
- this.vcTagQCB.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagQCB.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagQCB.ForeColor = System.Drawing.Color.Black;
- this.vcTagQCB.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagQCB.Location = new System.Drawing.Point(19, 107);
- this.vcTagQCB.MaxValue = 99999D;
- this.vcTagQCB.MinValue = 0D;
- this.vcTagQCB.Name = "vcTagQCB";
- this.vcTagQCB.NullDisplay = "--";
- this.vcTagQCB.SideButtonClickValue = 3D;
- this.vcTagQCB.Size = new System.Drawing.Size(197, 37);
- this.vcTagQCB.TabIndex = 68;
- this.vcTagQCB.Tag = "";
- this.vcTagQCB.Text = "9300";
- this.vcTagQCB.Value = 9300D;
- this.vcTagQCB.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF4A
- //
- this.vcTagF4A.BackColorButton = System.Drawing.Color.White;
- this.vcTagF4A.ButtonWidth = "30";
- this.vcTagF4A.ColorBorder = System.Drawing.Color.White;
- this.vcTagF4A.DecimalPosition = ((ushort)(0));
- this.vcTagF4A.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF4A.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF4A.ForeColor = System.Drawing.Color.Black;
- this.vcTagF4A.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF4A.Location = new System.Drawing.Point(324, 442);
- this.vcTagF4A.MaxValue = 99999D;
- this.vcTagF4A.MinValue = 0D;
- this.vcTagF4A.Name = "vcTagF4A";
- this.vcTagF4A.NullDisplay = "--";
- this.vcTagF4A.SideButtonClickValue = 3D;
- this.vcTagF4A.Size = new System.Drawing.Size(197, 37);
- this.vcTagF4A.TabIndex = 70;
- this.vcTagF4A.Tag = "";
- this.vcTagF4A.Text = "9701";
- this.vcTagF4A.Value = 9701D;
- this.vcTagF4A.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF1F2
- //
- this.vcTagF1F2.BackColor = System.Drawing.Color.Purple;
- this.vcTagF1F2.BackColorButton = System.Drawing.Color.White;
- this.vcTagF1F2.ButtonWidth = "30";
- this.vcTagF1F2.ColorBorder = System.Drawing.Color.White;
- this.vcTagF1F2.DecimalPosition = ((ushort)(0));
- this.vcTagF1F2.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF1F2.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF1F2.ForeColor = System.Drawing.Color.LightGray;
- this.vcTagF1F2.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF1F2.Location = new System.Drawing.Point(19, 231);
- this.vcTagF1F2.MaxValue = 99999D;
- this.vcTagF1F2.MinValue = 0D;
- this.vcTagF1F2.Name = "vcTagF1F2";
- this.vcTagF1F2.NullDisplay = "--";
- this.vcTagF1F2.SideButtonClickValue = 3D;
- this.vcTagF1F2.Size = new System.Drawing.Size(502, 37);
- this.vcTagF1F2.TabIndex = 70;
- this.vcTagF1F2.Tag = "";
- this.vcTagF1F2.Text = "9450";
- this.vcTagF1F2.Value = 9450D;
- this.vcTagF1F2.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF2B
- //
- this.vcTagF2B.BackColorButton = System.Drawing.Color.White;
- this.vcTagF2B.ButtonWidth = "30";
- this.vcTagF2B.ColorBorder = System.Drawing.Color.White;
- this.vcTagF2B.DecimalPosition = ((ushort)(0));
- this.vcTagF2B.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF2B.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF2B.ForeColor = System.Drawing.Color.Black;
- this.vcTagF2B.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF2B.Location = new System.Drawing.Point(19, 271);
- this.vcTagF2B.MaxValue = 99999D;
- this.vcTagF2B.MinValue = 0D;
- this.vcTagF2B.Name = "vcTagF2B";
- this.vcTagF2B.NullDisplay = "--";
- this.vcTagF2B.SideButtonClickValue = 3D;
- this.vcTagF2B.Size = new System.Drawing.Size(197, 37);
- this.vcTagF2B.TabIndex = 68;
- this.vcTagF2B.Tag = "";
- this.vcTagF2B.Text = "9500";
- this.vcTagF2B.Value = 9500D;
- this.vcTagF2B.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagF4B
- //
- this.vcTagF4B.BackColorButton = System.Drawing.Color.White;
- this.vcTagF4B.ButtonWidth = "30";
- this.vcTagF4B.ColorBorder = System.Drawing.Color.White;
- this.vcTagF4B.DecimalPosition = ((ushort)(0));
- this.vcTagF4B.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagF4B.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagF4B.ForeColor = System.Drawing.Color.Black;
- this.vcTagF4B.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagF4B.Location = new System.Drawing.Point(19, 442);
- this.vcTagF4B.MaxValue = 99999D;
- this.vcTagF4B.MinValue = 0D;
- this.vcTagF4B.Name = "vcTagF4B";
- this.vcTagF4B.NullDisplay = "--";
- this.vcTagF4B.SideButtonClickValue = 3D;
- this.vcTagF4B.Size = new System.Drawing.Size(197, 37);
- this.vcTagF4B.TabIndex = 68;
- this.vcTagF4B.Tag = "";
- this.vcTagF4B.Text = "9700";
- this.vcTagF4B.Value = 9700D;
- this.vcTagF4B.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagQCF1
- //
- this.vcTagQCF1.BackColor = System.Drawing.Color.Purple;
- this.vcTagQCF1.BackColorButton = System.Drawing.Color.White;
- this.vcTagQCF1.ButtonWidth = "30";
- this.vcTagQCF1.ColorBorder = System.Drawing.Color.White;
- this.vcTagQCF1.DecimalPosition = ((ushort)(0));
- this.vcTagQCF1.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagQCF1.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagQCF1.ForeColor = System.Drawing.Color.LightGray;
- this.vcTagQCF1.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagQCF1.Location = new System.Drawing.Point(19, 150);
- this.vcTagQCF1.MaxValue = 99999D;
- this.vcTagQCF1.MinValue = 0D;
- this.vcTagQCF1.Name = "vcTagQCF1";
- this.vcTagQCF1.NullDisplay = "--";
- this.vcTagQCF1.SideButtonClickValue = 3D;
- this.vcTagQCF1.Size = new System.Drawing.Size(502, 37);
- this.vcTagQCF1.TabIndex = 68;
- this.vcTagQCF1.Tag = "";
- this.vcTagQCF1.Text = "9350";
- this.vcTagQCF1.Value = 9350D;
- this.vcTagQCF1.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagPOT
- //
- this.vcTagPOT.BackColor = System.Drawing.Color.Tomato;
- this.vcTagPOT.BackColorButton = System.Drawing.Color.White;
- this.vcTagPOT.ButtonWidth = "30";
- this.vcTagPOT.ColorBorder = System.Drawing.Color.White;
- this.vcTagPOT.DecimalPosition = ((ushort)(0));
- this.vcTagPOT.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagPOT.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagPOT.ForeColor = System.Drawing.Color.Black;
- this.vcTagPOT.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagPOT.Location = new System.Drawing.Point(549, 64);
- this.vcTagPOT.MaxValue = 99999D;
- this.vcTagPOT.MinValue = 0D;
- this.vcTagPOT.Name = "vcTagPOT";
- this.vcTagPOT.NullDisplay = "--";
- this.vcTagPOT.SideButtonClickValue = 3D;
- this.vcTagPOT.Size = new System.Drawing.Size(197, 37);
- this.vcTagPOT.TabIndex = 62;
- this.vcTagPOT.Tag = "";
- this.vcTagPOT.Text = "9900";
- this.vcTagPOT.Value = 9900D;
- this.vcTagPOT.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
- // vcTagNOT
- //
- this.vcTagNOT.BackColor = System.Drawing.Color.Tomato;
- this.vcTagNOT.BackColorButton = System.Drawing.Color.White;
- this.vcTagNOT.ButtonWidth = "30";
- this.vcTagNOT.ColorBorder = System.Drawing.Color.White;
- this.vcTagNOT.DecimalPosition = ((ushort)(0));
- this.vcTagNOT.Font = new System.Drawing.Font("궁서체", 20F, System.Drawing.FontStyle.Bold);
- this.vcTagNOT.FontSideButton = new System.Drawing.Font("Consolas", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.vcTagNOT.ForeColor = System.Drawing.Color.Black;
- this.vcTagNOT.ForeColorButton = System.Drawing.Color.Black;
- this.vcTagNOT.Location = new System.Drawing.Point(549, 21);
- this.vcTagNOT.MaxValue = 99999D;
- this.vcTagNOT.MinValue = 0D;
- this.vcTagNOT.Name = "vcTagNOT";
- this.vcTagNOT.NullDisplay = "--";
- this.vcTagNOT.SideButtonClickValue = 3D;
- this.vcTagNOT.Size = new System.Drawing.Size(197, 37);
- this.vcTagNOT.TabIndex = 60;
- this.vcTagNOT.Tag = "";
- this.vcTagNOT.Text = "9000";
- this.vcTagNOT.Value = 9000D;
- this.vcTagNOT.ButtonClick += new System.EventHandler(this.vcChargeLow_ButtonClick);
- //
// tabPage4
//
this.tabPage4.Controls.Add(this.groupBox3);
@@ -2703,7 +2002,7 @@
this.tabPage4.Location = new System.Drawing.Point(4, 4);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(0, 5, 0, 2);
- this.tabPage4.Size = new System.Drawing.Size(1244, 590);
+ this.tabPage4.Size = new System.Drawing.Size(1244, 570);
this.tabPage4.TabIndex = 3;
this.tabPage4.Text = "Advance";
this.tabPage4.UseVisualStyleBackColor = true;
@@ -2728,7 +2027,7 @@
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox3.Location = new System.Drawing.Point(5, 5);
this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(1239, 583);
+ this.groupBox3.Size = new System.Drawing.Size(1239, 563);
this.groupBox3.TabIndex = 32;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "일반 설정";
@@ -2942,7 +2241,7 @@
this.panel6.Dock = System.Windows.Forms.DockStyle.Left;
this.panel6.Location = new System.Drawing.Point(0, 5);
this.panel6.Name = "panel6";
- this.panel6.Size = new System.Drawing.Size(5, 583);
+ this.panel6.Size = new System.Drawing.Size(5, 563);
this.panel6.TabIndex = 30;
//
// panTopMenu
@@ -3048,7 +2347,6 @@
// panel2
//
this.panel2.Controls.Add(this.bt5);
- this.panel2.Controls.Add(this.bt4);
this.panel2.Controls.Add(this.bt3);
this.panel2.Controls.Add(this.bt2);
this.panel2.Controls.Add(this.bt1);
@@ -3076,7 +2374,7 @@
this.bt5.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
this.bt5.GradientRepeatBG = false;
this.bt5.isButton = true;
- this.bt5.Location = new System.Drawing.Point(765, 0);
+ this.bt5.Location = new System.Drawing.Point(612, 0);
this.bt5.MouseDownColor = System.Drawing.Color.Yellow;
this.bt5.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.bt5.msg = null;
@@ -3105,52 +2403,6 @@
this.bt5.TextVisible = true;
this.bt5.Click += new System.EventHandler(this.arLabel1_Click);
//
- // bt4
- //
- this.bt4.BackColor = System.Drawing.Color.DimGray;
- this.bt4.BackColor2 = System.Drawing.Color.Gray;
- this.bt4.BackgroundImagePadding = new System.Windows.Forms.Padding(0);
- this.bt4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(90)))), ((int)(((byte)(90)))));
- this.bt4.BorderColorOver = System.Drawing.Color.FromArgb(((int)(((byte)(152)))), ((int)(((byte)(150)))), ((int)(((byte)(152)))));
- this.bt4.BorderSize = new System.Windows.Forms.Padding(2);
- this.bt4.ColorTheme = arCtl.arLabel.eColorTheme.Custom;
- this.bt4.Cursor = System.Windows.Forms.Cursors.Hand;
- this.bt4.Dock = System.Windows.Forms.DockStyle.Left;
- this.bt4.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- this.bt4.ForeColor = System.Drawing.Color.White;
- this.bt4.GradientEnable = true;
- this.bt4.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
- this.bt4.GradientRepeatBG = false;
- this.bt4.isButton = true;
- this.bt4.Location = new System.Drawing.Point(612, 0);
- this.bt4.MouseDownColor = System.Drawing.Color.Yellow;
- this.bt4.MouseOverColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.bt4.msg = null;
- this.bt4.Name = "bt4";
- this.bt4.ProgressBorderColor = System.Drawing.Color.Black;
- this.bt4.ProgressColor1 = System.Drawing.Color.LightSkyBlue;
- this.bt4.ProgressColor2 = System.Drawing.Color.DeepSkyBlue;
- this.bt4.ProgressEnable = false;
- this.bt4.ProgressFont = new System.Drawing.Font("Consolas", 10F);
- this.bt4.ProgressForeColor = System.Drawing.Color.Black;
- this.bt4.ProgressMax = 100F;
- this.bt4.ProgressMin = 0F;
- this.bt4.ProgressPadding = new System.Windows.Forms.Padding(0);
- this.bt4.ProgressValue = 0F;
- this.bt4.ShadowColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
- this.bt4.Sign = "";
- this.bt4.SignAlign = System.Drawing.ContentAlignment.BottomRight;
- this.bt4.SignColor = System.Drawing.Color.Yellow;
- this.bt4.SignFont = new System.Drawing.Font("Consolas", 7F, System.Drawing.FontStyle.Italic);
- this.bt4.Size = new System.Drawing.Size(153, 64);
- this.bt4.TabIndex = 28;
- this.bt4.Tag = "4";
- this.bt4.Text = "TAG";
- this.bt4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.bt4.TextShadow = true;
- this.bt4.TextVisible = true;
- this.bt4.Click += new System.EventHandler(this.arLabel1_Click);
- //
// bt3
//
this.bt3.BackColor = System.Drawing.Color.DimGray;
@@ -3407,8 +2659,6 @@
this.tabPage2.PerformLayout();
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
- this.tabPage5.ResumeLayout(false);
- this.tabPage5.PerformLayout();
this.tabPage4.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
@@ -3504,40 +2754,15 @@
private System.Windows.Forms.Label label42;
private System.Windows.Forms.Label label43;
private AGVControl.ValueSelect tbChargerID;
- private System.Windows.Forms.TabPage tabPage5;
private AGVControl.ValueSelect vcChargeWaitSec;
private System.Windows.Forms.Label label29;
private System.Windows.Forms.Label label44;
- private System.Windows.Forms.Label label45;
- private System.Windows.Forms.Label label46;
- private AGVControl.ValueSelect vcTagF1F2;
- private AGVControl.ValueSelect vcTagQCF1;
- private AGVControl.ValueSelect vcTagF1A;
- private AGVControl.ValueSelect vcTagF1B;
- private AGVControl.ValueSelect vcTagQCA;
- private AGVControl.ValueSelect vcTagF2A;
- private AGVControl.ValueSelect vcTagQCB;
- private System.Windows.Forms.Label label49;
- private AGVControl.ValueSelect vcTagF2B;
- private System.Windows.Forms.Label label47;
- private System.Windows.Forms.Label label48;
- private AGVControl.ValueSelect vcTagF3A;
- private AGVControl.ValueSelect vcTagF3B;
- private AGVControl.ValueSelect vcTagF4A;
- private System.Windows.Forms.Label label53;
- private AGVControl.ValueSelect vcTagF4B;
- private System.Windows.Forms.Label label51;
- private AGVControl.ValueSelect vcTagF3F4;
- private AGVControl.ValueSelect vcTagF2F3;
- private System.Windows.Forms.Button button4;
private AGVControl.ValueSelect vcSCK;
private System.Windows.Forms.Label label55;
private AGVControl.ValueSelect vcSSK;
private System.Windows.Forms.Label label56;
private AGVControl.ValueSelect vcSTT;
private System.Windows.Forms.Label label57;
- private AGVControl.ValueSelect vcTagNOT;
- private AGVControl.ValueSelect vcTagPOT;
private AGVControl.ValueSelect vcChargeStartLevel;
private AGVControl.ValueSelect vcChargeMaxLevel;
private System.Windows.Forms.GroupBox groupBox3;
@@ -3563,15 +2788,10 @@
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox tbMCID;
private System.Windows.Forms.GroupBox groupBox1;
- private AGVControl.ValueSelect vcTagQAA;
- private AGVControl.ValueSelect vcTagQAB;
- private System.Windows.Forms.Label label17;
- private AGVControl.ValueSelect vcTagQAQC;
private System.Windows.Forms.PropertyGrid propertyGrid1;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Panel panel2;
private arCtl.arLabel bt5;
- private arCtl.arLabel bt4;
private arCtl.arLabel bt3;
private arCtl.arLabel bt2;
private arCtl.arLabel bt1;
@@ -3590,10 +2810,6 @@
private System.Windows.Forms.TextBox tbagvchannel;
private System.Windows.Forms.TextBox tbagvpanid;
private System.Windows.Forms.TextBox tbagvaddr;
- private System.Windows.Forms.Label label54;
- private AGVControl.ValueSelect vcTagF5A;
- private AGVControl.ValueSelect vcTagF5B;
- private AGVControl.ValueSelect vcTagF4F5;
private System.Windows.Forms.Label label58;
private System.Windows.Forms.CheckBox chkClearPos;
private System.Windows.Forms.Label label7;
diff --git a/Cs_HMI/Project/fSetup.cs b/Cs_HMI/Project/fSetup.cs
index a3cf266..33a879b 100644
--- a/Cs_HMI/Project/fSetup.cs
+++ b/Cs_HMI/Project/fSetup.cs
@@ -131,35 +131,6 @@ namespace Project
vcChargeSearchTime.Value = PUB.setting.ChargeSearchTime;
vcChargeEmergencyLevel.Value = PUB.setting.ChargeEmergencyLevel;
vcChargeWaitSec.Value = PUB.setting.ChargetWaitSec;
- // chkAutoCharge_CheckedChanged(chkAutoCharge, null);
-
- //태그
- vcTagPOT.Value = PUB.setting.TAGPOT;
- vcTagNOT.Value = PUB.setting.TAGNOT;
-
- vcTagQAQC.Value = PUB.setting.TAG_QA_QC;
- vcTagQCF1.Value = PUB.setting.TAG_QC_F1;
- vcTagF1F2.Value = PUB.setting.TAG_F1_F2;
- vcTagF2F3.Value = PUB.setting.TAG_F2_F3;
- vcTagF3F4.Value = PUB.setting.TAG_F3_F4;
- vcTagF4F5.Value = PUB.setting.TAG_F4_F5;
-
- vcTagQAA.Value = PUB.setting.TAGQAA;
- vcTagQCA.Value = PUB.setting.TAGQCA;
- vcTagF1A.Value = PUB.setting.TAGF1A;
- vcTagF2A.Value = PUB.setting.TAGF2A;
- vcTagF3A.Value = PUB.setting.TAGF3A;
- vcTagF4A.Value = PUB.setting.TAGF4A;
- vcTagF5A.Value = PUB.setting.TAGF5A;
-
- vcTagQAB.Value = PUB.setting.TAGQAB;
- vcTagQCB.Value = PUB.setting.TAGQCB;
- vcTagF1B.Value = PUB.setting.TAGF1B;
- vcTagF2B.Value = PUB.setting.TAGF2B;
- vcTagF3B.Value = PUB.setting.TAGF3B;
- vcTagF4B.Value = PUB.setting.TAGF4B;
- vcTagF5B.Value = PUB.setting.TAGF5B;
-
tbMCID.Text = PUB.setting.MCID;
timer1.Start();
@@ -286,34 +257,6 @@ namespace Project
PUB.setting.datetime_Reset_1 = cleartime1.Value.ToString("HH:mm");
PUB.setting.datetime_Reset_2 = cleartime2.Value.ToString("HH:mm");
-
- //태그
- PUB.setting.TAGPOT = (int)vcTagPOT.Value;
- PUB.setting.TAGNOT = (int)vcTagNOT.Value;
-
- PUB.setting.TAG_QA_QC = (int)vcTagQAQC.Value;
- PUB.setting.TAG_QC_F1 = (int)vcTagQCF1.Value;
- PUB.setting.TAG_F1_F2 = (int)vcTagF1F2.Value;
- PUB.setting.TAG_F2_F3 = (int)vcTagF2F3.Value;
- PUB.setting.TAG_F3_F4 = (int)vcTagF3F4.Value;
- PUB.setting.TAG_F4_F5 = (int)vcTagF4F5.Value;
-
- PUB.setting.TAGQAA = (int)vcTagQAA.Value;
- PUB.setting.TAGQCA = (int)vcTagQCA.Value;
- PUB.setting.TAGF1A = (int)vcTagF1A.Value;
- PUB.setting.TAGF2A = (int)vcTagF2A.Value;
- PUB.setting.TAGF3A = (int)vcTagF3A.Value;
- PUB.setting.TAGF4A = (int)vcTagF4A.Value;
- PUB.setting.TAGF5A = (int)vcTagF5A.Value;
-
- PUB.setting.TAGQAB = (int)vcTagQAB.Value;
- PUB.setting.TAGQCB = (int)vcTagQCB.Value;
- PUB.setting.TAGF1B = (int)vcTagF1B.Value;
- PUB.setting.TAGF2B = (int)vcTagF2B.Value;
- PUB.setting.TAGF3B = (int)vcTagF3B.Value;
- PUB.setting.TAGF4B = (int)vcTagF4B.Value;
- PUB.setting.TAGF5B = (int)vcTagF5B.Value;
-
//PLC옵션
//PUB.setting.musicvol = (int)nudMusicVol.Value;
PUB.SetVolume((int)nudMusicVol.Value);
@@ -322,34 +265,6 @@ namespace Project
PUB.setting.alarmSoundTerm = (int)nudDoorSoundTerm.Value;
if (PUB.setting.alarmSoundTerm < 1) PUB.setting.alarmSoundTerm = 15; //기본값 15초
- ////핀설정
- //var baL = new System.Collections.BitArray(new byte[] { PUB.setting.PinReverse_DI_Low });
- //var baH = new System.Collections.BitArray(new byte[] { PUB.setting.PInReverse_DI_High });
- //baL[0] = chkdi0.Checked;
- //baL[1] = chkdi1.Checked;
- //baL[2] = chkdi2.Checked;
- //baL[3] = chkdi3.Checked;
- //baL[4] = chkdi4.Checked;
- //baL[5] = chkdi5.Checked;
- //baL[6] = chkdi6.Checked;
- //baL[7] = chkdi7.Checked;
-
- //baH[0] = chkdi8.Checked;
- //baH[1] = chkdi9.Checked;
- //baH[2] = chkdi10.Checked;
- //baH[3] = chkdi11.Checked;
- //baH[4] = chkdi12.Checked;
- //baH[5] = chkdi13.Checked;
- //baH[6] = chkdi14.Checked;
- //baH[7] = chkdi15.Checked;
-
- //byte[] dataL = new byte[] { 0 };
- //byte[] dataH = new byte[] { 0 };
- //baL.CopyTo(dataL, 0);
- //baH.CopyTo(dataH, 0);
-
- //PUB.setting.PinReverse_DI_Low = dataL[0];
- //PUB.setting.PInReverse_DI_High = dataH[0];
PUB.setting.musicfile = tbMusic.Text.Trim();
PUB.setting.FullScreen = this.chkFullScreen.Checked;
PUB.setting.ChargeEmergencyLevel = (int)this.vcChargeEmergencyLevel.Value;
@@ -567,39 +482,9 @@ namespace Project
}
}
- private void button4_Click(object sender, EventArgs e)
- {
- vcTagNOT.Value = 9000;
-
- vcTagQAQC.Value = 9250;
- vcTagQCF1.Value = 9350;
- vcTagF1F2.Value = 9450;
- vcTagF2F3.Value = 9550;
- vcTagF3F4.Value = 9650;
- vcTagF4F5.Value = 9750;
-
- vcTagQAB.Value = 9200;
- vcTagQCB.Value = 9300;
- vcTagF1B.Value = 9400;
- vcTagF2B.Value = 9500;
- vcTagF3B.Value = 9600;
- vcTagF4B.Value = 9700;
- vcTagF5B.Value = 9800;
-
- vcTagQAA.Value = 9201;
- vcTagQCA.Value = 9301;
- vcTagF1A.Value = 9401;
- vcTagF2A.Value = 9501;
- vcTagF3A.Value = 9601;
- vcTagF4A.Value = 9701;
- vcTagF5A.Value = 9801;
-
- vcTagPOT.Value = 9900;
- }
-
private void arLabel1_Click(object sender, EventArgs e)
{
- var buts = new arCtl.arLabel[] { bt0, bt1, bt2, bt3, bt4, bt5 };
+ var buts = new arCtl.arLabel[] { bt0, bt1, bt2, bt3, bt5 };
foreach (var lb in buts)
{
lb.BackColor = Color.DimGray;