Loading…

Method Name: HH_SILSequence_SequenceMethod_1

Method ID: 0x483D

Method Label: SIL confirmation

Method Help:


  • {
  • int step;
  • int write;
  • int select;
  • int tempconfirm;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _add_abort_method(18778);
  • step = 0;
  • write = 1;
  • while (step < 28)
  • {
  • 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(3186),0,17378);
  • 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,291);
  • send_command_trans(194,292);
  • send_command_trans(194,293);
  • send_command_trans(194,290);
  • send_command_trans(194,296);
  • send_command_trans(194,294);
  • send_command_trans(194,297);
  • send_command_trans(173,1);
  • send_command_trans(173,1);
  • ACKNOWLEDGE(literal_string(3206) + literal_string(3207));
  • if (SIL_Prepare_1 == 275)
  • {
  • send_command_trans(173,291);
  • ACKNOWLEDGE(literal_string(3208) + literal_string(3209));
  • }
  • 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,293);
  • ACKNOWLEDGE(literal_string(3210) + literal_string(3211));
  • _iassign(17308,33138);
  • send_command_trans(178,11529);
  • tempconfirm = _ivar_value(17308);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(3212) + literal_string(3213));
  • abort();
  • }
  • }
  • break;
  • case 3:
  • step = 3 + 1;
  • send_command_trans(173,1);
  • if (SIL_Prepare_1 == 274 && SIL_SILState_1 == 1)
  • {
  • send_command_trans(194,291);
  • ACKNOWLEDGE(literal_string(3214) + literal_string(3215));
  • _iassign(17321,33138);
  • send_command_trans(178,11541);
  • tempconfirm = _ivar_value(17321);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(3212) + literal_string(3216));
  • abort();
  • }
  • }
  • break;
  • case 4:
  • step = 4 + 1;
  • send_command_trans(173,1);
  • if (SIL_Prepare_1 == 274 && SIL_SILState_1 == 1)
  • {
  • send_command_trans(194,293);
  • ACKNOWLEDGE(literal_string(3217) + literal_string(3218));
  • _iassign(17313,33138);
  • send_command_trans(178,11478);
  • tempconfirm = _ivar_value(17313);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(3212) + literal_string(3219));
  • abort();
  • }
  • }


Please login for more