feat: Implement RunStep error reporting and refactor charge sequences
- Added RunStepErrorCode to Xbee status protocol and CResult. - Defined detailed operational error codes in EnumData.cs. - Updated _SM_RUN_*.cs to report specific error codes before proper error transitions. - Renamed and refactored charge-related sequence files.
This commit is contained in:
@@ -50,7 +50,7 @@ namespace Project
|
||||
NOERROR,
|
||||
EMERGENCY,
|
||||
NOMODELV,
|
||||
USER_STOP ,
|
||||
USER_STOP,
|
||||
USER_STEP,
|
||||
|
||||
AGVCONN,
|
||||
@@ -65,8 +65,20 @@ namespace Project
|
||||
DION,
|
||||
|
||||
NOTALLOWUP,
|
||||
}
|
||||
|
||||
// Operational Errors
|
||||
CART_EXIST,
|
||||
MARK_TIMEOUT,
|
||||
MARK_SENSOR_FAIL,
|
||||
LIFT_ERROR,
|
||||
AGV_SPEED_FAIL,
|
||||
AGV_STOP_FAIL,
|
||||
PATH_INTEGRITY_FAIL,
|
||||
TURN_FAIL,
|
||||
NO_CHARGEPOINT,
|
||||
NOTSET_CHARGEPOINT,
|
||||
ALREADY_CHARGE,
|
||||
}
|
||||
|
||||
public enum eResult : byte
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user