Commit 7671eff8 张东亮

0729

1 个父辈 2e3bc5cc
正在显示 30 个修改的文件 包含 1127 行增加433 行删除
......@@ -120,6 +120,42 @@ namespace BLL
}
}
public bool FinishEnter(string nodeName, string rfid = "")
{
int nodeIdx = Common.nodeInfo.FindIndex(s => s.Name == nodeName);
string ip = Common.nodeInfo[nodeIdx].IP;
int idx = FindClient(ip);
if (idx == -1)
{
Common.LogInfo("FinishEnter 没有找到" + nodeName + " " + ip);
return false;
}
else
{
ClientNode node = new ClientNode(nodeName, rfid, ClientAction.FinishEnter);
byte[] buff = Encode(node);
return Send(idx, buff);
}
}
public bool FinishLeave(string nodeName, string rfid = "")
{
int nodeIdx = Common.nodeInfo.FindIndex(s => s.Name == nodeName);
string ip = Common.nodeInfo[nodeIdx].IP;
int idx = FindClient(ip);
if (idx == -1)
{
Common.LogInfo("FinishLeave 没有找到" + nodeName + " " + ip);
return false;
}
else
{
ClientNode node = new ClientNode(nodeName, rfid, ClientAction.FinishLeave);
byte[] buff = Encode(node);
return Send(idx, buff);
}
}
private void KeepLiveClient()
{
......
......@@ -360,9 +360,9 @@ namespace AGVControl
s[4] = RFID;
s[5] = AgvName;
}
s[6] = Online.ToString();
s[7] = IsUse.ToString();
s[8] = "Clear";
s[6] = Online?"在线":"离线";
s[7] = IsUse?"是":"否";
s[8] = "清除";
return s;
}
......@@ -493,19 +493,25 @@ namespace AGVControl
/// 当前位置
/// </summary>
public clsPosition Position;
public Agv_Info(string id, string name, string ip, string authorization, string ioID, bool isUse)
/// <summary>
/// 任务内容
/// </summary>
public string Msg { get; set; }
public Agv_Info(string id, string name, string ip, string authorization, string ioID, bool isUse,string rfid)
{
ID = id;
Name = name;
IP = ip;
Authorization = authorization;
IOID = ioID;
RFID = "";
RFID = rfid;
IsCon = false;
IsUse = isUse;
Place = "";
TaskSend = "";
NextPlace = "";
Msg = "";
DockingInfo.IsDocking = false;
DockingInfo.startTime = DateTime.Now;
Position = new Agv_Info.clsPosition();
......@@ -597,6 +603,7 @@ namespace AGVControl
{
s.Add(StateText);
s.Add(RFID);
s.Add(Msg);
s.Add(MissionText);
s.Add(PlaceAliceName);
s.Add(PlaceState.ToString());
......@@ -612,13 +619,13 @@ namespace AGVControl
}
else
{
s.AddRange(new List<string> { "", "", "", "", "", "" });
s.AddRange(new List<string> { "", "","", "", "", "", "" });
}
s.Add(IsExistShelf ? "满载" : "空载");
s.Add(IsCon.ToString());
s.Add(IsCon?"在线":"离线");
s.Add(Battery + "%");
s.Add(IsUse.ToString());
s.Add("Clear");
s.Add(IsUse?"是":"否");
s.Add("清空");
return s.ToArray();
}
......
......@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Drawing.Text;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
......@@ -21,9 +22,10 @@ namespace BLL
private const int REG_STATUS = 20;
//private List<string> shelfLockedNodeNames;
public delegate void AgvChangedEvent(int agvIndex);
public delegate void AgvMissionEvent();
public event AgvChangedEvent AgvChanged;
public event AgvChangedEvent AgvOnline;
public event AgvMissionEvent AgvMissionChanged;
public Control()
{
......@@ -152,6 +154,8 @@ namespace BLL
continue;
}
//Common.log.Info(Common.agvInfo[i].Name+"," + Common.agvInfo[i].PlaceState + "," + Common.agvInfo[i].TaskSend);
switch (Common.agvInfo[i].PlaceState)
{
case PlaceState.None:
......@@ -182,7 +186,7 @@ namespace BLL
}
}
}
catch (Exception ex) { Common.log.Error("AgvCall " + ex.Message); }
catch (Exception ex) { Common.log.Error("AgvCall " + ex.Message); }
}
......@@ -258,6 +262,7 @@ namespace BLL
Agv_Info agv = Common.agvInfo[idx];
if (agv.TaskSend != "") return;
agv.PlaceAliceName = "";
agv.Msg = "";
//空闲状态下,清空空架任务agv名字
Common.missionManager.AGV_Name_EmptyTask = "";
//空闲状态下清除节点上的agv名称
......@@ -367,7 +372,7 @@ namespace BLL
/// </summary>
/// <param name="agv"></param>
/// <returns>充电任务结果</returns>
private bool StatusCharge(Agv_Info agv)
private bool StatusCharge(Agv_Info agv, bool isRemovePreMission = false)
{
bool rtn;
string log;
......@@ -477,7 +482,7 @@ namespace BLL
#region 指定充电位置
if (agv.IP == "10.85.199.72")//1764
{
rtn = Common.mir.Add_Mission(agv, Common.agvMission["AutoCharge3"]);
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["AutoCharge3"], isRemovePreMission);
if (rtn)
{
//agv.TaskSend = "AutoCharge3";
......@@ -485,6 +490,7 @@ namespace BLL
Common.chargeStatus.charge3 = agv.Name;
Common.chargeStatus.chargeInterval = DateTime.Now.Ticks;
log = string.Format("{0} AutoCharge3", agv.Name);
agv.Msg = log;
Common.LogInfo(log);
Common.mir.State_Ready(agv);
}
......@@ -500,7 +506,7 @@ namespace BLL
}
else if (agv.IP == "10.85.199.71")//1763
{
rtn = Common.mir.Add_Mission(agv, Common.agvMission["AutoCharge4"]);
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["AutoCharge4"], isRemovePreMission);
if (rtn)
{
//agv.TaskSend = "AutoCharge4";
......@@ -508,6 +514,7 @@ namespace BLL
Common.chargeStatus.charge4 = agv.Name;
Common.chargeStatus.chargeInterval = DateTime.Now.Ticks;
log = string.Format("{0} AutoCharge4", agv.Name);
agv.Msg = log;
Common.LogInfo(log);
Common.mir.State_Ready(agv);
}
......@@ -521,9 +528,9 @@ namespace BLL
}
return rtn;
}
else if (agv.IP == "10.85.199.73")//1767
else if (agv.IP == "10.85.199.73")//1767,
{
rtn = Common.mir.Add_Mission(agv, Common.agvMission["AutoCharge5"]);
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["AutoCharge5"], isRemovePreMission);
if (rtn)
{
//agv.TaskSend = "AutoCharge5";
......@@ -531,6 +538,7 @@ namespace BLL
Common.chargeStatus.charge5 = agv.Name;
Common.chargeStatus.chargeInterval = DateTime.Now.Ticks;
log = string.Format("{0} AutoCharge5", agv.Name);
agv.Msg = log;
Common.LogInfo(log);
Common.mir.State_Ready(agv);
}
......@@ -546,7 +554,7 @@ namespace BLL
}
else if (agv.IP == "10.85.199.74")//1768
{
rtn = Common.mir.Add_Mission(agv, Common.agvMission["AutoCharge6"]);
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["AutoCharge6"], isRemovePreMission);
if (rtn)
{
//agv.TaskSend = "AutoCharge6";
......@@ -554,6 +562,7 @@ namespace BLL
Common.chargeStatus.charge4 = agv.Name;
Common.chargeStatus.chargeInterval = DateTime.Now.Ticks;
log = string.Format("{0} AutoCharge6", agv.Name);
agv.Msg = log;
Common.LogInfo(log);
Common.mir.State_Ready(agv);
}
......@@ -583,6 +592,7 @@ namespace BLL
bool rtn;
int index;
string RFID = "";
Thread.Sleep(3000);
if (agv.TaskSend != "")
return false;
//A6出满料
......@@ -600,12 +610,15 @@ namespace BLL
index = FindNode(nextNode);
Common.nodeInfo[index].AgvName = agv.Name;
}
Common.LogInfo(string.Format("{0} A6有满料架[{1}]要出,目的地为{2}", agv.Name, RFID, nextNode));
agv.Msg = string.Format("{0} A6有满料架[{1}]要出,目的地为{2}", agv.Name, RFID, nextNode);
Common.LogInfo(string.Format("{0} A6有满料架[{1}]要出,目的地为{2}[{3}]", agv.Name, RFID, nextNode,agv.PlaceState));
agv.TaskSend = rtn ? "MoveA6" : "";
return true;
}
return false;
}
int EmptyTaskCnt = 0;
/// <summary>
/// 查看是否有空料架出。根据距离分配任务;分产线接任务与待机位接任务
/// </summary>
......@@ -639,19 +652,52 @@ namespace BLL
index = Common.nodeInfo.FindIndex(s => s.Name.Equals(missionNode.NodeName) && s.AgvName == "" && s.IsUse);
if (index == -1)
return false;
if (missionNode.NodeName.StartsWith("G")) //4C
if (missionNode.NodeName.StartsWith("G"))
{
if (!agvPlace.StartsWith("G"))//4D->4C
if (!missionNode.NodeName.Equals("G14") && !missionNode.NodeName.Equals("G15"))//4C产线
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorDToC"]);
if (!rtn)
return false;
if (agvPlace.StartsWith("E") || isAgvAtStandy)//4D->4C产线
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorDToC"]);
if (!rtn)
return false;
}
else if (agvPlace.Equals("G14") || agvPlace.Equals("G15"))//air->4c
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorAirOut"]);
if (!rtn)
return false;
}
}
else//Air
{
if (agvPlace.StartsWith("E"))//4D->4C产线->air
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorDToC"]);
if (!rtn)
return false;
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorAirIn"], false);
if (!rtn)
return false;
}
else if (agvPlace.Equals("G14") || agvPlace.Equals("G15"))//air->air
{
}
}
}
else//目标地点4D
{
if (agvPlace.StartsWith("G"))//4C->4D
if (agvPlace.Equals("G14") || agvPlace.Equals("G15"))//AIR->4C->4D
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorAirOut"]);
if (!rtn)
return false;
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorCToD"], false);
if (!rtn)
return false;
}
else if (agvPlace.StartsWith("G"))//4C->D
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorCToD"]);
if (!rtn)
......@@ -660,12 +706,14 @@ namespace BLL
}
if (index > -1)
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["Move" + missionNode.NodeName]);
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["Move" + missionNode.NodeName], false);
if (rtn)
{
agv.TaskSend = "Move" + missionNode.NodeName;
Common.nodeInfo[index].AgvName = agv.Name;
Common.LogInfo(string.Format("{0} [{1}] 出空料架.", agv.Name, missionNode.NodeName));
agv.Msg = string.Format("{0} [{1}] 出空料架.", agv.Name, missionNode.NodeName);
Common.LogInfo(string.Format("{0} [{1}] 出空料架.[{2}]", agv.Name, missionNode.NodeName, agv.PlaceState));
AgvMissionChanged?.Invoke();
Common.missionManager.missionList.Remove(missionNode);
if (isAgvAtStandy)
Common.missionManager.AGV_Name_EmptyTask = agv.Name;
......@@ -682,9 +730,14 @@ namespace BLL
}
if (Common.missionManager.missionList.Count.Equals(0).Equals(false))
{
AgvChanged?.Invoke(0);
Common.LogInfo("剩余需要出空料架的节点:", false);
Common.missionManager.missionList.ForEach(s => Common.LogInfo(string.Format("创建时间:{0},任务节点{1}", s.CreateTime, s.NodeName), false));
if(EmptyTaskCnt!= Common.missionManager.missionList.Count)
{
EmptyTaskCnt = Common.missionManager.missionList.Count;
AgvMissionChanged?.Invoke();
Common.LogInfo("剩余需要出空料架的节点:", false);
Common.missionManager.missionList.ForEach(s => Common.LogInfo(string.Format("创建时间:{0},任务节点{1}", s.CreateTime, s.NodeName), false));
}
}
if (rtn) return true;
......@@ -805,6 +858,7 @@ namespace BLL
{
agv.TaskSend = rtn ? "Move" + Common.nodeInfo[nodeIdx].Name : "";
Common.nodeInfo[nodeIdx].AgvName = agv.Name;
agv.Msg = string.Format("{0} 大料架[RFID={1}]解绑 运往[{2}],", agv.Name, agv.RFID, Common.nodeInfo[nodeIdx].Name);
Common.LogInfo(string.Format("{0} 大料架[RFID={1}]解绑 运往[{2}],", agv.Name, agv.RFID, Common.nodeInfo[nodeIdx].Name));
return;
}
......@@ -818,6 +872,7 @@ namespace BLL
{
agv.TaskSend = rtn ? "Move" + Common.nodeInfo[nodeIdx].Name : "";
Common.nodeInfo[nodeIdx].AgvName = agv.Name;
agv.Msg = string.Format("{0} 大料架[RFID={1}]解绑 运往[{2}],", agv.Name, agv.RFID, Common.nodeInfo[nodeIdx].Name);
Common.LogInfo(string.Format("{0} 大料架[RFID={1}]解绑 运往[{2}],", agv.Name, agv.RFID, Common.nodeInfo[nodeIdx].Name));
return;
}
......@@ -827,7 +882,8 @@ namespace BLL
}
else
{
Common.LogInfo(string.Format("{0}载大料架到达{1}[RFID={2}],等待料架解绑...", agv.Name, agv.Place, agv.RFID));
agv.Msg = string.Format("{0}载大料架到达{1}[RFID={2}],等待料架解绑...", agv.Name, agv.Place, agv.RFID);
Common.LogInfo(string.Format("{0}载大料架到达{1}[RFID={2}],等待料架解绑...", agv.Name, agv.Place, agv.RFID), false);
return;
}
}
......@@ -989,7 +1045,7 @@ namespace BLL
int.TryParse(msgs[0].msg.Substring(0, 1), out int resCode);
string resStr = msgs[0].msg.Substring(1, 2);
lineName = msgs[0].msg.Substring(3);
Common.LogInfo(string.Format("[{0}] [{1}]", addr, result),false);
Common.LogInfo(string.Format("[{0}] [{1}]", addr, result), false);
if (lineName.Equals("").Equals(true))
return false;
if (resStr.Equals("OK") || resCode.Equals(1))
......@@ -1025,7 +1081,7 @@ namespace BLL
try
{
string result = HttpHelper.Get(addr);
Common.LogInfo(string.Format("[{0}] [{1}]", addr, result),false);
Common.LogInfo(string.Format("[{0}] [{1}]", addr, result), false);
if (!result.Equals(""))
{
List<Msg> msgs = JsonHelper.DeserializeJsonToList<Msg>(result);
......@@ -1075,26 +1131,50 @@ namespace BLL
case "A6":
// if (node.Action == ClientAction.FinishLeave)
// {
Common.server.FinishEnter(agv.Place, agv.RFID);
Common.LogInfo(string.Format("节点名:{0},节点动作:{1}", node.Name, node.Action));
string nextPlace = agv.NextPlace;
if (nextPlace.Equals(""))
return;
if (nextPlace.StartsWith("G")) //4D->4C
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorDToC"]);
if (!rtn)
break;
if (nextPlace.Equals("G14") || nextPlace.Equals("G15"))
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorDToC"]);
if (!rtn)
break;
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorAirIn"], false);
if (!rtn)
break;
}
else
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorDToC"]);
if (!rtn)
break;
}
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["Move" + nextPlace], false);
if (rtn)
{
agv.NextPlace = "";
node.AgvName = "";
agv.TaskSend = rtn ? "Move" + nextPlace : "";
Common.LogInfo(string.Format("{0}装载满料架,运往{1}", agv.Name, nextPlace));
}
}
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["Move" + nextPlace]);
if (rtn)
else
{
agv.NextPlace = "";
node.AgvName = "";
agv.TaskSend = rtn ? "Move" + nextPlace : "";
Common.LogInfo(string.Format("{0}装载满料架,运往{1}", agv.Name, nextPlace));
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["Move" + nextPlace]);
if (rtn)
{
agv.NextPlace = "";
node.AgvName = "";
agv.TaskSend = rtn ? "Move" + nextPlace : "";
Common.LogInfo(string.Format("{0}装载满料架,运往{1}", agv.Name, nextPlace));
}
}
//}
break;
case "E1":
......@@ -1135,9 +1215,6 @@ namespace BLL
case "G11":
case "G12":
case "G13":
case "G14":
case "G15":
case "G16":
case "G21":
case "G22":
//产线客户端不发FinishLeave
......@@ -1149,45 +1226,23 @@ namespace BLL
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorCToD"]);
if (!rtn)
break;
CheckA5A6State_SmallShelf(agv, node);
//int tarIdx = Common.nodeInfo.FindIndex(s => s.Name == "A5"
//&& (s.Action == ClientAction.NeedD || s.Action == ClientAction.NeedEnter) && s.IsUse);
//if (tarIdx == -1)
//{
// Common.LogInfo(string.Format("{0} 已装载小料架,A5不需要料架", agv.Name));//小
//}
//else
//{
// rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveA5"]);
// if (rtn)
// {
// agv.NextPlace = "";
// node.AgvName = "";
// agv.TaskSend = rtn ? "MoveA5" : "";
// Common.LogInfo(string.Format("{0} 已装载小料架,送往A5", agv.Name));//小
// }
// break;
//}
CheckA5A6State_SmallShelf(agv, node, false);
//tarIdx = Common.nodeInfo.FindIndex(s => s.Name == "A6" &&
//(s.Action == ClientAction.NeedEnter || s.Action == ClientAction.NeedEnterLeave) && s.IsUse);
break;
case "G14":
case "G15":
case "G16":
//if (tarIdx == -1)
//{
// Common.LogInfo(string.Format("{0} 已装载小料架,A6不需要料架", agv.Name));//小
//}
//else
//{
// rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveA6"]);
// if (rtn)
// {
// agv.NextPlace = "";
// node.AgvName = "";
// agv.TaskSend = rtn ? "MoveA6" : "";
// Common.LogInfo(string.Format("{0} 已装载小料架,送往A6", agv.Name));//小
// }
ResetNodeState(node, agv);
//检查A5、A6需要小料架的状况
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorAirOut"]);
if (!rtn)
break;
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorCToD"], false);
if (!rtn)
break;
CheckA5A6State_SmallShelf(agv, node, false);
//}
break;
}
......@@ -1197,7 +1252,7 @@ namespace BLL
/// </summary>
/// <param name="agv"></param>
/// <param name="node"></param>
private void CheckA5A6State_SmallShelf(Agv_Info agv, ClientNode node)
private void CheckA5A6State_SmallShelf(Agv_Info agv, ClientNode node, bool isRemovePreMission = true)
{
bool rtn = false;
int tarIdx = Common.nodeInfo.FindIndex(s => s.Name == "A5"
......@@ -1208,13 +1263,14 @@ namespace BLL
}
else
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveA5"]);
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveA5"], isRemovePreMission);
if (rtn)
{
agv.NextPlace = "";
node.AgvName = "";
Common.nodeInfo[tarIdx].AgvName = agv.Name;
agv.TaskSend = rtn ? "MoveA5" : "";
agv.Msg = string.Format("{0} 已装载小料架,送往A5", agv.Name);
Common.LogInfo(string.Format("{0} 已装载小料架,送往A5", agv.Name));//小
}
return;
......@@ -1230,13 +1286,14 @@ namespace BLL
}
else
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveA6"]);
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveA6"], isRemovePreMission);
if (rtn)
{
agv.NextPlace = "";
node.AgvName = "";
Common.nodeInfo[tarIdx].AgvName = agv.Name;
agv.TaskSend = rtn ? "MoveA6" : "";
agv.Msg = string.Format("{0} 已装载小料架,送往A6", agv.Name);
Common.LogInfo(string.Format("{0} 已装载小料架,送往A6", agv.Name));//小
}
......@@ -1266,6 +1323,7 @@ namespace BLL
agv.NextPlace = "";
agv.TaskSend = rtn ? "MoveA5" : "";
Common.nodeInfo[tarIdx].AgvName = agv.Name;
agv.Msg = string.Format("{0} 已装载料架 {1},送往A5", agv.Name, agv.RFID);
Common.LogInfo(string.Format("{0} 已装载料架 {1},送往A5", agv.Name, agv.RFID));//小
}
return;
......@@ -1286,6 +1344,7 @@ namespace BLL
agv.NextPlace = "";
agv.TaskSend = rtn ? "MoveA6" : "";
Common.nodeInfo[tarIdx].AgvName = agv.Name;
agv.Msg = string.Format("{0} 已装载料架 {1},送往A6", agv.Name, agv.RFID);
Common.LogInfo(string.Format("{0} 已装载料架 {1},送往A6", agv.Name, agv.RFID));//小
}
......@@ -1313,6 +1372,7 @@ namespace BLL
agv.NextPlace = "";
agv.TaskSend = rtn ? "MoveA5" : "";
Common.nodeInfo[tarIdx].AgvName = agv.Name;
agv.Msg = string.Format("{0} 已装载料架 {1},送往A5", agv.Name, agv.RFID);
Common.LogInfo(string.Format("{0} 已装载料架 {1},送往A5", agv.Name, agv.RFID));//小
}
return;
......@@ -1333,6 +1393,7 @@ namespace BLL
agv.NextPlace = "";
Common.nodeInfo[tarIdx].AgvName = agv.Name;
agv.TaskSend = rtn ? "MoveA6" : "";
agv.Msg = string.Format("{0} 已装载料架 {1},送往A6", agv.Name, agv.RFID);
Common.LogInfo(string.Format("{0} 已装载料架 {1},送往A6", agv.Name, agv.RFID));//小
}
......@@ -1370,6 +1431,7 @@ namespace BLL
case "A6":
//if (node.Action == ClientAction.FinishEnter)
//{
Common.server.FinishEnter(agv.Place, agv.RFID);
Common.LogInfo(string.Format("{0}在{1}完成进入料架", agv.Name, agv.Place));
//agv.RFID = "";
//清除执行空架任务的小车
......@@ -1377,8 +1439,8 @@ namespace BLL
ResetAGVState(agv, true);
ResetNodeState(node, agv);
//查询附近是否有空料架要出,没有则去待机位
// if (!CheckEmptyShelf(agv, agv.Place))
StatusCharge(agv);
// if (!CheckEmptyShelf(agv, agv.Place))
StatusCharge(agv, true);
//MoveStandby(agv);
// }
break;
......@@ -1428,7 +1490,7 @@ namespace BLL
//查询附近是否有空料架要出,没有则去待机位
if (!CheckEmptyShelf(agv, agv.Place))
StatusCharge(agv);
StatusCharge(agv, true);
//MoveStandby(agv);
break;
case "G1":
......@@ -1444,9 +1506,6 @@ namespace BLL
case "G11":
case "G12":
case "G13":
case "G14":
case "G15":
case "G16":
case "G21":
case "G22":
/// agv.RFID = "";
......@@ -1490,6 +1549,50 @@ namespace BLL
}
//MoveStandby(agv);
break;
case "G14":
case "G15":
case "G16":
try
{
var key = Common.agvProductionLine.Where(q => q.Value == agv.Place).Select(q => q.Key);
string lineName = key.ToList()[0];
UpdateStatus(agv.RFID, lineName);
}
catch (Exception ex) { Common.log.Error("UpdateStatus " + ex.Message); }
ResetAGVState(agv, true);
ResetNodeState(node, agv);
int tarIdx2 = Common.nodeInfo.FindIndex(s => s.Name == "A5" && (s.Action == ClientAction.NeedD || s.Action == ClientAction.NeedEnter) && s.IsUse);
if (tarIdx2 == -1)
{
tarIdx = Common.nodeInfo.FindIndex(s => s.Name == "A6" && (s.Action == ClientAction.NeedEnter || s.Action == ClientAction.NeedEnterLeave) && s.IsUse);
if (tarIdx == -1)
{
Common.LogInfo("A5,A6不需要料架,小车不载空架,直接返回待机位");
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorAirOut"]);
if (!rtn)
break;
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorCToD"], false);
if (!rtn)
break;
StatusCharge(agv);
return;
}
}
//查询附近是否有空料架要出,没有则去待机位
if (!CheckEmptyShelf(agv, agv.Place))
{
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorAirOut"]);
if (!rtn)
break;
rtn = Common.mir.Add_Mission_Fleet(agv, Common.agvMission["MoveDoorCToD"], false);
if (!rtn)
break;
StatusCharge(agv);
}
break;
}
}
......@@ -1707,13 +1810,13 @@ namespace BLL
//检查是否有车接到满料架任务,有则不再重复分配
int id = Common.agvInfo.FindIndex(s => s.RFID == rfid);
if (id>-1)
if (id > -1)
{
Common.LogInfo(Common.agvInfo[i].Name + " 正在执行满料架任务:目的地为 " + loc + " [产线名 " + res[0].location + "],不可重复分配小车");
return false;
}
dest = loc;
Common.LogInfo("收到满料架任务[RFID="+rfid+"]:目的地为 " + loc + " [产线名 " + res[0].location + "]");
Common.LogInfo("收到满料架任务[RFID=" + rfid + "]:目的地为 " + loc + " [产线名 " + res[0].location + "]");
return true;
}
else
......
......@@ -169,12 +169,13 @@ namespace BLL
/// <param name="info"></param>
/// <param name="mission_id"></param>
/// <returns></returns>
public bool Add_Mission(Agv_Info info, string mission_id)
public bool Add_Mission(Agv_Info info, string mission_id, bool isRemovePreMission = true)
{
try
{
//防止上一个任务已执行但返回失败时,删除任务
Del_Mission(info);
// if (isRemovePreMission)
Del_Mission(info);
string url = "http://" + info.IP + "/api/v2.0.0/mission_queue";
string body = "{\"mission_id\":\"" + mission_id + "\"}";
......@@ -204,12 +205,13 @@ namespace BLL
/// <param name="info"></param>
/// <param name="mission_id"></param>
/// <returns></returns>
public bool Add_Mission_Fleet(Agv_Info info, string mission_id)
public bool Add_Mission_Fleet(Agv_Info info, string mission_id, bool isRemovePreMission = true)
{
try
{
//防止上一个任务已执行但返回失败时,删除任务
Del_Mission(info);
//if (isRemovePreMission)
Del_Mission(info);
string ip = Common.appConfig.AppSettings.Settings["FLEET"].Value;
string url = "http://" + ip + "/api/v2.0.0/mission_scheduler";
......@@ -358,7 +360,7 @@ namespace BLL
Dictionary<string, object> dic = (Dictionary<string, object>)serializer.DeserializeObject(json);
if (dic == null) return false;
stateID = Convert.ToInt32(dic["state_id"].ToString());
stateID = Convert.ToInt32(dic["state_id"].ToString());
stateText = dic["state_text"].ToString();
mission_text = dic["mission_text"].ToString();
string s = dic["battery_percentage"].ToString();
......
......@@ -30,8 +30,28 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
this.DgvAgv = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column11 = new System.Windows.Forms.DataGridViewButtonColumn();
this.Column17 = new System.Windows.Forms.DataGridViewButtonColumn();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.cmbBoxLineName = new System.Windows.Forms.ComboBox();
this.btnDeleteMission = new System.Windows.Forms.Button();
this.dgvLineMission = new System.Windows.Forms.DataGridView();
this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DgvNode = new System.Windows.Forms.DataGridView();
this.Column6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
......@@ -42,7 +62,12 @@
this.Column5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column16 = new System.Windows.Forms.DataGridViewButtonColumn();
this.Column15 = new System.Windows.Forms.DataGridViewButtonColumn();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.TxtLog = new System.Windows.Forms.TextBox();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.btnSetRFID = new System.Windows.Forms.Button();
this.txtAgvRFID = new System.Windows.Forms.TextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.cmbBoxAGVName = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
......@@ -67,42 +92,20 @@
this.BtnMissionPause = new System.Windows.Forms.Button();
this.BtnMissionReady = new System.Windows.Forms.Button();
this.LstAgvPlace = new System.Windows.Forms.ListBox();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.cmbBoxLineName = new System.Windows.Forms.ComboBox();
this.button1 = new System.Windows.Forms.Button();
this.btnDeleteMission = new System.Windows.Forms.Button();
this.dgvLineMission = new System.Windows.Forms.DataGridView();
this.Column24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.TxtLog = new System.Windows.Forms.TextBox();
this.txtBoxAGV_EmptyTask = new System.Windows.Forms.TextBox();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column11 = new System.Windows.Forms.DataGridViewButtonColumn();
this.Column17 = new System.Windows.Forms.DataGridViewButtonColumn();
this.txtAgvRFID = new System.Windows.Forms.TextBox();
this.btnSetRFID = new System.Windows.Forms.Button();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
((System.ComponentModel.ISupportInitialize)(this.DgvAgv)).BeginInit();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvLineMission)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.DgvNode)).BeginInit();
this.tabPage3.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvLineMission)).BeginInit();
this.tabPage3.SuspendLayout();
this.groupBox2.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.SuspendLayout();
//
// DgvAgv
......@@ -117,6 +120,7 @@
this.Column2,
this.Column3,
this.Column21,
this.Column25,
this.Column14,
this.Column18,
this.Column20,
......@@ -126,43 +130,224 @@
this.Column19,
this.Column11,
this.Column17});
this.DgvAgv.Dock = System.Windows.Forms.DockStyle.Top;
this.DgvAgv.Location = new System.Drawing.Point(0, 0);
this.DgvAgv.Dock = System.Windows.Forms.DockStyle.Fill;
this.DgvAgv.Location = new System.Drawing.Point(4, 4);
this.DgvAgv.Margin = new System.Windows.Forms.Padding(4);
this.DgvAgv.Name = "DgvAgv";
this.DgvAgv.ReadOnly = true;
this.DgvAgv.RowHeadersVisible = false;
this.DgvAgv.RowHeadersWidth = 51;
this.DgvAgv.RowTemplate.Height = 23;
this.DgvAgv.Size = new System.Drawing.Size(1531, 171);
this.DgvAgv.Size = new System.Drawing.Size(1738, 171);
this.DgvAgv.TabIndex = 3;
this.DgvAgv.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DgvAgv_CellClick);
//
// Column1
//
this.Column1.HeaderText = "名称";
this.Column1.MinimumWidth = 6;
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column1.Width = 80;
//
// Column2
//
this.Column2.HeaderText = "IP";
this.Column2.MinimumWidth = 6;
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column2.Width = 110;
//
// Column3
//
this.Column3.HeaderText = "任务状态";
this.Column3.MinimumWidth = 6;
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column3.Width = 60;
//
// Column21
//
this.Column21.HeaderText = "RFID";
this.Column21.MinimumWidth = 6;
this.Column21.Name = "Column21";
this.Column21.ReadOnly = true;
this.Column21.Width = 50;
//
// Column25
//
this.Column25.HeaderText = "任务内容";
this.Column25.MinimumWidth = 6;
this.Column25.Name = "Column25";
this.Column25.ReadOnly = true;
this.Column25.Width = 300;
//
// Column14
//
this.Column14.HeaderText = "执行信息";
this.Column14.MinimumWidth = 6;
this.Column14.Name = "Column14";
this.Column14.ReadOnly = true;
this.Column14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column14.Width = 300;
//
// Column18
//
this.Column18.HeaderText = "目的地";
this.Column18.MinimumWidth = 6;
this.Column18.Name = "Column18";
this.Column18.ReadOnly = true;
this.Column18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column18.Width = 80;
//
// Column20
//
this.Column20.HeaderText = "执行状态";
this.Column20.MinimumWidth = 6;
this.Column20.Name = "Column20";
this.Column20.ReadOnly = true;
this.Column20.Width = 80;
//
// Column4
//
this.Column4.HeaderText = "后续任务";
this.Column4.MinimumWidth = 6;
this.Column4.Name = "Column4";
this.Column4.ReadOnly = true;
this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column4.Width = 80;
//
// Column23
//
this.Column23.HeaderText = "负载";
this.Column23.MinimumWidth = 6;
this.Column23.Name = "Column23";
this.Column23.ReadOnly = true;
this.Column23.Width = 60;
//
// Column13
//
this.Column13.HeaderText = "连接";
this.Column13.MinimumWidth = 6;
this.Column13.Name = "Column13";
this.Column13.ReadOnly = true;
this.Column13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column13.Width = 60;
//
// Column19
//
this.Column19.HeaderText = "电量";
this.Column19.MinimumWidth = 6;
this.Column19.Name = "Column19";
this.Column19.ReadOnly = true;
this.Column19.Width = 60;
//
// Column11
//
this.Column11.HeaderText = "调用";
this.Column11.MinimumWidth = 6;
this.Column11.Name = "Column11";
this.Column11.ReadOnly = true;
this.Column11.Width = 60;
//
// Column17
//
this.Column17.HeaderText = "清除任务";
this.Column17.MinimumWidth = 6;
this.Column17.Name = "Column17";
this.Column17.ReadOnly = true;
this.Column17.Width = 60;
//
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage3);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Top;
this.tabControl1.Location = new System.Drawing.Point(0, 171);
this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tabControl1.Location = new System.Drawing.Point(4, 183);
this.tabControl1.Margin = new System.Windows.Forms.Padding(4);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(1531, 601);
this.tabControl1.Size = new System.Drawing.Size(1738, 589);
this.tabControl1.TabIndex = 6;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.DgvNode);
this.tabPage1.Controls.Add(this.tableLayoutPanel2);
this.tabPage1.Location = new System.Drawing.Point(4, 25);
this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(4);
this.tabPage1.Size = new System.Drawing.Size(1523, 572);
this.tabPage1.Size = new System.Drawing.Size(1730, 560);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "节点";
this.tabPage1.Text = "节点状态&产线任务";
this.tabPage1.UseVisualStyleBackColor = true;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.cmbBoxLineName);
this.groupBox1.Controls.Add(this.btnDeleteMission);
this.groupBox1.Controls.Add(this.dgvLineMission);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox1.Location = new System.Drawing.Point(1207, 3);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(512, 546);
this.groupBox1.TabIndex = 33;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "产线任务";
//
// cmbBoxLineName
//
this.cmbBoxLineName.FormattingEnabled = true;
this.cmbBoxLineName.Location = new System.Drawing.Point(399, 100);
this.cmbBoxLineName.Name = "cmbBoxLineName";
this.cmbBoxLineName.Size = new System.Drawing.Size(96, 23);
this.cmbBoxLineName.TabIndex = 38;
//
// btnDeleteMission
//
this.btnDeleteMission.Location = new System.Drawing.Point(395, 148);
this.btnDeleteMission.Name = "btnDeleteMission";
this.btnDeleteMission.Size = new System.Drawing.Size(100, 48);
this.btnDeleteMission.TabIndex = 35;
this.btnDeleteMission.Text = "删除任务";
this.btnDeleteMission.UseVisualStyleBackColor = true;
this.btnDeleteMission.Click += new System.EventHandler(this.btnDeleteMission_Click);
//
// dgvLineMission
//
this.dgvLineMission.AllowUserToAddRows = false;
this.dgvLineMission.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvLineMission.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column24,
this.Column8});
this.dgvLineMission.Dock = System.Windows.Forms.DockStyle.Left;
this.dgvLineMission.Location = new System.Drawing.Point(3, 21);
this.dgvLineMission.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.dgvLineMission.Name = "dgvLineMission";
this.dgvLineMission.RowHeadersVisible = false;
this.dgvLineMission.RowHeadersWidth = 51;
this.dgvLineMission.RowTemplate.Height = 27;
this.dgvLineMission.Size = new System.Drawing.Size(386, 522);
this.dgvLineMission.TabIndex = 28;
//
// Column24
//
this.Column24.HeaderText = "时间";
this.Column24.MinimumWidth = 6;
this.Column24.Name = "Column24";
this.Column24.Width = 180;
//
// Column8
//
this.Column8.HeaderText = "任务";
this.Column8.MinimumWidth = 6;
this.Column8.Name = "Column8";
this.Column8.Width = 80;
//
// DgvNode
//
this.DgvNode.AllowUserToAddRows = false;
......@@ -188,7 +373,7 @@
this.DgvNode.RowHeadersVisible = false;
this.DgvNode.RowHeadersWidth = 50;
this.DgvNode.RowTemplate.Height = 23;
this.DgvNode.Size = new System.Drawing.Size(1515, 564);
this.DgvNode.Size = new System.Drawing.Size(1196, 544);
this.DgvNode.TabIndex = 1;
this.DgvNode.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.DgvNode_CellClick);
//
......@@ -247,7 +432,7 @@
//
// Column5
//
this.Column5.HeaderText = "在线";
this.Column5.HeaderText = "连接";
this.Column5.MinimumWidth = 6;
this.Column5.Name = "Column5";
this.Column5.ReadOnly = true;
......@@ -270,6 +455,44 @@
this.Column15.ReadOnly = true;
this.Column15.Width = 80;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.tableLayoutPanel1);
this.tabPage2.Location = new System.Drawing.Point(4, 25);
this.tabPage2.Margin = new System.Windows.Forms.Padding(4);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(4);
this.tabPage2.Size = new System.Drawing.Size(1730, 560);
this.tabPage2.TabIndex = 3;
this.tabPage2.Text = "日志";
this.tabPage2.UseVisualStyleBackColor = true;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45.27163F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 54.72837F));
this.tableLayoutPanel1.Controls.Add(this.TxtLog, 0, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 564F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1722, 552);
this.tableLayoutPanel1.TabIndex = 6;
//
// TxtLog
//
this.TxtLog.Dock = System.Windows.Forms.DockStyle.Fill;
this.TxtLog.Location = new System.Drawing.Point(4, 4);
this.TxtLog.Margin = new System.Windows.Forms.Padding(4);
this.TxtLog.Multiline = true;
this.TxtLog.Name = "TxtLog";
this.TxtLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.TxtLog.Size = new System.Drawing.Size(771, 544);
this.TxtLog.TabIndex = 5;
//
// tabPage3
//
this.tabPage3.Controls.Add(this.btnSetRFID);
......@@ -284,11 +507,29 @@
this.tabPage3.Margin = new System.Windows.Forms.Padding(4);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(4);
this.tabPage3.Size = new System.Drawing.Size(1523, 572);
this.tabPage3.Size = new System.Drawing.Size(1730, 560);
this.tabPage3.TabIndex = 2;
this.tabPage3.Text = "agv手动";
this.tabPage3.UseVisualStyleBackColor = true;
//
// btnSetRFID
//
this.btnSetRFID.Location = new System.Drawing.Point(448, 85);
this.btnSetRFID.Margin = new System.Windows.Forms.Padding(4);
this.btnSetRFID.Name = "btnSetRFID";
this.btnSetRFID.Size = new System.Drawing.Size(100, 44);
this.btnSetRFID.TabIndex = 34;
this.btnSetRFID.Text = "设置RFID";
this.btnSetRFID.UseVisualStyleBackColor = true;
this.btnSetRFID.Click += new System.EventHandler(this.btnSetRFID_Click);
//
// txtAgvRFID
//
this.txtAgvRFID.Location = new System.Drawing.Point(448, 34);
this.txtAgvRFID.Name = "txtAgvRFID";
this.txtAgvRFID.Size = new System.Drawing.Size(100, 25);
this.txtAgvRFID.TabIndex = 33;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.cmbBoxAGVName);
......@@ -309,7 +550,7 @@
this.groupBox2.Controls.Add(this.TxtCharge4);
this.groupBox2.Controls.Add(this.BtnWriteCharge4);
this.groupBox2.Controls.Add(this.BtnReadCharge4);
this.groupBox2.Location = new System.Drawing.Point(372, 8);
this.groupBox2.Location = new System.Drawing.Point(1310, 33);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(338, 445);
this.groupBox2.TabIndex = 32;
......@@ -499,10 +740,10 @@
//
// BtnClearError
//
this.BtnClearError.Location = new System.Drawing.Point(1038, 15);
this.BtnClearError.Location = new System.Drawing.Point(769, 258);
this.BtnClearError.Margin = new System.Windows.Forms.Padding(4);
this.BtnClearError.Name = "BtnClearError";
this.BtnClearError.Size = new System.Drawing.Size(128, 44);
this.BtnClearError.Size = new System.Drawing.Size(128, 85);
this.BtnClearError.TabIndex = 19;
this.BtnClearError.Text = "清除错误";
this.BtnClearError.UseVisualStyleBackColor = true;
......@@ -521,10 +762,10 @@
//
// BtnMissionPause
//
this.BtnMissionPause.Location = new System.Drawing.Point(882, 15);
this.BtnMissionPause.Location = new System.Drawing.Point(613, 258);
this.BtnMissionPause.Margin = new System.Windows.Forms.Padding(4);
this.BtnMissionPause.Name = "BtnMissionPause";
this.BtnMissionPause.Size = new System.Drawing.Size(128, 44);
this.BtnMissionPause.Size = new System.Drawing.Size(128, 85);
this.BtnMissionPause.TabIndex = 2;
this.BtnMissionPause.Text = "暂停";
this.BtnMissionPause.UseVisualStyleBackColor = true;
......@@ -532,10 +773,10 @@
//
// BtnMissionReady
//
this.BtnMissionReady.Location = new System.Drawing.Point(717, 15);
this.BtnMissionReady.Location = new System.Drawing.Point(448, 258);
this.BtnMissionReady.Margin = new System.Windows.Forms.Padding(4);
this.BtnMissionReady.Name = "BtnMissionReady";
this.BtnMissionReady.Size = new System.Drawing.Size(128, 44);
this.BtnMissionReady.Size = new System.Drawing.Size(128, 85);
this.BtnMissionReady.TabIndex = 1;
this.BtnMissionReady.Text = "运行";
this.BtnMissionReady.UseVisualStyleBackColor = true;
......@@ -551,286 +792,67 @@
this.LstAgvPlace.Location = new System.Drawing.Point(8, 8);
this.LstAgvPlace.Margin = new System.Windows.Forms.Padding(4);
this.LstAgvPlace.Name = "LstAgvPlace";
this.LstAgvPlace.Size = new System.Drawing.Size(199, 556);
this.LstAgvPlace.Size = new System.Drawing.Size(199, 544);
this.LstAgvPlace.TabIndex = 0;
//
// tabPage2
//
this.tabPage2.Controls.Add(this.tableLayoutPanel1);
this.tabPage2.Location = new System.Drawing.Point(4, 25);
this.tabPage2.Margin = new System.Windows.Forms.Padding(4);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(4);
this.tabPage2.Size = new System.Drawing.Size(1523, 572);
this.tabPage2.TabIndex = 3;
this.tabPage2.Text = "日志&产线任务";
this.tabPage2.UseVisualStyleBackColor = true;
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45.27163F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 54.72837F));
this.tableLayoutPanel1.Controls.Add(this.groupBox1, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.TxtLog, 0, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 480F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1515, 564);
this.tableLayoutPanel1.TabIndex = 6;
//
// groupBox1
//
this.groupBox1.Controls.Add(this.txtBoxAGV_EmptyTask);
this.groupBox1.Controls.Add(this.cmbBoxLineName);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.btnDeleteMission);
this.groupBox1.Controls.Add(this.dgvLineMission);
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox1.Location = new System.Drawing.Point(688, 3);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(824, 558);
this.groupBox1.TabIndex = 32;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "产线任务";
//
// cmbBoxLineName
//
this.cmbBoxLineName.FormattingEnabled = true;
this.cmbBoxLineName.Location = new System.Drawing.Point(461, 104);
this.cmbBoxLineName.Name = "cmbBoxLineName";
this.cmbBoxLineName.Size = new System.Drawing.Size(96, 23);
this.cmbBoxLineName.TabIndex = 38;
//
// button1
//
this.button1.Location = new System.Drawing.Point(448, 244);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(138, 65);
this.button1.TabIndex = 37;
this.button1.Text = "Feeder允许进出料";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// btnDeleteMission
//
this.btnDeleteMission.Location = new System.Drawing.Point(457, 152);
this.btnDeleteMission.Name = "btnDeleteMission";
this.btnDeleteMission.Size = new System.Drawing.Size(100, 48);
this.btnDeleteMission.TabIndex = 35;
this.btnDeleteMission.Text = "删除任务";
this.btnDeleteMission.UseVisualStyleBackColor = true;
this.btnDeleteMission.Click += new System.EventHandler(this.btnDeleteMission_Click);
//
// dgvLineMission
//
this.dgvLineMission.AllowUserToAddRows = false;
this.dgvLineMission.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvLineMission.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column24,
this.Column8});
this.dgvLineMission.Dock = System.Windows.Forms.DockStyle.Left;
this.dgvLineMission.Location = new System.Drawing.Point(3, 21);
this.dgvLineMission.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.dgvLineMission.Name = "dgvLineMission";
this.dgvLineMission.RowHeadersVisible = false;
this.dgvLineMission.RowHeadersWidth = 51;
this.dgvLineMission.RowTemplate.Height = 27;
this.dgvLineMission.Size = new System.Drawing.Size(386, 534);
this.dgvLineMission.TabIndex = 28;
//
// Column24
//
this.Column24.HeaderText = "时间";
this.Column24.MinimumWidth = 6;
this.Column24.Name = "Column24";
this.Column24.Width = 180;
//
// Column8
//
this.Column8.HeaderText = "任务";
this.Column8.MinimumWidth = 6;
this.Column8.Name = "Column8";
this.Column8.Width = 80;
//
// TxtLog
//
this.TxtLog.Dock = System.Windows.Forms.DockStyle.Fill;
this.TxtLog.Location = new System.Drawing.Point(4, 4);
this.TxtLog.Margin = new System.Windows.Forms.Padding(4);
this.TxtLog.Multiline = true;
this.TxtLog.Name = "TxtLog";
this.TxtLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.TxtLog.Size = new System.Drawing.Size(677, 556);
this.TxtLog.TabIndex = 5;
//
// txtBoxAGV_EmptyTask
//
this.txtBoxAGV_EmptyTask.Location = new System.Drawing.Point(411, 21);
this.txtBoxAGV_EmptyTask.Name = "txtBoxAGV_EmptyTask";
this.txtBoxAGV_EmptyTask.Size = new System.Drawing.Size(100, 25);
this.txtBoxAGV_EmptyTask.TabIndex = 39;
//
// Column1
//
this.Column1.HeaderText = "名称";
this.Column1.MinimumWidth = 6;
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
this.Column1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column1.Width = 80;
//
// Column2
//
this.Column2.HeaderText = "IP";
this.Column2.MinimumWidth = 6;
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
this.Column2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column2.Width = 110;
//
// Column3
//
this.Column3.HeaderText = "状态";
this.Column3.MinimumWidth = 6;
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
this.Column3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column3.Width = 60;
//
// Column21
//
this.Column21.HeaderText = "RFID";
this.Column21.MinimumWidth = 6;
this.Column21.Name = "Column21";
this.Column21.ReadOnly = true;
this.Column21.Width = 50;
//
// Column14
//
this.Column14.HeaderText = "任务内容";
this.Column14.MinimumWidth = 6;
this.Column14.Name = "Column14";
this.Column14.ReadOnly = true;
this.Column14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column14.Width = 300;
//
// Column18
//
this.Column18.HeaderText = "目的地";
this.Column18.MinimumWidth = 6;
this.Column18.Name = "Column18";
this.Column18.ReadOnly = true;
this.Column18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column18.Width = 80;
//
// Column20
//
this.Column20.HeaderText = "地点状态";
this.Column20.MinimumWidth = 6;
this.Column20.Name = "Column20";
this.Column20.ReadOnly = true;
this.Column20.Width = 80;
//
// Column4
//
this.Column4.HeaderText = "后续任务";
this.Column4.MinimumWidth = 6;
this.Column4.Name = "Column4";
this.Column4.ReadOnly = true;
this.Column4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column4.Width = 80;
//
// Column23
//
this.Column23.HeaderText = "负载";
this.Column23.MinimumWidth = 6;
this.Column23.Name = "Column23";
this.Column23.ReadOnly = true;
this.Column23.Width = 60;
//
// Column13
//
this.Column13.HeaderText = "在线";
this.Column13.MinimumWidth = 6;
this.Column13.Name = "Column13";
this.Column13.ReadOnly = true;
this.Column13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.Column13.Width = 60;
//
// Column19
//
this.Column19.HeaderText = "电量";
this.Column19.MinimumWidth = 6;
this.Column19.Name = "Column19";
this.Column19.ReadOnly = true;
this.Column19.Width = 60;
//
// Column11
//
this.Column11.HeaderText = "调用";
this.Column11.MinimumWidth = 6;
this.Column11.Name = "Column11";
this.Column11.ReadOnly = true;
this.Column11.Width = 60;
//
// Column17
//
this.Column17.HeaderText = "清除缓存";
this.Column17.MinimumWidth = 6;
this.Column17.Name = "Column17";
this.Column17.ReadOnly = true;
this.Column17.Width = 60;
//
// txtAgvRFID
//
this.txtAgvRFID.Location = new System.Drawing.Point(734, 103);
this.txtAgvRFID.Name = "txtAgvRFID";
this.txtAgvRFID.Size = new System.Drawing.Size(100, 25);
this.txtAgvRFID.TabIndex = 33;
//
// btnSetRFID
//
this.btnSetRFID.Location = new System.Drawing.Point(734, 154);
this.btnSetRFID.Margin = new System.Windows.Forms.Padding(4);
this.btnSetRFID.Name = "btnSetRFID";
this.btnSetRFID.Size = new System.Drawing.Size(100, 44);
this.btnSetRFID.TabIndex = 34;
this.btnSetRFID.Text = "设置RFID";
this.btnSetRFID.UseVisualStyleBackColor = true;
this.btnSetRFID.Click += new System.EventHandler(this.btnSetRFID_Click);
// tableLayoutPanel2
//
this.tableLayoutPanel2.ColumnCount = 2;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 69.9422F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30.0578F));
this.tableLayoutPanel2.Controls.Add(this.DgvNode, 0, 0);
this.tableLayoutPanel2.Controls.Add(this.groupBox1, 1, 0);
this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.Location = new System.Drawing.Point(4, 4);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(1722, 552);
this.tableLayoutPanel2.TabIndex = 34;
//
// tableLayoutPanel3
//
this.tableLayoutPanel3.ColumnCount = 1;
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.Controls.Add(this.DgvAgv, 0, 0);
this.tableLayoutPanel3.Controls.Add(this.tabControl1, 0, 1);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 2;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tableLayoutPanel3.Size = new System.Drawing.Size(1746, 776);
this.tableLayoutPanel3.TabIndex = 7;
//
// FrmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1531, 776);
this.Controls.Add(this.tabControl1);
this.Controls.Add(this.DgvAgv);
this.ClientSize = new System.Drawing.Size(1746, 776);
this.Controls.Add(this.tableLayoutPanel3);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4);
this.MaximizeBox = false;
this.Name = "FrmMain";
this.Text = "AGV产线调度";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMain_FormClosing);
this.Load += new System.EventHandler(this.FrmMain_Load);
((System.ComponentModel.ISupportInitialize)(this.DgvAgv)).EndInit();
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvLineMission)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.DgvNode)).EndInit();
this.tabPage2.ResumeLayout(false);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.tabPage3.ResumeLayout(false);
this.tabPage3.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvLineMission)).EndInit();
this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel3.ResumeLayout(false);
this.ResumeLayout(false);
}
......@@ -867,6 +889,9 @@
private System.Windows.Forms.Button BtnReadCharge6;
private System.Windows.Forms.TextBox TxtLog;
private System.Windows.Forms.ComboBox cmbBoxAGVName;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Button btnSetRFID;
private System.Windows.Forms.TextBox txtAgvRFID;
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
private System.Windows.Forms.DataGridViewTextBoxColumn Column22;
......@@ -876,19 +901,11 @@
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
private System.Windows.Forms.DataGridViewButtonColumn Column16;
private System.Windows.Forms.DataGridViewButtonColumn Column15;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Button btnDeleteMission;
private System.Windows.Forms.DataGridView dgvLineMission;
private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ComboBox cmbBoxLineName;
private System.Windows.Forms.TextBox txtBoxAGV_EmptyTask;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column21;
private System.Windows.Forms.DataGridViewTextBoxColumn Column25;
private System.Windows.Forms.DataGridViewTextBoxColumn Column14;
private System.Windows.Forms.DataGridViewTextBoxColumn Column18;
private System.Windows.Forms.DataGridViewTextBoxColumn Column20;
......@@ -898,8 +915,14 @@
private System.Windows.Forms.DataGridViewTextBoxColumn Column19;
private System.Windows.Forms.DataGridViewButtonColumn Column11;
private System.Windows.Forms.DataGridViewButtonColumn Column17;
private System.Windows.Forms.Button btnSetRFID;
private System.Windows.Forms.TextBox txtAgvRFID;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.ComboBox cmbBoxLineName;
private System.Windows.Forms.Button btnDeleteMission;
private System.Windows.Forms.DataGridView dgvLineMission;
private System.Windows.Forms.DataGridViewTextBoxColumn Column24;
private System.Windows.Forms.DataGridViewTextBoxColumn Column8;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
}
}
......@@ -38,6 +38,8 @@ namespace AGVControl
{
n = DgvAgv.Rows.Add(Common.agvInfo[i].ToRow());
DgvAgv.Rows[n].HeaderCell.Value = (n + 1).ToString();
if (i % 2 == 0)
DgvAgv.Rows[n].DefaultCellStyle.BackColor = Color.LightBlue;
if (!Common.agvInfo[i].IsCon)
DgvAgv.Rows[n].DefaultCellStyle.ForeColor = Color.Red;
}
......@@ -52,6 +54,8 @@ namespace AGVControl
{
n = DgvNode.Rows.Add(Common.nodeInfo[i].ToRow());
DgvNode.Rows[n].HeaderCell.Value = (n + 1).ToString();
if (i % 2 == 0)
DgvNode.Rows[n].DefaultCellStyle.BackColor = Color.LightBlue;
if (!Common.nodeInfo[i].Online)
DgvNode.Rows[n].DefaultCellStyle.ForeColor = Color.Red;
}
......@@ -84,12 +88,6 @@ namespace AGVControl
{
DgvAgv.Rows[agvIndex].SetValues(Common.agvInfo[agvIndex].ToRow());
}));
if (!Common.missionManager.AGV_Name_EmptyTask.Equals(""))
Invoke(new Action(() =>
{
txtBoxAGV_EmptyTask.Text = Common.missionManager.AGV_Name_EmptyTask;
}));
ShowEmptyTask();
try
{
Invoke(new Action(() =>
......@@ -119,6 +117,11 @@ namespace AGVControl
private void ItemExit_Click(object sender, EventArgs e)
{
foreach (var item in Common.agvInfo)
{
Common.appConfig.AppSettings.Settings[item.Name].Value = item.IsUse.ToString() + "," + item.RFID;
Common.appConfig.Save();
}
notify.Dispose();
exit = true;
Close();
......@@ -130,6 +133,16 @@ namespace AGVControl
if (WindowState == FormWindowState.Minimized)
WindowState = FormWindowState.Normal;
}
private void Control_AgvMissionChanged()
{
if (!Common.missionManager.AGV_Name_EmptyTask.Equals(""))
Invoke(new Action(() =>
{
//txtBoxAGV_EmptyTask.Text = Common.missionManager.AGV_Name_EmptyTask;
groupBox1.Text = "产线任务[" + Common.missionManager.AGV_Name_EmptyTask + "]";
}));
ShowEmptyTask();
}
private void FrmMain_Load(object sender, EventArgs e)
{
......@@ -152,6 +165,7 @@ namespace AGVControl
change = false;
Common.control.AgvChanged += Control_AgvChanged;
Common.control.AgvOnline += Control_AgvOnline;
Common.control.AgvMissionChanged += Control_AgvMissionChanged;
Common.server.NodeChanged += Server_NodeChanged;
Common.server.NodeOnline += Server_NodeOnline;
foreach (var item in Common.agvInfo)
......@@ -169,6 +183,12 @@ namespace AGVControl
e.Cancel = true;
Hide();
}
foreach (var item in Common.agvInfo)
{
Common.appConfig.AppSettings.Settings[item.Name].Value = item.IsUse.ToString() + "," + item.RFID;
Common.appConfig.Save();
}
showTimer.Enabled = false;
showTimer.Stop();
Common.control.AgvChanged -= Control_AgvChanged;
......@@ -181,14 +201,14 @@ namespace AGVControl
{
if (e.RowIndex == -1) return;
if (e.ColumnIndex == 11) //调用
if (e.ColumnIndex == 12) //调用
{
Common.agvInfo[e.RowIndex].IsUse = !Common.agvInfo[e.RowIndex].IsUse;
DgvAgv.Rows[e.RowIndex].Cells[e.ColumnIndex].Value = Common.agvInfo[e.RowIndex].IsUse.ToString();
Common.appConfig.AppSettings.Settings[Common.agvInfo[e.RowIndex].Name].Value = Common.agvInfo[e.RowIndex].IsUse.ToString();
Common.appConfig.AppSettings.Settings[Common.agvInfo[e.RowIndex].Name].Value = Common.agvInfo[e.RowIndex].IsUse.ToString()+","+ Common.agvInfo[e.RowIndex].RFID;
Common.appConfig.Save();
}
else if (e.ColumnIndex == 12) //清除缓存
else if (e.ColumnIndex == 13) //清除缓存
{
//清除小车缓存
Common.LogInfo(string.Format("手动清除agv缓存,{0} {1}", Common.agvInfo[e.RowIndex].Name, Common.agvInfo[e.RowIndex].Place));
......@@ -199,6 +219,7 @@ namespace AGVControl
Common.agvInfo[e.RowIndex].NextPlace = "";
Common.agvInfo[e.RowIndex].NextPlaceAliceName = "";
Common.agvInfo[e.RowIndex].TaskSend = "";
Common.agvInfo[e.RowIndex].Msg = "";
//清除执行空架任务的小车
if (Common.missionManager.AGV_Name_EmptyTask == Common.agvInfo[e.RowIndex].Name)
Common.missionManager.AGV_Name_EmptyTask = "";
......@@ -273,6 +294,7 @@ namespace AGVControl
if (idx < 0) return;
if (Common.agvInfo[idx].IsCon)
Common.mir.State_Pause(Common.agvInfo[idx]);
Common.LogInfo("手动暂停:[" + Common.agvInfo[idx].Name + "]");
}
private void BtnMissionAdd_Click(object sender, EventArgs e)
......@@ -286,6 +308,7 @@ namespace AGVControl
if (!rtn)
return;
//Common.agvInfo[idx].TaskSend = LstAgvPlace.Text;
Common.LogInfo("手动添加任务:[" + Common.agvInfo[idx].Name + "][" + Common.showNameMissionName[LstAgvPlace.Text] + "]");
}
}
......@@ -297,6 +320,7 @@ namespace AGVControl
if (idx < 0) return;
if (Common.agvInfo[idx].IsCon)
Common.mir.Clear_Error(Common.agvInfo[idx]);
Common.LogInfo("手动清除错误:[" + Common.agvInfo[idx].Name + "]");
}
private void ShowTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
......@@ -488,8 +512,9 @@ namespace AGVControl
if (Common.agvInfo[idx].IsCon)
{
Common.agvInfo[idx].RFID = txtAgvRFID.Text.ToUpper();
Common.LogInfo("设置 " + Common.agvInfo[idx].Name +" RFID="+ txtAgvRFID.Text);
Common.LogInfo("手动设置 " + Common.agvInfo[idx].Name +" RFID="+ txtAgvRFID.Text);
}
}
}
}
......@@ -129,6 +129,9 @@
<metadata name="Column21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column25.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column14.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
......
using BLL;
using log4net.Config;
using log4net.Util.TypeConverters;
using System;
using System.Collections.Generic;
using System.Diagnostics;
......@@ -73,7 +74,7 @@ namespace AGVControl
string[] line;
string[] temp;
bool isuse;
string rfid = "";
Common.appConfig = System.Configuration.ConfigurationManager.OpenExeConfiguration(System.Configuration.ConfigurationUserLevel.None);
Common.agvInfo = new List<Agv_Info>();
......@@ -83,8 +84,10 @@ namespace AGVControl
{
temp = line[i].Split(',');
if (temp.Length != 5) continue;
isuse = Convert.ToBoolean(Common.appConfig.AppSettings.Settings[temp[1]].Value);
Common.agvInfo.Add(new Agv_Info(temp[0], temp[1], temp[2], temp[3], temp[4], isuse));
string val = Common.appConfig.AppSettings.Settings[temp[1]].Value;
isuse = Convert.ToBoolean(val.Split(',')[0]);
rfid = val.Split(',')[1];
Common.agvInfo.Add(new Agv_Info(temp[0], temp[1], temp[2], temp[3], temp[4], isuse,rfid));
}
Common.agvMission = new Dictionary<string, string>();
......
[2020-07-21 10:14:31,645][1]INFO =====程序开始=====
[2020-07-29 10:37:35,016][1]INFO =====程序开始=====
[2020-07-29 10:37:35,364][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:37:35,364][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:37:35,416][1]DEBUG HttpGet URL: http://10.85.199.72/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:37:35,416][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:37:35,468][1]DEBUG HttpGet URL: http://10.85.199.73/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:37:35,468][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:37:35,521][1]DEBUG HttpGet URL: http://10.85.199.74/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:37:35,521][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:37:35,577][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/7ed952c3-b520-11ea-b6ad-00012998f5a0 Return:
[2020-07-29 10:37:35,577][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:35,629][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/929eb1c2-b520-11ea-b6ad-00012998f5a0 Return:
[2020-07-29 10:37:35,629][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:35,681][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/3b823fe4-b368-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:35,684][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:35,735][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/ede15fcb-b367-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:35,735][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:35,787][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/43855a9b-b365-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:35,787][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:35,840][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/73c8b98c-b368-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:35,840][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:35,892][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/5436efd7-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:35,892][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:35,945][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/6b7710c1-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:35,945][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:35,997][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/8f039d2e-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:35,997][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,049][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/9e0b64ab-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:36,049][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,104][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/aec7da80-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:36,104][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,154][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/c10984c9-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:36,155][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,208][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/d6e0b92a-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:36,208][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,260][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/efb04c55-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:36,260][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,312][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/fd6b1f95-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:37:36,312][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,364][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/ac6c413e-895e-11ea-9374-000129922ca6 Return:
[2020-07-29 10:37:36,364][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,417][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/1e546c3a-8abe-11ea-ab63-000129922ca6 Return:
[2020-07-29 10:37:36,417][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,469][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/431649a4-8abe-11ea-ab63-000129922ca6 Return:
[2020-07-29 10:37:36,469][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,520][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/d402fbc2-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,520][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,571][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/ce0d60e9-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,571][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,624][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/c768170a-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,624][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,676][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/c2de9745-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,676][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,728][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/be468ef4-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,728][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,781][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/b9117881-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,781][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,833][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/b3cda9db-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,833][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,884][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/ae09fc56-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,884][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,936][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/a64bdbbb-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:37:36,936][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:36,988][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/604b1c3c-ca4e-11ea-810b-00012999830e Return:
[2020-07-29 10:37:36,988][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,040][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/cb7f117b-ca88-11ea-9b28-0001299981d4 Return:
[2020-07-29 10:37:37,040][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,092][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/cb7f117b-ca88-11ea-9b28-0001299981d4 Return:
[2020-07-29 10:37:37,092][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,143][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,194][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,244][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,295][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,346][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,397][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:37:37,422][1]INFO Server Start
[2020-07-29 10:37:40,260][5]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:37:40,760][5]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:37:42,760][5]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:37:44,760][5]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:37:47,760][5]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:37:49,760][5]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:37:51,760][5]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:37:53,760][5]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:37:56,760][5]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:37:58,760][5]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:38:00,760][5]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:38:01,260][5]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:38:04,260][5]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:38:06,260][5]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:38:07,694][1]INFO Web服务已开启
[2020-07-29 10:38:08,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:38:10,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:38:13,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:38:15,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:38:17,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:38:19,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:38:22,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:38:24,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:38:26,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:38:28,262][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:38:31,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:38:33,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:50:17,104][1]INFO =====程序开始=====
[2020-07-29 10:50:22,322][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:50:22,322][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:50:27,390][1]DEBUG HttpGet URL: http://10.85.199.72/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:50:27,390][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:51:04,574][1]INFO =====程序开始=====
[2020-07-29 10:51:09,832][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:51:09,832][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:51:14,900][1]DEBUG HttpGet URL: http://10.85.199.72/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:51:14,900][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:51:19,966][1]DEBUG HttpGet URL: http://10.85.199.73/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:51:19,966][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:51:25,035][1]DEBUG HttpGet URL: http://10.85.199.74/api/v2.0.0/registers/20?whitelist=value Return:
[2020-07-29 10:51:25,035][1]DEBUG CheckAGVMissionState 获取PLC20失败
[2020-07-29 10:51:30,102][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/7ed952c3-b520-11ea-b6ad-00012998f5a0 Return:
[2020-07-29 10:51:30,102][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:51:35,170][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/929eb1c2-b520-11ea-b6ad-00012998f5a0 Return:
[2020-07-29 10:51:35,170][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:51:40,237][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/3b823fe4-b368-11ea-a1a5-00012999830e Return:
[2020-07-29 10:51:40,237][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:51:45,305][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/ede15fcb-b367-11ea-a1a5-00012999830e Return:
[2020-07-29 10:51:45,305][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:51:50,372][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/43855a9b-b365-11ea-a1a5-00012999830e Return:
[2020-07-29 10:51:50,372][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:51:55,440][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/73c8b98c-b368-11ea-a1a5-00012999830e Return:
[2020-07-29 10:51:55,440][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:00,507][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/5436efd7-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:00,507][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:05,576][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/6b7710c1-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:05,576][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:10,642][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/8f039d2e-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:10,642][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:15,711][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/9e0b64ab-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:15,711][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:20,777][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/aec7da80-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:20,777][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:25,846][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/c10984c9-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:25,846][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:30,913][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/d6e0b92a-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:30,913][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:35,983][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/efb04c55-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:35,983][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:41,051][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/fd6b1f95-b432-11ea-a1a5-00012999830e Return:
[2020-07-29 10:52:41,051][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:46,119][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/ac6c413e-895e-11ea-9374-000129922ca6 Return:
[2020-07-29 10:52:46,119][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:51,186][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/1e546c3a-8abe-11ea-ab63-000129922ca6 Return:
[2020-07-29 10:52:51,186][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:52:56,254][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/431649a4-8abe-11ea-ab63-000129922ca6 Return:
[2020-07-29 10:52:56,254][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:01,322][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/d402fbc2-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:01,322][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:06,389][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/ce0d60e9-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:06,389][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:11,457][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/c768170a-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:11,457][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:16,524][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/c2de9745-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:16,525][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:21,591][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/be468ef4-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:21,591][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:26,659][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/b9117881-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:26,659][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:31,726][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/b3cda9db-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:31,726][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:36,795][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/ae09fc56-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:36,795][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:41,862][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/a64bdbbb-cdac-11ea-a3e4-94c691a7387d Return:
[2020-07-29 10:53:41,862][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:46,929][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/604b1c3c-ca4e-11ea-810b-00012999830e Return:
[2020-07-29 10:53:46,929][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:51,996][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/cb7f117b-ca88-11ea-9b28-0001299981d4 Return:
[2020-07-29 10:53:51,996][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:57,063][1]DEBUG HttpGet URL: http://10.85.199.71/api/v2.0.0/positions/cb7f117b-ca88-11ea-9b28-0001299981d4 Return:
[2020-07-29 10:53:57,063][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:57,115][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:57,165][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:57,215][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:57,266][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:57,316][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:57,367][1]DEBUG GetNodesPosition 获取节点位置失败
[2020-07-29 10:53:57,371][1]INFO Server Start
[2020-07-29 10:54:00,260][7]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:54:02,260][7]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:54:04,260][7]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:54:06,261][7]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:54:09,260][7]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:54:11,260][7]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:54:13,260][7]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:54:15,260][7]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:54:18,260][7]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:54:20,260][7]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:54:22,260][7]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:54:24,260][7]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:54:27,260][7]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:54:27,523][1]INFO Web服务已开启
[2020-07-29 10:54:29,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:54:31,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:54:33,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:54:36,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:54:38,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:54:40,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:54:42,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:54:45,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:54:47,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:54:49,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:54:51,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:54:54,262][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:54:56,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:54:58,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:55:00,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:55:00,382][6]DEBUG KeepLive 没有找到A5
[2020-07-29 10:55:03,261][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:55:03,386][6]DEBUG KeepLive 没有找到A6
[2020-07-29 10:55:05,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:55:06,387][6]DEBUG KeepLive 没有找到E1
[2020-07-29 10:55:07,272][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:55:09,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:55:09,388][6]DEBUG KeepLive 没有找到E2
[2020-07-29 10:55:12,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:55:12,389][6]DEBUG KeepLive 没有找到E3
[2020-07-29 10:55:14,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:55:15,389][6]DEBUG KeepLive 没有找到E4
[2020-07-29 10:55:16,261][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:55:18,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:55:18,390][6]DEBUG KeepLive 没有找到E5
[2020-07-29 10:55:21,262][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:55:21,390][6]DEBUG KeepLive 没有找到E6
[2020-07-29 10:55:23,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:55:24,391][6]DEBUG KeepLive 没有找到E8
[2020-07-29 10:55:25,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:55:27,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:55:27,391][6]DEBUG KeepLive 没有找到E9
[2020-07-29 10:55:30,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:55:30,392][6]DEBUG KeepLive 没有找到E10
[2020-07-29 10:55:32,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:55:33,393][6]DEBUG KeepLive 没有找到E11
[2020-07-29 10:55:34,261][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:55:36,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:55:36,394][6]DEBUG KeepLive 没有找到E12
[2020-07-29 10:55:39,261][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:55:39,394][6]DEBUG KeepLive 没有找到E14
[2020-07-29 10:55:41,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:55:42,394][6]DEBUG KeepLive 没有找到E15
[2020-07-29 10:55:43,262][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:55:45,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:55:45,396][6]DEBUG KeepLive 没有找到E16
[2020-07-29 10:55:48,261][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:55:48,396][6]DEBUG KeepLive 没有找到E21
[2020-07-29 10:55:50,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:55:51,397][6]DEBUG KeepLive 没有找到E22
[2020-07-29 10:55:52,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:55:54,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:55:54,398][6]DEBUG KeepLive 没有找到G1
[2020-07-29 10:55:57,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:55:57,399][6]DEBUG KeepLive 没有找到G2
[2020-07-29 10:55:59,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:56:00,400][6]DEBUG KeepLive 没有找到G3
[2020-07-29 10:56:01,262][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:56:03,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:56:03,400][6]DEBUG KeepLive 没有找到G4
[2020-07-29 10:56:06,261][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:56:06,400][6]DEBUG KeepLive 没有找到G5
[2020-07-29 10:56:08,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:56:09,401][6]DEBUG KeepLive 没有找到G6
[2020-07-29 10:56:10,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:56:12,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:56:12,402][6]DEBUG KeepLive 没有找到G7
[2020-07-29 10:56:15,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:56:15,402][6]DEBUG KeepLive 没有找到G8
[2020-07-29 10:56:17,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:56:18,403][6]DEBUG KeepLive 没有找到G9
[2020-07-29 10:56:19,261][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:56:21,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:56:21,404][6]DEBUG KeepLive 没有找到G10
[2020-07-29 10:56:24,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:56:24,404][6]DEBUG KeepLive 没有找到G21
[2020-07-29 10:56:26,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:56:27,405][6]DEBUG KeepLive 没有找到G22
[2020-07-29 10:56:28,261][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:56:30,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:56:30,406][6]DEBUG KeepLive 没有找到G11
[2020-07-29 10:56:33,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:56:33,407][6]DEBUG KeepLive 没有找到G12
[2020-07-29 10:56:35,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:56:36,408][6]DEBUG KeepLive 没有找到G13
[2020-07-29 10:56:37,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:56:39,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:56:39,409][6]DEBUG KeepLive 没有找到G14
[2020-07-29 10:56:42,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:56:42,409][6]DEBUG KeepLive 没有找到G15
[2020-07-29 10:56:44,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:56:45,410][6]DEBUG KeepLive 没有找到G16
[2020-07-29 10:56:46,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:56:48,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:56:51,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:56:53,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:56:55,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:56:57,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:57:00,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:57:02,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:57:04,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:57:06,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:57:09,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:57:11,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:57:13,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:57:15,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:57:18,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:57:18,411][6]DEBUG KeepLive 没有找到A5
[2020-07-29 10:57:20,262][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:57:21,412][6]DEBUG KeepLive 没有找到A6
[2020-07-29 10:57:22,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:57:24,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:57:24,412][6]DEBUG KeepLive 没有找到E1
[2020-07-29 10:57:27,261][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:57:27,412][6]DEBUG KeepLive 没有找到E2
[2020-07-29 10:57:29,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:57:30,413][6]DEBUG KeepLive 没有找到E3
[2020-07-29 10:57:31,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:57:33,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:57:33,415][6]DEBUG KeepLive 没有找到E4
[2020-07-29 10:57:36,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:57:36,415][6]DEBUG KeepLive 没有找到E5
[2020-07-29 10:57:38,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:57:39,416][6]DEBUG KeepLive 没有找到E6
[2020-07-29 10:57:40,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:57:42,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:57:42,416][6]DEBUG KeepLive 没有找到E8
[2020-07-29 10:57:45,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:57:45,416][6]DEBUG KeepLive 没有找到E9
[2020-07-29 10:57:47,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:57:48,416][6]DEBUG KeepLive 没有找到E10
[2020-07-29 10:57:49,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:57:51,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:57:51,417][6]DEBUG KeepLive 没有找到E11
[2020-07-29 10:57:54,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:57:54,417][6]DEBUG KeepLive 没有找到E12
[2020-07-29 10:57:56,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:57:57,417][6]DEBUG KeepLive 没有找到E14
[2020-07-29 10:57:58,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:58:00,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:58:00,418][6]DEBUG KeepLive 没有找到E15
[2020-07-29 10:58:03,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:58:03,419][6]DEBUG KeepLive 没有找到E16
[2020-07-29 10:58:05,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:58:06,420][6]DEBUG KeepLive 没有找到E21
[2020-07-29 10:58:07,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:58:09,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:58:09,421][6]DEBUG KeepLive 没有找到E22
[2020-07-29 10:58:12,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:58:12,422][6]DEBUG KeepLive 没有找到G1
[2020-07-29 10:58:14,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:58:15,423][6]DEBUG KeepLive 没有找到G2
[2020-07-29 10:58:16,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:58:18,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:58:18,423][6]DEBUG KeepLive 没有找到G3
[2020-07-29 10:58:21,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:58:21,424][6]DEBUG KeepLive 没有找到G4
[2020-07-29 10:58:23,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:58:24,425][6]DEBUG KeepLive 没有找到G5
[2020-07-29 10:58:25,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:58:27,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:58:27,425][6]DEBUG KeepLive 没有找到G6
[2020-07-29 10:58:30,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:58:30,425][6]DEBUG KeepLive 没有找到G7
[2020-07-29 10:58:32,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:58:33,426][6]DEBUG KeepLive 没有找到G8
[2020-07-29 10:58:34,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:58:36,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:58:36,427][6]DEBUG KeepLive 没有找到G9
[2020-07-29 10:58:39,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:58:39,427][6]DEBUG KeepLive 没有找到G10
[2020-07-29 10:58:41,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:58:42,428][6]DEBUG KeepLive 没有找到G21
[2020-07-29 10:58:43,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:58:45,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:58:45,428][6]DEBUG KeepLive 没有找到G22
[2020-07-29 10:58:48,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:58:48,429][6]DEBUG KeepLive 没有找到G11
[2020-07-29 10:58:50,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:58:51,429][6]DEBUG KeepLive 没有找到G12
[2020-07-29 10:58:52,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:58:54,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:58:54,430][6]DEBUG KeepLive 没有找到G13
[2020-07-29 10:58:57,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:58:57,430][6]DEBUG KeepLive 没有找到G14
[2020-07-29 10:58:59,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:59:00,432][6]DEBUG KeepLive 没有找到G15
[2020-07-29 10:59:01,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:59:03,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:59:03,432][6]DEBUG KeepLive 没有找到G16
[2020-07-29 10:59:06,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:59:08,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:59:10,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:59:12,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:59:15,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:59:17,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:59:19,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:59:21,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:59:24,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:59:26,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:59:28,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:59:30,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:59:33,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:59:35,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:59:36,433][6]DEBUG KeepLive 没有找到A5
[2020-07-29 10:59:37,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:59:39,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:59:39,433][6]DEBUG KeepLive 没有找到A6
[2020-07-29 10:59:42,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:59:42,434][6]DEBUG KeepLive 没有找到E1
[2020-07-29 10:59:44,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:59:45,435][6]DEBUG KeepLive 没有找到E2
[2020-07-29 10:59:46,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:59:48,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:59:48,435][6]DEBUG KeepLive 没有找到E3
[2020-07-29 10:59:51,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 10:59:51,435][6]DEBUG KeepLive 没有找到E4
[2020-07-29 10:59:53,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 10:59:54,436][6]DEBUG KeepLive 没有找到E5
[2020-07-29 10:59:55,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 10:59:57,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 10:59:57,436][6]DEBUG KeepLive 没有找到E6
[2020-07-29 11:00:00,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 11:00:00,437][6]DEBUG KeepLive 没有找到E8
[2020-07-29 11:00:02,395][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 11:00:03,437][6]DEBUG KeepLive 没有找到E9
[2020-07-29 11:00:04,261][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 11:00:06,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 11:00:06,438][6]DEBUG KeepLive 没有找到E10
[2020-07-29 11:00:09,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 11:00:09,438][6]DEBUG KeepLive 没有找到E11
[2020-07-29 11:00:11,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 11:00:12,438][6]DEBUG KeepLive 没有找到E12
[2020-07-29 11:00:13,261][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 11:00:15,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 11:00:15,439][6]DEBUG KeepLive 没有找到E14
[2020-07-29 11:00:18,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 11:00:18,440][6]DEBUG KeepLive 没有找到E15
[2020-07-29 11:00:20,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 11:00:21,441][6]DEBUG KeepLive 没有找到E16
[2020-07-29 11:00:22,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 11:00:24,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 11:00:24,441][6]DEBUG KeepLive 没有找到E21
[2020-07-29 11:00:27,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 11:00:27,441][6]DEBUG KeepLive 没有找到E22
[2020-07-29 11:00:29,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 11:00:30,442][6]DEBUG KeepLive 没有找到G1
[2020-07-29 11:00:31,261][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 11:00:33,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 11:00:33,443][6]DEBUG KeepLive 没有找到G2
[2020-07-29 11:00:36,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 11:00:36,444][6]DEBUG KeepLive 没有找到G3
[2020-07-29 11:00:38,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 11:00:39,444][6]DEBUG KeepLive 没有找到G4
[2020-07-29 11:00:40,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 11:00:42,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 11:00:42,444][6]DEBUG KeepLive 没有找到G5
[2020-07-29 11:00:45,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 11:00:45,445][6]DEBUG KeepLive 没有找到G6
[2020-07-29 11:00:47,261][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 11:00:48,446][6]DEBUG KeepLive 没有找到G7
[2020-07-29 11:00:49,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 11:00:51,261][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 11:00:51,446][6]DEBUG KeepLive 没有找到G8
[2020-07-29 11:00:54,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 11:00:54,447][6]DEBUG KeepLive 没有找到G9
[2020-07-29 11:00:56,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 11:00:57,448][6]DEBUG KeepLive 没有找到G10
[2020-07-29 11:00:58,260][1]INFO Ping 10.85.199.73 请求没有响应
[2020-07-29 11:01:00,260][1]INFO Ping 10.85.199.74 请求没有响应
[2020-07-29 11:01:00,449][6]DEBUG KeepLive 没有找到G21
[2020-07-29 11:01:03,260][1]INFO Ping 10.85.199.71 请求没有响应
[2020-07-29 11:01:03,449][6]DEBUG KeepLive 没有找到G22
[2020-07-29 11:01:05,260][1]INFO Ping 10.85.199.72 请求没有响应
[2020-07-29 11:01:06,450][6]DEBUG KeepLive 没有找到G11
[2020-07-21 10:14:31,645][1]INFO =====程序开始=====
2938b01b9d0da9b4db34a54b73f7f95a0ffd690c
703b23de66e95abf710a9ef1ba85365aa3755d48
......@@ -34,3 +34,17 @@ C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\Newtonsoft.Json.dll
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csproj.CoreCompileInputs.cache
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.exe.config
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.exe
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.pdb
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\Newtonsoft.Json.dll
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\RestSharp.dll
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\RestSharp.xml
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl.FrmMain.resources
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl.Properties.Resources.resources
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csproj.GenerateResource.cache
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csproj.CoreCompileInputs.cache
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csproj.CopyComplete
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.exe
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.pdb
C:\myproject\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
......@@ -75,7 +75,7 @@
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(132, 54);
this.button3.TabIndex = 3;
this.button3.Text = "访问";
this.button3.Text = "POST访问";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
......@@ -86,7 +86,7 @@
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(497, 72);
this.textBox1.TabIndex = 4;
this.textBox1.Text = "http://127.0.0.1/BenQMIR/Webservice/AGVService.asmx/CreateEmptyRecycleTask";
this.textBox1.Text = "http://10.85.199.1/BenQMIR/Webservice/AGVService.asmx/CreateEmptyRecycleTask";
//
// textBox2
//
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!