Index: AlarmDefs.h =================================================================== diff -u -r596641b13e977793a586b444722aa3b28deabeef -ra01144534759117e70ca8300e49954cd149b4b6a --- AlarmDefs.h (.../AlarmDefs.h) (revision 596641b13e977793a586b444722aa3b28deabeef) +++ AlarmDefs.h (.../AlarmDefs.h) (revision a01144534759117e70ca8300e49954cd149b4b6a) @@ -98,6 +98,8 @@ ALARM_ID_DD_SPENT_DIALYSATE_PUMP_CURRENT_OUT_OF_RANGE = 67, ///< DD spent dialysate pump current out of range ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_INVALID = 68, ///< DD spent dialysate pump invalid direction ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_FPGA_FAULT = 69, ///< DD spent dialysate pump direction error count FPGA fault + ALARM_ID_DD_FLUID_TOO_LOW_WHILE_PRIMARY_HEATER_IS_ON = 70, ///< DD primary heater is On when no fluid is present + ALARM_ID_DD_FLUID_TOO_LOW_WHILE_TRIMMER_HEATER_IS_ON = 71, ///< DD trimmer heater is On when no fluid is present NUM_OF_ALARM_IDS ///< Number of alarms }; @@ -303,6 +305,8 @@ { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_SPENT_DIALYSATE_PUMP_CURRENT_OUT_OF_RANGE }, { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_INVALID }, { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_FPGA_FAULT }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_FLUID_TOO_LOW_WHILE_PRIMARY_HEATER_IS_ON }, + { ALARM_PRIORITY_HIGH, 110, FALSE, TRUE , TRUE , TRUE , FALSE, TRUE , FALSE, FALSE, FALSE, FALSE, FALSE, TRUE , FALSE, FALSE, ALARM_ID_DD_FLUID_TOO_LOW_WHILE_TRIMMER_HEATER_IS_ON }, }; // Priority Rank Fault DDFault Stops ClrIm NoClr NoRes NoRin NoEnd BlkRB BlkET NoBRcr NoDRcr ClrOnly TxLog ID @@ -365,6 +369,8 @@ { 110, ALARM_ID_DD_SPENT_DIALYSATE_PUMP_CURRENT_OUT_OF_RANGE }, { 110, ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_INVALID }, { 110, ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_FPGA_FAULT }, + { 110, ALARM_ID_DD_FLUID_TOO_LOW_WHILE_PRIMARY_HEATER_IS_ON }, + { 110, ALARM_ID_DD_FLUID_TOO_LOW_WHILE_TRIMMER_HEATER_IS_ON }, { 111, ALARM_ID_TD_DD_COMM_TIMEOUT }, { 111, ALARM_ID_TD_CAN_MESSAGE_NOT_ACKED_BY_DD }, { 111, ALARM_ID_DD_CAN_MESSAGE_NOT_ACKED_BY_RO }, @@ -467,12 +473,14 @@ { 61 , ALARM_ID_DD_FRESH_DIALYSATE_PUMP_OFF_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Fresh Dial Pump Speed Not Off | DD fresh dialysate pump off fault | If the pump is in off state and the RPM is greater than the minimum RPM of 300.0 RPM. | "}, { 62 , ALARM_ID_DD_FRESH_DIALYSATE_PUMP_CURRENT_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Fresh Dial Pump Current | DD fresh dialysate pump current out of range | If the fresh dialysate pump current > 2.2 A when it is running or if the current > 0.1 A when it is off. | "}, { 63 , ALARM_ID_DD_FRESH_DIALYSATE_PUMP_DIRECTION_INVALID , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Fresh Dial Pump Dir Fault | DD fresh dialysate pump invalid direction | If the fresh dialysate pump's direction is not in forward direction. | "}, - { 64 , ALARM_ID_DD_FRESH_DIALYSATE_PUMP_DIRECTION_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Fresh Dial pump Dir Err Cnt | DG fresh dialysate pump direction FPGA fault | If the FPGA indicates an direction error for a certain period of time. | "}, + { 64 , ALARM_ID_DD_FRESH_DIALYSATE_PUMP_DIRECTION_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Fresh Dial pump Dir Err Cnt | DD fresh dialysate pump direction FPGA fault | If the FPGA indicates an direction error for a certain period of time. | "}, { 65 , ALARM_ID_DD_SPENT_DIALYSATE_PUMP_RPM_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Spent Dial Pump Speed Fault | DD spent dialysate pump RPM out of range | If the spent dialysate pump RPM > 300.0 of the target RPM. | "}, { 66 , ALARM_ID_DD_SPENT_DIALYSATE_PUMP_OFF_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Spent Dial Pump Speed Not Off | DD spent dialysate pump off fault | If the pump is in off state and the RPM is greater than the minimum RPM of 300.0 RPM. | "}, { 67 , ALARM_ID_DD_SPENT_DIALYSATE_PUMP_CURRENT_OUT_OF_RANGE , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Spent Dial Pump Current | DD spent dialysate pump current out of range | If the spent dialysate pump current > 2.2 A when it is running or if the current > 0.1 A when it is off. | "}, { 68 , ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_INVALID , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Spent Dial Pump Dir Fault | DD spent dialysate pump invalid direction | If the spent dialysate pump's direction is not in forward direction. | "}, - { 69 , ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Spent Dial pump Dir Err Cnt | DG spent dialysate pump direction FPGA fault | If the FPGA indicates an direction error for a certain period of time. | "}, + { 69 , ALARM_ID_DD_SPENT_DIALYSATE_PUMP_DIRECTION_FPGA_FAULT , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: Spent Dial pump Dir Err Cnt | DD spent dialysate pump direction FPGA fault | If the FPGA indicates an direction error for a certain period of time. | "}, + { 70 , ALARM_ID_DD_FLUID_TOO_LOW_WHILE_PRIMARY_HEATER_IS_ON , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: HP1 On With No Fluid | DD primary heater is On with low fluid level | If the Hydraulics floater sensing low level fluid for a certain period of time. | "}, + { 71 , ALARM_ID_DD_FLUID_TOO_LOW_WHILE_TRIMMER_HEATER_IS_ON , "DD | Service Required: Dialysate Device | A problem was detected with the dialysate device. \n- Treatment must be terminated.\n- Locate the ID code found in the bottom left corner\nof the alarm screen.\n- Call service to report the issue and schedule a repair. | DD Fault: HEQ On With No Fluid | DD trimmer heater is On with low fluid level | If the Balance air separation chamber fluid level is low for a certain period of time. | "}, }; #endif // manual alarms Index: DDDefs.h =================================================================== diff -u -r4afc5fdb64135add3051d793f05cc15e52df6f89 -ra01144534759117e70ca8300e49954cd149b4b6a --- DDDefs.h (.../DDDefs.h) (revision 4afc5fdb64135add3051d793f05cc15e52df6f89) +++ DDDefs.h (.../DDDefs.h) (revision a01144534759117e70ca8300e49954cd149b4b6a) @@ -55,22 +55,15 @@ DD_POST_STATE_FW_COMPATIBILITY, ///< Run firmware compatibility test state DD_POST_STATE_FW_INTEGRITY, ///< Run firmware image integrity test state DD_POST_STATE_FPGA, ///< FPGA POST test state - DD_POST_STATE_RTC, ///< RTC POST test state DD_POST_STATE_NVDATAMGMT, ///< Non-volatile data management POST state DD_POST_STATE_TEMPERATURE_SENSORS, ///< Temperature Sensors POST state - DD_POST_STATE_ACCELEROMETER, ///< Accelerometer POST state DD_POST_STATE_PRESSURES, ///< Pressure sensors POST state - DD_POST_STATE_DRAIN_PUMP, ///< Drain pump POST state + DD_POST_STATE_DIALYSATE_PUMPS, ///< Dialysate pumps POST state DD_POST_STATE_CONCENTRATE_PUMPS, ///< Concentrate pumps POST state DD_POST_STATE_CONDUCTIVITY_SENSORS, ///< Conductivity sensors POST state - DD_POST_STATE_RESERVOIRS, ///< Reservoirs POST state - DD_POST_STATE_UV_REACTORS, ///< UV reactors POST state DD_POST_STATE_THERMISTORS, ///< Thermistors POST state - DD_POST_STATE_FANS, ///< Fans POST state - DD_POST_STATE_FLOW_SENSORS, ///< Flow sensors POST state DD_POST_STATE_WATCHDOG, ///< Watchdog POST test state DD_POST_STATE_SAFETY_SHUTDOWN, ///< Safety shutdown POST test state - DD_POST_STATE_LOAD_CELL, ///< Load cells POST state DD_POST_STATE_COMPLETED, ///< POST completed successfully state DD_POST_STATE_FAILED, ///< POST failed state NUM_OF_DD_POST_STATES ///< Number of initialize & POST mode states @@ -127,60 +120,6 @@ /**@}*/ /** - * @addtogroup DDFlushMode - * @{ - */ - -/// Enumeration of flush mode states. -enum DD_Flush_States -{ - DD_FLUSH_STATE_START = 0, ///< Flush, start mode state - DD_FLUSH_STATE_DRAIN_R1, ///< Flush, drain reservoir 1 state - DD_FLUSH_STATE_DRAIN_R2, ///< Flush, drain reservoir 2 state - DD_FLUSH_STATE_FLUSH_DRAIN, ///< Flush, flush drain state - DD_FLUSH_STATE_FLUSH_DIALYSATE, ///< Flush, flush dialysate state - DD_FLUSH_STATE_FLUSH_CONCENTRATE_STRAWS, ///< Flush, flush concentrate straws state - DD_FLUSH_STATE_FLUSH_R1_TO_R2, ///< Flush, flush reservoir 1 to reservoir 2 state - DD_FLUSH_STATE_FLUSH_R2_AND_DRAIN_R1, ///< Flush, flush reservoir 2 and drain reservoir 1 state - DD_FLUSH_STATE_FLUSH_CIRCULATION_DRAIN_LINE, ///< Flush, flush circulation drain line state - DD_FLUSH_STATE_FLUSH_CIRCULATION, ///< Flush, flush circulation state - DD_FLUSH_STATE_FLUSH_WITH_FRESH_WATER, ///< Flush, flush with fresh water - DD_FLUSH_STATE_CANCEL_BASIC_PATH, ///< Flush, cancel basic path state - DD_FLUSH_STATE_CANCEL_WATER_PATH, ///< Flush, cancel water path state - DD_FLUSH_STATE_COMPLETE, ///< Flush, complete mode state - NUM_OF_DD_FLUSH_STATES ///< Number of flush mode states -}; -typedef enum DD_Flush_States DD_FLUSH_STATE_T; ///< Type for DD flush mode states enumeration - -/// Enumeration of flush mode UI states. -enum DD_Flush_UI_States -{ - FLUSH_UI_STATE_NOT_RUNNING = 0, ///< Flush UI, not running state - FLUSH_UI_STATE_DRAIN_DEVICE, ///< Flush UI, drain device state - FLUSH_UI_STATE_FLUSH_RESERVOIRS, ///< Flush UI, flush reservoirs - FLUSH_UI_STATE_DRAIN_RESERVOIRS, ///< Flush UI, drain reservoirs - FLUSH_UI_STATE_FLUSH_RECIRCULATION_PATH, ///< Flush UI, flush recirculation path - FLUSH_UI_STATE_CANCEL_FLUSH, ///< Flush UI, cancel flush state - FLUSH_UI_STATE_COMPLETE, ///< Flush UI, complete state - NUM_OF_FLUSH_UI_STATES ///< Number of flush UI states -}; -typedef enum DD_Flush_UI_States DD_FLUSH_UI_STATE_T; ///< Type for DD flush mode UI states enumeration - -#if defined(_TD_) || defined(_DD_) -/// Flush mode data publish struct -typedef struct -{ - U32 flushState; ///< Flush state. - U32 overallElapsedTime; ///< Overall elapsed time in flush mode. - U32 stateElapsedTime; ///< Current flush elapsed time. - F32 drainLineVolume; ///< Drain line volume. - U32 flushUIState; ///< Flush UI state. -} MODE_FLUSH_DATA_T; -#endif - -/**@}*/ - -/** * @addtogroup DDHeatDisinfectMode * @{ */ @@ -189,28 +128,7 @@ enum DD_Heat_States { DD_HEAT_DISINFECT_STATE_START = 0, ///< Heat disinfect, start mode state - DD_HEAT_DISINFECT_STATE_DRAIN_R1, ///< Heat disinfect, drain R1 state - DD_HEAT_DISINFECT_STATE_DRAIN_R2, ///< Heat disinfect, drain R2 state - DD_HEAT_DISINFECT_STATE_FLUSH_DRAIN, ///< Heat disinfect, flush drain state - DD_HEAT_DISINFECT_STATE_FLUSH_CIRCULATION, ///< Heat disinfect, flush circulation state - DD_HEAT_DISINFECT_STATE_FLUSH_R1_AND_R2, ///< Heat disinfect, flush R1 and R2 state - DD_HEAT_DISINFECT_STATE_FLUSH_R2_AND_DRAIN_R1, ///< Heat disinfect, flush R2 and drain R1 state - DD_HEAT_DISINFECT_STATE_FLUSH_DRAIN_R2, ///< Heat disinfect, flush drain R2 state - DD_HEAT_DISINFECT_STATE_FLUSH_DRAIN_R1, ///< Heat disinfect, flush drain R1 state - DD_HEAT_DISINFECT_STATE_FILL_WITH_WATER, ///< Heat disinfect, fill with water state - DD_HEAT_DISINFECT_STATE_DISINFECT_R1_TO_R2, ///< Heat disinfect, disinfect R1 to R2 state - DD_HEAT_DISINFECT_STATE_PREPARE_FOR_HOT_WATER_TRANSITION, ///< Heat disinfect, prepare for hot water transition - DD_HEAT_DISINFECT_STATE_FILL_R2_WITH_HOT_WATER, ///< Heat disinfect, fill R2 with hot water state - DD_HEAT_DISINFECT_STATE_DISINFECT_R2_TO_R1, ///< Heat disinfect, disinfect R2 to R1 state - DD_HEAT_DISINFECT_STATE_COOL_DOWN_HEATERS, ///< Heat disinfect, cool down heaters state - DD_HEAT_DISINFECT_STATE_MIX_DRAIN_R1, ///< Heat disinfect, mix drain R1 state - DD_HEAT_DISINFECT_STATE_MIX_DRAIN_R2, ///< Heat disinfect, mix drain R2 state - DD_HEAT_DISINFECT_STATE_CANCEL_BASIC_PATH, ///< Heat disinfect, cancel mode basic path state - DD_HEAT_DISINFECT_STATE_CANCEL_WATER_PATH, ///< Heat disinfect, cancel mode water path state DD_HEAT_DISINFECT_STATE_COMPLETE, ///< Heat disinfect, complete state -#ifndef _RELEASE_ - DD_NELSON_HEAT_DISINFECT_STATE_FILL_R1_WITH_WATER, -#endif NUM_OF_DD_HEAT_DISINFECT_STATES ///< Number of heat disinfect mode states }; typedef enum DD_Heat_States DD_HEAT_DISINFECT_STATE_T; ///< Type for DD heat disinfect states enumeration @@ -219,14 +137,6 @@ enum DD_Heat_UI_States { HEAT_DISINFECT_UI_STATE_NOT_RUNNING = 0, ///< Heat disinfect UI, not running state - HEAT_DISINFECT_UI_STATE_FLUSH_BEFORE_DISINFECT, ///< Heat disinfect UI, flush before disinfect state - HEAT_DISINFECT_UI_STATE_HEAT_UP_WATER, ///< Heat disinfect UI, heat up water state - HEAT_DISINFECT_UI_STATE_DISINFECT_RESERVOIR_1, ///< Heat disinfect UI, disinfect reservoir 1 state - HEAT_DISINFECT_UI_STATE_TRANSITION_HOT_WATER, ///< Heat disinfect UI, transition hot water state - HEAT_DISINFECT_UI_STATE_DISINFECT_RESERVOIR_2, ///< Heat disinfect UI, disinfect reservoir 2 state - HEAT_DISINFECT_UI_STATE_COOL_DOWN_DEVICE, ///< Heat disinfect UI, cool down device state - HEAT_DISINFECT_UI_STATE_FLUSH_AFTER_DISINFECT, ///< Heat disinfect UI, flush after disinfect state - HEAT_DISINFECT_UI_STATE_CANCEL_DISINFECT, ///< Heat disinfect UI, cancel disinfect state HEAT_DISINFECT_UI_STATE_COMPLETE, ///< Heat disinfect UI, complete state NUM_OF_HEAT_DISINFECT_UI_STATES ///< Number of heat disinfect mode UI states }; @@ -240,8 +150,6 @@ U32 overallElapsedTime; ///< Overall elapsed time in heat disinfect mode. U32 stateElapsedTime; ///< Current heat disinfect elapsed time. U32 cancellationMode; ///< Heat disinfect cancellation mode. - F32 R1FillLevel; ///< Reservoir 1 level upon starting the heat disinfect. - F32 R2FillLevel; ///< Reservoir 2 level upon starting the heat disinfect. U32 heatDisinfectUIState; ///< Heat disinfect UI state. } MODE_HEAT_DISINFECT_DATA_T; #endif @@ -260,57 +168,6 @@ /**@}*/ /** - * @addtogroup DDHeatDisinfectActiveCoolMode - * @{ - */ - -/// Enumeration of heat disinfect active cool mode states. -enum DD_Heat_Cool_States -{ - DD_HEAT_DISINFECT_ACTIVE_COOL_STATE_START = 0, ///< Heat disinfect active cool, start mode state. - DD_HEAT_DISINFECT_ACITVE_COOL_MIX_DRAIN_R1_STATE, ///< Heat disinfect active cool, mix drain R1 state. - DD_HEAT_DISINFECT_ACTIVE_COOL_MIX_DRAIN_R2_STATE, ///< Heat disinfect active cool, mix drain R2 state. - DD_HEAT_DISINFECT_ACTIVE_COOL_FILL_R1_STATE, ///< Heat disinfect active cool, fill R1 state. - DD_HEAT_DISINFECT_ACTIVE_COOL_FILL_R2_STATE, ///< Heat disinfect active cool, fill R2 state. - DD_HEAT_DISINFECT_ACTIVE_COOL_DRAIN_R2_FILL_R1_TO_R2_STATE, ///< Heat disinfect active cool, drain R2 fill R1 to R2 state. - DD_HEAT_DISINFECT_ACTIVE_COOL_DRAIN_R1_FILL_R2_TO_R1_STATE, ///< Heat disinfect active cool, drain R1 fill R2 to R1 state. - DD_HEAT_DISINFECT_ACTIVE_COOL_DRAIN_R1_STATE, ///< Heat disinfect active cool, drain R1 state. - DD_HEAT_DISINFECT_ACTIVE_COOL_DRAIN_R2_STATE, ///< Heat disinfect active cool, drain R2 state. - DD_HEAT_DISINFECT_ACTIVE_COOL_CANCEL_WATER_PATH_STATE, ///< Heat disinfect active cool, cancel water path state. - DD_HEAT_DISINFECT_ACTIVE_COOL_CANCEL_BASIC_PATH_STATE, ///< Heat disinfect active cool, cancel basic path state. - DD_HEAT_DISINFECT_ACTIVE_COOL_STATE_COMPLETE, ///< Heat disinfect active cool, complete state. - NUM_OF_DD_HEAT_DISINFECT_ACTIVE_COOL_STATES ///< Number of heat disinfect mode states. -}; -typedef enum DD_Heat_Cool_States DD_HEAT_DISINFECT_ACTIVE_COOL_STATE_T; ///< Type for DD heat disinfect active cool states enumeration - -/**@}*/ - -/** - * @addtogroup DDROPermeateSampleMode - * @{ - */ - -/// Enumeration of RO permeate mode. -enum DD_RO_Permeate_States -{ - DD_RO_PERM_SAMPLE_STATE_START = 0, ///< RO Permeate Sample, start mode state - DD_RO_PERM_SAMPLE_STATE_DRAIN_R1, ///< RO Permeate Sample, drain reservoir 1 state - DD_RO_PERM_SAMPLE_STATE_DRAIN_R2, ///< RO Permeate Sample, drain reservoir 2 state - DD_RO_PERM_SAMPLE_STATE_FLUSH_DRAIN, ///< RO Permeate Sample, flush drain state - DD_RO_PERM_SAMPLE_STATE_FLUSH_DIALYSATE, ///< RO Permeate Sample, flush dialysate state - DD_RO_PERM_SAMPLE_STATE_FLUSH_CONCENTRATE_STRAWS, ///< RO Permeate Sample, flush concentrate straws state - DD_RO_PERM_SAMPLE_STATE_FLUSH_R2_TO_R1_AND_DRAIN_R1, ///< RO Permeate Sample, flush R2 to R1 and drain R1 state - DD_RO_PERM_SAMPLE_STATE_COLLECT_SAMPLE, ///< RO Permeate Sample, collect sample state - DD_RO_PERM_SAMPLE_STATE_CANCEL_BASIC_PATH, ///< RO Permeate Sample, cancel basic path state - DD_RO_PERM_SAMPLE_STATE_CANCEL_WATER_PATH, ///< RO Permeate Sample, cancel water path state - DD_RO_PERM_SAMPLE_STATE_COMPLETE, ///< RO Permeate Sample, complete mode state - NUM_OF_DD_RO_PERM_STATES ///< Number of RO permeate mode states -}; -typedef enum DD_RO_Permeate_States DD_RO_PERM_STATE_T; ///< Type for DD RO Permeate states enumeration - -/**@}*/ - -/** * @addtogroup DDServiceMode * @{ */ @@ -339,17 +196,6 @@ typedef enum DD_Command DD_COMMAND_T; ///< Type for DD commands enumeration /// Enumeration of sample water command parameters. -enum Sample_Water_Commands -{ - SAMPLE_WATER_CMD_STOP = 0, ///< Stop sample water command - SAMPLE_WATER_CMD_START, ///< Start sample water command - SAMPLE_WATER_CMD_FLUSH, ///< Flush the filter sample water command - SAMPLE_WATER_CMD_END, ///< End sample water command - NUM_OF_SAMPLE_WATER_CMDS ///< Number of sample water command parameters -}; -typedef enum Sample_Water_Commands SAMPLE_WATER_CMD_T; ///< Type for sample water enum. - -/// Enumeration of sample water command parameters. enum DD_General_Commands { DD_CMD_STOP = 0, ///< DD general stop command @@ -371,23 +217,11 @@ DD_EVENT_STARTUP = 0, ///< DD startup event DD_EVENT_OP_MODE_CHANGE, ///< DD Op mode change event DD_EVENT_SUB_MODE_CHANGE, ///< DD Op sub-mode change event - DD_EVENT_CONCENTRATE_CAP_SWITCH_CHANGE, ///< DD concentrate cap switch change - DD_EVENT_DIALYSATE_CAP_SWITCH_CHANGE, ///< DD dialysate cap switch change - DD_EVENT_CPU_RAM_ERROR_STATUS, ///< DD processor RAM error - DD_EVENT_CAL_RECORD_UPDATE, ///< DD new calibration record updated - DD_EVENT_SYSTEM_RECORD_UPDATE, ///< DD new system record has been updated - DD_EVENT_SERVICE_UPDATE, ///< DD new service record has been updated - DD_EVENT_USAGE_INFO_UPDATE, ///< DD new usage information has been updated - DD_EVENT_SW_CONFIG_UPDATE, ///< DD new software configuration has been updated - DD_EVENT_SCHEDULED_RUNS_UPDATE, ///< DD new scheduled runs information has been updated - DD_EVENT_HEATERS_INFO_UPDATE, ///< DD new heaters information has been updated - DD_EVENT_AVG_DIALYSATE_FILL_COND_VALUES, ///< DD average dialysate fill conductivity values - DD_EVENT_RESERVOIR_FILL_VALUES, ///< DD reservoir fill values DD_EVENT_OPERATION_STATUS, ///< DD operation status event - DD_EVENT_TEMPERATURE_DRIFT, ///< DD temperature drift event - DD_EVENT_BICARB_CHECK_RESULT, ///< DD bicarb check result - DD_EVENT_ACID_CHECK_RESULT, ///< DD acid check result - DD_EVENT_COND1_VS_COND2_DIFF_RESULT, ///< DD CD1 (acid) vs. CD2 (bicarb) different result + DD_EVENT_FLOATER_1_LEVEL_CHANGE, ///< DD floater 1 level change event + DD_EVENT_FLOATER_2_LEVEL_CHANGE, ///< DD floater 2 level change event + DD_EVENT_BICARB_LEVEL_CHANGE, ///< DD bicarb level change event + DD_EVENT_SPENT_DIALYSATE_LEVEL_CHANGE, ///< DD spent dialysate air seperation level change event NUM_OF_DD_EVENT_IDS ///< Total number of DD events }; typedef enum DD_Event_List DD_EVENT_ID_T; ///< Type for DD event list enumeration @@ -413,17 +247,4 @@ /**@}*/ -#ifndef _RELEASE_ -// Nelson lab disinfect efficacy support -typedef enum Nelson_States -{ - NELSON_NONE = 0, // Nelson none. - NELSON_INOCULATE, // Nelson inoculate. - NELSON_HEAT_DISINFECT, // Nelson heat disinfect. - NELSON_POS_CONTROL_HEAT_DISINFECT, // Nelson positive control heat disinfect. - NELSON_DRAIN_SAMPLES, // Nelson drain sample. - NUM_OF_NELSON_SUPPORT // Number of Nelson supports. -} NELSON_SUPPORT_T; #endif - -#endif Index: MsgDefs.h =================================================================== diff -u -r596641b13e977793a586b444722aa3b28deabeef -ra01144534759117e70ca8300e49954cd149b4b6a --- MsgDefs.h (.../MsgDefs.h) (revision 596641b13e977793a586b444722aa3b28deabeef) +++ MsgDefs.h (.../MsgDefs.h) (revision a01144534759117e70ca8300e49954cd149b4b6a) @@ -69,6 +69,8 @@ MSG_ID_DD_CONCENTRATE_PUMP_DATA = 0x2B, ///< DD concentrate pump data MSG_ID_DD_TEMPERATURE_DATA = 0x2C, ///< DD temperature data MSG_ID_DIALYSATE_PUMPS_DATA = 0x2D, ///< DD dialysate pumps data + MSG_ID_DD_HEATERS_DATA = 0x2E, ///< DD heaters data + MSG_ID_DD_LEVEL_DATA = 0x2F, ///< DD level data // service/test CAN messages MSG_ID_FIRST_TD_TESTER_MESSAGE = 0x8000, ///< First TD test message ID