|
|
@@ -96,9 +96,8 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV去1号线体装桶到炒锅1 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvToLineOneLoadRoller(string robotJobId) |
|
|
|
public string AgvToLineOneLoadRoller(string robotJobId, int priority=1) |
|
|
|
{ |
|
|
|
|
|
|
|
//bool b = Convert.ToBoolean(config.AppSettings.Settings["appKey"].Value);//配置文件信息读取 |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -113,7 +112,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value);//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -160,7 +159,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV去1号线体装桶到炒锅4 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvFromLineOneToFryFourLoadRoller(string robotJobId) |
|
|
|
public string AgvFromLineOneToFryFourLoadRoller(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
|
|
|
|
//bool b = Convert.ToBoolean(config.AppSettings.Settings["appKey"].Value);//配置文件信息读取 |
|
|
@@ -177,7 +176,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value);//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -223,7 +222,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV去2号线体装桶到炒锅2 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvToLineTwoLoadRoller(string robotJobId) |
|
|
|
public string AgvToLineTwoLoadRoller(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -238,7 +237,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority =Convert.ToInt32( config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority =priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -278,7 +277,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV去2号线体装桶到炒锅5 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvFromLineTwoToFryFiveLoadRoller(string robotJobId) |
|
|
|
public string AgvFromLineTwoToFryFiveLoadRoller(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -293,7 +292,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -333,7 +332,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV去3号线体装桶 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvToLineThreeLoadRoller(string robotJobId) |
|
|
|
public string AgvToLineThreeLoadRoller(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -348,7 +347,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -388,7 +387,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV从清洗台到4号线体卸桶 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvFromCleanToLineFourUnLoadRoller(string robotJobId) |
|
|
|
public string AgvFromCleanToLineFourUnLoadRoller(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -403,7 +402,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -443,7 +442,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV离开炒锅1 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveFryPotOne(string robotJobId) |
|
|
|
public string AgvLeaveFryPotOne(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -458,7 +457,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -498,7 +497,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV离开炒锅2 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveFryPotTwo(string robotJobId) |
|
|
|
public string AgvLeaveFryPotTwo(string robotJobId, int priority = 1 ) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -513,7 +512,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -553,7 +552,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV离开炒锅3 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveFryPotThree(string robotJobId) |
|
|
|
public string AgvLeaveFryPotThree(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -568,7 +567,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -608,7 +607,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV离开炒锅4 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveFryPotFour(string robotJobId) |
|
|
|
public string AgvLeaveFryPotFour(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -623,7 +622,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -663,7 +662,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV离开炒锅5 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveFryPotFive(string robotJobId) |
|
|
|
public string AgvLeaveFryPotFive(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -678,7 +677,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -719,7 +718,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV从1号线运空桶洗桶 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveLOneToClean(string robotJobId) |
|
|
|
public string AgvLeaveLOneToClean(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -734,7 +733,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -774,7 +773,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV从2号线运空桶洗桶 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveLTwoToClean(string robotJobId) |
|
|
|
public string AgvLeaveLTwoToClean(string robotJobId,int priority=1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -789,7 +788,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -829,7 +828,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV从3号线运空桶洗桶 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveLThreeToClean(string robotJobId) |
|
|
|
public string AgvLeaveLThreeToClean(string robotJobId,int priority=1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -844,7 +843,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
@@ -884,7 +883,7 @@ namespace BPASmartClient.AGV |
|
|
|
/// AGV从洗桶处运桶到4号洗桶线 |
|
|
|
/// </summary> |
|
|
|
/// <returns></returns> |
|
|
|
public string AgvLeaveCleanToLFour(string robotJobId) |
|
|
|
public string AgvLeaveCleanToLFour(string robotJobId, int priority = 1) |
|
|
|
{ |
|
|
|
string url = AGVRequestUrl.GetInstance.TaskSendUrl; |
|
|
|
//请求报文头 |
|
|
@@ -899,7 +898,7 @@ namespace BPASmartClient.AGV |
|
|
|
AGVModel httpModel = new AGVModel(); |
|
|
|
httpModel.robotJobId = robotJobId;//上游提供 |
|
|
|
httpModel.warehouseId = long.Parse(config.AppSettings.Settings["warehouseId"].Value); //仓库编号 |
|
|
|
httpModel.jobPriority = Convert.ToInt32(config.AppSettings.Settings["jobPriority"].Value);//任务执行的优先级 |
|
|
|
httpModel.jobPriority = priority;//任务执行的优先级 |
|
|
|
httpModel.jobPriorityType = Convert.ToInt32(config.AppSettings.Settings["jobPriorityType"].Value); ;//0:根据优先级来执行,1:强制执行 |
|
|
|
httpModel.jobType = config.AppSettings.Settings["jobType"].Value; //SLOT_ROLLER_MOVE / POINT_ROLLER_MOVE |
|
|
|
//详细任务数据 |
|
|
|