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(659),literal_string(660));
  • switch (user_selection)
  • {
  • case 0:
  • loop_choice = 1;
  • send(50,status);
  • ACKNOWLEDGE(literal_string(604));
  • if (_ivar_value(4048) == 0)
  • {
  • choice = SELECT_FROM_LIST(literal_string(639),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 1)
  • {
  • choice = SELECT_FROM_LIST(literal_string(641),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 3)
  • {
  • choice = SELECT_FROM_LIST(literal_string(642),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 5)
  • {
  • choice = SELECT_FROM_LIST(literal_string(643),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 15)
  • {
  • choice = SELECT_FROM_LIST(literal_string(644),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 16)
  • {
  • choice = SELECT_FROM_LIST(literal_string(645),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 19)
  • {
  • choice = SELECT_FROM_LIST(literal_string(646),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 20)
  • {
  • choice = SELECT_FROM_LIST(literal_string(647),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 21)
  • {
  • choice = SELECT_FROM_LIST(literal_string(648),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 22)
  • {
  • choice = SELECT_FROM_LIST(literal_string(649),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 23)
  • {
  • choice = SELECT_FROM_LIST(literal_string(650),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 26)
  • {
  • choice = SELECT_FROM_LIST(literal_string(651),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 29)
  • {
  • choice = SELECT_FROM_LIST(literal_string(652),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 32)
  • {
  • choice = SELECT_FROM_LIST(literal_string(653),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 47)
  • {
  • choice = SELECT_FROM_LIST(literal_string(654),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 53)
  • {
  • choice = SELECT_FROM_LIST(literal_string(655),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 55)
  • {
  • choice = SELECT_FROM_LIST(literal_string(656),literal_string(640));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 56)
  • {
  • choice = SELECT_FROM_LIST(literal_string(657),literal_string(640));
  • }


请登录以获得完整内容