Commit bf3a978e 张东亮

添加流程日志

1 个父辈 2892c5ce
正在显示 62 个修改的文件 包含 531 行增加174 行删除
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
"ExpandedNodes": [ "ExpandedNodes": [
"" ""
], ],
"SelectedNode": "\\AGVControl-ProductionLine.sln",
"PreviewInSolutionExplorer": false "PreviewInSolutionExplorer": false
} }
\ No newline at end of file \ No newline at end of file
此文件类型无法预览
...@@ -52,5 +52,8 @@ ...@@ -52,5 +52,8 @@
<add key="E16" value="false"/> <add key="E16" value="false"/>
<add key="E21" value="false"/> <add key="E21" value="false"/>
<add key="E22" value="false"/> <add key="E22" value="false"/>
<!--产线任务状态-->
<add key="nodesMission" value=""/>
<add key="nodesLevel" value=""/>
</appSettings> </appSettings>
</configuration> </configuration>
\ No newline at end of file \ No newline at end of file
...@@ -19,7 +19,7 @@ namespace AGVControl ...@@ -19,7 +19,7 @@ namespace AGVControl
/// 小车信息 /// 小车信息
/// </summary> /// </summary>
public static List<Agv_Info> agvInfo; public static List<Agv_Info> agvInfo;
public static List<string> linePlace; public static Dictionary<string,ClientLevel> linePlace;
public static BLL.AgvServer server; public static BLL.AgvServer server;
public static BLL.Control control; public static BLL.Control control;
...@@ -33,6 +33,80 @@ namespace AGVControl ...@@ -33,6 +33,80 @@ namespace AGVControl
public static System.Configuration.Configuration appConfig; public static System.Configuration.Configuration appConfig;
public static readonly string CONFIG_PATH = AppDomain.CurrentDomain.BaseDirectory + "Config\\"; public static readonly string CONFIG_PATH = AppDomain.CurrentDomain.BaseDirectory + "Config\\";
public static void ReadLinePlace()
{
string s1 = Common.appConfig.AppSettings.Settings["nodesLevel"].Value;
string s2 = Common.appConfig.AppSettings.Settings["nodesMission"].Value;
if (s1.Equals("") || s2.Equals(""))
return;
string[] nodesLevel=s1.Split(',');
string[] nodesMission = s2.Split(',');
if(nodesLevel.Length.Equals(nodesMission.Length) && nodesMission.Length.Equals(0).Equals(false))
{
log.Info("程序上一次关闭时有任务未完成:");
log.Info("节点名称:"+s2+"\n 紧急等级:"+s1);
for (int i = 0; i < nodesMission.Length; i++)
{
linePlace.Add(nodesMission[i], (ClientLevel)Enum.Parse(typeof(ClientLevel), nodesLevel[i]));
}
}
}
public static void AddLinePlace(string nodeName)
{
int idx = Common.nodeInfo.FindIndex(s => s.Name == nodeName);
if(idx>-1)
{
if(Common.linePlace.ContainsKey(nodeName))
{
log.Info("AddLinePlace 节点" + nodeName + "已存在任务队列,无需重复添加");
return;
}
Common.linePlace.Add(nodeName,Common.nodeInfo[idx].Level);
Common.appConfig.AppSettings.Settings["nodesLevel"].Value = string.Join(",",linePlace.Values);
Common.appConfig.AppSettings.Settings["nodesMission"].Value =string.Join(",",linePlace.Keys);
Common.appConfig.Save();
}
else
{
log.Error("AddLinePlace 失败 节点"+ nodeName+"不存在");
}
}
public static void RemoveLinePlace(string nodeName)
{
Common.linePlace.Remove(nodeName);
Common.appConfig.AppSettings.Settings["nodesLevel"].Value = string.Join(",", linePlace.Values);
Common.appConfig.AppSettings.Settings["nodesMission"].Value = string.Join(",", linePlace.Keys);
Common.appConfig.Save();
}
public static void CheckAGVMissionState()
{
foreach (Agv_Info agv in agvInfo)
{
Thread.Sleep(50);
bool rtn = Common.mir.Get_Register(agv, 20, out int regValue);
if (rtn)
{
agv.GetPlace(regValue);
Common.log.Info(string.Format("软件开启:{0} Get_Register PLC{1}={2} Place={3} PlaceState={4}", agv.Name, 20, regValue, agv.Place, agv.PlaceState));
if (!agv.Place.Equals(""))
{
int idx = nodeInfo.FindIndex(s => s.Name == agv.Place);
if (idx > -1)
{
nodeInfo[idx].AgvName = agv.Name;
}
agv.TaskSend = "Move" + agv.Place;
}
}
else
{
Common.log.Error("CheckAGVMissionState 获取PLC20失败");
}
}
}
} }
public static class API public static class API
...@@ -234,7 +308,7 @@ namespace AGVControl ...@@ -234,7 +308,7 @@ namespace AGVControl
/// <summary> /// <summary>
/// 地点 /// 地点
/// </summary> /// </summary>
public string Place { private set; get; } public string Place { set; get; }
/// <summary> /// <summary>
/// 地点的状态 /// 地点的状态
/// </summary> /// </summary>
...@@ -289,14 +363,20 @@ namespace AGVControl ...@@ -289,14 +363,20 @@ namespace AGVControl
IsCon = false; IsCon = false;
IsUse = isUse; IsUse = isUse;
Place = ""; Place = "";
TaskSend = "";
NextPlace = "";
} }
public void SetState(int stateID, string stateText, int battery, string missionText) public bool SetState(int stateID, string stateText, int battery, string missionText)
{ {
bool isChange=false;
if (!StateID.Equals(stateID) || !StateText.Equals(stateText) || !Battery.Equals(battery) || !MissionText.Equals(missionText))
isChange = true;
StateID = stateID; StateID = stateID;
StateText = stateText; StateText = stateText;
Battery = battery; Battery = battery;
MissionText = missionText; MissionText = missionText;
return isChange;
} }
public void GetPlace(int value) public void GetPlace(int value)
...@@ -305,12 +385,15 @@ namespace AGVControl ...@@ -305,12 +385,15 @@ namespace AGVControl
{ {
Place = ""; Place = "";
PlaceState = PlaceState.None; PlaceState = PlaceState.None;
TaskSend = "";
} }
else else
{ {
int a = value / 1000; int a = value / 1000;
int b = (value - a * 1000) / 10; int b = (value - a * 1000) / 10;
int c = value - a * 1000 - b * 10; int c = value - a * 1000 - b * 10;
if (c.Equals(1) || c.Equals(3) || c.Equals(5))
TaskSend = "";
Place = (char)(64 + a) + b.ToString(); Place = (char)(64 + a) + b.ToString();
PlaceState = (PlaceState)c; PlaceState = (PlaceState)c;
} }
...@@ -319,22 +402,26 @@ namespace AGVControl ...@@ -319,22 +402,26 @@ namespace AGVControl
public string[] ToRow() public string[] ToRow()
{ {
//AGV名称,IP,AGV状态,任务状态,地点,后续任务,在线,电量,调用,清除缓存 //AGV名称,IP,AGV状态,任务状态,地点,后续任务,在线,电量,调用,清除缓存
string[] s = new string[10]; List<string> s = new List<string>();
s[0] = Name; s.Add(Name);
s[1] = IP; s.Add(IP);
if (IsCon) if (IsCon)
{ {
s[2] = StateText; s.Add(StateText);
s[3] = MissionText; s.Add(MissionText);
s[4] = Place; s.Add(Place);
s[5] = NextPlace; s.Add(NextPlace);
} }
s[6] = IsCon.ToString(); else
s[7] = Battery + "%"; {
s[8] = IsUse.ToString(); s.AddRange(new List<string> { "" ,"","",""});
s[9] = "Clear"; }
s.Add(IsCon.ToString());
s.Add(Battery + "%");
s.Add(IsUse.ToString());
s.Add("Clear");
return s; return s.ToArray();
} }
......
...@@ -510,7 +510,7 @@ namespace BLL ...@@ -510,7 +510,7 @@ namespace BLL
string s = response.Content; string s = response.Content;
s = s.Replace("\n", ""); s = s.Replace("\n", "");
s = s.Replace(" ", ""); s = s.Replace(" ", "");
Common.log.Debug("HttpGet URL: " + url + "\r\nReturn: " + s); Common.log.Debug("HttpGet URL: " + url + " Return: " + s);
return s; return s;
} }
...@@ -529,7 +529,7 @@ namespace BLL ...@@ -529,7 +529,7 @@ namespace BLL
string s = response.Content; string s = response.Content;
s = s.Replace("\n", ""); s = s.Replace("\n", "");
s = s.Replace(" ", ""); s = s.Replace(" ", "");
Common.log.Debug(string.Format("HttpPost URL: {0}; Body: {1}\r\nReturn: {2}", url, body, s)); Common.log.Debug(string.Format("HttpPost URL: {0}; Body: {1} Return: {2}", url, body, s));
return s; return s;
} }
...@@ -548,7 +548,7 @@ namespace BLL ...@@ -548,7 +548,7 @@ namespace BLL
string s = response.Content; string s = response.Content;
s = s.Replace("\n", ""); s = s.Replace("\n", "");
s = s.Replace(" ", ""); s = s.Replace(" ", "");
Common.log.Debug(string.Format("HttpPut URL: {0}; Body: {1}\r\nReturn: {2}", url, body, s)); Common.log.Debug(string.Format("HttpPut URL: {0}; Body: {1} Return: {2}", url, body, s));
return s; return s;
} }
......
...@@ -48,7 +48,15 @@ namespace BLL ...@@ -48,7 +48,15 @@ namespace BLL
AGVControl.Common.log.Info("WebService Response OK"); AGVControl.Common.log.Info("WebService Response OK");
//加到任务 //加到任务
AGVControl.Common.linePlace.Add(value); int idx = AGVControl.Common.nodeInfo.FindIndex(s => s.Name == value);
if(idx>-1)
{
AGVControl.Common.linePlace.Add(value, AGVControl.Common.nodeInfo[idx].Level);
}
else
{
AGVControl.Common.log.Error("CreateEmptyRecycleTask " + value + "不存在");
}
} }
else else
{ {
......
...@@ -61,16 +61,15 @@ namespace AGVControl ...@@ -61,16 +61,15 @@ namespace AGVControl
private void Control_AgvChanged(int agvIndex) private void Control_AgvChanged(int agvIndex)
{ {
//Invoke(new Action(() => Invoke(new Action(() =>
//{ {
// DgvAgv.Rows[agvIndex].SetValues(Common.agvInfo[agvIndex].ToRow()); DgvAgv.Rows[agvIndex].SetValues(Common.agvInfo[agvIndex].ToRow());
// dgvMission.Rows[agvIndex].SetValues(Common.agvInfo[agvIndex].ToMission()); }));
//}));
} }
private void Control_AgvOnline(int agvIndex) private void Control_AgvOnline(int agvIndex)
{ {
//Invoke(new Action(() => { DgvAgv.Rows[agvIndex].DefaultCellStyle.ForeColor = Common.agvInfo[agvIndex].IsCon ? Color.Black : Color.Red; })); Invoke(new Action(() => { DgvAgv.Rows[agvIndex].DefaultCellStyle.ForeColor = Common.agvInfo[agvIndex].IsCon ? Color.Black : Color.Red; }));
} }
private void ItemShow_Click(object sender, EventArgs e) private void ItemShow_Click(object sender, EventArgs e)
...@@ -110,9 +109,8 @@ namespace AGVControl ...@@ -110,9 +109,8 @@ namespace AGVControl
notify.MouseDoubleClick += Notify_MouseDoubleClick; notify.MouseDoubleClick += Notify_MouseDoubleClick;
ShowConfig(); ShowConfig();
Common.control.AgvChanged += Control_AgvChanged;
//Common.control.AgvChanged += Control_AgvChanged; Common.control.AgvOnline += Control_AgvOnline;
//Common.control.AgvOnline += Control_AgvOnline;
Common.server.NodeChanged += Server_NodeChanged; Common.server.NodeChanged += Server_NodeChanged;
Common.server.NodeOnline += Server_NodeOnline; Common.server.NodeOnline += Server_NodeOnline;
} }
...@@ -140,13 +138,13 @@ namespace AGVControl ...@@ -140,13 +138,13 @@ namespace AGVControl
else if (e.ColumnIndex == 9) //清除缓存 else if (e.ColumnIndex == 9) //清除缓存
{ {
//清除小车缓存 //清除小车缓存
//Common.log.OutInfo(string.Format("手动清除缓存,{0} {1}", Common.agvInfo[e.RowIndex].Name, Common.agvInfo[e.RowIndex].Place)); Common.log.Info(string.Format("手动清除缓存,{0} {1}", Common.agvInfo[e.RowIndex].Name, Common.agvInfo[e.RowIndex].Place));
//string place = Common.agvInfo[e.RowIndex].Place; string place = Common.agvInfo[e.RowIndex].Place;
//Common.agvInfo[e.RowIndex].Mark = ""; Common.agvInfo[e.RowIndex].Place = "";
//Common.agvInfo[e.RowIndex].Place = ""; Common.agvInfo[e.RowIndex].RFID = "";
//Common.agvInfo[e.RowIndex].RFID = ""; Common.agvInfo[e.RowIndex].NextPlace = "";
//Common.agvInfo[e.RowIndex].NextMission = ""; Common.agvInfo[e.RowIndex].TaskSend = "";
//DgvAgv.Rows[e.RowIndex].SetValues(Common.agvInfo[e.RowIndex].ToRow()); DgvAgv.Rows[e.RowIndex].SetValues(Common.agvInfo[e.RowIndex].ToRow());
//清除节点缓存 //清除节点缓存
//int idx = Common.nodeInfo.FindIndex(s => s.Name == place); //int idx = Common.nodeInfo.FindIndex(s => s.Name == place);
...@@ -158,7 +156,9 @@ namespace AGVControl ...@@ -158,7 +156,9 @@ namespace AGVControl
////添加Init任务 ////添加Init任务
//Common.mir.Add_Mission_Fleet(Common.agvInfo[e.RowIndex], Common.agvMission["Init"]); //Common.mir.Add_Mission_Fleet(Common.agvInfo[e.RowIndex], Common.agvMission["Init"]);
//Common.mir.State_Ready(Common.agvInfo[e.RowIndex]); Common.mir.Add_Mission(Common.agvInfo[e.RowIndex], Common.agvMission["Init"]);
Common.mir.State_Ready(Common.agvInfo[e.RowIndex]);
} }
} }
...@@ -176,10 +176,10 @@ namespace AGVControl ...@@ -176,10 +176,10 @@ namespace AGVControl
else if (e.ColumnIndex == 7) //清除缓存 else if (e.ColumnIndex == 7) //清除缓存
{ {
//清除节点缓存 //清除节点缓存
//Common.log.OutInfo(string.Format("手动清除缓存,{0} {1}", Common.nodeInfo[e.RowIndex].AgvName, Common.nodeInfo[e.RowIndex].Name)); Common.log.Info(string.Format("手动清除缓存,{0} {1}", Common.nodeInfo[e.RowIndex].AgvName, Common.nodeInfo[e.RowIndex].Name));
//string name = Common.nodeInfo[e.RowIndex].AgvName; string name = Common.nodeInfo[e.RowIndex].AgvName;
//Common.nodeInfo[e.RowIndex].AgvName = ""; Common.nodeInfo[e.RowIndex].AgvName = "";
//DgvNode.Rows[e.RowIndex].Cells[5].Value = ""; DgvNode.Rows[e.RowIndex].Cells[4].Value = "";
//清除小车缓存 //清除小车缓存
//int idx = Common.agvInfo.FindIndex(s => s.Name == name); //int idx = Common.agvInfo.FindIndex(s => s.Name == name);
...@@ -235,8 +235,43 @@ namespace AGVControl ...@@ -235,8 +235,43 @@ namespace AGVControl
Common.mir.Clear_Error(Common.agvInfo[idx]); Common.mir.Clear_Error(Common.agvInfo[idx]);
} }
private void btnAddlinePlace_Click(object sender, EventArgs e)
{
if (TxtPlace.Text == "")
{
MessageBox.Show("请输入节点名");
return;
}
Common.AddLinePlace(TxtPlace.Text.ToUpper());
dgvLinePlace.Rows.Clear();
foreach (var item in Common.linePlace)
{
dgvLinePlace.Rows.Add(item.Key, item.Value);
}
}
private void btnDeletelinePlace_Click(object sender, EventArgs e)
{
if (TxtPlace.Text == "")
{
MessageBox.Show("请输入节点名");
return;
}
Common.RemoveLinePlace(TxtPlace.Text.ToUpper());
dgvLinePlace.Rows.Clear();
foreach (var item in Common.linePlace)
{
dgvLinePlace.Rows.Add(item.Key, item.Value);
}
}
private void btnReadlinePlace_Click(object sender, EventArgs e)
{
dgvLinePlace.Rows.Clear();
foreach (var item in Common.linePlace)
{
dgvLinePlace.Rows.Add(item.Key, item.Value);
}
}
} }
} }
...@@ -171,10 +171,10 @@ ...@@ -171,10 +171,10 @@
<metadata name="Column15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="Column15.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="Column8.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="Column21.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="Column20.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
......
...@@ -43,9 +43,12 @@ namespace AGVControl ...@@ -43,9 +43,12 @@ namespace AGVControl
Common.log.Info("=====程序开始====="); Common.log.Info("=====程序开始=====");
ReadConfig(); ReadConfig();
Common.linePlace = new List<string>(); Common.linePlace =new Dictionary<string, ClientLevel>();
Common.ReadLinePlace();
Common.mir = new MiR_API(); Common.mir = new MiR_API();
Common.control = new BLL.Control(); Common.control = new BLL.Control();
//软件开启时检查小车当前的任务状态
Common.CheckAGVMissionState();
Common.control.Start(); Common.control.Start();
Common.server = new AgvServer(); Common.server = new AgvServer();
Common.server.Start(); Common.server.Start();
......
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<configuration> <configuration>
<configSections> <configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
...@@ -24,33 +24,31 @@ ...@@ -24,33 +24,31 @@
</log4net> </log4net>
<appSettings> <appSettings>
<add key="ITS" value="http://10.85.17.233/ESMTCommonInterface/CommonService.asmx/VMIGetBoxDestInfo?boxRFID=" /> <add key="ITS" value="http://10.85.17.233/ESMTCommonInterface/CommonService.asmx/VMIGetBoxDestInfo?boxRFID=" />
<add key="WebService" value="http://127.0.0.1/Webservice/AGVService/"/> <add key="WebService" value="http://127.0.0.1/Webservice/AGVService/" />
<add key="FLEET" value="10.85.199.3"/> <add key="FLEET" value="10.85.199.3" />
<!--<add key="LocalIP" value="192.168.103.12"/> <add key="MiR_R1763" value="False" />
<add key="AutoCharge" value="false"/> <add key="MiR_R1764" value="false" />
<add key="ChargeWait" value="1"/> <add key="MiR_R1767" value="false" />
<add key="ChargeThreshold" value="20,70"/>--> <add key="MiR_R1768" value="false" />
<add key="MiR_R1763" value="false"/> <add key="A5" value="True" />
<add key="MiR_R1764" value="false"/> <add key="A6" value="True" />
<add key="MiR_R1767" value="false"/> <add key="E1" value="False" />
<add key="MiR_R1768" value="false"/> <add key="E2" value="false" />
<add key="A5" value="false"/> <add key="E3" value="false" />
<add key="A6" value="false"/> <add key="E4" value="false" />
<add key="E1" value="false"/> <add key="E5" value="false" />
<add key="E2" value="false"/> <add key="E6" value="false" />
<add key="E3" value="false"/> <add key="E8" value="false" />
<add key="E4" value="false"/> <add key="E9" value="false" />
<add key="E5" value="false"/> <add key="E10" value="false" />
<add key="E6" value="false"/> <add key="E11" value="false" />
<add key="E8" value="false"/> <add key="E12" value="false" />
<add key="E9" value="false"/> <add key="E14" value="false" />
<add key="E10" value="false"/> <add key="E15" value="false" />
<add key="E11" value="false"/> <add key="E16" value="false" />
<add key="E12" value="false"/> <add key="E21" value="false" />
<add key="E14" value="false"/> <add key="E22" value="false" />
<add key="E15" value="false"/> <add key="nodesMission" value="" />
<add key="E16" value="false"/> <add key="nodesLevel" value="" />
<add key="E21" value="false"/>
<add key="E22" value="false"/>
</appSettings> </appSettings>
</configuration> </configuration>
\ No newline at end of file \ No newline at end of file
MoveA5, MoveA5,679f2ca1-b520-11ea-b6ad-00012998f5a0
MoveA6, MoveA6,7e5e9dc2-b521-11ea-b6ad-00012998f5a0
MoveE1, MoveE1,73bcddb3-b513-11ea-b6ad-00012998f5a0
MoveE2, MoveE2,9bacf16b-b515-11ea-b6ad-00012998f5a0
MoveE3, MoveE3,f84313b5-b515-11ea-b6ad-00012998f5a0
MoveE4, MoveE4,5683db0e-b516-11ea-b6ad-00012998f5a0
MoveE5, MoveE5,9c04b71b-b516-11ea-b6ad-00012998f5a0
MoveE6, MoveE6,f46be62a-b516-11ea-b6ad-00012998f5a0
MoveE7, MoveE7,
MoveE8, MoveE8,41dccfcf-b517-11ea-b6ad-00012998f5a0
MoveE9, MoveE9,7fc3ec2f-b517-11ea-b6ad-00012998f5a0
MoveE10, MoveE10,e7c0ad9c-b517-11ea-b6ad-00012998f5a0
MoveE11, MoveE11,2e23a510-b518-11ea-b6ad-00012998f5a0
MoveE12, MoveE12,6efb37bc-b519-11ea-b6ad-00012998f5a0
MoveE13, MoveE13,
MoveE14,
MoveE15,
MoveE16,
MoveE21,
MoveE22,
\ No newline at end of file \ No newline at end of file
MoveE14,b03043fd-b519-11ea-b6ad-00012998f5a0
MoveE15,f3f9a668-b519-11ea-b6ad-00012998f5a0
MoveE16,5ec0f64a-b51a-11ea-b6ad-00012998f5a0
MoveE21,37401585-b51b-11ea-b6ad-00012998f5a0
MoveE22,a4846723-b51b-11ea-b6ad-00012998f5a0
Init,adcb7a04-b525-11ea-b6ad-00012998f5a0
7,MiR_R1763,10.85.199.55,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA== 7,MiR_R1763,192.168.12.20,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA==
8,MiR_R1764,10.85.199.56,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA== 8,MiR_R1764,10.85.199.56,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA==
9,MiR_R1767,10.85.199.57,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA== 9,MiR_R1767,10.85.199.57,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA==
10,MiR_R1768,10.85.199.58,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA== 10,MiR_R1768,10.85.199.58,Basic ZGlzdHJpYnV0b3I6NjJmMmYwZjFlZmYxMGQzMTUyYzk1ZjZmMDU5NjU3NmU0ODJiYjhlNDQ4MDY0MzNmNGNmOTI5NzkyODM0YjAxNA==

