diff --git a/BPASmartClient.AGV/AGVHelper.cs b/BPASmartClient.AGV/AGVHelper.cs
index 5f00a27a..54afe569 100644
--- a/BPASmartClient.AGV/AGVHelper.cs
+++ b/BPASmartClient.AGV/AGVHelper.cs
@@ -95,49 +95,49 @@ namespace BPASmartClient.AGV
///
public string AgvToLineOneLoadRoller(string robotJobId)
{
- string url = AGVRequestUrl.GetInstance.TaskSendUrl;
- //请求报文头
- HttpRequestHeaderModel.GetInstance.appKey = "";
- HttpRequestHeaderModel.GetInstance.appSecret = "";
- HttpRequestHeaderModel.GetInstance.requestId = "";
- HttpRequestHeaderModel.GetInstance.timestamp = "";
- HttpRequestHeaderModel.GetInstance.version = "2.8";
- string head = JsonConvert.SerializeObject(HttpRequestHeaderModel.GetInstance);
- //请求报文体
- AGVModel.GetInstance.robotJobId = robotJobId;//上游提供
- AGVModel.GetInstance.warehouseId = 123; //仓库编号
- AGVModel.GetInstance.jobPriority = 1;//任务执行的优先级
- AGVModel.GetInstance.jobPriorityType = 1;//0:根据优先级来执行,1:强制执行
- AGVModel.GetInstance.jobType = "POINT_ROLLER_MOVE"; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE
- //详细任务数据
- //点到点
- AGV_PointRollerJobData.GetInstance.startPoint = "";//起点点位
- AGV_PointRollerJobData.GetInstance.endPoint = "";//目的点位
- AGV_PointRollerJobData.GetInstance.autoLoad = true;//是否自动上料 true:自动上料 false:人工上料
- AGV_PointRollerJobData.GetInstance.enableIOLoad = true;//上料交互方式 false:接口交互 true:光电交互
- AGV_PointRollerJobData.GetInstance.autoUnload = true;//是否自动下料 true:自动下料 false:人工下料
- AGV_PointRollerJobData.GetInstance.enableIOUnload = true;//下料交互方式 false:接口交互 true:光电交互
- AGVModel.GetInstance.jobData = AGV_PointRollerJobData.GetInstance;
- string body = JsonConvert.SerializeObject(AGVModel.GetInstance);
- // string newBody = String.Join(",\r\n", body.Split(','));//格式处理,看需求
-
- //货位到货位
- //AGV_SlotRollerJobData.GetInstance.startSlotCode = "";//起点槽位编号
- //AGV_SlotRollerJobData.GetInstance.endSlotCode = "";//目的槽位编号
- //AGV_SlotRollerJobData.GetInstance.autoLoad = true;//是否自动上料 true:自动上料 false:人工上料
- //AGV_SlotRollerJobData.GetInstance.enableIOLoad = true;//上料交互方式 false:接口交互 true:光电交互
- //AGV_SlotRollerJobData.GetInstance.autoUnload = true;//是否自动下料 true:自动下料 false:人工下料
- //AGV_SlotRollerJobData.GetInstance.enableIOUnload = true;//下料交互方式 false:接口交互 true:光电交互
- //AGVModel.GetInstance.jobData = AGV_SlotRollerJobData.GetInstance;
+ //string url = AGVRequestUrl.GetInstance.TaskSendUrl;
+ ////请求报文头
+ //HttpRequestHeaderModel.GetInstance.appKey = "";
+ //HttpRequestHeaderModel.GetInstance.appSecret = "";
+ //HttpRequestHeaderModel.GetInstance.requestId = "";
+ //HttpRequestHeaderModel.GetInstance.timestamp = "";
+ //HttpRequestHeaderModel.GetInstance.version = "2.8";
+ //string head = JsonConvert.SerializeObject(HttpRequestHeaderModel.GetInstance);
+ ////请求报文体
+ //AGVModel.GetInstance.robotJobId = robotJobId;//上游提供
+ //AGVModel.GetInstance.warehouseId = 123; //仓库编号
+ //AGVModel.GetInstance.jobPriority = 1;//任务执行的优先级
+ //AGVModel.GetInstance.jobPriorityType = 1;//0:根据优先级来执行,1:强制执行
+ //AGVModel.GetInstance.jobType = "POINT_ROLLER_MOVE"; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE
+ ////详细任务数据
+ ////点到点
+ //AGV_PointRollerJobData.GetInstance.startPoint = "";//起点点位
+ //AGV_PointRollerJobData.GetInstance.endPoint = "";//目的点位
+ //AGV_PointRollerJobData.GetInstance.autoLoad = true;//是否自动上料 true:自动上料 false:人工上料
+ //AGV_PointRollerJobData.GetInstance.enableIOLoad = true;//上料交互方式 false:接口交互 true:光电交互
+ //AGV_PointRollerJobData.GetInstance.autoUnload = true;//是否自动下料 true:自动下料 false:人工下料
+ //AGV_PointRollerJobData.GetInstance.enableIOUnload = true;//下料交互方式 false:接口交互 true:光电交互
+ //AGVModel.GetInstance.jobData = AGV_PointRollerJobData.GetInstance;
//string body = JsonConvert.SerializeObject(AGVModel.GetInstance);
- //启用签名
- //url = url + "?sign=" + MD5Deal(body);
- string data = HttpRequest(url, head, body);
- object objData = JsonConvert.DeserializeObject(data);
- if (objData != null && objData is HttpResponseBodyModel response)
- {
- return response.code;
- }
+ //// string newBody = String.Join(",\r\n", body.Split(','));//格式处理,看需求
+
+ ////货位到货位
+ ////AGV_SlotRollerJobData.GetInstance.startSlotCode = "";//起点槽位编号
+ ////AGV_SlotRollerJobData.GetInstance.endSlotCode = "";//目的槽位编号
+ ////AGV_SlotRollerJobData.GetInstance.autoLoad = true;//是否自动上料 true:自动上料 false:人工上料
+ ////AGV_SlotRollerJobData.GetInstance.enableIOLoad = true;//上料交互方式 false:接口交互 true:光电交互
+ ////AGV_SlotRollerJobData.GetInstance.autoUnload = true;//是否自动下料 true:自动下料 false:人工下料
+ ////AGV_SlotRollerJobData.GetInstance.enableIOUnload = true;//下料交互方式 false:接口交互 true:光电交互
+ ////AGVModel.GetInstance.jobData = AGV_SlotRollerJobData.GetInstance;
+ ////string body = JsonConvert.SerializeObject(AGVModel.GetInstance);
+ ////启用签名
+ ////url = url + "?sign=" + MD5Deal(body);
+ //string data = HttpRequest(url, head, body);
+ //object objData = JsonConvert.DeserializeObject(data);
+ //if (objData != null && objData is HttpResponseBodyModel response)
+ //{
+ // return response.code;
+ //}
return "Analysis Error";
}
///
diff --git a/BPASmartClient.CustomResource/Pages/View/VariableConfigView.xaml b/BPASmartClient.CustomResource/Pages/View/VariableConfigView.xaml
index e58ed834..33526ec6 100644
--- a/BPASmartClient.CustomResource/Pages/View/VariableConfigView.xaml
+++ b/BPASmartClient.CustomResource/Pages/View/VariableConfigView.xaml
@@ -100,7 +100,7 @@
-
+
diff --git a/FryPot_DosingSystem/Control/DosingLogicControl.cs b/FryPot_DosingSystem/Control/DosingLogicControl.cs
index f3519d10..4ca858f2 100644
--- a/FryPot_DosingSystem/Control/DosingLogicControl.cs
+++ b/FryPot_DosingSystem/Control/DosingLogicControl.cs
@@ -21,6 +21,7 @@ using FryPot_DosingSystem.AGV;
using FryPot_DosingSystem.FryPotStatus;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
+using System.Diagnostics;
namespace FryPot_DosingSystem.Control
{
@@ -106,6 +107,11 @@ namespace FryPot_DosingSystem.Control
bool ErrorRecipe;//线体1错误配方标识
bool LTwoErrorRecipe;//线体2错误配方标识
bool LThreeErrorRecipe;//线体3错误配方标识
+ string fryOneRecipe = string.Empty;
+ string fryTwoRecipe = string.Empty;
+ string fryThreeRecipe = string.Empty;
+ string fryFourRecipe = string.Empty;
+ string fryFiveRecipe = string.Empty;
#endregion
#region agv临时变量
//bool agvArriveUpLoad = false;//agv是否到达线体1上料位置
@@ -248,6 +254,7 @@ namespace FryPot_DosingSystem.Control
//fryFive = new PotFiveStatus();
hardWareStatusModel = HardWareStatusViewModel.GetInstance;
DateTimeJudge();
+ FileRegClean();
ActionManage.GetInstance.Register(new Action