|
|
@ -334,6 +334,7 @@ int32_t ZCanHost::pumpctrl_c1004(int sensorid, int16_t acc, int16_t rpm, int8_t |
|
|
|
return err::zecode(err::kfail); |
|
|
|
} |
|
|
|
|
|
|
|
m_pumpc1004_speed_cache[sensorid] = rpm; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|
@ -414,6 +415,7 @@ int32_t ZCanHost::huacheng_pressure_sensor_read_c1005(int sensorid, huacheng_pre |
|
|
|
} |
|
|
|
|
|
|
|
int32_t ZCanHost::hpp272_read_c1000(int sensorid, hpp272_data_t& value) { |
|
|
|
memset(&value, 0, sizeof(hpp272_data_t)); |
|
|
|
shared_ptr<ZCanReceiverCMD> cmd = make_shared<ZCanReceiverCMD>(); |
|
|
|
cmd->cmdid = 1000; |
|
|
|
cmd->subcmdid = 0; |
|
|
|