|
@@ -485,6 +485,7 @@ namespace Terminal
|
|
|
centralHearbeat = (short)-1,
|
|
|
bookParkCmd = -1,
|
|
|
bookFetchCmd = -1,
|
|
|
+ processCompleted = (short)-1,
|
|
|
licenseReceived = (short)2
|
|
|
};
|
|
|
Monitor.Monitor.PLC.WriteToPLC(mb, PLCDataType.central);
|
|
@@ -541,6 +542,7 @@ namespace Terminal
|
|
|
centralHearbeat = -1,
|
|
|
bookFetchCmd = -1,
|
|
|
bookParkCmd = -1,
|
|
|
+ processCompleted = (short)-1,
|
|
|
licenseReceived = (short)numReceivedStatus
|
|
|
};
|
|
|
Monitor.Monitor.PLC.WriteToPLC(mb, PLCDataType.central);
|
|
@@ -657,6 +659,15 @@ namespace Terminal
|
|
|
//}
|
|
|
//中控清除车牌、凭证号、号牌验证等信息
|
|
|
ClearTerminal(term.terminalID);
|
|
|
+ MainBlockStru mb = new MainBlockStru
|
|
|
+ {
|
|
|
+ centralHearbeat = (short)-1,
|
|
|
+ bookParkCmd = -1,
|
|
|
+ bookFetchCmd = -1,
|
|
|
+ processCompleted = (short)0,
|
|
|
+ licenseReceived = (short)-1
|
|
|
+ };
|
|
|
+ Monitor.Monitor.PLC.WriteToPLC(mb, PLCDataType.central);
|
|
|
try { idLicMap.Remove(currentTerm); }
|
|
|
catch { }
|
|
|
Monitor.Monitor.SetNotification(license + " 数据库已更新,停车流程结束", parkMonitor.model.TextColor.Info);
|
|
@@ -1229,6 +1240,15 @@ namespace Terminal
|
|
|
FetchInfo fi = null;
|
|
|
UpdateAllParkingSpace(false);
|
|
|
ClearTerminal(terminalInfo[termIndex].terminalID);
|
|
|
+ MainBlockStru mb = new MainBlockStru
|
|
|
+ {
|
|
|
+ centralHearbeat = (short)-1,
|
|
|
+ bookParkCmd = -1,
|
|
|
+ bookFetchCmd = -1,
|
|
|
+ processCompleted = (short)0,
|
|
|
+ licenseReceived = (short)-1
|
|
|
+ };
|
|
|
+ Monitor.Monitor.PLC.WriteToPLC(mb, PLCDataType.central);
|
|
|
if (fetchInfoMap.ContainsKey(terminalInfo[termIndex].terminalID))
|
|
|
{
|
|
|
fi = fetchInfoMap[terminalInfo[termIndex].terminalID];
|