Loading…
Loading…
方法名称: round_pipe_method_max_flowrate
方法ID: 0x41FE
方法标签: Calculate Max Flowrate
方法描述: Calculates Maximum Flowrate (Qmax) value
- {
- float flowratecalculated;
- float headconvertedroundpipe;
- float diameterroundpipeconverted;
- float headvalidity;
- float diametervalidity;
- char disp_string1[135];
- int slen1;
- slen1 = 135;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- _get_dictionary_string(19726337,disp_string1,slen1);
- ACKNOWLEDGE(disp_string1);
- _add_abort_method(4118);
- if (Distance_Obj_unit == 44)
- {
- diameterroundpipeconverted = diameterroundpipe * 0.3048;
- headconvertedroundpipe = span_Obj_value_0 * 0.3048;
- }
- else
- if (Distance_Obj_unit == 45)
- {
- diameterroundpipeconverted = diameterroundpipe * 1;
- headconvertedroundpipe = span_Obj_value_0 * 1;
- }
- else
- if (Distance_Obj_unit == 47)
- {
- diameterroundpipeconverted = diameterroundpipe * 0.0254;
- headconvertedroundpipe = span_Obj_value_0 * 0.0254;
- }
- else
- if (Distance_Obj_unit == 48)
请登录以获得完整内容