vb.net编写,简单的信号机点灯、进站模拟程序
line指信号机右侧一条线 me指我们研究的信号机 a指左侧共线距离较近一个开关(信号机) b指左侧共线最远端,线路终点一个开关(信号机) c指左侧不共线一个开关(信号机) “取消”指小软件界面下方取消按钮 “人解”指小软件界面下方人解按钮
无操作(其他操作结束后) 单红 LineShape_red1, LineShape_red2,LineShape_red3, LineShape_red4_1, LineShape_red4_2, LineShape_red4_3, LineShape_red4_4, LineShape_red6_1, LineShape_red6_2, LineShape_red6_3, LineShape_red6_4, LineShape_red6_5, LineShape_red6_6, LineShape_red8, LineShape_red9
点亮顺序为XJZ220—RD1—DJ5-6—LXJ41-43—HBⅠ1-Ⅰ3—LXJ63-61—RD3—XJF220
me→a 单黄
LineShape_red1, LineShape_red2,LineShape_red3, LineShape_yellow4, LineShape_yellow5_1, LineShape_yellow5_2, LineShape_yellow6, LineShape_yellow7, LineShape_yellow8_1, LineShape_yellow8_2, LineShape_yellow8_3, LineShape_yellow9_1, LineShape_yellow9_2, LineShape_yellow9_3, LineShape_yellow9_4, LineShape_yellow9_5, LineShape_red8, LineShape_red9
点亮顺序为XJZ220—RD1—DJ5-6—LXJ41-42—ZXJ81-82—TXJ21-23—LUXJ21-23—UBⅠ1-Ⅰ3—LXJ62-61—RD3—XJF220
me→b 单绿 LineShape_red1,LineShape_red2,LineShape_red3,LineShape_yellow4,LineShape_yellow5_1,LineShape_green6_1,LineShape_green6_2,LineShape_green6_3,LineShape_yellow7_1,LineShape_yellow7_2,LineShape_yellow7_3,LineShape_yellow7_4,LineShape_yellow9_5,LineShape_red8,LineShape_red9
点亮顺序为XJZ220—RD1—DJ5-6—LXJ41-42—ZXJ81-82—TXJ21-22—LBⅠ1-Ⅰ3—LXJ62-61—RD3—XJF220
me→c 双黄 先亮一个单黄: LineShape_red1, LineShape_red2,LineShape_red3, LineShape_yellow4, LineShape_yellow5_1, LineShape_yellow5_2, LineShape_yellow6, LineShape_yellow7, LineShape_yellow8_1, LineShape_yellow8_2, LineShape_yellow8_3, LineShape_yellow9_1, LineShape_yellow9_2, LineShape_yellow9_3, LineShape_yellow9_4, LineShape_yellow9_5, LineShape_red8, LineShape_red9, 再接着, LineShape_dy1,LineShape_dy2,LineShape_dy3,LineShape_dy4,LineShape_dy5,LineShape_dy6_1,LineShape_dy6_2,LineShape_dy6_3,LineShape_dy7_1,LineShape_dy7_2,LineShape_dy7_3
点亮顺序为XJZ220—RD2—2DJ5-6—LXJ71-72—ZXJ71-73—TXJ11-13—2UBⅠ1-Ⅰ3—LXJ62-61—RD3—XJF220 XJZ220—RD2—DJ5-6—LXJ41-42—ZXJ81-83—2DJ21-22—LUXJ21-23—UBⅠ1-Ⅰ3—LXJ62-61—RD3—XJF220
上述操作恢复操作为:取消→me 恢复为单红
对line操作设置故障→me 红白(ppt为红蓝) Role.Null的单红 + 蓝 "LineShape_red1", "LineShape_red2", "LineShape_red3", "LineShape_red4_1", "LineShape_red4_2", "LineShape_red4_3", "LineShape_red4_4", "LineShape_red6_1", "LineShape_red6_2", "LineShape_red6_3", "LineShape_red6_4", "LineShape_red6_5", "LineShape_red6_6", "LineShape_red8", "LineShape_red9", 蓝 "LineShape_blue4_1", "LineShape_blue4_2", "LineShape_blue5_1", "LineShape_blue5_2", "LineShape_blue5_3", "LineShape_blue6_0", "LineShape_blue6_1", "LineShape_blue6_2", "LineShape_blue6_3", "LineShape_blue6_4", "LineShape_blue7_1", "LineShape_blue7_2", "LineShape_red8", "LineShape_red9"
点亮顺序为XJZ220—RD1—DJ5-6—LXJ41-43—HBⅠ1-Ⅰ3—LXJ63-61—RD3—XJF220 XJZ220—RD2—2DJ5-6—LXJ71-72—YXJ71-72—YBBⅠ1-Ⅰ3—YXJ62-61—LXJ63-61—RD3—XJF220 恢复操作为 人解→me 恢复为单红