|
@@ -209,7 +209,17 @@ namespace parkMonitor.server.CoreThread
|
|
|
{
|
|
|
Robot.robot1.occupied = false;
|
|
|
}
|
|
|
-
|
|
|
+ if (!queueCmd.manual)
|
|
|
+ {
|
|
|
+ if (isParking)
|
|
|
+ {
|
|
|
+ Robot.robot1.parkWaitCount -= 1;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ Robot.robot1.fetchWaitCount -= 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
//释放激光
|
|
|
if (lm != null)
|
|
|
{
|
|
@@ -225,7 +235,6 @@ namespace parkMonitor.server.CoreThread
|
|
|
{
|
|
|
if (isParking)
|
|
|
{
|
|
|
- Robot.robot1.parkWaitCount -= 1;
|
|
|
//释放已分配车位
|
|
|
if (!ParkingSpaceManager.ins.SetParkingSpace(parkingSpaceID, 0))
|
|
|
{
|
|
@@ -236,7 +245,6 @@ namespace parkMonitor.server.CoreThread
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- Robot.robot1.fetchWaitCount -= 1;
|
|
|
////复原已释放的车位
|
|
|
//if (!ParkingSpaceManager.ins.SetParkingSpace(parkingSpaceID, 1))
|
|
|
//{
|
|
@@ -1020,7 +1028,7 @@ namespace parkMonitor.server.CoreThread
|
|
|
int rearwheelbase; //后轮距
|
|
|
int garageID; //车库ID
|
|
|
bool robotError = false; //机械手是否异常
|
|
|
- //获取车辆表中车辆相关信息
|
|
|
+ //获取车辆表中车辆相关信息
|
|
|
if (queueCmd.manual)
|
|
|
{
|
|
|
//vehiclelist = oper.GetLocalVehicle(connectionStr, queueCmd.LicenseNum, queueCmd.garageID);
|
|
@@ -1130,9 +1138,9 @@ namespace parkMonitor.server.CoreThread
|
|
|
}
|
|
|
if (ParkingBufferManager.ins == null || !ParkingBufferManager.ins.ReleaseParkingBuffer(ps.parkingSpaceX))
|
|
|
{
|
|
|
- Log.WriteLog(LogType.NOT_DATABASE, LogFile.ERROR, "缓冲位编号"+ ps.parkingSpaceX + "未找到,请检查"); UILogServer.ins.error("缓冲位编号" + ps.parkingSpaceX + "未找到,请检查");
|
|
|
+ Log.WriteLog(LogType.NOT_DATABASE, LogFile.ERROR, "缓冲位编号" + ps.parkingSpaceX + "未找到,请检查"); UILogServer.ins.error("缓冲位编号" + ps.parkingSpaceX + "未找到,请检查");
|
|
|
}
|
|
|
- Log.WriteLog(LogType.NOT_DATABASE,LogFile.INFO ,"取车流程:号牌:" + queueCmd.LicenseNum + "取车完成");
|
|
|
+ Log.WriteLog(LogType.NOT_DATABASE, LogFile.INFO, "取车流程:号牌:" + queueCmd.LicenseNum + "取车完成");
|
|
|
UILogServer.ins.info("取车流程:号牌:" + queueCmd.LicenseNum + "取车完成");
|
|
|
|
|
|
//自动化测试用
|