Loading…

方法名称: meth_setup_mA_output_1

方法ID: 0x48C4

方法标签: Set Up mA Output 1

方法描述:


  • {
  • char status[3];
  • long select;
  • long step;
  • long temp;
  • char disp_string[100];
  • int slen;
  • int choice;
  • select = 0;
  • step = 0;
  • slen = 100;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • if (_ivar_value(4048) == 0)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1258),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 1)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1260),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 3)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1261),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 5)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1262),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 15)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1263),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 16)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1264),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 19)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1265),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 20)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1266),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 21)
  • {


请登录以获得完整内容