using SlnMesnac.Model.AirportApiEntity;
using System;
using System.Collections.Generic;
using System.Text;
namespace SlnMesnac.Business.@base
{
public class BaseAGVBusiness
{
///
/// 向AGV小车下发任务
///
///
public bool DownloadTask(string taskID, string jobID)
{
AGVRequestAddTaskEntity aGVRequestAddTaskEntity = new AGVRequestAddTaskEntity()
{
businessOrderId = taskID,
priority = 0,
RobotType = "S800",
robotId = "",
group = "",
taskSource = "Mesnac",
taskType = 3,
verifyStatus = 0,
enableSplitCar = 0,
load = new List()
{
new LoadsEntity()
{
jobid = jobID,
location = "",
param = new List()
{
new ParamEntity()
{
paramname = "",
paramvalue = "",
}
},
robotPort = ""
}
},
};
return true;
}
}
}