diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-11-03 11:05:41 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-11-03 11:05:41 +0200 |
| commit | 732d7aaededc72fd28eca57e5a5ffb89ab29a9ef (patch) | |
| tree | 13db6b044ccdae6a93d79d9ce59cee7f3f405928 /Software/Embedded_SW/Embedded/Communication | |
| parent | ef601f78d1e17cefc5bb4df82b4108d93cdea9dc (diff) | |
| download | Tango-732d7aaededc72fd28eca57e5a5ffb89ab29a9ef.tar.gz Tango-732d7aaededc72fd28eca57e5a5ffb89ab29a9ef.zip | |
add job end error codes. turn off safety alarms when cleared.improve idle/power on/off sequences
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.c | 16 | ||||
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.h | 5 |
2 files changed, 15 insertions, 6 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.c b/Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.c index e0a1c841c..bf21067e2 100644 --- a/Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.c +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.c @@ -7,7 +7,7 @@ #endif #include "ErrorCode.pb-c.h" -static const ProtobufCEnumValue error_code__enum_values_by_number[44] = +static const ProtobufCEnumValue error_code__enum_values_by_number[47] = { { "NONE", "ERROR_CODE__NONE", 0 }, { "GENERAL_ERROR", "ERROR_CODE__GENERAL_ERROR", 1 }, @@ -53,11 +53,14 @@ static const ProtobufCEnumValue error_code__enum_values_by_number[44] = { "JOB_PRESSURE_ALARM", "ERROR_CODE__JOB_PRESSURE_ALARM", 2010 }, { "JOB_CURRENT_ALARM", "ERROR_CODE__JOB_CURRENT_ALARM", 2011 }, { "JOB_MOTOR_ALARM", "ERROR_CODE__JOB_MOTOR_ALARM", 2012 }, + { "JOB_LIDS_OPEN", "ERROR_CODE__JOB_LIDS_OPEN", 2013 }, + { "JOB_ABORTED_BY_USER", "ERROR_CODE__JOB_ABORTED_BY_USER", 2014 }, + { "JOB_SAFETY_ALARM", "ERROR_CODE__JOB_SAFETY_ALARM", 2015 }, }; static const ProtobufCIntRange error_code__value_ranges[] = { -{0, 0},{1000, 8},{2000, 31},{0, 44} +{0, 0},{1000, 8},{2000, 31},{0, 47} }; -static const ProtobufCEnumValueIndex error_code__enum_values_by_name[44] = +static const ProtobufCEnumValueIndex error_code__enum_values_by_name[47] = { { "BAD_CRC", 2 }, { "CONTINUOUS_RESPONSE_ABORTED", 5 }, @@ -87,15 +90,18 @@ static const ProtobufCEnumValueIndex error_code__enum_values_by_name[44] = { "INVALID_PARAMETER", 7 }, { "INVALID_PROCESS_ID", 10 }, { "INVALID_UPLOAD_ID", 8 }, + { "JOB_ABORTED_BY_USER", 45 }, { "JOB_CURRENT_ALARM", 42 }, { "JOB_FAILED", 6 }, { "JOB_FEEDER_DANCER_FAIL", 35 }, + { "JOB_LIDS_OPEN", 44 }, { "JOB_LS_ALARM", 40 }, { "JOB_MOTOR_ALARM", 43 }, { "JOB_OTHER_ALARM", 37 }, { "JOB_OUT_OF_DYE", 36 }, { "JOB_POOLER_DANCER_FAIL", 34 }, { "JOB_PRESSURE_ALARM", 41 }, + { "JOB_SAFETY_ALARM", 46 }, { "JOB_TEMPERATURE_ALARM", 39 }, { "JOB_THREAD_BREAK", 32 }, { "JOB_UNSPECIFIED_ERROR", 31 }, @@ -111,9 +117,9 @@ const ProtobufCEnumDescriptor error_code__descriptor = "ErrorCode", "ErrorCode", "", - 44, + 47, error_code__enum_values_by_number, - 44, + 47, error_code__enum_values_by_name, 3, error_code__value_ranges, diff --git a/Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.h b/Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.h index 74c9e2a31..30979b52a 100644 --- a/Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.h +++ b/Software/Embedded_SW/Embedded/Communication/PMR/Common/ErrorCode.pb-c.h @@ -63,7 +63,10 @@ typedef enum _ErrorCode { ERROR_CODE__JOB_LS_ALARM = 2009, ERROR_CODE__JOB_PRESSURE_ALARM = 2010, ERROR_CODE__JOB_CURRENT_ALARM = 2011, - ERROR_CODE__JOB_MOTOR_ALARM = 2012 + ERROR_CODE__JOB_MOTOR_ALARM = 2012, + ERROR_CODE__JOB_LIDS_OPEN = 2013, + ERROR_CODE__JOB_ABORTED_BY_USER = 2014, + ERROR_CODE__JOB_SAFETY_ALARM = 2015 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(ERROR_CODE) } ErrorCode; |
