磁导航1.0内部交管和信号交互
This commit is contained in:
@@ -2,31 +2,46 @@
|
||||
{
|
||||
"Sit": 98,
|
||||
"SignalType": "JGControl",
|
||||
"SignalParams": "上线机构1;RequestIn"
|
||||
"JgName": "上线机构1",
|
||||
"DockId": "dock1",
|
||||
"Action": "RequestIn"
|
||||
},
|
||||
{
|
||||
"Sit": 100,
|
||||
"SignalType": "JGControl",
|
||||
"SignalParams": "上线机构1;Arrived"
|
||||
"JgName": "上线机构1",
|
||||
"DockId": "dock1",
|
||||
"Action": "Arrived"
|
||||
},
|
||||
{
|
||||
"Sit": 108,
|
||||
"SignalType": "JGControl",
|
||||
"JgName": "上线机构1",
|
||||
"DockId": "dock2",
|
||||
"Action": "RequestIn"
|
||||
},
|
||||
{
|
||||
"Sit": 199,
|
||||
"SignalType": "JGControl",
|
||||
"SignalParams": "下线机构1;RequestIn"
|
||||
"JgName": "下线机构1",
|
||||
"DockId": "dock1",
|
||||
"Action": "RequestIn"
|
||||
},
|
||||
{
|
||||
"Sit": 201,
|
||||
"SignalType": "PointControl",
|
||||
"SignalParams": "UP1;下线机构1"
|
||||
"JgName": "下线机构1",
|
||||
"DockId": "dock1",
|
||||
"Action": "UP1"
|
||||
},
|
||||
{
|
||||
"Sit": 50,
|
||||
"SignalType": "TimedCharging",
|
||||
"SignalParams": "300;95;20"
|
||||
"ExtraParams": "300;95;20"
|
||||
},
|
||||
{
|
||||
"Sit": 60,
|
||||
"SignalType": "RateFlowControl",
|
||||
"SignalParams": "缓存区;A;2;60,61,62"
|
||||
"ExtraParams": "缓存区;A;2;60,61,62"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -0,0 +1,134 @@
|
||||
[
|
||||
{
|
||||
"TriggerSit": 4,
|
||||
"AreaName": "路口中",
|
||||
"CompatGroup": "NS-W",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "5,104,100,103,6",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 26,
|
||||
"AreaName": "路口中",
|
||||
"CompatGroup": "NS-E",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "6,103,100,104,5",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 38,
|
||||
"AreaName": "路口中",
|
||||
"CompatGroup": "EW-N",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "27,101,100,102,28",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 45,
|
||||
"AreaName": "路口中",
|
||||
"CompatGroup": "EW-S",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "28,102,100,101,27",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 1,
|
||||
"AreaName": "西南角",
|
||||
"CompatGroup": "SW-W",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "2",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 47,
|
||||
"AreaName": "西南角",
|
||||
"CompatGroup": "SW-S",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "2",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 8,
|
||||
"AreaName": "西北角",
|
||||
"CompatGroup": "NW-W",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "9",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 36,
|
||||
"AreaName": "西北角",
|
||||
"CompatGroup": "NW-N",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "9",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 16,
|
||||
"AreaName": "东南角",
|
||||
"CompatGroup": "SE-E",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "17",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 43,
|
||||
"AreaName": "东南角",
|
||||
"CompatGroup": "SE-S",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "17",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 23,
|
||||
"AreaName": "东北角",
|
||||
"CompatGroup": "NE-E",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "24",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 30,
|
||||
"AreaName": "东北角",
|
||||
"CompatGroup": "NE-N",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "24",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,134 @@
|
||||
[
|
||||
{
|
||||
"TriggerSit": 4,
|
||||
"AreaName": "路口中",
|
||||
"CompatGroup": "NS-W",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "5,104,100,103,6",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 26,
|
||||
"AreaName": "路口中",
|
||||
"CompatGroup": "NS-E",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "6,103,100,104,5",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 38,
|
||||
"AreaName": "路口中",
|
||||
"CompatGroup": "EW-N",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "27,101,100,102,28",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 45,
|
||||
"AreaName": "路口中",
|
||||
"CompatGroup": "EW-S",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "28,102,100,101,27",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 1,
|
||||
"AreaName": "西南角",
|
||||
"CompatGroup": "SW-W",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "2",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 47,
|
||||
"AreaName": "西南角",
|
||||
"CompatGroup": "SW-S",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "2",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 8,
|
||||
"AreaName": "西北角",
|
||||
"CompatGroup": "NW-W",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "9",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 36,
|
||||
"AreaName": "西北角",
|
||||
"CompatGroup": "NW-N",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "9",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 16,
|
||||
"AreaName": "东南角",
|
||||
"CompatGroup": "SE-E",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "17",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 43,
|
||||
"AreaName": "东南角",
|
||||
"CompatGroup": "SE-S",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "17",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 23,
|
||||
"AreaName": "东北角",
|
||||
"CompatGroup": "NE-E",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "24",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
},
|
||||
{
|
||||
"TriggerSit": 30,
|
||||
"AreaName": "东北角",
|
||||
"CompatGroup": "NE-N",
|
||||
"Priority": 10,
|
||||
"WaitSeconds": 12,
|
||||
"ControlArea": "24",
|
||||
"ControlCapacity": 1,
|
||||
"ControlReleaseStartStop": 11,
|
||||
"IsUse": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"version": 1,
|
||||
"tables": [
|
||||
{
|
||||
"id": "stations",
|
||||
"title": "PLC机构",
|
||||
"category": "PLC数据管理",
|
||||
"fileName": "stations.json",
|
||||
"model": "PlcStationModel"
|
||||
},
|
||||
{
|
||||
"id": "docks",
|
||||
"title": "机构工位",
|
||||
"category": "PLC数据管理",
|
||||
"fileName": "station-docks.json",
|
||||
"model": "PlcStationDockModel"
|
||||
},
|
||||
{
|
||||
"id": "handshake",
|
||||
"title": "握手点",
|
||||
"category": "握手点数据管理",
|
||||
"fileName": "handshake-points.json",
|
||||
"model": "HandshakePointModel"
|
||||
},
|
||||
{
|
||||
"id": "release",
|
||||
"title": "放行点",
|
||||
"category": "放行点数据管理",
|
||||
"fileName": "release-points.json",
|
||||
"model": "ReleasePointModel"
|
||||
},
|
||||
{
|
||||
"id": "mag-control",
|
||||
"title": "磁条管控区",
|
||||
"category": "磁条交管",
|
||||
"fileName": "mag-control-areas.json",
|
||||
"model": "MagControlAreaModel"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
[
|
||||
{
|
||||
"JgName": "上线机构1",
|
||||
"DockId": "dock1",
|
||||
"AllowInByte": 0,
|
||||
"AllowInBit": 0,
|
||||
"AllowOutByte": 0,
|
||||
"AllowOutBit": 1,
|
||||
"EnteringByte": 2,
|
||||
"EnteringBit": 0,
|
||||
"ArrivedByte": 2,
|
||||
"ArrivedBit": 1,
|
||||
"LeavingByte": 2,
|
||||
"LeavingBit": 2,
|
||||
"LeftByte": 2,
|
||||
"LeftBit": 3,
|
||||
"JgInPointId": 99,
|
||||
"JgInContains": "99,100",
|
||||
"JgPointId": 100,
|
||||
"JgContains": "100,101"
|
||||
},
|
||||
{
|
||||
"JgName": "上线机构1",
|
||||
"DockId": "dock2",
|
||||
"AllowInByte": 0,
|
||||
"AllowInBit": 2,
|
||||
"AllowOutByte": 0,
|
||||
"AllowOutBit": 3,
|
||||
"EnteringByte": 2,
|
||||
"EnteringBit": 4,
|
||||
"ArrivedByte": 2,
|
||||
"ArrivedBit": 5,
|
||||
"LeavingByte": 2,
|
||||
"LeavingBit": 6,
|
||||
"LeftByte": 2,
|
||||
"LeftBit": 7,
|
||||
"JgInPointId": 109,
|
||||
"JgInContains": "109,110",
|
||||
"JgPointId": 110,
|
||||
"JgContains": "110,111"
|
||||
},
|
||||
{
|
||||
"JgName": "下线机构1",
|
||||
"DockId": "dock1",
|
||||
"AllowInByte": 0,
|
||||
"AllowInBit": 0,
|
||||
"AllowOutByte": 0,
|
||||
"AllowOutBit": 1,
|
||||
"EnteringByte": 2,
|
||||
"EnteringBit": 0,
|
||||
"ArrivedByte": 2,
|
||||
"ArrivedBit": 1,
|
||||
"LeavingByte": 2,
|
||||
"LeavingBit": 2,
|
||||
"LeftByte": 2,
|
||||
"LeftBit": 3,
|
||||
"JgInPointId": 200,
|
||||
"JgInContains": "200",
|
||||
"JgPointId": 201,
|
||||
"JgContains": "201,202"
|
||||
}
|
||||
]
|
||||
@@ -3,26 +3,20 @@
|
||||
"JgName": "上线机构1",
|
||||
"Ip": "192.168.1.10",
|
||||
"Port": 102,
|
||||
"ReadDb": "DB1.DBB0",
|
||||
"WriteDb": "DB1.DBB1",
|
||||
"HeartDb": "DB1.DBX2.0",
|
||||
"JgInPointId": 99,
|
||||
"JgInContains": "99,100",
|
||||
"JgPointId": 100,
|
||||
"JgContains": "100,101,102",
|
||||
"PlcType": "S7_1500",
|
||||
"DbNumber": 100,
|
||||
"HeartByte": 32,
|
||||
"HeartBit": 0,
|
||||
"LineType": "上线机构"
|
||||
},
|
||||
{
|
||||
"JgName": "下线机构1",
|
||||
"Ip": "192.168.1.11",
|
||||
"Port": 102,
|
||||
"ReadDb": "DB1.DBB0",
|
||||
"WriteDb": "DB1.DBB1",
|
||||
"HeartDb": "DB1.DBX2.0",
|
||||
"JgInPointId": 200,
|
||||
"JgInContains": "200",
|
||||
"JgPointId": 201,
|
||||
"JgContains": "201,202",
|
||||
"PlcType": "S7_1500",
|
||||
"DbNumber": 100,
|
||||
"HeartByte": 32,
|
||||
"HeartBit": 0,
|
||||
"LineType": "单牵引下线机构"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user