sync 전용 화면 만들기 전 백업.
This commit is contained in:
@@ -39,6 +39,7 @@ namespace Project
|
||||
InitializeComponent();
|
||||
VAR.Init(128);
|
||||
PUB.initCore();
|
||||
UTIL.MessgeBoxLegacyMode = false;
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
@@ -416,6 +417,11 @@ namespace Project
|
||||
|
||||
void func_sw_start(bool Prompt = false)
|
||||
{
|
||||
if(PUB.sm.Step == eSMStep.SYNC)
|
||||
{
|
||||
UTIL.MsgE("초기화 중에는 사용할 수 없습니다\n초기화가 완료 된 후 시도하세요");
|
||||
return;
|
||||
}
|
||||
if (VAR.BOOL[eVarBool.FLAG_AUTORUN] == false) //자동상태가 아니라면
|
||||
{
|
||||
PUB.AGV.AGVErrorReset();
|
||||
@@ -423,16 +429,12 @@ namespace Project
|
||||
{
|
||||
if (UTIL.MsgQ("AGV상태를 자동으로 전환 할까요?") != DialogResult.Yes) return;
|
||||
}
|
||||
|
||||
//충전상태확인
|
||||
if (PUB.CheckManualChargeMode() == false) return;
|
||||
PUB.popup.needClose = true;
|
||||
PUB.sm.bPause = false;
|
||||
PUB.sm.SetNewStep(eSMStep.RUN);
|
||||
|
||||
if (PUB.Result.CurrentPos == ePosition.NONE || PUB.Result.TargetPos == ePosition.NONE)
|
||||
{
|
||||
PUB.sm.SetNewRunStep(ERunStep.GOHOME);
|
||||
}
|
||||
PUB.Speak(Lang.자동전환);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user