コード例 #1
0
/* Internal_Tests::DriveAllBGs */
void DriveAllBGs_Internal_Tests(void)
{
  static NID_BG noname;
  
  Ctxt_DriveAllBGs_Internal_Tests._L1 = reset;
  /* 1 */
  TriggerAllBalisesInSequence_Internal_Tests(
    Ctxt_DriveAllBGs_Internal_Tests._L1,
    &Ctxt_DriveAllBGs_Internal_Tests.Context_1);
  Ctxt_DriveAllBGs_Internal_Tests._L2 =
    Ctxt_DriveAllBGs_Internal_Tests.Context_1.TrainPos;
  Ctxt_DriveAllBGs_Internal_Tests._L3 =
    Ctxt_DriveAllBGs_Internal_Tests.Context_1.nid_BG;
  /* 1 */
  Amsterdam_Utrecht_Lijn1_b_AmsterdamUtrechtL2_AmsterdamUtrechtTrack1(
    Ctxt_DriveAllBGs_Internal_Tests._L2,
    &Ctxt_DriveAllBGs_Internal_Tests._1_Context_1);
  kcg_copy_CompressedBaliseMessage_TM(
    &Ctxt_DriveAllBGs_Internal_Tests._L4,
    &Ctxt_DriveAllBGs_Internal_Tests._1_Context_1.BaliseMessage);
  noname = Ctxt_DriveAllBGs_Internal_Tests._L3;
  kcg_copy_CompressedBaliseMessage_TM(
    &BG_data,
    &Ctxt_DriveAllBGs_Internal_Tests._L4);
}
コード例 #2
0
/* US_Integration_June::Amsterdam_Utrecht */
void Amsterdam_Utrecht_US_Integration_June(void)
{
  Ctxt_Amsterdam_Utrecht_US_Integration_June._L2 = TrainPos;
  /* 1 */
  Amsterdam_Utrecht_Lijn1_b_AmsterdamUtrechtL2_AmsterdamUtrechtTrack1(
    Ctxt_Amsterdam_Utrecht_US_Integration_June._L2,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June.Context_1);
  kcg_copy_CompressedBaliseMessage_TM(
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L1,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June.Context_1.BaliseMessage);
  kcg_copy_CompressedPackets_T_Common_Types_Pkg(
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L6,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L1.Messages);
  Ctxt_Amsterdam_Utrecht_US_Integration_June._L13 = Trigger_in;
  /* 1 */
  Amsterdam_Utrecht_RBC_Int_US_Integration_June(
    Ctxt_Amsterdam_Utrecht_US_Integration_June._L13,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._1_Context_1);
  kcg_copy_Radio_TrackTrain_Header_T_Radio_Types_Pkg(
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L8,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._1_Context_1.RadioTrackTrainHeader_out);
  kcg_copy_CompressedPackets_T_Common_Types_Pkg(
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L9,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._1_Context_1.Compressed_Packets_out);
  kcg_copy_CompressedRadioMessage_TM(
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L10,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._1_Context_1.Compressed_Radio_Message_out);
  kcg_copy_CompressedRadioMessage_TM(
    &Compressed_Radio_Message_out,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L10);
  kcg_copy_CompressedPackets_T_Common_Types_Pkg(
    &Compressed_Packets_out,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L9);
  kcg_copy_Radio_TrackTrain_Header_T_Radio_Types_Pkg(
    &RadioTrackTrainHeader_out,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L8);
  kcg_copy_BaliseTelegramHeader_int_T_TM(
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L5,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L1.Header);
  /* 1 */
  CASTLIB_BaliseHeaders_TM_conversions(
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L5,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._2_Context_1);
  kcg_copy_TelegramHeader_T_BG_Types_Pkg(
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L7,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._2_Context_1.Out);
  kcg_copy_TelegramHeader_T_BG_Types_Pkg(
    &Balise_Header,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L7);
  kcg_copy_CompressedPackets_T_Common_Types_Pkg(
    &Balise_Packets,
    &Ctxt_Amsterdam_Utrecht_US_Integration_June._L6);
}