Loading…

Method Name: LF220_D_size

Method ID: 0x405E

Method Label: Meter size

Method Help: 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


Please login for more