Loading…

方法名称: meth_setup_mA_output

方法ID: 0x4C40

方法标签: mA Output

方法描述:


  • {
  • char status[3];
  • long select;
  • long step;
  • long step1;
  • long temp;
  • char disp_string[100];
  • int slen;
  • int choice;
  • int loop_choice;
  • int user_selection;
  • select = 0;
  • step = 0;
  • step1 = 0;
  • slen = 100;
  • loop_choice = 0;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • do {
  • user_selection = SELECT_FROM_LIST(literal_string(1278),literal_string(1279));
  • switch (user_selection)
  • {
  • case 0:
  • loop_choice = 1;
  • send(50,status);
  • ACKNOWLEDGE(literal_string(1184));
  • 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)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1267),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 22)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1268),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 23)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1269),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 26)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1270),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 29)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1271),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 32)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1272),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 47)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1273),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 53)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1274),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 55)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1275),literal_string(1259));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 56)
  • {
  • choice = SELECT_FROM_LIST(literal_string(1276),literal_string(1259));
  • }


请登录以获得完整内容