Loading…
Loading…
方法名称: LF220_D_size
方法ID: 0x405E
方法标签: Meter size
方法描述: Meter size- Detector Inlet Diameter.
- {
- int result;
- long ids[2];
- int d_size_unit;
- int d_size10;
- int d_size100;
- float d_size11;
- int d_size20;
- float d_size21;
- char status[3];
- send(133,status);
- d_size_unit = _ivar_value(resolve_record_ref(resolve_array_ref(172,1),16566));
- d_size10 = _ivar_value(resolve_record_ref(resolve_array_ref(172,1),16452));
- do {
- if (d_size_unit == 47)
- {
- d_size100 = (d_size10 & 0xff00) / 0x0100 | (d_size10 & 0x00ff) * 0x0100;
- d_size21 = d_size11 = (d_size100 >> 8 & 0x00ff | d_size100 << 8 & 0xff00) / 100.0;
- acknowledge(literal_string(370),ids);
- }
- else
请登录以获得完整内容