Loading…

方法名称: check_conf_history

方法ID: 0x4140

方法标签: Config History

方法描述: Allows to check the configuration history. Select the parameter number to read history stored under it.Parameter 1 gives the latest history and Parameter 5 gives the oldest.


  • {
  • char status[3];
  • long temp_int_val;
  • long temp_flt_1;
  • long temp_flt_2;
  • long temp_flt_3;
  • long temp_flt_4;
  • float temp_float_val;
  • unsigned char i_cntr;
  • unsigned char my_char;
  • int abc;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • if (conf_histoy_code < 1 || conf_histoy_code > 5)
  • {
  • conf_histoy_code = 1;
  • }
  • do {
  • _get_dev_var_value(literal_string(1201),0,16452);
  • send_command(177);
  • if (conf_histoy_code >= 1 && conf_histoy_code <= 5)
  • {
  • send_trans(178,0,status);
  • _vassign(16432,16430);
  • if (_ivar_value(16432) == 1 || _ivar_value(16432) == 3 || _ivar_value(16432) == 9 || _ivar_value(16432) == 10 || _ivar_value(16432) == 11 || _ivar_value(16432) == 14 || _ivar_value(16432) == 16 || _ivar_value(16432) == 20)
  • {
  • send_command_trans(178,2);
  • }
  • else
  • if (_ivar_value(16432) == 0 || _ivar_value(16432) == 2)
  • {


请登录以获得完整内容