Timetable file cz_vagon.ttt

   1  #Definice pripojnych vozu bez otevirani dveri - Copyright Kubze
   2
   3  $DEF AAM_1969=CSD_AAM_69|CSD_AAM_69L
   4  $DEF AAM_1970=CSD_AAM_70|CSD_AAM_70L
   5
   6  $DEF BAM_1969=CSD_BAM_69|CSD_BAM_69L
   7  $DEF BAM_1970=CSD_BAM_70|CSD_BAM_70L
   8  $DEF 054_1993=CD_054_93|CD_054_93L
   9  $DEF 054_1997=CD_054_97|CD_054_97L
  10
  11  $DEF BRAM_1969=CSD_BRAM_69|CSD_BRAM_69L
  12  $DEF BRAM_1970=CSD_BRAM_70|CSD_BRAM_70L
  13
  14  $DEF BAIM_1970A=CSD_BAIM_70|CSD_BAIM_70L
  15  $DEF BAIM_1970B=CSD_BAIM_70A|CSD_BAIM_70AL
  16  $DEF 053_1993=CD_053_93|CD_053_93L
  17  $DEF 053_1997=CD_053_97|CD_053_97L
  18
  19  #Definice osobnich vozu Kubze
  20  #Definice osobnich vozu - Copyright Kubze
  21
  22  #Vozy 2. tr. rady Bt - Bdt  (z Cech)
  23
  24  #rok 1973 (Bai)
  25  $DEF BDT_1973=CSD_4A_BAIC|CSD_4A_BAICL
  26
  27  #rok 1990 (Bai)
  28  $DEF BDT_1990=CSD_4B_BAIC|CSD_4B_BAICL
  29
  30  #rok 1995 (Bt)
  31  $DEF BDT_1995Z=CD_5A_BT|CD_5A_BTL
  32  $DEF BDT_1995B=CD_5B_BDT|CD_5B_BDTL
  33  $DEF BDT_1995=BDT_1995Z|BDT_1995B
  34
  35  #rok 2000
  36  $DEF BDT_2000=CD_5B_BDT|CD_5B_BDTL
  37
  38  #verze ZSR pro rok 2000
  39  $DEF ZSR_BT_2000=ZSR_5BTL|ZSR_5BT
  40
  41  #Vozy 2. tr. rady Bh  (z Madarska)
  42
  43  #rok 1968
  44  $DEF BH_1968=CSD_3_BAIM|CSD_3_BAIML
  45
  46  #rok 1973
  47  $DEF BH_1973=CSD_4A_BAIM|CSD_4A_BAIML
  48
  49  #rok 1990
  50  $DEF BH_1990=CD_5A_BH|CD_5A_BHL
  51
  52  #rok 1995
  53  $DEF BH_1995Z=CD_5A_BH|CD_5A_BHL
  54  $DEF BH_1995B=CD_5B_BT277|CD_5B_BT277L
  55  $DEF BH_1995=BH_1995Z|BH_1995B
  56
  57  #rok 2000
  58  $DEF BH_2000=CD_5B_BT277|CD_5B_BT277L
  59
  60
  61  #verze pro ZSR
  62  $DEF ZSR_BH_2000=ZSR_5BH|ZSR_5BHL
  63
  64
  65  #Vozy 2. tr. rady Bte  (pozdeji u CD Bpe)
  66
  67  #verze pro CD:
  68  $DEF BPE_2000=CD_5B_BPE|CD_5B_BPEL
  69
  70
  71  #verze pro ZSR:
  72  $DEF ZSR_BPE_2000=ZSR_5BTE|ZSR_5BTEL
  73
  74  #-----------------------------------------------------------------------
  75  #Oteviraci dvere pripojne vozy
  76
  77
  78  # CSD Aam 1969
  79  $DEF CSD_AAM_A=CSD_AAM_69(|L)
  80
  81  # CSD Aam 1970
  82  $DEF CSD_AAM_B=CSD_AAM_70(|L)
  83
  84  # CSD Bam 1969
  85  $DEF CSD_BAM_A=CSD_BAM_69(|L)
  86
  87  # CSD Bam 1970
  88  $DEF CSD_BAM_B=CSD_BAM_70(|L)
  89
  90  # CD Bam 1993 (054)
  91  $DEF CD_054_A=CD_054_93(|L)
  92
  93  # CD Bam 1997 (054)
  94  $DEF CD_054_B=CD_054_97(|L)
  95
  96  # CSD BRam 1969
  97  $DEF CSD_BRAM_A=CSD_BRAM_69(|L)
  98
  99  # CSD BRam 1970
 100  $DEF CSD_BRAM_B=CSD_BRAM_70(|L)
 101
 102  # CSD Baim 1970
 103  $DEF CSD_BAIM_A=CSD_BAIM_70(|L)
 104
 105  # CSD Baim 1970 no. 2
 106  $DEF CSD_BAIM_B=CSD_BAIM_70A(|L)
 107
 108  # CD Baim 1993 (053)
 109  $DEF CD_053_A=CD_053_93(|L)
 110
 111  # CD Baim 1997 (053)
 112  $DEF CD_053_B=CD_053_97(|L)
 113
 114  #Kubze konec__----------------------------------------------------
 115
 116  $DEF BE30_PAT=CD_BAAK[B:43,12,6,5,#5E6B4D][B:18,12,18,7,#526647]|CD_BAAK[B:43,12,6,5,#5E6B4D][B:18,12,18,7,#526647][M]
 117  $DEF DSD_PAT=CD_DAADK[B:26,13,6,4,#4E6948]|CD_DAADK[B:26,13,6,4,#4E6948][M]
 118
 119  $DEF DS=CSD_DS|CSD_DS[M]
 120  $DEF DSK=CD_DAAKL[B:15,9,82,2,#211810]|CD_DAAKL[B:15,9,82,2,#211810][M]|CD_DAAK|CD_DAAK[M]
 121
 122  $DEF BI=CSD_BI|CSD_BI[M][MP:36,14,2,4,100,14,2,4]
 123
 124  $DEF PRAC60=CD_PRAC01|CD_PRAC01[M]
 125
 126  $DEF DDCD=CSD_DD[B:69,21,95,9][B:9,30,33,1,#004000][B:9,9,33,1,#004000][B:61,30,109,1,#004000][B:61,20,109,1,#004000][B:61,9,109,1,#004000][B:189,30,8,1,#004000][B:189,9,8,1,#004000][B:201,30,8,1,#004000][B:201,9,8,1,#004000][B:236,21,95,9][B:228,30,109,1,#004000][B:228,20,109,1,#004000][B:228,9,109,1,#004000][B:356,30,8,1,#004000][B:356,9,8,1,#004000][B:368,30,8,1,#004000][B:368,9,8,1,#004000][B:403,21,95,9][B:395,30,109,1,#004000][B:395,20,109,1,#004000][B:395,9,109,1,#004000][B:523,30,8,1,#004000][B:523,9,8,1,#004000][B:535,30,8,1,#004000][B:535,9,8,1,#004000][B:570,21,95,9][B:562,30,109,1,#004000][B:562,20,109,1,#004000][B:562,9,109,1,#004000][B:690,30,33,1,#004000][B:690,9,33,1,#004000]
 127
 128  $DEF DDCSD_V1=CSD_DD[B:69,21,35,9][B:128,21,35,9][B:9,30,33,1,#004000][B:9,9,33,1,#004000][B:61,30,109,1,#004000][B:61,20,109,1,#004000][B:61,9,109,1,#004000][B:189,30,8,1,#004000][B:189,9,8,1,#004000][B:201,30,8,1,#004000][B:201,9,8,1,#004000][B:236,21,35,9][B:294,21,35,9][B:228,30,109,1,#004000][B:228,20,109,1,#004000][B:228,9,109,1,#004000][B:356,30,8,1,#004000][B:356,9,8,1,#004000][B:368,30,8,1,#004000][B:368,9,8,1,#004000][B:403,21,35,9][B:462,21,35,9][B:395,30,109,1,#004000][B:395,20,109,1,#004000][B:395,9,109,1,#004000][B:523,30,8,1,#004000][B:523,9,8,1,#004000][B:535,30,8,1,#004000][B:535,9,8,1,#004000][B:570,21,35,9][B:629,21,35,9][B:562,30,109,1,#004000][B:562,20,109,1,#004000][B:562,9,109,1,#004000][B:690,30,33,1,#004000][B:690,9,33,1,#004000]
 129
 130  $DEF DDCSD_V2=CSD_DD
 131
 132  $DEF BAPCD_V1=CD_DD3|CD_BMO1|CD_BMO2|CD_BMO3
 133  $DEF BAPCD_V2=CD_BMO2
 134
 135  $DEF BAPCSD_V1=1:CSD_BP|1:(CSD_DD1|CSD_DD1[B:93,24,35,5][B:139,24,36,5])
 136  $DEF BAPCSD_V2=CSD_BP
 137
 138  $DEF BA60=CSD_BA60~CD|CSD_BA60~CD[M][MP:35,12,3,4][MP:199,12,3,4]|CSD_BA60|CSD_BA60[M][MP:35,12,3,4][MP:199,12,3,4]
 139  $DEF BAI60_V1=CSD_BAI60A|CSD_BAI60A[M][MP:46,14,3,4][MP:190,14,3,4]
 140  $DEF BAI60_V2=CSD_BAI60|CSD_BAI60[M][MP:37,23,3,4][MP:196,23,2,4][MP:102,9,30,8]
 141  $DEF BAI60=BAI60_V1|BAI60_V2
 142  $DEF AA60=CSD_AA60|CSD_AA60[M][MP:35,12,3,4][MP:199,12,3,4]|CSD_AA60|CSD_AA60[M][MP:35,12,3,4][MP:199,12,3,4]
 143  $DEF DA60=CSD_DA60L|CSD_DA60~CD
 144
 145  $DEF BAM=CSD_BAM|CSD_BAM[M][MP:42,12,3,5][MP:177,12,3,5][MP:106,13,8,4]
 146  $DEF CALM39=CSD_CALM39|CSD_CALM39L
 147  $DEF CALM49=CSD_CALM49|CSD_CALM49L
 148
 149  $DEF CALM34_V1=CSD_CALM_34
 150  $DEF CALM36_V1=CSD_CALM_36
 151  $DEF BDALM34_V1=CSD_BDALM_34
 152  $DEF CALM34_V2=CSD_CALM_34R
 153  $DEF CALM36_V2=CSD_CALM_36R
 154  $DEF BDALM34_V2=CSD_BDALM_34R
 155  $DEF CALM34_V3=CSD_CALM_34_60
 156  $DEF BDALM34_V3=CSD_BDALM_34_60
 157
 158  $DEF CLM35=CSD_CLM35
 159  $DEF CDFLM37=CSD_CDFLM37
 160  $DEF CDLM38=CSD_CDLM38
 161
 162  $DEF CALM36_V3=CSD_CALM_36
 163
 164  $DEF CLM_V1=CSD_CLMG
 165  $DEF CDLM_V1=CSD_CDLMG
 166
 167  $DEF CLM_V2=CSD_CLMR
 168  $DEF CDLM_V2=CSD_CDLMR
 169
 170  $DEF BDLM=CSD_BDLM|CSD_BDLM[M][MP:52,10,7,6][MP:78,11,2,4]
 171  $DEF BLM=CSD_BLM|CSD_BLM[M][MP:24,12,2,4][MP:55,11,5,5][MP:80,12,2,4]
 172
 173  $DEF BALM_V1=CSD_BALM|CSD_BALM[M][MP:66,11,2,3][MP:118,11,2,3]|CSD_BALM|CSD_BALM[M][MP:66,11,2,3][MP:118,11,2,3]
 174  $DEF BALM_V1B=CD_021
 175  $DEF BALM_V1C=CD_021
 176  $DEF BALM_V2=CSD_020(|[!L])
 177
 178  $DEF BALM_X_V1=CSD_BALMX|CSD_BALMX[M]
 179
 180  $DEF BLM2_V1=CD_010|CD_010[M][MP:17,13,2,4][MP:114,13,2,4]
 181  $DEF BLM2_V1B=CD_BLM3
 182  $DEF BLM2_V2=CD_BLM2A|CD_010B|CD_011|CD_BLM3
 183
 184  $DEF BAIM_V1=CSD_BAIM|CSD_BAIM2|CSD_BAIM3|CSD_BAIM[M]|CSD_BAIM2[M]|CSD_BAIM3[M]
 185  $DEF BAIM_V1B=CD_056
 186  $DEF BAIM_V2=CSD_BNP
 187
 188  #Postovni vagony
 189  $DEF POST95=CD_DSPOST76|CD_DSPOST76L|CD_DSPOST76B|CD_DSPOST76BL|CD_POSTW|CD_Y5DSA|CD_Y5DSAL
 190  $DEF POST76=1:(CSD_DSPOST76|CSD_DSPOST76L)|1:CSD_FA|1:CD_ZTSCB
 191  $DEF POST61=DA60
 192  $DEF POST46=1:CSD_F|1:(CSD_FA50|CSD_FA50L)
 193
 194  #2002
 195  $DEF M_V88A=CD_054_A
 196  $DEF M_V88B=CD_054_B
 197  $DEF M_V88C=CD_053_A
 198  $DEF M_V88D=CD_053_B
 199  $DEF D_V88=CD_BDS74|CD_BDS74L|CD_DS74|CD_DS74L|CD_BDS81|CD_BDS81L|CD_BDS74B|CD_BDS74BL|CD_DS74B|CD_DS74BL|CD_BDS81|CD_BDS81L
 200  $DEF MOS_V88A=0-1*D_V88, (2-5*(M_V88C|M_V88D), 0-1*(CD_054_A|CD_054_B))|(3-6*M_V88C)|(3-6*M_V88D)
 201  $DEF MOS_V88B=(3-6*(M_V88A|M_V88B))|(3-6*M_V88A)|(3-6*M_V88B)|(3-6*(M_V88C|M_V88D))|(3-6*M_V88C)|(3-6*M_V88D), 0-1*D_V88
 202  $DEF MOS_V88=MOS_V88A|MOS_V88B
 203
 204  #1995
 205  $DEF M_V87A=CD_054_A
 206  $DEF M_V87B=CD_053_A
 207  $DEF D_V87=CD_BDS74|CD_BDS74L|CD_DS74|CD_DS74L|CD_BDS81|CD_BDS81L|CD_BDS74B|CD_BDS74BL|CD_DS74B|CD_DS74BL|CD_BDS81|CD_BDS81L
 208  $DEF MOS_V87=0-1*D_V87, (3-6*(M_V87A|M_V87B))|(3-6*M_V87A)|(3-6*M_V87B)
 209
 210  #1988
 211  $DEF M_V86A=CSD_BAM_A
 212  $DEF M_V86B=CSD_BAM_B
 213  $DEF M_V86C=CSD_BAIM_A
 214  $DEF M_V86D=CSD_BAIM_B
 215  $DEF D_V86=CSD_BDS74|CSD_BDS74L|CSD_DS74|CSD_DS74L|CSD_BDS81|CSD_BDS81L|CSD_DA60~CD|CSD_DA60L
 216  $DEF MOS_V86A=0-1*D_V86, (3-6*(M_V86A|M_V86B))|(3-6*M_V86A)|(3-6*M_V86B)|(3-6*(M_V86C|M_V86D))|(3-6*M_V86C)|(3-6*M_V86D)
 217  $DEF MOS_V86B=(3-6*(M_V86A|M_V86B))|(3-6*M_V86A)|(3-6*M_V86B)|(3-6*(M_V86C|M_V86D))|(3-6*M_V86C)|(3-6*M_V86D), 0-1*D_V86
 218  $DEF MOS_V86=MOS_V86A|MOS_V86B
 219
 220  #1976
 221  $DEF M_V85A=CSD_BAM_A
 222  $DEF M_V85B=CSD_BAM_B
 223  $DEF M_V85C=CSD_BAIM_A
 224  $DEF M_V85D=CSD_BAIM_B
 225  $DEF D_V85=1:(CSD_DSD|CSD_DSD|DSD_PAT)|1:(CSD_DA60L|CSD_DA60~CD)|1:(CSD_BDMS74|CSD_BDMS74L|CSD_DMS74A|CSD_DMS74AL|CSD_DMS74B|CSD_DMS74BL|CSD_Y4BDS|CSD_Y4BDSL)
 226  $DEF MOS_V85A=0-1*D_V85, (3-6*(M_V85A|M_V85B))|(3-6*M_V85A)|(3-6*M_V85B)|(3-6*(M_V85C|M_V85D))|(3-6*M_V85C)|(3-6*M_V85D)
 227  $DEF MOS_V85B=(3-6*(M_V85A|M_V85B))|(3-6*M_V85A)|(3-6*M_V85B)|(3-6*(M_V85C|M_V85D))|(3-6*M_V85C)|(3-6*M_V85D), 0-1*D_V85
 228  $DEF MOS_V85=MOS_V85A|MOS_V85B
 229
 230  $DEF MR_V84A=CSD_BAM_B, CSD_AAM_B
 231  $DEF MR_V84B=1-2*CSD_BAM_B, CSD_BRAM_B, CSD_AAM_B
 232  $DEF MR_V84=MR_V84A|MR_V84B
 233
 234  $DEF MR_V83A=CSD_BAM_A, CSD_AAM_A
 235  $DEF MR_V83B=CSD_BAM_A, CSD_BRAM_A, CSD_AAM_A
 236  $DEF MR_V83C=CSD_BAM_A, CSD_BRAM_A
 237  $DEF MR_V83D=CSD_BRAM_A, CSD_AAM_A
 238  $DEF MR_V83E=2*CSD_BAM_A, CSD_BRAM_A, CSD_AAM_A
 239  $DEF MR_V83=MR_V83A|MR_V83B|MR_V83C|MR_V83D|MR_V83E
 240
 241  $DEF B_V82=CSD_BCA1937
 242  $DEF D_V82=CSD_DSD|CSD_DSD|DSD_PAT
 243
 244  #Rychlikova souprava bezna
 245  $DEF RSZEL_V82A=(0-1*D_V82, 3-6*B_V82)
 246  $DEF RSZEL_V82C=(3-6*B_V82, 0-1*D_V82)
 247  $DEF RSZEL_V82D=(3-4*B_V82, 0-1*D_V82, 2-3*B_V82)
 248
 249  $DEF RSZEL_V82=(2*(RSZEL_V82A|RSZEL_V82C|RSZEL_V82D))|RSZEL_V82A|RSZEL_V82C|RSZEL_V82D
 250
 251  $DEF B_V81=CSD_BCA1937
 252  $DEF D_V81=CSD_DA1930|CSUKAD|CSD_DSD|CSD_DSD|DSD_PAT
 253
 254  #Rychlikova souprava bezna
 255  $DEF RSZEL_V81A=(0-1*D_V81, 2-4*B_V81)
 256  $DEF RSZEL_V81C=(2-4*B_V81, 0-1*D_V81)
 257  $DEF RSZEL_V81D=(2-3*B_V81, 0-1*D_V81, 1-2*B_V81)
 258
 259  $DEF RSZEL_V81=(2*(RSZEL_V81A|RSZEL_V81C|RSZEL_V81D))|RSZEL_V81A|RSZEL_V81C|RSZEL_V81D
 260
 261  $DEF B_V80A=BI
 262  $DEF B_V80B=CSD_BE
 263  $DEF B_V80C=CSD_BE|BI
 264  $DEF D_V80=CSD_1DD|CSD_F
 265
 266  #Tezka osobni souprava
 267  $DEF TOSZEL_V80A=(0-1*D_V80, (3-6*B_V80C)|(3-6*B_V80B)|(3-6*B_V80A))
 268  $DEF TOSZEL_V80C=((3-6*B_V80C)|(3-6*B_V80B)|(3-6*B_V80A), 0-1*D_V80)
 269  $DEF TOSZEL_V80D=(3-4*B_V80C, 0-1*D_V80, 2-3*B_V80C)
 270
 271  $DEF TOSZEL_V80=TOSZEL_V80A|TOSZEL_V80C|TOSZEL_V80D
 272
 273  $DEF B_V79=CSD_BE|BI
 274  $DEF D_V79=CSD_1DD|CSD_F
 275
 276  #Lehke osobni soupravy
 277  $DEF LOSZEL_V79A=(0-1*D_V79, 1-2*B_V79)|(0-1*D_V79, 1-2@B_V79)
 278  $DEF LOSZEL_V79C=(1-2*B_V79, 0-1*D_V79)|(1-2@B_V79, 0-1*D_V79)
 279  $DEF LOSZEL_V79D=(0-1*B_V79, 0-1*D_V79, 1-2*B_V79)
 280
 281  $DEF LOSZEL_V79=LOSZEL_V79A|LOSZEL_V79C|LOSZEL_V79D
 282
 283  #Posunovana osobni souprava
 284  $DEF LOPSZEL_V79A=(1-3*D_V79, (0-3*B_V79))
 285  $DEF LOPSZEL_V79C=(0-3*B_V79, 1-3*D_V79)
 286  $DEF LOPSZEL_V79D=(0-1*B_V79, 1-3*D_V79, 0-2*B_V79)
 287
 288  $DEF LOPSZEL_V79=LOPSZEL_V79A|LOPSZEL_V79C|LOPSZEL_V79D
 289
 290  $DEF B_V78=CSD_CLM1935G
 291  $DEF D_V78=CSD_CDLM1935G
 292
 293  #Lehke osobni soupravy
 294  $DEF LMOS_V78=(0-1*D_V78, 1-3*B_V78)|(1-3*B_V78, 0-1*D_V78)|(B_V78, D_V78, B_V78)
 295
 296
 297  $DEF B_V77=CSD_CLM1935G1
 298  $DEF D_V77=CSD_CDFLM_1934|CSD_CDLM1935G1
 299
 300  #Lehke osobni soupravy
 301  $DEF LMOS_V77=(0-1*D_V77, 1-3*B_V77)|(1-3*B_V77, 0-1*D_V77)|(B_V77, D_V77, B_V77)
 302
 303  $DEF B_V76=CSD_CLM4|CSD_CLM4_6324
 304  $DEF D_V76=
 305
 306  #Lehke osobni soupravy
 307  $DEF LMOS_V76=(1-4*B_V76)|(1-4@B_V76)
 308
 309  $DEF B_V75A=BAIM_V1
 310  $DEF B_V75B=BAIM_V1B
 311  $DEF B_V75D=BAIM_V2
 312
 313  #Lehke osobni soupravy
 314  $DEF MOS_V75=(3-6*B_V75A)|(3-6*B_V75B)|(3-6*B_V75D)|(3-6*(B_V75A|B_V75B))|(3-6*(B_V75D))
 315
 316
 317  $DEF B_V74A=BALM_V1
 318  $DEF B_V74B=BALM_V1B
 319  $DEF B_V74C=BALM_V1C
 320  $DEF B_V74D=BALM_V2
 321
 322  #Lehke osobni soupravy
 323  $DEF LMOS_V74=(2-3*B_V74B)|(2-3*B_V74C)|(2-3*B_V74D)|(2-3*(B_V74B))|(2-3*(B_V74D))
 324  # $DEF LMOS_V74=(2-3*B_V74a)|(2-3*B_V74b)|(2-3*B_V74c)|(2-3*B_V74d)|(2-3*(B_V74a|B_V74b))|(2-3*(B_V74d))
 325
 326  $DEF B_V73A=BALM_V1
 327  $DEF B_V73B=BALM_V1B
 328  $DEF B_V73C=BALM_V1C
 329  $DEF B_V73D=BALM_V2
 330
 331  #Lehke osobni soupravy
 332  $DEF LMOS_V73=(0-2*B_V73B)|(0-2*B_V73C)|(0-2*B_V73D)|(0-2*(B_V73B))|(0-2*(B_V73D))
 333  #$DEF LMOS_V73=(0-2*B_V73a)|(0-2*B_V73b)|(0-2*B_V73c)|(0-2*B_V73d)|(0-2*(B_V73a|B_V73b))|(0-2*(B_V73d))
 334
 335  $DEF B_V72A=BALM_V1
 336  $DEF B_V72B=BALM_V1B
 337  $DEF B_V72C=BALM_V1C
 338  $DEF B_V72D=BALM_V2
 339
 340  #Lehke osobni soupravy
 341  $DEF LMOS_V72=(1-2*B_V72B)|(1-2*B_V72C)|(1-2*B_V72D)|(1-2*(B_V72B))|(1-2*(B_V72D))
 342  #$DEF LMOS_V72=(1-2*B_V72a)|(1-2*B_V72b)|(1-2*B_V72c)|(1-2*B_V72d)|(1-2*(B_V72a|B_V72b))|(1-2*(B_V72d))
 343
 344  $DEF B_V71=BAIM_V1
 345  $DEF D_V71=
 346
 347  #Lehke osobni soupravy
 348  $DEF MOS_V71=3-6*B_V71
 349
 350  $DEF B_V70=BALM_X_V1
 351  $DEF D_V70=
 352
 353  #Motorova osobni souprava
 354  $DEF MOS_V70=3-5*B_V70
 355
 356  $DEF B_V69A=BALM_V1
 357  $DEF B_V69B=BALM_V1B
 358  $DEF B_V69C=BALM_V1C
 359  $DEF B_V69D=BALM_V2
 360
 361  #Lehke osobni soupravy
 362  $DEF MOS_V69=(3-5*B_V69B)|(3-5*B_V69C)|(3-5*B_V69D)|(1-2*(B_V69B))|(3-5*(B_V69D))
 363  #$DEF MOS_V69=(3-5*B_V69a)|(3-5*B_V69b)|(3-5*B_V69c)|(3-5*B_V69d)|(1-2*(B_V69a|B_V69b))|(3-5*(B_V69d))
 364
 365  $DEF B_V68=BLM2_V1|BLM2_V1B
 366
 367  #Lehke osobni soupravy
 368  $DEF MOS_V68=(3-5*B_V68)|(3-5@B_V68)
 369
 370  $DEF B_V67=BLM2_V1|BLM2_V1B
 371
 372  #Lehke osobni soupravy
 373  $DEF LMOS_V67=(1-2*B_V67)|(1-2@B_V67)
 374
 375  $DEF B_V66=BLM2_V1
 376
 377  #Lehke osobni soupravy
 378  $DEF LMOS_V66=1-2*B_V66
 379
 380  $DEF B_V65=BAIM_V1
 381  $DEF D_V65=CSD_DSD|CSD_DSD|DSD_PAT|CSD_DA60L|CSD_DA60~CD
 382
 383  #Lehke osobni soupravy
 384  $DEF MOS_V65A=(0-1*D_V65, 3-5*B_V65)
 385  $DEF MOS_V65C=(3-5*B_V65, 0-1*D_V65)
 386  $DEF MOS_V65=MOS_V65A|MOS_V65C
 387
 388  $DEF B_V64=BLM2_V1
 389  $DEF D_V64=CSD_DSD|CSD_DSD|DSD_PAT
 390
 391  #Lehke osobni soupravy
 392  $DEF MOS_V64A=(0-1*D_V64, 3-5*B_V64)
 393  $DEF MOS_V64C=(3-5*B_V64, 0-1*D_V64)
 394  $DEF MOS_V64=MOS_V64A|MOS_V64C
 395
 396  $DEF B_V63=BLM2_V1
 397  $DEF D_V63=CSD_DSD|CSD_DSD|DSD_PAT
 398
 399  #Lehke osobni soupravy
 400  $DEF LMOS_V63A=(8:0|2:1*D_V63, 1-2*B_V63)
 401  $DEF LMOS_V63C=(1-2*B_V63, 8:0|2:1*D_V63)
 402  $DEF LMOS_V63=LMOS_V63A|LMOS_V63C
 403
 404  $DEF B_V62=BALM_V1
 405  $DEF D_V62=CSD_DSD|CSD_DSD|DSD_PAT
 406
 407  #Lehke osobni soupravy
 408  $DEF LMOS_V62A=(0-1*D_V62, 1-2*B_V62)
 409  $DEF LMOS_V62C=(1-2*B_V62, 0-1*D_V62)
 410  $DEF LMOS_V62=LMOS_V62A|LMOS_V62C
 411
 412  $DEF B_V61=BALM_X_V1
 413  $DEF D_V61=CSD_DSD|CSD_DSD|DSD_PAT
 414
 415  #Motorova osobni souprava
 416  $DEF MOS_V61A=(0-1*D_V61, 3-5*B_V61)
 417  $DEF MOS_V61C=(3-5*B_V61, 0-1*D_V61)
 418
 419  $DEF MOS_V61=MOS_V61A|MOS_V61C
 420
 421  $DEF B_V60=BALM_V1
 422  $DEF D_V60=CSD_DSD|CSD_DSD|DSD_PAT
 423
 424  #Motorova osobni souprava BAM
 425  $DEF MOS_V60A=(0-1*D_V60, 3-5*B_V60)
 426  $DEF MOS_V60C=(3-5*B_V60, 0-1*D_V60)
 427
 428  $DEF MOS_V60=MOS_V60A|MOS_V60C
 429
 430  $DEF B_V59=BAM
 431  $DEF D_V59=CSD_DSD|CSD_DSD|DSD_PAT|CSD_DA60L|CSD_DA60~CD
 432
 433  #Motorova osobni souprava BAM
 434  $DEF MOS_V59A=(0-1*D_V59, 3-6*B_V59)
 435  $DEF MOS_V59C=(3-6*B_V59, 0-1*D_V59)
 436
 437  $DEF MOS_V59=MOS_V59A|MOS_V59C
 438
 439  $DEF B_V58=BLM
 440  $DEF D_V58=BDLM
 441
 442  #Lehke osobni soupravy
 443  $DEF LMOS_V58A=(0-1*D_V58, 1-2*B_V58)
 444  $DEF LMOS_V58C=(1-2*B_V58, 0-1*D_V58)
 445  $DEF LMOS_V58D=(1-2*B_V58, 0-1*D_V58, 0-1*B_V58)
 446  $DEF LMOS_V58=LMOS_V58A|LMOS_V58C|LMOS_V58D
 447
 448  $DEF B_V57=CLM35
 449  $DEF D_V57=CDLM38|CDFLM37
 450
 451  #Lehke osobni soupravy
 452  $DEF LMOS_V57A=(0-1*D_V57, 1-2*B_V57)
 453  $DEF LMOS_V57C=(1-2*B_V57, 0-1*D_V57)
 454  $DEF LMOS_V57D=(1-2*B_V57, 0-1*D_V57, 0-1*B_V57)
 455  $DEF LMOS_V57=LMOS_V57A|LMOS_V57C|LMOS_V57D
 456
 457  $DEF B_V56=CLM_V2
 458  $DEF D_V56=CDLM_V2
 459
 460  #Lehke osobni soupravy
 461  $DEF LMOS_V56A=(0-1*D_V56, 1-2*B_V56)
 462  $DEF LMOS_V56C=(1-2*B_V56, 0-1*D_V56)
 463  $DEF LMOS_V56D=(1-2*B_V56, 0-1*D_V56, 0-1*B_V56)
 464  $DEF LMOS_V56=LMOS_V56A|LMOS_V56C|LMOS_V56D
 465
 466  $DEF B_V55=CLM_V1
 467  $DEF D_V55=CDLM_V1
 468
 469  #Lehke osobni soupravy
 470  $DEF LMOS_V55A=(0-1*D_V55, 1-2*B_V55)
 471  $DEF LMOS_V55C=(1-2*B_V55, 0-1*D_V55)
 472  $DEF LMOS_V55D=(1*B_V55, 0-1*D_V55, 0-1*B_V55)
 473  $DEF LMOS_V55=LMOS_V55A|LMOS_V55C|LMOS_V55D
 474
 475  $DEF B_V46=CALM34_V1
 476  $DEF D_V46=BDALM34_V1
 477
 478  #Motorova osobni souprava - modrobila
 479  $DEF MOS_V46A=(0-1*D_V46, 2-4*B_V46)
 480  $DEF MOS_V46C=(2-4*B_V46, 0-1*D_V46)
 481  $DEF MOS_V46D=(0-2*B_V46, 0-1*D_V46, 1-2*B_V46)
 482
 483  $DEF MOS_V46=MOS_V46A|MOS_V46C|MOS_V46D
 484
 485  $DEF B_V47=CALM36_V1
 486  $DEF D_V47=BDALM34_V1
 487
 488  #Motorova osobni souprava - modrobila
 489  $DEF MOS_V47A=(0-1*D_V47, 2-4*B_V47)
 490  $DEF MOS_V47C=(2-4*B_V47, 0-1*D_V47)
 491  $DEF MOS_V47D=(0-2*B_V47, 0-1*D_V47, 1-2*B_V47)
 492
 493  $DEF MOS_V47=MOS_V47A|MOS_V47C|MOS_V47D
 494
 495  $DEF B_V48=CALM34_V2
 496  $DEF D_V48=BDALM34_V2
 497
 498  #Motorova osobni souprava - cervena
 499  $DEF MOS_V48A=(0-1*D_V48, 3-6*B_V48)
 500  $DEF MOS_V48C=(3-6*B_V48, 0-1*D_V48)
 501  $DEF MOS_V48D=(3-4*B_V48, 0-1*D_V48, 2-3*B_V48)
 502
 503  $DEF MOS_V48=MOS_V48A|MOS_V48C|MOS_V48D
 504
 505  $DEF B_V49=CALM36_V2
 506  $DEF D_V49=BDALM34_V2
 507
 508  #Motorova osobni souprava _ cervena
 509  $DEF MOS_V49A=(0-1*D_V49, 3-6*B_V49)
 510  $DEF MOS_V49C=(3-6*B_V49, 0-1*D_V49)
 511  $DEF MOS_V49D=(3-4*B_V49, 0-1*D_V49, 2-3*B_V49)
 512
 513  $DEF MOS_V49=MOS_V49A|MOS_V49C|MOS_V49D
 514
 515  $DEF B_V50=CALM34_V3
 516  $DEF D_V50=BDALM34_V3
 517
 518  #Motorova osobni souprava - cervena
 519  $DEF MOS_V50A=(0-1*D_V50, 3-6*B_V50)
 520  $DEF MOS_V50C=(3-6*B_V50, 0-1*D_V50)
 521  $DEF MOS_V50D=(3-4*B_V50, 0-1*D_V50, 2-3*B_V50)
 522
 523  $DEF MOS_V50=MOS_V50A|MOS_V50C|MOS_V50D
 524
 525  $DEF B_V51=CALM36_V3
 526
 527  #Motorova osobni souprava _ modrobila
 528  $DEF MOS_V51=2-4*B_V51
 529
 530  $DEF B_V52=CALM39
 531  $DEF D_V52=CSD_DSD|CSD_DSD|DSD_PAT
 532
 533  #Motorova osobni souprava - CALM39
 534  $DEF MOS_V52A=(0-1*D_V52, 3-6*B_V52)
 535  $DEF MOS_V52C=(3-6*B_V52, 0-1*D_V52)
 536
 537  $DEF MOS_V52=MOS_V52A|MOS_V52C
 538
 539  $DEF B_V53=CALM49
 540  $DEF D_V53=CSD_DSD|CSD_DSD|DSD_PAT
 541
 542  #Motorova osobni souprava - CALM49
 543  $DEF MOS_V53A=(0-1*D_V53, 3-6*B_V53)
 544  $DEF MOS_V53C=(3-6*B_V53, 0-1*D_V53)
 545
 546  $DEF MOS_V53=MOS_V53A|MOS_V53C
 547
 548  $DEF B_V54=BAM
 549  $DEF D_V54=CSD_DSD|CSD_DSD|DSD_PAT
 550
 551  #Motorova osobni souprava BAM
 552  $DEF MOS_V54A=(0-1*D_V54, 3-6*B_V54)
 553  $DEF MOS_V54C=(3-6*B_V54, 0-1*D_V54)
 554
 555  $DEF MOS_V54=MOS_V54A|MOS_V54C
 556
 557  #1946
 558
 559  $DEF B_V45=CSD_CLZ
 560  $DEF D_V45=CSD_1D|CSD_CDLZ
 561
 562  #Lehke osobni soupravy
 563  $DEF LOSZEL_V45A=(0-1*D_V45, 1-2*B_V45)
 564  $DEF LOSZEL_V45C=(1-2*B_V45, 0-1*D_V45)
 565  $DEF LOSZEL_V45D=(1-2*B_V45, 0-1*D_V45, 0-1*B_V45)
 566  $DEF LOSZEL_V45=LOSZEL_V45A|LOSZEL_V45C|LOSZEL_V45D
 567
 568  #Posunovana osobni souprava
 569  $DEF LOPSZEL_V45A=(1-3*D_V45, (0-3*B_V45))
 570  $DEF LOPSZEL_V45C=((0-3*B_V45), 1-3*D_V45)
 571  $DEF LOPSZEL_V45D=(0-1*B_V45, 1-3*D_V45, 0-2*B_V45)
 572
 573  $DEF LOPSZEL_V45=LOPSZEL_V45A|LOPSZEL_V45C|LOPSZEL_V45D
 574
 575  #1956
 576  $DEF A_V44=CSUKAAB
 577  $DEF B_V44=CSUKAA
 578  $DEF D_V44=CSUKAD
 579  $DEF WR_V44=CSUKAW
 580
 581  #Rychlikova souprava bezna
 582  $DEF RSZEL_V44A=(D_V44, A_V44, 0-1*WR_V44, 4-6*B_V44)
 583  $DEF RSZEL_V44B=(D_V44, 4-6*B_V44, 0-1*WR_V44, A_V44)
 584  $DEF RSZEL_V44C=(4-6*B_V44, D_V44, 0-1*WR_V44, A_V44)
 585  $DEF RSZEL_V44D=(3-4*B_V44, D_V44, 2-3*B_V44, A_V44)
 586  $DEF RSZEL_V44E=(A_V44, D_V44, 4-6*B_V44)
 587  $DEF RSZEL_V44F=(A_V44, 0-1*WR_V44, 4-6*B_V44, D_V44)
 588  $DEF RSZEL_V44G=(4-6*B_V44, 0-1*WR_V44, A_V44, D_V44)
 589
 590  $DEF RSZEL_V44=RSZEL_V44A|RSZEL_V44B|RSZEL_V44C|RSZEL_V44D|RSZEL_V44E|RSZEL_V44F|RSZEL_V44G
 591
 592  $DEF B_V43=CSD_BCA1930|CSD_CA1930
 593  $DEF D_V43=CSD_DA1930
 594  $DEF WR_V43=CSD_WR4U|CSD_ARA
 595
 596  #Rychlikova souprava bezna
 597  $DEF RSZEL_V43A=(D_V43, 3-6*B_V43)
 598  $DEF RSZEL_V43C=(3-6*B_V43, D_V43)
 599  $DEF RSZEL_V43D=(3-4*B_V43, D_V43, 2-3*B_V43)
 600
 601  $DEF RSZEL_V43=(2*(RSZEL_V43A|RSZEL_V43C|RSZEL_V43D))|RSZEL_V43A|RSZEL_V43C|RSZEL_V43D
 602
 603  #Rychlikova souprava dlouha
 604  $DEF RSDZEL_V143A=(D_V43, WR_V43, 4-8*B_V43)
 605  $DEF RSDZEL_V143B=(D_V43, 4-8*B_V43, WR_V43)
 606  $DEF RSDZEL_V143D=(3-4*B_V43, D_V43, 2-3*B_V43, WR_V43)
 607  $DEF RSDZEL_V143F=(WR_V43, 4-8*B_V43, D_V43)
 608  $DEF RSDZEL_V143G=(4-8*B_V43, WR_V43, D_V43)
 609
 610  $DEF RSDZEL_V143=RSDZEL_V143A|RSDZEL_V143B|RSDZEL_V143D|RSDZEL_V143F|RSDZEL_V143G
 611
 612  #1961
 613  $DEF B_V42=CSD_BA3_0167|CSD_BA3_0234|CSD_BA3_0277
 614  $DEF D_V42=CSD_DA1930
 615  $DEF WR_V42=CSD_WR4U|CSD_ARA
 616
 617  #Rychlikova souprava bezna
 618  $DEF RSZEL_V42A=(D_V42, 3-6*B_V42)
 619  $DEF RSZEL_V42C=(3-6*B_V42, D_V42)
 620  $DEF RSZEL_V42D=(3-4*B_V42, D_V42, 2-3*B_V42)
 621
 622  $DEF RSZEL_V42=(2*(RSZEL_V42A|RSZEL_V42C|RSZEL_V42D))|RSZEL_V42A|RSZEL_V42C|RSZEL_V42D
 623
 624  #Rychlikova souprava dlouha
 625  $DEF RSDZEL_V142A=(D_V42, WR_V42, 4-8*B_V42)
 626  $DEF RSDZEL_V142B=(D_V42, 4-8*B_V42, WR_V42)
 627  $DEF RSDZEL_V142C=(4-8*B_V42, D_V42, WR_V42)
 628  $DEF RSDZEL_V142D=(3-4*B_V42, D_V42, 2-3*B_V42, WR_V42)
 629  $DEF RSDZEL_V142E=(WR_V42, D_V42, 4-8*B_V42)
 630  $DEF RSDZEL_V142F=(WR_V42, 4-8*B_V42, D_V42)
 631  $DEF RSDZEL_V142G=(4-8*B_V42, WR_V42, D_V42)
 632
 633  $DEF RSDZEL_V142=RSDZEL_V142A|RSDZEL_V142B|RSDZEL_V142C|RSDZEL_V142D|RSDZEL_V142E|RSDZEL_V142F|RSDZEL_V142G
 634
 635  $DEF B_V40=CSD_BI20|CSD_BI21|CSD_BE20
 636  $DEF D_V40=CSD_1DD
 637
 638  #Tezka osobni souprava
 639  $DEF TOSZEL_V40A=(0-1*D_V40, 3-6*B_V40)
 640  $DEF TOSZEL_V40C=(3-6*B_V40, 0-1*D_V40)
 641  $DEF TOSZEL_V40D=(3-4*B_V40, 0-1*D_V40, 2-3*B_V40)
 642
 643  $DEF TOSZEL_V40=TOSZEL_V40A|TOSZEL_V40C|TOSZEL_V40D
 644
 645  $DEF B_V41=CSD_BI20|CSD_BI21|CSD_BE20
 646  $DEF D_V41=CSD_1DD
 647
 648  #Lehke osobni soupravy
 649  $DEF LOSZEL_V41A=(0-1*D_V41, 1-2*B_V41)
 650  $DEF LOSZEL_V41C=(1-2*B_V41, 0-1*D_V41)
 651  $DEF LOSZEL_V41D=(0-1*B_V41, 0-1*D_V41, 1-2*B_V41)
 652
 653  $DEF LOSZEL_V41=LOSZEL_V41A|LOSZEL_V41C|LOSZEL_V41D
 654
 655  #Posunovana osobni souprava
 656  $DEF LOPSZEL_V41A=(1-3*D_V41, (0-3*B_V41))
 657  $DEF LOPSZEL_V41C=(0-3*B_V41, 1-3*D_V41)
 658  $DEF LOPSZEL_V41D=(0-1*B_V41, 1-3*D_V41, 0-2*B_V41)
 659
 660  $DEF LOPSZEL_V41=LOPSZEL_V41A|LOPSZEL_V41C|LOPSZEL_V41D
 661
 662  #1966
 663  $DEF A_V2=CSD_AA60|CSD_AA60|(CSD_AA67|CSD_AA67L|CSD_ABA65B|CSD_ABA65BL|CSD_ABA65A|CSD_ABA65AL)
 664  $DEF B_V2=CSD_BA65A|CSD_BA65AL|CSD_BA65B|CSD_BA65BL
 665  $DEF D_V2=CSD_DA60L|CSD_DA60~CD
 666  $DEF BC_V2=CSD_BAC67|CSD_BAC67L
 667  $DEF WL_V2=CSD_WLAB60
 668  $DEF WR_V2=CSD_WR60|CSD_WR60|CSD_BRA60|CSD_BRA60L
 669
 670  #Rychlikova souprava bezna
 671  $DEF RSZEL_V2A=(D_V2, A_V2, 3-6*B_V2)
 672  $DEF RSZEL_V2B=(D_V2, 3-6*B_V2, A_V2)
 673  $DEF RSZEL_V2C=(3-6*B_V2, D_V2, A_V2)
 674  $DEF RSZEL_V2D=(3-4*B_V2, D_V2, 2-3*B_V2, A_V2)
 675  $DEF RSZEL_V2E=(A_V2, D_V2, 3-6*B_V2)
 676  $DEF RSZEL_V2F=(A_V2, 3-6*B_V2, D_V2)
 677  $DEF RSZEL_V2G=(3-6*B_V2, A_V2, D_V2)
 678
 679  $DEF RSZEL_V2=(2*(RSZEL_V2A|RSZEL_V2B|RSZEL_V2C|RSZEL_V2D|RSZEL_V2E|RSZEL_V2F|RSZEL_V2G))|RSZEL_V2A|RSZEL_V2B|RSZEL_V2C|RSZEL_V2D|RSZEL_V2E|RSZEL_V2F|RSZEL_V2G
 680
 681  #Rychlikova souprava dlouha
 682  $DEF RSDZEL_V102A=(D_V2, 1-2*A_V2, WR_V2, 4-8*B_V2, (0-2*WL_V2, 1-2@BC_V2)|(2-3*BC_V2,0-2@WL_V2))
 683  $DEF RSDZEL_V102B=(D_V2, 4-8*B_V2, WR_V2, 1-2*A_V2, (0-2*WL_V2, 1-2@BC_V2)|(2-3*BC_V2,0-2@WL_V2))
 684  $DEF RSDZEL_V102C=((0-2*WL_V2, 1-2@BC_V2)|(2-3*BC_V2,0-2@WL_V2), 4-8*B_V2, D_V2, WR_V2, 1-2*A_V2)
 685  $DEF RSDZEL_V102D=((0-2*WL_V2, 1-2@BC_V2)|(2-3*BC_V2,0-2@WL_V2), 3-4*B_V2, D_V2, 2-3*B_V2, WR_V2, 1-2*A_V2)
 686  $DEF RSDZEL_V102E=(1-2*A_V2, WR_V2, D_V2, 4-8*B_V2, (0-2*WL_V2, 1-2@BC_V2)|(2-3*BC_V2,0-2@WL_V2))
 687  $DEF RSDZEL_V102F=(1-2*A_V2, WR_V2, 4-8*B_V2, (0-2*WL_V2, 1-2@BC_V2)|(2-3*BC_V2,0-2@WL_V2), D_V2)
 688  $DEF RSDZEL_V102G=(4-8*B_V2, 1-2*A_V2, WR_V2, (0-2*WL_V2, 1-2@BC_V2)|(2-3*BC_V2,0-2@WL_V2), D_V2)
 689
 690  $DEF RSDZEL_V102=RSDZEL_V102A|RSDZEL_V102B|RSDZEL_V102C|RSDZEL_V102D|RSDZEL_V102E|RSDZEL_V102F|RSDZEL_V102G
 691
 692  $DEF A_V35=AA60|((CSD_ABA60L|CSD_ABA60)|CSD_ABA60L)
 693  $DEF B_V35=BA60
 694  $DEF D_V35=CSD_DA60L|CSD_DA60~CD
 695  $DEF WL_V35=CSD_WLAB60
 696  $DEF WR_V35=CSD_WR60|CSD_WR60|CSD_BRA60|CSD_BRA60L
 697
 698  #Rychlikova souprava bezna
 699  $DEF RSZEL_V35A=(D_V35, A_V35, 3-6*B_V35)
 700  $DEF RSZEL_V35B=(D_V35, 3-6*B_V35, A_V35)
 701  $DEF RSZEL_V35C=(3-6*B_V35, D_V35, A_V35)
 702  $DEF RSZEL_V35D=(3-4*B_V35, D_V35, 2-3*B_V35, A_V35)
 703  $DEF RSZEL_V35E=(A_V35, D_V35, 3-6*B_V35)
 704  $DEF RSZEL_V35F=(A_V35, 3-6*B_V35, D_V35)
 705  $DEF RSZEL_V35G=(3-6*B_V35, A_V35, D_V35)
 706
 707  $DEF RSZEL_V35=(2*(RSZEL_V35A|RSZEL_V35B|RSZEL_V35C|RSZEL_V35D|RSZEL_V35E|RSZEL_V35F|RSZEL_V35G))|RSZEL_V35A|RSZEL_V35B|RSZEL_V35C|RSZEL_V35D|RSZEL_V35E|RSZEL_V35F|RSZEL_V35G
 708
 709  #Rychlikova souprava dlouha
 710  $DEF RSDZEL_V135A=(D_V35, 1-2*A_V35, WR_V35, 4-8*B_V35, 0-3*WL_V35)
 711  $DEF RSDZEL_V135B=(D_V35, 4-8*B_V35, WR_V35, 1-2*A_V35, 0-3*WL_V35)
 712  $DEF RSDZEL_V135C=(0-3*WL_V35, 4-8*B_V35, D_V35, WR_V35, 1-2*A_V35)
 713  $DEF RSDZEL_V135D=(0-3*WL_V35, 3-4*B_V35, D_V35, 2-3*B_V35, WR_V35, 1-2*A_V35)
 714  $DEF RSDZEL_V135E=(1-2*A_V35, WR_V35, D_V35, 4-8*B_V35, 0-3*WL_V35)
 715  $DEF RSDZEL_V135F=(1-2*A_V35, WR_V35, 4-8*B_V35, 0-3*WL_V35, D_V35)
 716  $DEF RSDZEL_V135G=(4-8*B_V35, 1-2*A_V35, WR_V35, 0-3*WL_V35, D_V35)
 717
 718  $DEF RSDZEL_V135=RSDZEL_V135A|RSDZEL_V135B|RSDZEL_V135C|RSDZEL_V135D|RSDZEL_V135E|RSDZEL_V135F|RSDZEL_V135G
 719
 720  $DEF RSB66=RSZEL_V2|RSZEL_V35
 721  $DEF RSD66=3:RSDZEL_V102|7:RSDZEL_V135
 722
 723  $DEF RS66=7:RSB66|3:RSD66
 724
 725  $DEF B_V36A=CSD_BE30|CSD_BE31|BE30_PAT
 726  $DEF B_V36B=CSD_BE30|CSD_BE31
 727  $DEF D_V36=CSD_DSD|CSD_DSD|DSD_PAT
 728
 729  #Tezka osobni souprava
 730  $DEF TOSZEL_V36A=(0-1*D_V36, (3-6*B_V36A)|(3-6*B_V36B)|(3-6*(B_V36A|B_V36B)))
 731  $DEF TOSZEL_V36C=((3-6*B_V36A)|(3-6*B_V36B)|(3-6*(B_V36A|B_V36B)), 0-1*D_V36)
 732  $DEF TOSZEL_V36D=(3-4*B_V36B, 0-1*D_V36, 2-3*B_V36B)
 733
 734  $DEF TOSZEL_V36=TOSZEL_V36A|TOSZEL_V36C|TOSZEL_V36D
 735
 736  #Posunovana osobni souprava
 737  $DEF LOPSZEL_V36A=(1-3*D_V36, (0-3*B_V36A)|(0-3*B_V36B)|(0-3*(B_V36A|B_V36B)))
 738  $DEF LOPSZEL_V36C=((0-3*B_V36A)|(0-3*B_V36B)|(0-3*(B_V36A|B_V36B)), 1-3*D_V36)
 739  $DEF LOPSZEL_V36D=(0-1*B_V36B, 1-3*D_V36, 0-2*B_V36B)
 740
 741  $DEF LOPSZEL_V36=LOPSZEL_V36A|LOPSZEL_V36C|LOPSZEL_V36D
 742
 743  $DEF B_V37A=BA60
 744  $DEF B_V37B=BAI60_V1
 745  $DEF B_V37C=BAI60_V2
 746  $DEF D_V37=CSD_DA60L|CSD_DA60~CD|CSD_DSD|CSD_DSD|DSD_PAT
 747
 748  #Tezke osobni soupravy patrove CD
 749  $DEF TOSDD_V37=(7:0|3:1*D_V37, (1-2@DDCSD_V2|CSD_BP_930))|((1-2@DDCSD_V2|CSD_BP_930),7:0|3:1*D_V37)
 750
 751  #Tezka osobni souprava
 752  $DEF TOSZEL_V37A=(0-1*D_V37, (3-6*B_V37A)|(3-6*B_V37B)|(3-6*B_V37C)|(3-6*(B_V37B|B_V37C)))
 753  $DEF TOSZEL_V37C=((3-6*B_V37A)|(3-6*B_V37B)|(3-6*B_V37C)|(3-6*(B_V37B|B_V37C)), 0-1*D_V37)
 754  $DEF TOSZEL_V37D=(3-4*B_V37B, 0-1*D_V37, 2-3*B_V37B)
 755  $DEF TOSZEL_V37=TOSZEL_V37A|TOSZEL_V37C|TOSZEL_V37D
 756
 757  $DEF B_V39A=CSD_BA3_0167|CSD_BA3_0167|CSD_BA3_0234|CSD_BA3_0234|CSD_BA3_0277|CSD_BA3_0277
 758  $DEF D_V39=(CSD_DSD|CSD_DSD|DSD_PAT)|CSD_DA1930|CSD_1DD
 759
 760  #Tezka osobni souprava
 761  $DEF TOSZEL_V39A=(0-1*D_V39, 3-6*B_V39A)
 762  $DEF TOSZEL_V39C=(3-6*B_V39A, 0-1*D_V39)
 763  $DEF TOSZEL_V39D=(3-4*B_V39A, 0-1*D_V39, 2-3*B_V39A)
 764
 765  $DEF TOSZEL_V39=TOSZEL_V39A|TOSZEL_V39C|TOSZEL_V39D
 766
 767  $DEF B_V38A=CSD_BE30|CSD_BE31|BE30_PAT
 768  $DEF B_V38B=CSD_BE30|CSD_BE31
 769  $DEF D_V38=CSD_DSD|CSD_DSD|DSD_PAT
 770
 771  #Lehke osobni soupravy
 772  $DEF LOSZEL_V38A=(0-1*D_V38, (1-2*B_V38A)|(1-2*B_V38B)|(1-2*(B_V38A|B_V38B)))
 773  $DEF LOSZEL_V38C=((1-2*B_V38A)|(1-2*B_V38B)|(1-2*(B_V38A|B_V38B)), 0-1*D_V38)
 774  $DEF LOSZEL_V38D=(1-2*B_V38A, 0-1*D_V38, 0-1*B_V38A)
 775  $DEF LOSZEL_V38=LOSZEL_V38A|LOSZEL_V38C|LOSZEL_V38D
 776
 777  $DEF TOS66=4:TOSZEL_V36|6:TOSZEL_V37
 778
 779  $DEF LOS66=LOSZEL_V38
 780
 781  #1976
 782
 783  $DEF A_V1=CSD_Y4AM|CSD_Y4AML|CSD_Y4A|CSD_Y4AL|CSD_Y4AB|CSD_Y4ABL|CSD_Y4ABM|CSD_Y4ABML
 784  $DEF B_V1=CSD_Y4BM|CSD_Y4BML|CSD_Y4B|CSD_Y4BL
 785  $DEF D_V1=4:(CSD_DA60L|CSD_DA60~CD)|6:(CSD_Y4BDS|CSD_Y4BDSL)
 786  $DEF BC_V1=CSD_Y4BC|CSD_Y4BCL|CSD_Y4BCM1|CSD_Y4BCM1L|CSD_Y4BCM2|CSD_Y4BCM2L
 787  $DEF WL_V1=CSD_Y4WLABM|CSD_Y4WLABML
 788  $DEF WR_V1=CSD_Y4WRM|CSD_Y4WRML
 789
 790  #Rychlikova souprava bezna
 791  $DEF RSZEL_V1A=(D_V1, A_V1, 3-6*B_V1)
 792  $DEF RSZEL_V1B=(D_V1, 3-6*B_V1, A_V1)
 793  $DEF RSZEL_V1C=(3-6*B_V1, D_V1, A_V1)
 794  $DEF RSZEL_V1D=(3-4*B_V1, D_V1, 2-3*B_V1, A_V1)
 795  $DEF RSZEL_V1E=(A_V1, D_V1, 3-6*B_V1)
 796  $DEF RSZEL_V1F=(A_V1, 3-6*B_V1, D_V1)
 797  $DEF RSZEL_V1G=(3-6*B_V1, A_V1, D_V1)
 798
 799  $DEF RSZEL_V1=(2*(RSZEL_V1A|RSZEL_V1B|RSZEL_V1C|RSZEL_V1D|RSZEL_V1E|RSZEL_V1F|RSZEL_V1G))|RSZEL_V1A|RSZEL_V1B|RSZEL_V1C|RSZEL_V1D|RSZEL_V1E|RSZEL_V1F|RSZEL_V1G
 800
 801  #Rychlikova souprava dlouha
 802  $DEF RSDZEL_V101A=(D_V1, 1-2*A_V1, WR_V1, 4-8*B_V1, (0-2*WL_V1, 1-2@BC_V1)|(2-3*BC_V1,0-2@WL_V1))
 803  $DEF RSDZEL_V101B=(D_V1, 4-8*B_V1, WR_V1, 1-2*A_V1, (0-2*WL_V1, 1-2@BC_V1)|(2-3*BC_V1,0-2@WL_V1))
 804  $DEF RSDZEL_V101C=((0-2*WL_V1, 1-2@BC_V1)|(2-3*BC_V1,0-2@WL_V1), 4-8*B_V1, D_V1, WR_V1, 1-2*A_V1)
 805  $DEF RSDZEL_V101D=((0-2*WL_V1, 1-2@BC_V1)|(2-3*BC_V1,0-2@WL_V1), 3-4*B_V1, D_V1, 2-3*B_V1, WR_V1, 1-2*A_V1)
 806  $DEF RSDZEL_V101E=(1-2*A_V1, WR_V1, D_V1, 4-8*B_V1, (0-2*WL_V1, 1-2@BC_V1)|(2-3*BC_V1,0-2@WL_V1))
 807  $DEF RSDZEL_V101F=(1-2*A_V1, WR_V1, 4-8*B_V1, (0-2*WL_V1, 1-2@BC_V1)|(2-3*BC_V1,0-2@WL_V1), D_V1)
 808  $DEF RSDZEL_V101G=(4-8*B_V1, 1-2*A_V1, WR_V1, (0-2*WL_V1, 1-2@BC_V1)|(2-3*BC_V1,0-2@WL_V1), D_V1)
 809
 810  $DEF RSDZEL_V101=RSDZEL_V101A|RSDZEL_V101B|RSDZEL_V101C|RSDZEL_V101D|RSDZEL_V101E|RSDZEL_V101F|RSDZEL_V101G
 811
 812  $DEF A_V3=CSD_ABM65A|CSD_ABM65AL|CSD_ABM65B|CSD_ABM65BL|CSD_AM67A|CSD_AM67AL|CSD_AM|CSD_AM67BL|CSD_AM72|CSD_AM72L
 813  $DEF B_V3=CSD_BM65A|CSD_BM65AL|CSD_BM65B|CSD_BM65BL
 814  $DEF D_V3=4:(CSD_DA60L|CSD_DA60~CD)|6:(CSD_BDMS74|CSD_BDMS74L|CSD_DMS74A|CSD_DMS74AL|CSD_DMS74B|CSD_DMS74BL)
 815  $DEF BC_V3=CSD_BCM67A|CSD_BCM67AL|CSD_BCM67B|CSD_BCM67BL|CSD_BCM67C|CSD_BCM67CL|CSD_BCM75A|CSD_BCM75AL|CSD_BCM75B|CSD_BCM75BL|CSD_BCM75C|CSD_BCM75CL
 816  $DEF WL_V3=CSD_WLABM68A|CSD_WLABM68AL|CSD_WLABM68B|CSD_WLABM68BL|CSD_WLABM68C|CSD_WLABM68CL
 817  $DEF WR_V3=CSD_WRM69A|CSD_WRM69AL|CSD_WRM69B|CSD_WRM69BL|CSD_WRM69C|CSD_WRM69CL
 818
 819  #Rychlikova souprava bezna
 820  $DEF RSZEL_V3A=(D_V3, A_V3, 3-6*B_V3)
 821  $DEF RSZEL_V3B=(D_V3, 3-6*B_V3, A_V3)
 822  $DEF RSZEL_V3C=(3-6*B_V3, D_V3, A_V3)
 823  $DEF RSZEL_V3D=(3-4*B_V3, D_V3, 2-3*B_V3, A_V3)
 824  $DEF RSZEL_V3E=(A_V3, D_V3, 3-6*B_V3)
 825  $DEF RSZEL_V3F=(A_V3, 3-6*B_V3, D_V3)
 826  $DEF RSZEL_V3G=(3-6*B_V3, A_V3, D_V3)
 827
 828  $DEF RSZEL_V3=(2*(RSZEL_V3A|RSZEL_V3B|RSZEL_V3C|RSZEL_V3D|RSZEL_V3E|RSZEL_V3F|RSZEL_V3G))|RSZEL_V3A|RSZEL_V3B|RSZEL_V3C|RSZEL_V3D|RSZEL_V3E|RSZEL_V3F|RSZEL_V3G
 829
 830  #Rychlikova souprava dlouha
 831  $DEF RSDZEL_V103A=(D_V3, 1-2*A_V3, WR_V3, 4-8*B_V3, (0-2*WL_V3, 1-2@BC_V3)|(2-3*BC_V3,0-2@WL_V3))
 832  $DEF RSDZEL_V103B=(D_V3, 4-8*B_V3, WR_V3, 1-2*A_V3, (0-2*WL_V3, 1-2@BC_V3)|(2-3*BC_V3,0-2@WL_V3))
 833  $DEF RSDZEL_V103C=((0-2*WL_V3, 1-2@BC_V3)|(2-3*BC_V3,0-2@WL_V3), 4-8*B_V3, D_V3, WR_V3, 1-2*A_V3)
 834  $DEF RSDZEL_V103D=((0-2*WL_V3, 1-2@BC_V3)|(2-3*BC_V3,0-2@WL_V3), 3-4*B_V3, D_V3, 2-3*B_V3, WR_V3, 1-2*A_V3)
 835  $DEF RSDZEL_V103E=(1-2*A_V3, WR_V3, D_V3, 4-8*B_V3, (0-2*WL_V3, 1-2@BC_V3)|(2-3*BC_V3,0-2@WL_V3))
 836  $DEF RSDZEL_V103F=(1-2*A_V3, WR_V3, 4-8*B_V3, (0-2*WL_V3, 1-2@BC_V3)|(2-3*BC_V3,0-2@WL_V3), D_V3)
 837  $DEF RSDZEL_V103G=(4-8*B_V3, 1-2*A_V3, WR_V3, (0-2*WL_V3, 1-2@BC_V3)|(2-3*BC_V3,0-2@WL_V3), D_V3)
 838
 839  $DEF RSDZEL_V103=RSDZEL_V103A|RSDZEL_V103B|RSDZEL_V103C|RSDZEL_V103D|RSDZEL_V103E|RSDZEL_V103F|RSDZEL_V103G
 840
 841  $DEF RSB76=RSZEL_V1|RSZEL_V3
 842  $DEF RSD76=RSDZEL_V101|RSDZEL_V103
 843
 844  $DEF RS76=7:RSB76|3:RSD76
 845
 846
 847  $DEF B_V33=CSD_B65|CSD_B65L
 848  $DEF D_V33=CSD_DA60~CD|CSD_DA60L|CSD_DSD|CSD_DSD|DSD_PAT
 849
 850  #Tezka osobni souprava
 851  $DEF TOSZEL_V33A=(0-1*D_V33, 3-6*B_V33)
 852  $DEF TOSZEL_V33C=(3-6*B_V33, 0-1*D_V33)
 853  $DEF TOSZEL_V33D=(3-4*B_V33, 0-1*D_V33, 2-3*B_V33)
 854
 855  $DEF TOSZEL_V33=TOSZEL_V33A|TOSZEL_V33C|TOSZEL_V33D
 856
 857  $DEF B_V34=CSD_Y4BM|CSD_Y4BML
 858  $DEF D_V34=CSD_DA60~CD|CSD_DA60L|CSD_DSD|CSD_DSD|DSD_PAT
 859
 860  #Tezka osobni souprava
 861  $DEF TOSZEL_V34A=(0-1*D_V34, 3-6*B_V34)
 862  $DEF TOSZEL_V34C=(3-6*B_V34, 0-1*D_V34)
 863  $DEF TOSZEL_V34D=(3-4*B_V34, 0-1*D_V34, 2-3*B_V34)
 864
 865  $DEF TOSZEL_V34=TOSZEL_V34A|TOSZEL_V34C|TOSZEL_V34D
 866
 867  #Tezke osobni soupravy patrove CD
 868  $DEF TOSDD_V34=(7:0|3:1*D_V34, 3:(3-5@BAPCSD_V2)|2:(3-5*BAPCSD_V2)|5:(1-2@DDCSD_V2|CSD_BP_930))|(3:(3-5@BAPCSD_V2)|2:(3-5*BAPCSD_V2)|5:(1-2@DDCSD_V2|CSD_BP_930),7:0|3:1*D_V34)
 869  $DEF LOSDD_V34=(7:0|3:1*D_V34, 7:(1-2@BAPCSD_V2)|3:(1-2*BAPCSD_V2))|(7:(1-2@BAPCSD_V2)|3:(1-2*BAPCSD_V2),7:0|3:1*D_V34)
 870
 871  $DEF TOSY76=TOSZEL_V33|TOSZEL_V34
 872
 873  #1988
 874  $DEF A_V4=CSD_AB65|CSD_AB65L|CSD_A67|CSD_A67L|CSD_A72|CSD_A72L|CSD_AB84|CSD_ABM84
 875  $DEF B_V4=CSD_B65|CSD_B65L
 876  $DEF D_V4=CSD_BDS74|CSD_BDS74L|CSD_DS74|CSD_DS74L|CSD_BDS81|CSD_BDS81L|CSD_BDMEE87|CSD_BDMEE87L
 877  $DEF BC_V4=CSD_BC67|CSD_BC67L|CSD_BC75|CSD_BC75L
 878  $DEF WL_V4=CSD_WLAB68B|CSD_WLAB68BL|CSD_WLAB78|CSD_WLAB78L|CSD_WLABM78A|CSD_WLABM78AL|CSD_WLABM78B|CSD_WLABM78BL|CSD_WLABM78C|CSD_WLABM78CL|CSD_WLAB85|CSD_WLAB85L|CSD_WLABM85|CSD_WLABM85L
 879  $DEF WR_V4=CSD_WR69B|CSD_WR69BL|CSD_WRAB|CSD_WRABL|CSD_WRRM1|CSD_WRRM1L|CSD_BRCM|CSD_BRCML
 880
 881  #Rychlikova souprava bezna
 882  $DEF RSZEL_V4A=(D_V4, A_V4, 3-6*B_V4)
 883  $DEF RSZEL_V4B=(D_V4, 3-6*B_V4, A_V4)
 884  $DEF RSZEL_V4C=(3-6*B_V4, D_V4, A_V4)
 885  $DEF RSZEL_V4D=(3-4*B_V4, D_V4, 2-3*B_V4, A_V4)
 886  $DEF RSZEL_V4E=(A_V4, D_V4, 3-6*B_V4)
 887  $DEF RSZEL_V4F=(A_V4, 3-6*B_V4, D_V4)
 888  $DEF RSZEL_V4G=(3-6*B_V4, A_V4, D_V4)
 889
 890  $DEF RSZEL_V4=(2*(RSZEL_V4A|RSZEL_V4B|RSZEL_V4C|RSZEL_V4D|RSZEL_V4E|RSZEL_V4F|RSZEL_V4G))|RSZEL_V4A|RSZEL_V4B|RSZEL_V4C|RSZEL_V4D|RSZEL_V4E|RSZEL_V4F|RSZEL_V4G
 891
 892  #Rychlikova souprava dlouha
 893  $DEF RSDZEL_V104A=(D_V4, 1-2*A_V4, WR_V4, 4-8*B_V4, (0-2*WL_V4, 1-2@BC_V4)|(2-3*BC_V4,0-2@WL_V4))
 894  $DEF RSDZEL_V104B=(D_V4, 4-8*B_V4, WR_V4, 1-2*A_V4, (0-2*WL_V4, 1-2@BC_V4)|(2-3*BC_V4,0-2@WL_V4))
 895  $DEF RSDZEL_V104C=((0-2*WL_V4, 1-2@BC_V4)|(2-3*BC_V4,0-2@WL_V4), 4-8*B_V4, D_V4, WR_V4, 1-2*A_V4)
 896  $DEF RSDZEL_V104D=((0-2*WL_V4, 1-2@BC_V4)|(2-3*BC_V4,0-2@WL_V4), 3-4*B_V4, D_V4, 2-3*B_V4, WR_V4, 1-2*A_V4)
 897  $DEF RSDZEL_V104E=(1-2*A_V4, WR_V4, D_V4, 4-8*B_V4, (0-2*WL_V4, 1-2@BC_V4)|(2-3*BC_V4,0-2@WL_V4))
 898  $DEF RSDZEL_V104F=(1-2*A_V4, WR_V4, 4-8*B_V4, (0-2*WL_V4, 1-2@BC_V4)|(2-3*BC_V4,0-2@WL_V4), D_V4)
 899  $DEF RSDZEL_V104G=(4-8*B_V4, 1-2*A_V4, WR_V4, (0-2*WL_V4, 1-2@BC_V4)|(2-3*BC_V4,0-2@WL_V4), D_V4)
 900
 901  $DEF RSDZEL_V104=RSDZEL_V104A|RSDZEL_V104B|RSDZEL_V104C|RSDZEL_V104D|RSDZEL_V104E|RSDZEL_V104F|RSDZEL_V104G
 902
 903  $DEF A_V5=CSD_AMEE87L|CSD_AMEE87
 904  $DEF B_V5=CSD_BMEE86L|CSD_BMEE86
 905  $DEF D_V5=CSD_BDMEER87|CSD_BDMEER87L
 906  $DEF WR_V5=CSD_WRAB|CSD_WRABL|CSD_WRRM1|CSD_WRRM1L|CSD_BRCM|CSD_BRCML
 907
 908  #Rychlikova souprava bezna
 909  $DEF RSZELZL_V5A=(D_V5, A_V5, 0-1*WR_V5, 3-6*B_V5)
 910  $DEF RSZELZL_V5B=(D_V5, 3-6*B_V5, 0-1*WR_V5, A_V5)
 911  $DEF RSZELZL_V5C=(3-6*B_V5, D_V5, 0-1*WR_V5, A_V5)
 912  $DEF RSZELZL_V5D=(3-4*B_V5, D_V5, 2-3*B_V5, A_V5)
 913  $DEF RSZELZL_V5E=(A_V5, D_V5, 3-6*B_V5)
 914  $DEF RSZELZL_V5F=(A_V5, 0-1*WR_V5, 3-6*B_V5, D_V5)
 915  $DEF RSZELZL_V5G=(3-6*B_V5, 0-1*WR_V5, A_V5, D_V5)
 916
 917  $DEF RSZELZL_V5=(2*(RSZELZL_V5A|RSZELZL_V5B|RSZELZL_V5C|RSZELZL_V5D|RSZELZL_V5E|RSZELZL_V5F|RSZELZL_V5G))|RSZELZL_V5A|RSZELZL_V5B|RSZELZL_V5C|RSZELZL_V5D|RSZELZL_V5E|RSZELZL_V5F|RSZELZL_V5G
 918
 919  $DEF RSB88=RSZEL_V4
 920  $DEF RSD88=RSDZEL_V104
 921
 922  $DEF RS88=7:RSB88|3:RSD88
 923  $DEF RSES88=3:RSB88|3:RSD88|4:RSZELZL_V5
 924
 925  $DEF B_V31=CSD_B65|CSD_B65L
 926  $DEF D_V31=CSD_BDS74|CSD_BDS74L|CSD_DS74|CSD_DS74L|CSD_BDS81|CSD_BDS81L|CSD_DA60~CD|CSD_DA60L
 927
 928
 929  #Tezka osobni souprava
 930  $DEF TOSZEL_V31A=(0-1*D_V31, 3-6*B_V31)
 931  $DEF TOSZEL_V31C=(3-6*B_V31, 0-1*D_V31)
 932  $DEF TOSZEL_V31D=(3-4*B_V31, 0-1*D_V31, 2-3*B_V31)
 933
 934  $DEF TOSZEL_V31=TOSZEL_V31A|TOSZEL_V31C|TOSZEL_V31D
 935
 936  #Tezke osobni soupravy patrove CD
 937  $DEF TOSDD_V31=(7:0|3:1*D_V31, 6:(3-5@BAPCSD_V1)|2:(3-5*BAPCSD_V1)|2:(1-2@DDCSD_V1|CSD_BP_930))|(6:(3-5@BAPCSD_V1)|2:(3-5*BAPCSD_V1)|2:(1-2@DDCSD_V1|CSD_BP_930),7:0|3:1*D_V31)
 938  $DEF LOSDD_V31=(7:0|3:1*D_V31, 7:(1-2@BAPCSD_V1)|3:(1-2*BAPCSD_V1))|(7:(1-2@BAPCSD_V1)|3:(1-2*BAPCSD_V1),7:0|3:1*D_V31)
 939
 940  $DEF B_V32=CSD_B65|CSD_B65L
 941  $DEF D_V32=CSD_BDS74|CSD_BDS74L|CSD_DS74|CSD_DS74L|CSD_BDS81|CSD_BDS81L|CSD_DA60~CD|CSD_DA60L|CSD_DSD|CSD_DSD|DSD_PAT
 942
 943  #Lehke osobni soupravy Y
 944  $DEF LOSYZEL_V32A=(D_V32, 1-2*B_V32)
 945  $DEF LOSYZEL_V32C=(1-2*B_V32, D_V32)
 946  $DEF LOSYZEL_V32D=(1-2*B_V32, D_V32, B_V32)
 947  $DEF LOSYZEL_V32H=(1-3*B_V32)
 948  $DEF LOSYZEL_V32=1:LOSYZEL_V32A|1:LOSYZEL_V32C|1:LOSYZEL_V32D|7:LOSYZEL_V32H
 949
 950  $DEF TOSY88=TOSZEL_V31
 951
 952  $DEF LOSY88=LOSYZEL_V32
 953
 954  # Zaplata, verze 18 uz je nize
 955  $DEF B_V18_88=CD_BYMEE2|CD_BYMEE2L
 956
 957  $DEF D_V15_88=CD_BDS74|CD_BDS74L|CD_DS74|CD_DS74L|CD_BDS81|CD_BDS81L
 958  $DEF D_V16_88=CD_BDS74B|CD_BDS74BL|CD_DS74B|CD_DS74BL|CD_BDS81|CD_BDS81L
 959  $DEF D_V18_88=8:(D_V15_88)|2:(D_V16_88)
 960
 961  $DEF TOSX_V18A_88=0-1*D_V18_88, 3-5*B_V18_88
 962  $DEF TOSX_V18B_88=3-5*B_V18_88, 0-1*D_V18_88
 963
 964  $DEF TOSX88=TOSX_V18A_88|TOSX_V18B_88
 965
 966  #1995
 967  $DEF A_V6=CD_A67|CD_A67L|CD_A72|CD_A72L|CD_AB65|CD_AB65L|CD_AB84|CD_AB84L
 968  $DEF B_V6=CD_B65|CD_B65L|CD_B77|CD_B77L
 969  $DEF D_V6=CD_BDS74|CD_BDS74L|CD_DS74|CD_DS74L|CD_BDS81|CD_BDS81L|CD_BDMEE2|CD_BDMEE2L
 970  $DEF WR_V6=25:(CD_WR69|CD_WR69L|CD_Y5WRM|CD_Y5WRML)|6:(CD_BRCM|CD_BRCML|CD_BRCM|CD_BRCML)
 971  $DEF BC_V6=CD_BC67|CD_BC67L|CD_BC67L|CD_BC67|CD_BC75L|CD_BC75|CD_BC75|CD_BC75L
 972  $DEF WL_V6=CD_WLAB68|CD_WLAB68L|CD_WLAB68L|CD_WLAB68|CD_WLAB78|CD_WLAB78L|CD_WLAB78L|CD_WLAB78|CD_WLAB85|CD_WLAB85L|CD_WL|CD_WLL|CD_WLABV_170
 973
 974  #Rychlikova souprava bezna
 975  $DEF RSZEL_V6A=(D_V6, A_V6, 3-6*B_V6)
 976  $DEF RSZEL_V6B=(D_V6, 3-6*B_V6, A_V6)
 977  $DEF RSZEL_V6C=(3-6*B_V6, D_V6, A_V6)
 978  $DEF RSZEL_V6D=(3-4*B_V6, D_V6, 2-3*B_V6, A_V6)
 979  $DEF RSZEL_V6E=(A_V6, D_V6, 3-6*B_V6)
 980  $DEF RSZEL_V6F=(A_V6, 3-6*B_V6, D_V6)
 981  $DEF RSZEL_V6G=(3-6*B_V6, A_V6, D_V6)
 982
 983  $DEF RSZEL_V6=(2*(RSZEL_V6A|RSZEL_V6B|RSZEL_V6C|RSZEL_V6D|RSZEL_V6E|RSZEL_V6F|RSZEL_V6G))|RSZEL_V6A|RSZEL_V6B|RSZEL_V6C|RSZEL_V6D|RSZEL_V6E|RSZEL_V6F|RSZEL_V6G
 984
 985  #Rychlikova souprava dlouha
 986  $DEF RSDZEL_V106A=(D_V6, 1-2*A_V6, WR_V6, 4-8*B_V6, (0-2*WL_V6, 1-2@BC_V6)|(2-3*BC_V6,0-2@WL_V6))
 987  $DEF RSDZEL_V106B=(D_V6, 4-8*B_V6, WR_V6, 1-2*A_V6, (0-2*WL_V6, 1-2@BC_V6)|(2-3*BC_V6,0-2@WL_V6))
 988  $DEF RSDZEL_V106C=((0-2*WL_V6, 1-2@BC_V6)|(2-3*BC_V6,0-2@WL_V6), 4-8*B_V6, D_V6, WR_V6, 1-2*A_V6)
 989  $DEF RSDZEL_V106D=((0-2*WL_V6, 1-2@BC_V6)|(2-3*BC_V6,0-2@WL_V6), 3-4*B_V6, D_V6, 2-3*B_V6, WR_V6, 1-2*A_V6)
 990  $DEF RSDZEL_V106E=(1-2*A_V6, WR_V6, D_V6, 4-8*B_V6, (0-2*WL_V6, 1-2@BC_V6)|(2-3*BC_V6,0-2@WL_V6))
 991  $DEF RSDZEL_V106F=(1-2*A_V6, WR_V6, 4-8*B_V6, (0-2*WL_V6, 1-2@BC_V6)|(2-3*BC_V6,0-2@WL_V6), D_V6)
 992  $DEF RSDZEL_V106G=(4-8*B_V6, 1-2*A_V6, WR_V6, (0-2*WL_V6, 1-2@BC_V6)|(2-3*BC_V6,0-2@WL_V6), D_V6)
 993
 994  $DEF RSDZEL_V106=RSDZEL_V106A|RSDZEL_V106B|RSDZEL_V106C|RSDZEL_V106D|RSDZEL_V106E|RSDZEL_V106F|RSDZEL_V106G
 995
 996  $DEF A_V7=CD_A67B1|CD_A67B1L|CD_Y5AM|CD_Y5AML|CD_A72B1|CD_A72B1L|CD_A72B2|CD_A72B2L|CD_Y5A|CD_Y5AL|CD_AB65B|CD_AB65BL|CD_AB84B|CD_AB84BL|CD_Y5ABM|CD_Y5ABML
 997  $DEF B_V7=CD_B65B1|CD_B65B1L|CD_B65B2|CD_B65B2L|CD_B65B3|CD_B65B3L|CD_B77B|CD_B77BL|CD_Y5B|CD_Y5BL|CD_Y5BM|CD_Y5BML|CD_9B67|CD_9B67L
 998  $DEF D_V7=CD_BDS74B|CD_BDS74BL|CD_DS74B|CD_DS74BL|CD_BDS81|CD_BDS81L|CD_BDMEER3|CD_BDMEER3L
 999  $DEF WR_V7=25:(CD_WR69|CD_WR69L|CD_Y5WRM|CD_Y5WRML)|6:(CD_BRCM|CD_BRCML|CD_BRCM|CD_BRCML)|15:(CD_WRRM1|CD_WRRM1L|CD_WRRM2|CD_WRRM2L|CD_WRRM3|CD_WRRM3L)|2:(CD_WRMEE|CD_WRMEEL)
1000  $DEF BC_V7=BC_V6
1001  $DEF WL_V7=WL_V6
1002
1003  #Rychlikova souprava bezna
1004  $DEF RSZELBIL_V7A=(D_V7, A_V7, 3-6*B_V7)
1005  $DEF RSZELBIL_V7B=(D_V7, 3-6*B_V7, A_V7)
1006  $DEF RSZELBIL_V7C=(3-6*B_V7, D_V7, A_V7)
1007  $DEF RSZELBIL_V7D=(3-4*B_V7, D_V7, 2-3*B_V7, A_V7)
1008  $DEF RSZELBIL_V7E=(A_V7, D_V7, 3-6*B_V7)
1009  $DEF RSZELBIL_V7F=(A_V7, 3-6*B_V7, D_V7)
1010  $DEF RSZELBIL_V7G=(3-6*B_V7, A_V7, D_V7)
1011
1012  $DEF RSZELBIL_V7=(2*(RSZELBIL_V7A|RSZELBIL_V7B|RSZELBIL_V7C|RSZELBIL_V7D|RSZELBIL_V7E|RSZELBIL_V7F|RSZELBIL_V7G))|RSZELBIL_V7A|RSZELBIL_V7B|RSZELBIL_V7C|RSZELBIL_V7D|RSZELBIL_V7E|RSZELBIL_V7F|RSZELBIL_V7G
1013
1014  #Rychlikova souprava dlouha
1015  $DEF RSDZELBIL_V107A=(D_V7, 1-2*A_V7, WR_V7, 4-8*B_V7, (0-2*WL_V7, 1-2@BC_V7)|(2-3*BC_V7,0-2@WL_V7))
1016  $DEF RSDZELBIL_V107B=(D_V7, 4-8*B_V7, WR_V7, 1-2*A_V7, (0-2*WL_V7, 1-2@BC_V7)|(2-3*BC_V7,0-2@WL_V7))
1017  $DEF RSDZELBIL_V107C=((0-2*WL_V7, 1-2@BC_V7)|(2-3*BC_V7,0-2@WL_V7), 4-8*B_V7, D_V7, WR_V7, 1-2*A_V7)
1018  $DEF RSDZELBIL_V107D=((0-2*WL_V7, 1-2@BC_V7)|(2-3*BC_V7,0-2@WL_V7), 3-4*B_V7, D_V7, 2-3*B_V7, WR_V7, 1-2*A_V7)
1019  $DEF RSDZELBIL_V107E=(1-2*A_V7, WR_V7, D_V7, 4-8*B_V7, (0-2*WL_V7, 1-2@BC_V7)|(2-3*BC_V7,0-2@WL_V7))
1020  $DEF RSDZELBIL_V107F=(1-2*A_V7, WR_V7, 4-8*B_V7, (0-2*WL_V7, 1-2@BC_V7)|(2-3*BC_V7,0-2@WL_V7), D_V7)
1021  $DEF RSDZELBIL_V107G=(4-8*B_V7, 1-2*A_V7, WR_V7, (0-2*WL_V7, 1-2@BC_V7)|(2-3*BC_V7,0-2@WL_V7), D_V7)
1022
1023  $DEF RSDZELBIL_V107=RSDZELBIL_V107A|RSDZELBIL_V107B|RSDZELBIL_V107C|RSDZELBIL_V107D|RSDZELBIL_V107E|RSDZELBIL_V107F|RSDZELBIL_V107G
1024
1025  $DEF A_V8=8:(A_V6)|2:(A_V7)
1026  $DEF B_V8=8:(B_V6)|2:(B_V7)
1027  $DEF D_V8=8:(D_V6)|2:(D_V7)
1028  $DEF WR_V8=WR_V7
1029  $DEF BC_V8=BC_V6
1030  $DEF WL_V8=WL_V6
1031
1032  #Rychlikova souprava bezna
1033  $DEF RSKOMB_V8A=(D_V8, A_V8, 3-6*B_V8)
1034  $DEF RSKOMB_V8B=(D_V8, 3-6*B_V8, A_V8)
1035  $DEF RSKOMB_V8C=(3-6*B_V8, D_V8, A_V8)
1036  $DEF RSKOMB_V8D=(3-4*B_V8, D_V8, 2-3*B_V8, A_V8)
1037  $DEF RSKOMB_V8E=(A_V8, D_V8, 3-6*B_V8)
1038  $DEF RSKOMB_V8F=(A_V8, 3-6*B_V8, D_V8)
1039  $DEF RSKOMB_V8G=(3-6*B_V8, A_V8, D_V8)
1040
1041  $DEF RSKOMB_V8=(2*(RSKOMB_V8A|RSKOMB_V8B|RSKOMB_V8C|RSKOMB_V8D|RSKOMB_V8E|RSKOMB_V8F|RSKOMB_V8G))|RSKOMB_V8A|RSKOMB_V8B|RSKOMB_V8C|RSKOMB_V8D|RSKOMB_V8E|RSKOMB_V8F|RSKOMB_V8G
1042
1043  #Rychlikova souprava dlouha
1044  $DEF RSDKOMB_V108A=(D_V8, 1-2*A_V8, WR_V8, 4-8*B_V8, (0-2*WL_V8, 1-2@BC_V8)|(2-3*BC_V8,0-2@WL_V8))
1045  $DEF RSDKOMB_V108B=(D_V8, 4-8*B_V8, WR_V8, 1-2*A_V8, (0-2*WL_V8, 1-2@BC_V8)|(2-3*BC_V8,0-2@WL_V8))
1046  $DEF RSDKOMB_V108C=((0-2*WL_V8, 1-2@BC_V8)|(2-3*BC_V8,0-2@WL_V8), 4-8*B_V8, D_V8, WR_V8, 1-2*A_V8)
1047  $DEF RSDKOMB_V108D=((0-2*WL_V8, 1-2@BC_V8)|(2-3*BC_V8,0-2@WL_V8), 3-4*B_V8, D_V8, 2-3*B_V8, WR_V8, 1-2*A_V8)
1048  $DEF RSDKOMB_V108E=(1-2*A_V8, WR_V8, D_V8, 4-8*B_V8, (0-2*WL_V8, 1-2@BC_V8)|(2-3*BC_V8,0-2@WL_V8))
1049  $DEF RSDKOMB_V108F=(1-2*A_V8, WR_V8, 4-8*B_V8, (0-2*WL_V8, 1-2@BC_V8)|(2-3*BC_V8,0-2@WL_V8), D_V8)
1050  $DEF RSDKOMB_V108G=(4-8*B_V8, 1-2*A_V8, WR_V8, (0-2*WL_V8, 1-2@BC_V8)|(2-3*BC_V8,0-2@WL_V8), D_V8)
1051
1052  $DEF RSDKOMB_V108=RSDKOMB_V108A|RSDKOMB_V108B|RSDKOMB_V108C|RSDKOMB_V108D|RSDKOMB_V108E|RSDKOMB_V108F|RSDKOMB_V108G
1053
1054  $DEF A_V9=CD_AEE95|CD_AEE95L
1055  $DEF B_V9=CD_BEER92|CD_BEER92L
1056  $DEF WR_V9=WR_V7
1057  $DEF D_V9=8:(D_V6)|2:(D_V7)
1058
1059  $DEF RSBEER_V9A=0-1*D_V9, 1-2*A_V9, 0-1*WR_V9, 6-8*B_V9
1060  $DEF RSBEER_V9B=6-8*B_V9, 0-1*WR_V9, 1-2*A_V9, 0-1*D_V9
1061
1062  $DEF RSBEER_V9=RSBEER_V9A|RSBEER_V9B
1063
1064  $DEF A_V14=CD_AEE95|CD_AEE95L
1065  $DEF B_V14=CD_BMEE1|CD_BMEE1L|CD_BMEE1L|CD_BMEE2L
1066  $DEF WR_V14=CD_WRRM2|CD_WRRM2L|CD_WRRM3|CD_WRRM3L|CD_WRMEE|CD_WRMEEL
1067
1068
1069  $DEF RSEC_V14A=1-2*A_V14, WR_V14, 4-6*B_V14
1070  $DEF RSEC_V14B=4-6*B_V14, WR_V14, 1-2*A_V14
1071
1072  $DEF RSEC_V14=RSEC_V14A|RSEC_V14B
1073
1074  $DEF RSB95=3:RSZEL_V6|2:RSZELBIL_V7|3:RSKOMB_V8
1075  $DEF RSD95=4:RSDZEL_V106|2:RSDZELBIL_V107|2:RSDKOMB_V108
1076
1077  $DEF RS95=7:RSB95|3:RSD95
1078  $DEF RSES95=3:RSB95|2:RSD95|3:RSEC_V14|2:RSBEER_V9
1079
1080
1081  $DEF B_V15=CD_B65|CD_B65L|CD_B77|CD_B77L
1082  $DEF D_V15=CD_BDS74|CD_BDS74L|CD_DS74|CD_DS74L|CD_BDS81|CD_BDS81L|CD_DAADK
1083
1084  #Tezka osobni souprava
1085  $DEF TOSZEL_V15A=(0-1*D_V15, 3-6*B_V15)
1086  $DEF TOSZEL_V15C=(3-6*B_V15, 0-1*D_V15)
1087  $DEF TOSZEL_V15D=(3-4*B_V15, 0-1*D_V15, 2-3*B_V15)
1088
1089  $DEF TOSZEL_V15=TOSZEL_V15A|TOSZEL_V15C|TOSZEL_V15D
1090
1091  #Lehke osobni soupravy Y
1092  $DEF LOSYZEL_V18A=(D_V15, 1-2*B_V15)
1093  $DEF LOSYZEL_V18C=(1-2*B_V15, D_V15)
1094  $DEF LOSYZEL_V18D=(1-2*B_V15, D_V15, B_V15)
1095  $DEF LOSYZEL_V18H=(1-3*B_V15)
1096  $DEF LOSYZEL_V18=1:LOSYZEL_V18A|1:LOSYZEL_V18C|1:LOSYZEL_V18D|7:LOSYZEL_V18H
1097
1098  $DEF B_V16=CD_B65B1|CD_B65B1L|CD_B65B2|CD_B65B2L|CD_B65B3|CD_B65B3L|CD_B77B|CD_B77BL|CD_Y5B|CD_Y5BL|CD_Y5BM|CD_Y5BML|CD_9B67|CD_9B67L
1099  $DEF D_V16=CD_BDS74B|CD_BDS74BL|CD_DS74B|CD_DS74BL|CD_BDS81|CD_BDS81L|CD_DAADK
1100
1101  #Tezka osobni souprava
1102  $DEF TOSZELBIL_V16A=(0-1*D_V16, 3-6*B_V16)
1103  $DEF TOSZELBIL_V16C=(3-6*B_V16, 0-1*D_V16)
1104  $DEF TOSZELBIL_V16D=(3-4*B_V16, 0-1*D_V16, 2-3*B_V16)
1105
1106  $DEF TOSZELBIL_V16=TOSZELBIL_V16A|TOSZELBIL_V16C|TOSZELBIL_V16D
1107
1108  #Lehke osobni soupravy Y
1109  $DEF LOSYZELBIL_V19A=(D_V16, 1-2*B_V16)
1110  $DEF LOSYZELBIL_V19C=(1-2*B_V16, D_V16)
1111  $DEF LOSYZELBIL_V19D=(1-2*B_V16, D_V16, B_V16)
1112  $DEF LOSYZELBIL_V19H=(1-3*B_V16)
1113  $DEF LOSYZELBIL_V19=1:LOSYZELBIL_V19A|1:LOSYZELBIL_V19C|1:LOSYZELBIL_V19D|7:LOSYZELBIL_V19H
1114
1115  $DEF B_V17=8:(B_V15)|2:(B_V16)
1116  $DEF D_V17=8:(D_V15)|2:(D_V16)
1117
1118  #Rychlikova souprava bezna
1119  $DEF TOSKOMB_V17A=(0-1*D_V17, 3-6*B_V17)
1120  $DEF TOSKOMB_V17C=(3-6*B_V17, 0-1*D_V17)
1121  $DEF TOSKOMB_V17D=(3-4*B_V17, 0-1*D_V17, 2-3*B_V17)
1122
1123  $DEF TOSKOMB_V17=TOSKOMB_V17A|TOSKOMB_V17C|TOSKOMB_V17D
1124
1125  #Tezke osobni soupravy patrove CD
1126  $DEF TOSDD_V17=(7:0|3:1*D_V17, 6:(3-5@BAPCD_V2)|2:(3-5*BAPCD_V2)|2:(1-2*DDCD))|(6:(3-5@BAPCD_V2)|2:(3-5*BAPCD_V2)|2:(1-2*DDCD),7:0|3:1*D_V17)
1127  $DEF LOSDD_V17=(7:0|3:1*D_V17, 7:(1-2@BAPCD_V2)|3:(1-2*BAPCD_V2))|(7:(1-2@BAPCD_V2)|3:(1-2*BAPCD_V2),7:0|3:1*D_V17)
1128
1129  #Lehke osobni soupravy Y
1130  $DEF LOSYKOMB_V20A=(D_V17, 1-2*B_V17)
1131  $DEF LOSYKOMB_V20C=(1-2*B_V17, D_V17)
1132  $DEF LOSYKOMB_V20D=(1-2*B_V17, D_V17, B_V17)
1133  $DEF LOSYKOMB_V20H=(1-3*B_V17)
1134  $DEF LOSYKOMB_V20=1:LOSYKOMB_V20A|1:LOSYKOMB_V20C|1:LOSYKOMB_V20D|7:LOSYKOMB_V20H
1135
1136  $DEF TOSY95=6:TOSZEL_V15|1:TOSZELBIL_V16|3:TOSKOMB_V17
1137
1138  $DEF LOSY95=6:LOSYZEL_V18|1:LOSYZELBIL_V19|2:LOSYKOMB_V20
1139
1140  $DEF B_V18=CD_BYMEE2|CD_BYMEE2L
1141  $DEF D_V18=D_V17
1142
1143  $DEF TOSX_V18A=0-1*D_V17, 3-5*B_V18
1144  $DEF TOSX_V18B=3-5*B_V18, 0-1*D_V17
1145
1146  $DEF TOSX95=TOSX_V18A|TOSX_V18B
1147
1148  #2002
1149  $DEF A_V10=CD_A67|CD_A67L|CD_A72|CD_A72L|CD_AB65|CD_AB65L|CD_AB84|CD_AB84L
1150  $DEF B_V10=CD_B65|CD_B65L|CD_B77|CD_B77L
1151  $DEF D_V10=CD_BDS74|CD_BDS74L|CD_DS74|CD_DS74L|CD_BDS81|CD_BDS81L|CD_BDMEE2|CD_BDMEE2L
1152  $DEF BC_V10=CD_BC67|CD_BC67L|CD_BC67L|CD_BC67|CD_BC75L|CD_BC75|CD_BC75|CD_BC75L
1153  $DEF WL_V10=CD_WLAB68|CD_WLAB68L|CD_WLAB68L|CD_WLAB68|CD_WLAB78|CD_WLAB78L|CD_WLAB78L|CD_WLAB78|CD_WLAB85|CD_WLAB85L|CD_WL|CD_WLL|CD_WLABV_170|CD_WLABV_171
1154
1155  #Rychlikova souprava bezna
1156  $DEF RSZEL_V10A=(D_V10, A_V10, 3-6*B_V10)
1157  $DEF RSZEL_V10B=(D_V10, 3-6*B_V10, A_V10)
1158  $DEF RSZEL_V10C=(3-6*B_V10, D_V10, A_V10)
1159  $DEF RSZEL_V10D=(3-4*B_V10, D_V10, 2-3*B_V10, A_V10)
1160  $DEF RSZEL_V10E=(A_V10, D_V10, 3-6*B_V10)
1161  $DEF RSZEL_V10F=(A_V10, 3-6*B_V10, D_V10)
1162  $DEF RSZEL_V10G=(3-6*B_V10, A_V10, D_V10)
1163
1164  $DEF RSZEL_V10=(2*(RSZEL_V10A|RSZEL_V10B|RSZEL_V10C|RSZEL_V10D|RSZEL_V10E|RSZEL_V10F|RSZEL_V10G))|RSZEL_V10A|RSZEL_V10B|RSZEL_V10C|RSZEL_V10D|RSZEL_V10E|RSZEL_V10F|RSZEL_V10G
1165
1166  $DEF A_V11=CD_A67B1|CD_A67B1L|CD_Y5AM|CD_Y5AML|CD_A72B1|CD_A72B1L|CD_A72B2|CD_A72B2L|CD_Y5A|CD_Y5AL|CD_AB65B|CD_AB65BL|CD_AB84B|CD_AB84BL|CD_Y5ABM|CD_Y5ABML
1167  $DEF B_V11=CD_B65B1|CD_B65B1L|CD_B65B2|CD_B65B2L|CD_B65B3|CD_B65B3L|CD_B77B|CD_B77BL|CD_Y5B|CD_Y5BL|CD_Y5BM|CD_Y5BML|CD_9B67|CD_9B67L
1168  $DEF D_V11=CD_BDS74B|CD_BDS74BL|CD_DS74B|CD_DS74BL|CD_BDS81|CD_BDS81L|CD_BDMEE1|CD_BDMEE1L|CD_BDMEER2|CD_BDMEER2L
1169  $DEF BC_V11=CD_BC67B|CD_BC67BL|CD_BC75B|CD_BC75BL|CD_Y5BC|CD_Y5BCL|CD_Y5BCM|CD_Y5BCML
1170  $DEF WL_V11=CD_WLAB68B|CD_WLAB68BL|CD_WLAB78B|CD_WLAB78BL|CD_WLAB85B|CD_WLAB85BL|CD_Y5WLABM|CD_Y5WLABML|CD_Y5WLABV|CD_Y5WLABVL|CD_WLABV|CD_WLABVL
1171  $DEF WL_V11A=CD_WLAMMEEL|CD_WLAMMEE|CD_WLAMMEE|CD_WLAMMEEL|CD_WLAMMEEL
1172  $DEF WR_V11=25:(CD_WRM69B|CD_WRM69BL)|15:(CD_WRRM2|CD_WRRM2L|CD_WRRM3|CD_WRRM3L)|6:(CD_BRM2L|CD_BRM2|CD_BRM1|CD_BRM1L|CD_BRM1|CD_BRM1L|CD_BRM2|CD_BRM2L)|2:(CD_WRMEE|CD_WRMEEL)
1173
1174  #Rychlikova souprava bezna
1175  $DEF RSZELBIL_V11A=(D_V11, A_V11, 3-6*B_V11)
1176  $DEF RSZELBIL_V11B=(D_V11, 3-6*B_V11, A_V11)
1177  $DEF RSZELBIL_V11C=(3-6*B_V11, D_V11, A_V11)
1178  $DEF RSZELBIL_V11D=(3-4*B_V11, D_V11, 2-3*B_V11, A_V11)
1179  $DEF RSZELBIL_V11E=(A_V11, D_V11, 3-6*B_V11)
1180  $DEF RSZELBIL_V11F=(A_V11, 3-6*B_V11, D_V11)
1181  $DEF RSZELBIL_V11G=(3-6*B_V11, A_V11, D_V11)
1182
1183  $DEF RSZELBIL_V11=(2*(RSZELBIL_V11A|RSZELBIL_V11B|RSZELBIL_V11C|RSZELBIL_V11D|RSZELBIL_V11E|RSZELBIL_V11F|RSZELBIL_V11G))|RSZELBIL_V11A|RSZELBIL_V11B|RSZELBIL_V11C|RSZELBIL_V11D|RSZELBIL_V11E|RSZELBIL_V11F|RSZELBIL_V11G
1184
1185  #Rychlikova souprava dlouha
1186  $DEF RSDZELBIL_V111A=(D_V11, 1-2*A_V11, WR_V11, 4-8*B_V11, (0-2*WL_V11, 1-2@BC_V11)|(2-3*BC_V11,(0-2@WL_V11)|(0-2*WL_V11A)))
1187  $DEF RSDZELBIL_V111B=(D_V11, 4-8*B_V11, WR_V11, 1-2*A_V11, (0-2*WL_V11, 1-2@BC_V11)|(2-3*BC_V11,(0-2@WL_V11)|(0-2*WL_V11A)))
1188  $DEF RSDZELBIL_V111C=((0-2*WL_V11, 1-2@BC_V11)|(2-3*BC_V11,(0-2@WL_V11)|(0-2*WL_V11A)), 4-8*B_V11, D_V11, WR_V11, 1-2*A_V11)
1189  $DEF RSDZELBIL_V111D=((0-2*WL_V11, 1-2@BC_V11)|(2-3*BC_V11,(0-2@WL_V11)|(0-2*WL_V11A)), 3-4*B_V11, D_V11, 2-3*B_V11, WR_V11, 1-2*A_V11)
1190  $DEF RSDZELBIL_V111E=(1-2*A_V11, WR_V11, D_V11, 4-8*B_V11, (0-2*WL_V11, 1-2@BC_V11)|(2-3*BC_V11,(0-2@WL_V11)|(0-2*WL_V11A)))
1191  $DEF RSDZELBIL_V111F=(1-2*A_V11, WR_V11, 4-8*B_V11, (0-2*WL_V11, 1-2@BC_V11)|(2-3*BC_V11,(0-2@WL_V11)|(0-2*WL_V11A)), D_V11)
1192  $DEF RSDZELBIL_V111G=(4-8*B_V11, 1-2*A_V11, WR_V11, (0-2*WL_V11, 1-2@BC_V11)|(2-3*BC_V11,(0-2@WL_V11)|(0-2*WL_V11A)), D_V11)
1193
1194  $DEF RSDZELBIL_V111=RSDZELBIL_V111A|RSDZELBIL_V111B|RSDZELBIL_V111C|RSDZELBIL_V111D|RSDZELBIL_V111E|RSDZELBIL_V111F|RSDZELBIL_V111G
1195
1196  $DEF A_V12=2:(A_V10)|8:(A_V11)
1197  $DEF B_V12=2:(B_V10)|8:(B_V11)
1198  $DEF D_V12=2:(D_V10)|8:(D_V11)
1199  $DEF BC_V12=BC_V11
1200  $DEF WL_V12=WL_V11
1201  $DEF WL_V12A=WL_V11A
1202  $DEF WR_V12=WR_V11
1203
1204  #Rychlikova souprava bezna
1205  $DEF RSKOMB_V12A=(D_V12, A_V12, 3-6*B_V12)
1206  $DEF RSKOMB_V12B=(D_V12, 3-6*B_V12, A_V12)
1207  $DEF RSKOMB_V12C=(3-6*B_V12, D_V12, A_V12)
1208  $DEF RSKOMB_V12D=(3-4*B_V12, D_V12, 2-3*B_V12, A_V12)
1209  $DEF RSKOMB_V12E=(A_V12, D_V12, 3-6*B_V12)
1210  $DEF RSKOMB_V12F=(A_V12, 3-6*B_V12, D_V12)
1211  $DEF RSKOMB_V12G=(3-6*B_V12, A_V12, D_V12)
1212
1213  $DEF RSKOMB_V12=(2*(RSKOMB_V12A|RSKOMB_V12B|RSKOMB_V12C|RSKOMB_V12D|RSKOMB_V12E|RSKOMB_V12F|RSKOMB_V12G))|RSKOMB_V12A|RSKOMB_V12B|RSKOMB_V12C|RSKOMB_V12D|RSKOMB_V12E|RSKOMB_V12F|RSKOMB_V12G
1214
1215  #Rychlikova souprava dlouha
1216  $DEF RSDKOMB_V112A=(D_V12, 1-2*A_V12, WR_V12, 4-8*B_V12, (0-2*WL_V12, 1-2@BC_V12)|(2-3*BC_V12,(0-2@WL_V12)|(0-2*WL_V12A)))
1217  $DEF RSDKOMB_V112B=(D_V12, 4-8*B_V12, WR_V12, 1-2*A_V12, (0-2*WL_V12, 1-2@BC_V12)|(2-3*BC_V12,(0-2@WL_V12)|(0-2*WL_V12A)))
1218  $DEF RSDKOMB_V112C=((0-2*WL_V12, 1-2@BC_V12)|(2-3*BC_V12,(0-2@WL_V12)|(0-2*WL_V12A)), 4-8*B_V12, D_V12, WR_V12, 1-2*A_V12)
1219  $DEF RSDKOMB_V112D=((0-2*WL_V12, 1-2@BC_V12)|(2-3*BC_V12,(0-2@WL_V12)|(0-2*WL_V12A)), 3-4*B_V12, D_V12, 2-3*B_V12, WR_V12, 1-2*A_V12)
1220  $DEF RSDKOMB_V112E=(1-2*A_V12, WR_V12, D_V12, 4-8*B_V12, (0-2*WL_V12, 1-2@BC_V12)|(2-3*BC_V12,(0-2@WL_V12)|(0-2*WL_V12A)))
1221  $DEF RSDKOMB_V112F=(1-2*A_V12, WR_V12, 4-8*B_V12, (0-2*WL_V12, 1-2@BC_V12)|(2-3*BC_V12,(0-2@WL_V12)|(0-2*WL_V12A)), D_V12)
1222  $DEF RSDKOMB_V112G=(4-8*B_V12, 1-2*A_V12, WR_V12, (0-2*WL_V12, 1-2@BC_V12)|(2-3*BC_V12,(0-2@WL_V12)|(0-2*WL_V12A)), D_V12)
1223
1224  $DEF RSDKOMB_V112=RSDKOMB_V112A|RSDKOMB_V112B|RSDKOMB_V112C|RSDKOMB_V112D|RSDKOMB_V112E|RSDKOMB_V112F|RSDKOMB_V112G
1225
1226  $DEF A_V21=1:(CD_AEE95|CD_AEE95L)|1:(CD_AEEL96|CD_AEEL96L|CD_AHEE96|CD_AHEE96L)
1227  $DEF B_V21=CD_BEER92|CD_BEER92L
1228  $DEF WR_V21=WR_V11
1229  $DEF D_V21=D_V11
1230
1231  $DEF RSBEER_V21A=0-1*D_V21, 1-2*A_V21, 0-1*WR_V21, 6-8*B_V21
1232  $DEF RSBEER_V21B=6-8*B_V21, 0-1*WR_V21, 1-2*A_V21, 0-1*D_V21
1233
1234  $DEF RSBEER_V21=RSBEER_V21A|RSBEER_V21B
1235
1236  $DEF A_V22=CD_AEEL96|CD_AEEL96L|CD_AHEE96|CD_AHEE96L
1237  $DEF B_V22=CD_BMEE1|CD_BMEE1L|CD_BMEE1L|CD_BMEE2L
1238  $DEF WR_V22=CD_WRRM2|CD_WRRM2L|CD_WRRM3|CD_WRRM3L|CD_WRMEE|CD_WRMEEL
1239
1240  $DEF RSEC_V22A=1-2*A_V22, WR_V22, 4-6*B_V22
1241  $DEF RSEC_V22B=4-6*B_V22, WR_V22, 1-2*A_V22
1242
1243  $DEF RSEC_V22=RSEC_V22A|RSEC_V22B
1244
1245  $DEF A_V23=CD_AEEL96|CD_AEEL96L|CD_AHEE96|CD_AHEE96L
1246  $DEF B_V23=CD_BEEL96|CD_BEEL96L|CD_AHEE96|CD_AHEE96L
1247  $DEF WR_V23=CD_WRRM2|CD_WRRM2L|CD_WRRM3|CD_WRRM3L|CD_WRMEE|CD_WRMEEL
1248
1249  $DEF RSEC_V23A=1-2*A_V23, WR_V23, 4-6*B_V23
1250  $DEF RSEC_V23B=4-6*B_V23, WR_V23, 1-2*A_V23
1251
1252  $DEF RSEC_V23=RSEC_V23A|RSEC_V23B
1253
1254  $DEF A_V24=CD_1991|CD_1991L|CD_AMPZ|CD_AMPZL|CD_AMPZ2|CD_AMPZ2L
1255  $DEF B_V24=CD_2191|CD_2191L|CD_BMZ|CD_BMZL|CD_BMZ2|CD_BMZ2L
1256  $DEF WR_V24=CD_WRRMZ|CD_WRRMZL|CD_WRRMZ2|CD_WRRMZ2L
1257
1258
1259  $DEF RSEC_V24A=1-2*A_V24, WR_V24, 4-6*B_V24
1260  $DEF RSEC_V24B=4-6*B_V24, WR_V24, 1-2*A_V24
1261
1262  $DEF RSEC_V24=RSEC_V24A|RSEC_V24B
1263
1264  $DEF RSEC02=RSEC_V22|RSEC_V23|RSEC_V24
1265
1266  $DEF RSB02=7:RSZELBIL_V11|2:RSKOMB_V12
1267  $DEF RSD02=7:RSDZELBIL_V111|2:RSDKOMB_V112
1268
1269  $DEF RS02=7:RSB02|3:RSD02
1270  $DEF RSES02=2:RSB02|2:RSD02|4:RSEC02|2:RSBEER_V9
1271
1272  $DEF B_V25=CD_B65|CD_B65L|CD_B77|CD_B77L
1273  $DEF D_V25=CD_BDS74|CD_BDS74L|CD_DS74|CD_DS74L|CD_BDS81|CD_BDS81L
1274
1275  #Tezka osobni souprava
1276  $DEF TOSZEL_V25A=(0-1*D_V25, 3-6*B_V25)
1277  $DEF TOSZEL_V25C=(3-6*B_V25, 0-1*D_V25)
1278  $DEF TOSZEL_V25D=(3-4*B_V25, 0-1*D_V25, 2-3*B_V25)
1279
1280  $DEF TOSZEL_V25=TOSZEL_V25A|TOSZEL_V25C|TOSZEL_V25D
1281
1282  #Lehke osobni soupravy Y
1283  $DEF LOSYZEL_V25A=(D_V25, 1-2*B_V25)
1284  $DEF LOSYZEL_V25C=(1-2*B_V25, D_V25)
1285  $DEF LOSYZEL_V25D=(1-2*B_V25, D_V25, B_V25)
1286  $DEF LOSYZEL_V25H=(1-3*B_V25)
1287  $DEF LOSYZEL_V25=1:LOSYZEL_V25A|1:LOSYZEL_V25C|1:LOSYZEL_V25D|7:LOSYZEL_V25H
1288
1289  $DEF B_V26=CD_B65B1|CD_B65B1L|CD_B65B2|CD_B65B2L|CD_B65B3|CD_B65B3L|CD_B77B|CD_B77BL|CD_Y5B|CD_Y5BL|CD_Y5BM|CD_Y5BML|CD_9B67|CD_9B67L
1290  $DEF D_V26=CD_BDS74B|CD_BDS74BL|CD_DS74B|CD_DS74BL|CD_BDS81|CD_BDS81L
1291
1292  #Tezka osobni souprava
1293  $DEF TOSZELBIL_V26A=(0-1*D_V26, 3-6*B_V26)
1294  $DEF TOSZELBIL_V26C=(3-6*B_V26, 0-1*D_V26)
1295  $DEF TOSZELBIL_V26D=(3-4*B_V26, 0-1*D_V26, 2-3*B_V26)
1296
1297  $DEF TOSZELBIL_V26=TOSZELBIL_V26A|TOSZELBIL_V26C|TOSZELBIL_V26D
1298
1299  #Lehke osobni soupravy Y
1300  $DEF LOSYZELBIL_V26A=(D_V26, 1-2*B_V26)
1301  $DEF LOSYZELBIL_V26C=(1-2*B_V26, D_V26)
1302  $DEF LOSYZELBIL_V26D=(1-2*B_V26, D_V26, B_V26)
1303  $DEF LOSYZELBIL_V26H=(1-3*B_V26)
1304  $DEF LOSYZELBIL_V26=1:LOSYZELBIL_V26A|1:LOSYZELBIL_V26C|1:LOSYZELBIL_V26D|7:LOSYZELBIL_V26H
1305
1306  $DEF B_V27=2:(B_V25)|8:(B_V26)
1307  $DEF D_V27=2:(D_V25)|8:(D_V26)
1308
1309  #Rychlikova souprava bezna
1310  $DEF TOSKOMB_V27A=(0-1*D_V27, 3-6*B_V27)
1311  $DEF TOSKOMB_V27C=(3-6*B_V27, 0-1*D_V27)
1312  $DEF TOSKOMB_V27D=(3-4*B_V27, 0-1*D_V27, 2-3*B_V27)
1313
1314  $DEF TOSKOMB_V27=TOSKOMB_V27A|TOSKOMB_V27C|TOSKOMB_V27D
1315
1316  #Tezke osobni soupravy patrove CD
1317  $DEF TOSDD_V27=(7:0|3:1*D_V27, 6:(3-5@BAPCD_V1)|2:(3-5*BAPCD_V1)|2:(1-2*DDCD))|(6:(3-5@BAPCD_V1)|2:(3-5*BAPCD_V1)|2:(1-2*DDCD),7:0|3:1*D_V27)
1318  $DEF LOSDD_V27=(7:0|3:1*D_V27, 7:(1-2@BAPCD_V1)|3:(1-2*BAPCD_V1))|(7:(1-2@BAPCD_V1)|3:(1-2*BAPCD_V1),7:0|3:1*D_V27)
1319
1320  #Lehke osobni soupravy Y
1321  $DEF LOSYKOMB_V27A=(D_V27, 1-2*B_V27)
1322  $DEF LOSYKOMB_V27C=(1-2*B_V27, D_V27)
1323  $DEF LOSYKOMB_V27D=(1-2*B_V27, D_V27, B_V27)
1324  $DEF LOSYKOMB_V27H=(1-3*B_V27)
1325  $DEF LOSYKOMB_V27=1:LOSYKOMB_V27A|1:LOSYKOMB_V27C|1:LOSYKOMB_V27D|7:LOSYKOMB_V27H
1326
1327  $DEF TOSY02=1:TOSZEL_V25|6:TOSZELBIL_V26|3:TOSKOMB_V27
1328
1329  $DEF LOSY02=1:LOSYZEL_V25|6:LOSYZELBIL_V26|3:LOSYKOMB_V27
1330
1331  $DEF B_V28=CD_BYMEE2|CD_BYMEE2L
1332  $DEF D_V28=D_V27
1333
1334  $DEF TOSX_V28A=0-1*D_V28, 3-5*B_V28
1335  $DEF TOSX_V28B=3-5*B_V28, 0-1*D_V28
1336
1337  $DEF TOSX_V28=TOSX_V28A|TOSX_V28B
1338
1339  $DEF B_V29=CD_BYMEE|CD_BYMEEL
1340  $DEF D_V29=D_V27
1341
1342  $DEF TOSX_V29A=0-1*D_V29, 3-5*B_V29
1343  $DEF TOSX_V29B=3-5*B_V29, 0-1*D_V29
1344
1345  $DEF TOSX_V29=TOSX_V29A|TOSX_V29B
1346
1347  $DEF B_V30=B_V28|B_V29
1348  $DEF D_V30=D_V27
1349
1350  $DEF TOSX_V30A=0-1*D_V30, 3-5*B_V30
1351  $DEF TOSX_V30B=3-5*B_V30, 0-1*D_V30
1352
1353  $DEF TOSX_V30=TOSX_V30A|TOSX_V30B
1354
1355  $DEF TOSX02=TOSX_V28|TOSX_V29|TOSX_V30
1356
1357  #Pouziti v soupravach / VSE
1358  $DEF A_V199=CSD_AB65|CSD_AB65L|CSD_ABA65A|CSD_ABA6A5L|CSD_ABA65B|CSD_ABA65BL|CSD_ABM65A|CSD_ABM65AL|CSD_ABM65B|CSD_ABM65BL|CSD_AA67|CSD_AA67L|CSD_A67|CSD_A67L|CSD_AM67A|CSD_AM67AL|CSD_AM|CSD_AM67BL|CSD_A72|CSD_A72L|CSD_AM72|CSD_AM72L|CSD_AB84|CSD_ABM84
1359  $DEF B_V199=CSD_B65|CSD_B65L|CSD_BA65A|CSD_BA65AL|CSD_BA65B|CSD_BA65BL|CSD_BM65A|CSD_BM65AL|CSD_BM65B|CSD_BM65BL|CSD_B77|CSD_B77L|CSD_BM77|CSD_BM77L
1360  $DEF D_V199=CSD_BDA74|CSD_BDA74L|CSD_BDS74|CSD_BDS74L|CSD_BDMS74|CSD_BDMS74L|CSD_DS74|CSD_DS74L|CSD_DMS74A|CSD_DMS74AL|CSD_DMS74B|CSD_DMS74BL|CSD_BDMS81|CSD_BDMS81L|CSD_BDS81|CSD_BDS81L|CSD_BDMEE|CSD_BDMEEL
1361
1362  #Rychlikova souprava bezna
1363  $DEF RSZEL_V199A=(D_V199, A_V199, 3-6*B_V199)
1364  $DEF RSZEL_V199B=(D_V199, 3-6*B_V199, A_V199)
1365  $DEF RSZEL_V199C=(3-6*B_V199, D_V199, A_V199)
1366  $DEF RSZEL_V199D=(3-4*B_V199, D_V199, 2-3*B_V199, A_V199)
1367  $DEF RSZEL_V199E=(A_V199, D_V199, 3-6*B_V199)
1368  $DEF RSZEL_V199F=(A_V199, 3-6*B_V199, D_V199)
1369  $DEF RSZEL_V199G=(3-6*B_V199, A_V199, D_V199)
1370
1371  $DEF RSZEL_V199=(2*(RSZEL_V199A|RSZEL_V199B|RSZEL_V199C|RSZEL_V199D|RSZEL_V199E|RSZEL_V199F|RSZEL_V199G))|RSZEL_V199A|RSZEL_V199B|RSZEL_V199C|RSZEL_V199D|RSZEL_V199E|RSZEL_V199F|RSZEL_V199G