Loading…

方法名称: Window_SILSequence_SequenceMethod_1

方法ID: 0x4758

方法标签: SIL confirmation

方法描述:


  • {
  • int step;
  • int write;
  • int select;
  • int tempconfirm;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _add_abort_method(18265);
  • step = 0;
  • write = 1;
  • while (step < 18)
  • {
  • switch (step)
  • {
  • case 0:
  • step = 0 + 1;
  • send_command_trans(173,1);
  • if (SIL_SILState_1 != 2 && (STD_SWOptionActiveOverview_1 & 2) == 2)
  • {
  • send_command_trans(173,1);
  • _get_dev_var_value(literal_string(2766),0,17264);
  • send_command_trans(178,196);
  • }
  • send_command_trans(173,1);
  • if (SIL_SILState_1 == 0)
  • {
  • step = 0;
  • }
  • break;
  • case 1:
  • step = 1 + 1;
  • send_command_trans(194,253);
  • send_command_trans(194,254);
  • send_command_trans(194,256);
  • send_command_trans(194,257);
  • send_command_trans(194,255);
  • send_command_trans(194,258);
  • send_command_trans(173,1);
  • send_command_trans(173,1);
  • ACKNOWLEDGE(literal_string(2786) + literal_string(2787));
  • if (SIL_Prepare_1 == 275)
  • {
  • send_command_trans(173,255);
  • ACKNOWLEDGE(literal_string(2788) + literal_string(2789));
  • }
  • send_command_trans(173,1);
  • if (SIL_Prepare_1 != 274)
  • {
  • step = 1;
  • }
  • break;
  • case 2:
  • step = 2 + 1;
  • send_command_trans(173,1);
  • if (SIL_Prepare_1 == 274 && SIL_SILState_1 == 1)
  • {
  • send_command_trans(173,256);
  • ACKNOWLEDGE(literal_string(2790) + literal_string(2791));
  • _iassign(17214,33138);
  • send_command_trans(178,1787);
  • tempconfirm = _ivar_value(17214);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(2792) + literal_string(2793));
  • abort();
  • }


请登录以获得完整内容