\ No newline at end of file \ No newline at end of file
[2020-06-29 09:22:53,292][1]INFO =====程序开始=====
[2020-06-29 09:22:58,623][1]DEBUG HttpGet URL: http://192.168.12.20/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-29 09:22:58,623][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-29 09:23:03,693][1]DEBUG HttpGet URL: http://10.85.199.56/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-29 09:23:03,693][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-29 09:23:08,763][1]DEBUG HttpGet URL: http://10.85.199.57/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-29 09:23:08,764][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-29 09:23:13,832][1]DEBUG HttpGet URL: http://10.85.199.58/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-29 09:23:13,833][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-29 09:23:13,837][1]INFO Server Start
[2020-06-29 09:23:14,590][1]ERROR Open
System.ServiceModel.AddressAccessDeniedException: HTTP 无法注册 URL http://+:80/Webservice/AGVService/。进程不具有此命名空间的访问权限(有关详细信息,请参见 http://go.microsoft.com/fwlink/?LinkId=70353)。 ---> System.Net.HttpListenerException: 拒绝访问。
在 System.Net.HttpListener.AddAllPrefixes()
在 System.Net.HttpListener.Start()
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- 内部异常堆栈跟踪的结尾 ---
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open()
在 BLL.WebService.Open(String url) 位置 C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\BLL\WebService.cs:行号 81
[2020-06-29 09:23:16,415][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 09:23:18,415][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 09:23:20,415][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 09:23:22,415][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 09:23:25,415][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 09:23:27,415][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 09:23:29,415][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 09:23:31,415][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 09:23:34,414][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 09:23:36,414][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 09:23:38,415][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 09:23:40,415][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 09:23:43,415][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 09:23:45,415][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 09:23:47,414][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 09:23:49,414][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 09:23:52,415][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 09:23:54,415][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 09:23:56,415][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 09:23:58,414][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 09:24:01,415][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 09:24:03,415][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 09:24:05,414][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 09:24:07,415][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 09:24:10,414][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 09:24:12,416][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 09:24:14,415][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 09:24:16,415][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 11:04:47,487][1]INFO =====程序开始=====
[2020-06-29 11:04:52,904][1]DEBUG HttpGet URL: http://192.168.12.20/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-29 11:04:52,904][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-29 11:04:57,976][1]DEBUG HttpGet URL: http://10.85.199.56/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-29 11:04:57,976][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-29 11:05:03,051][1]DEBUG HttpGet URL: http://10.85.199.57/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-29 11:05:03,051][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-29 11:05:08,121][1]DEBUG HttpGet URL: http://10.85.199.58/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-29 11:05:08,121][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-29 11:05:08,136][1]INFO Server Start
[2020-06-29 11:05:09,876][1]ERROR Open
System.ServiceModel.AddressAccessDeniedException: HTTP 无法注册 URL http://+:80/Webservice/AGVService/。进程不具有此命名空间的访问权限(有关详细信息,请参见 http://go.microsoft.com/fwlink/?LinkId=70353)。 ---> System.Net.HttpListenerException: 拒绝访问。
在 System.Net.HttpListener.AddAllPrefixes()
在 System.Net.HttpListener.Start()
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- 内部异常堆栈跟踪的结尾 ---
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open()
在 BLL.WebService.Open(String url) 位置 C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\BLL\WebService.cs:行号 81
[2020-06-29 11:05:10,915][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 11:05:12,915][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 11:05:14,915][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 11:05:16,915][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 11:05:19,915][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 11:05:21,916][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 11:05:23,916][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 11:05:25,916][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-29 11:05:28,915][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-29 11:05:30,915][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-29 11:05:32,916][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-29 11:05:34,916][7]INFO Ping 10.85.199.58 请求没有响应
[2020-06-17 17:01:26,538][1]INFO =====程序开始=====
[2020-06-17 17:01:26,570][1]INFO Server Start
[2020-06-17 17:01:35,111][5]INFO 服务端关闭连接,退出阻塞Accept
[2020-06-17 17:01:35,156][1]INFO Server Stop
[2020-06-17 17:01:35,156][1]INFO =====程序结束=====
[2020-06-17 17:07:39,662][1]INFO =====程序开始=====
[2020-06-17 17:07:39,697][1]INFO Server Start
[2020-06-17 17:07:55,781][5]INFO 服务端关闭连接,退出阻塞Accept
[2020-06-17 17:07:55,827][1]INFO Server Stop
[2020-06-17 17:07:57,276][1]INFO =====程序结束=====
[2020-06-18 09:07:35,336][1]INFO =====程序开始=====
[2020-06-18 09:07:35,413][1]INFO Server Start
[2020-06-18 09:07:37,717][3]INFO Ping 192.168.0.1 请求没有响应
[2020-06-18 09:07:40,207][3]INFO Ping 192.168.0.2 请求没有响应
[2020-06-18 09:07:42,707][3]INFO Ping 192.168.0.3 请求没有响应
[2020-06-18 09:07:45,207][3]INFO Ping 192.168.0.4 请求没有响应
[2020-06-18 09:07:47,707][3]INFO Ping 192.168.0.1 请求没有响应
[2020-06-18 09:07:50,207][3]INFO Ping 192.168.0.2 请求没有响应
[2020-06-18 09:07:51,531][5]INFO 服务端关闭连接,退出阻塞Accept
[2020-06-18 09:07:51,535][1]INFO Server Stop
[2020-06-18 09:07:51,535][1]INFO =====程序结束=====
[2020-06-18 09:07:52,707][3]INFO Ping 192.168.0.3 请求没有响应
[2020-06-18 09:07:55,207][3]INFO Ping 192.168.0.4 请求没有响应
[2020-06-18 10:29:57,766][1]INFO =====程序开始=====
[2020-06-18 10:29:57,828][1]INFO Server Start
[2020-06-18 10:30:00,709][3]INFO Ping 192.168.0.1 请求没有响应
[2020-06-18 10:30:02,916][3]INFO Ping 192.168.0.2 请求没有响应
[2020-06-18 10:30:06,291][3]INFO Ping 192.168.0.3 请求没有响应
[2020-06-18 10:30:09,399][3]INFO Ping 192.168.0.4 请求没有响应
[2020-06-18 10:30:13,717][3]INFO Ping 192.168.0.1 请求没有响应
[2020-06-18 10:30:16,233][3]INFO Ping 192.168.0.2 请求没有响应
[2020-06-18 10:30:21,614][3]INFO Ping 192.168.0.3 请求没有响应
[2020-06-18 10:30:23,206][3]INFO Ping 192.168.0.4 请求没有响应
[2020-06-18 10:30:26,207][3]INFO Ping 192.168.0.1 请求没有响应
[2020-06-18 10:30:28,207][3]INFO Ping 192.168.0.2 请求没有响应
[2020-06-18 10:30:30,207][3]INFO Ping 192.168.0.3 请求没有响应
[2020-06-18 10:30:32,207][3]INFO Ping 192.168.0.4 请求没有响应
[2020-06-18 10:30:35,207][3]INFO Ping 192.168.0.1 请求没有响应
[2020-06-18 10:30:37,207][3]INFO Ping 192.168.0.2 请求没有响应
[2020-06-18 10:30:39,206][3]INFO Ping 192.168.0.3 请求没有响应
[2020-06-18 10:30:40,757][5]INFO 服务端关闭连接,退出阻塞Accept
[2020-06-18 10:30:40,801][1]INFO Server Stop
[2020-06-18 10:30:40,801][1]INFO =====程序结束=====
[2020-06-18 10:30:41,206][3]INFO Ping 192.168.0.4 请求没有响应
[2020-06-18 10:31:10,817][1]INFO =====程序开始=====
[2020-06-18 10:31:10,870][1]INFO Server Start
[2020-06-18 10:31:14,115][3]INFO Ping 192.168.0.1 请求没有响应
[2020-06-18 10:31:15,868][3]INFO Ping 192.168.0.2 请求没有响应
[2020-06-18 10:31:21,686][3]INFO Ping 192.168.0.3 请求没有响应
[2020-06-18 10:31:27,474][3]INFO Ping 192.168.0.4 请求没有响应
[2020-06-18 10:31:30,207][3]INFO Ping 192.168.0.1 请求没有响应
[2020-06-18 10:31:32,207][3]INFO Ping 192.168.0.2 请求没有响应
[2020-06-18 10:31:34,206][3]INFO Ping 192.168.0.3 请求没有响应
[2020-06-18 10:31:35,717][5]INFO 服务端关闭连接,退出阻塞Accept
[2020-06-18 10:31:35,761][1]INFO Server Stop
[2020-06-18 10:31:35,761][1]INFO =====程序结束=====
[2020-06-18 10:31:36,207][3]INFO Ping 192.168.0.4 请求没有响应
[2020-06-24 15:50:36,271][1]INFO =====程序开始=====
[2020-06-24 15:50:41,870][1]DEBUG HttpGet URL: http://192.168.12.20/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-24 15:50:41,871][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-24 15:50:46,943][1]DEBUG HttpGet URL: http://10.85.199.56/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-24 15:50:46,943][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-24 15:50:52,015][1]DEBUG HttpGet URL: http://10.85.199.57/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-24 15:50:52,015][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-24 15:50:57,088][1]DEBUG HttpGet URL: http://10.85.199.58/api/v2.0.0/registers/20?whitelist=value Return:
[2020-06-24 15:50:57,088][1]ERROR CheckAGVMissionState 获取PLC20失败
[2020-06-24 15:50:57,102][1]INFO Server Start
[2020-06-24 15:50:58,155][1]ERROR Open
System.ServiceModel.AddressAccessDeniedException: HTTP 无法注册 URL http://+:80/Webservice/AGVService/。进程不具有此命名空间的访问权限(有关详细信息,请参见 http://go.microsoft.com/fwlink/?LinkId=70353)。 ---> System.Net.HttpListenerException: 拒绝访问。
在 System.Net.HttpListener.AddAllPrefixes()
在 System.Net.HttpListener.Start()
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- 内部异常堆栈跟踪的结尾 ---
在 System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
在 System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
在 System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
在 System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
在 System.ServiceModel.Channels.CommunicationObject.Open()
在 BLL.WebService.Open(String url) 位置 C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\BLL\WebService.cs:行号 81
[2020-06-24 15:51:00,061][7]INFO Ping 192.168.12.20 请求没有响应
[2020-06-24 15:51:02,062][7]INFO Ping 10.85.199.56 请求没有响应
[2020-06-24 15:51:04,061][7]INFO Ping 10.85.199.57 请求没有响应
[2020-06-24 15:51:06,062][7]INFO Ping 10.85.199.58 请求没有响应
...@@ -21,3 +21,15 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine ...@@ -21,3 +21,15 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.exe D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.exe
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.pdb D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.exe.config
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.exe
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\AGVControl-ProductionLine.pdb
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\RestSharp.dll
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\bin\Debug\RestSharp.xml
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csprojAssemblyReference.cache
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl.FrmMain.resources
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl.Properties.Resources.resources
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csproj.GenerateResource.cache
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.csproj.CopyComplete
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.exe
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Debug\AGVControl-ProductionLine.pdb
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Release\AGVControl-ProductionLine.csprojAssemblyReference.cache
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Release\AGVControl.FrmMain.resources
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Release\AGVControl.Properties.Resources.resources
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AGVControl-ProductionLine\obj\Release\AGVControl-ProductionLine.csproj.GenerateResource.cache
...@@ -13,3 +13,9 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine ...@@ -13,3 +13,9 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClient\bin\Debug\AsaPL.AgvClient.pdb D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClient\bin\Debug\AsaPL.AgvClient.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClient\obj\Debug\AsaPL.AgvClient.dll D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClient\obj\Debug\AsaPL.AgvClient.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClient\obj\Debug\AsaPL.AgvClient.pdb D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClient\obj\Debug\AsaPL.AgvClient.pdb
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClient\bin\Debug\AsaPL.AgvClient.dll
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClient\bin\Debug\AsaPL.AgvClient.pdb
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClient\obj\Debug\AgvClient.csprojAssemblyReference.cache
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClient\obj\Debug\AgvClient.csproj.CopyComplete
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClient\obj\Debug\AsaPL.AgvClient.dll
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClient\obj\Debug\AsaPL.AgvClient.pdb
文件属性发生变化
...@@ -29,46 +29,164 @@ ...@@ -29,46 +29,164 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.button1 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.comboBox1 = new System.Windows.Forms.ComboBox(); this.comboBox1 = new System.Windows.Forms.ComboBox();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.SuspendLayout(); this.SuspendLayout();
// //
// button1 // button1
// //
this.button1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.button1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.button1.Location = new System.Drawing.Point(189, 12); this.button1.Location = new System.Drawing.Point(316, 54);
this.button1.Margin = new System.Windows.Forms.Padding(4);
this.button1.Name = "button1"; this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(86, 27); this.button1.Size = new System.Drawing.Size(115, 72);
this.button1.TabIndex = 0; this.button1.TabIndex = 0;
this.button1.Text = "button1"; this.button1.Text = "改变状态";
this.button1.UseVisualStyleBackColor = true; this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click); this.button1.Click += new System.EventHandler(this.button1_Click);
// //
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(240, 91);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 21);
this.textBox1.TabIndex = 1;
//
// comboBox1 // comboBox1
// //
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.comboBox1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.comboBox1.FormattingEnabled = true; this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(12, 12); this.comboBox1.Location = new System.Drawing.Point(81, 94);
this.comboBox1.Margin = new System.Windows.Forms.Padding(4);
this.comboBox1.Name = "comboBox1"; this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(171, 27); this.comboBox1.Size = new System.Drawing.Size(227, 32);
this.comboBox1.TabIndex = 2; this.comboBox1.TabIndex = 2;
// //
// comboBox2
//
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox2.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Items.AddRange(new object[] {
"A1",
"A2",
"A3",
"A4",
"A5",
"A6",
"B1",
"B2",
"B3",
"B4",
"B5",
"B6",
"C1",
"C2",
"C3",
"C4",
"C5",
"C6",
"C7",
"C8",
"D1",
"D2",
"D3",
"D4",
"E1",
"E2",
"E3",
"E4",
"E5",
"E6",
"E7",
"E8",
"E9",
"E10",
"E11",
"E12",
"E13",
"E14",
"E15",
"E16",
"E21",
"E22",
"F1",
"F2",
"F3",
"F4",
"G1",
"G2",
"G3",
"G4",
"G5",
"G6",
"G7",
"G8",
"G9",
"G10",
"G11",
"G12",
"G13",
"G14",
"G15",
"G16",
"G21",
"G22",
"H1",
"H2",
"H3",
"H4"});
this.comboBox2.Location = new System.Drawing.Point(81, 54);
this.comboBox2.Margin = new System.Windows.Forms.Padding(4);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(227, 32);
this.comboBox2.TabIndex = 3;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(208, 22);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 25);
this.textBox1.TabIndex = 4;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(143, 22);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 15);
this.label1.TabIndex = 5;
this.label1.Text = "RFID";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(8, 65);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(37, 15);
this.label2.TabIndex = 6;
this.label2.Text = "节点";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(8, 111);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(37, 15);
this.label3.TabIndex = 7;
this.label3.Text = "状态";
//
// Form1 // Form1
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450); this.ClientSize = new System.Drawing.Size(470, 172);
this.Controls.Add(this.comboBox1); this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.textBox1); this.Controls.Add(this.textBox1);
this.Controls.Add(this.comboBox2);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.button1); this.Controls.Add(this.button1);
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "Form1"; this.Name = "Form1";
this.Text = "Form1"; this.Text = "Form1";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
...@@ -81,8 +199,12 @@ ...@@ -81,8 +199,12 @@
#endregion #endregion
private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ComboBox comboBox1; private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
} }
} }
...@@ -24,7 +24,7 @@ namespace AgvClientTest ...@@ -24,7 +24,7 @@ namespace AgvClientTest
for (int i = 0; i < 12; i++) for (int i = 0; i < 12; i++)
comboBox1.Items.Add((AsaPL.ClientAction)i); comboBox1.Items.Add((AsaPL.ClientAction)i);
comboBox1.SelectedIndex = 0; comboBox1.SelectedIndex = 0;
comboBox2.SelectedIndex = 0;
client = new AsaPL.AgvClient("127.0.0.1"); client = new AsaPL.AgvClient("127.0.0.1");
client.SetStatus("E1", "C6", AsaPL.ClientAction.None); client.SetStatus("E1", "C6", AsaPL.ClientAction.None);
client.Connect(); client.Connect();
...@@ -37,7 +37,7 @@ namespace AgvClientTest ...@@ -37,7 +37,7 @@ namespace AgvClientTest
private void button1_Click(object sender, EventArgs e) private void button1_Click(object sender, EventArgs e)
{ {
client.SetStatus("E1", "C6", (AsaPL.ClientAction)comboBox1.SelectedIndex); client.SetStatus(comboBox2.SelectedItem.ToString(), textBox1.Text, (AsaPL.ClientAction)comboBox1.SelectedIndex);
} }
} }
} }
此文件的差异太大,无法显示。
...@@ -12,3 +12,15 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine ...@@ -12,3 +12,15 @@ D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.pdb D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.pdb
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AsaPL.AgvClient.dll D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AsaPL.AgvClient.dll
D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AsaPL.AgvClient.pdb D:\OneDrive - 上海挚锦科技有限公司\SMD\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AsaPL.AgvClient.pdb
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AgvClientTest.exe.config
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AgvClientTest.exe
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AgvClientTest.pdb
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AsaPL.AgvClient.dll
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\bin\Debug\AsaPL.AgvClient.pdb
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.csprojAssemblyReference.cache
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.Form1.resources
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.Properties.Resources.resources
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.csproj.GenerateResource.cache
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.csproj.CopyComplete
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.exe
C:\ZDL\Gitee\AGVControl-Qisda-ProductionLine\AgvClientTest\obj\Debug\AgvClientTest.pdb
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!