Loading…

方法名称: change_temperature_unit_method

方法ID: 0x456E

方法标签: Temperature Unit

方法描述:


  • {
  • char status[3];
  • int response;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • response = SELECT_FROM_LIST(literal_string(1675),literal_string(1676));
  • if (response == 0)
  • {
  • temperature_unit = 32;
  • send(166,status);
  • process_abort();
  • }
  • if (response == 1)
  • {
  • temperature_unit = 33;
  • send(166,status);


请登录以获得完整内容