Loading…
Loading…
方法名称: met_relay_output
方法ID: 0x408A
方法标签: Relay Output setup
方法描述: Set vessel geometry and dimensions
- {
- DD_STRING result;
- unsigned short temp_short;
- unsigned short relay_hysteresis_old;
- unsigned short relay_hysteresis_req;
- unsigned short relay_1_control_value_old;
- unsigned short relay_1_control_value_req;
- unsigned short relay_2_control_value_old;
- unsigned short relay_2_control_value_req;
- unsigned short relay_1_status_mask_old;
- unsigned short relay_1_status_mask_req;
- unsigned short relay_2_status_mask_old;
- unsigned short relay_2_status_mask_req;
- float temp_float;
- float relay_setpoint_1_old;
- float relay_setpoint_1_req;
- float relay_setpoint_2_old;
- float relay_setpoint_2_req;
- if (device_specific_status_3 & 0x01)
- {
- PUT_MESSAGE(literal_string(676));
- temp_short = met_mo_get(406);
- temp_float = met_decode(temp_short);
- relay_setpoint_1_old = temp_float / 1000.0;
- relay_setpoint_1 = relay_setpoint_1_old;
请登录以获得完整内容