Loading…

方法名称: IsSymmetry

方法ID: 0x40BB

方法标签: IsSymmetry

方法描述:


  • {
  • 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)
  • {


请登录以获得完整内容