refactor: Use SetRunStepError within RunStep sequences

- Refactored _SM_RUN_ENTER, _EXIT, _BUFFER_IN, _BUFFER_OUT, and _Util to use SetRunStepError helper.

- Corrected AGV_RUN_FAIL and MESSAGE_ERROR codes in _SM_RUN_ENTER, _EXIT, and _CHARGE_GO.

- Added new error codes AGV_SPEED_SET_FAIL and AGV_RUN_FAIL to EnumData.cs.
This commit is contained in:
backuppc
2026-01-28 15:58:42 +09:00
parent 5b4fdd33cf
commit 16d51a2712
11 changed files with 99 additions and 1213 deletions

View File

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