Loading…

Method Name: IsSymmetry

Method ID: 0x40BB

Method Label: IsSymmetry

Method Help:


  • {
  • char status[3];
  • int option_value;
  • int assign_value;
  • float on_value;
  • float off_value;
  • option_value = 1;
  • _iassign(16400,option_value);
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • assign_value = _ivar_value(16477);
  • if (assign_value == 7 || assign_value == 8)
  • {
  • on_value = _fvar_value(16559);
  • off_value = _fvar_value(16560);
  • if (on_value <= 0.0 && off_value <= 0.0 || on_value >= 0.0 && off_value >= 0.0)
  • option_value = 1;
  • else
  • option_value = 0;
  • }
  • if (assign_value == 9)
  • {


Please login for more