using iWareCommon.Utils; using iWareModel.Entity.AGV; using System; namespace iWareCC.Common.Helper { public class AgvRequestHelper { /// /// AGV的主机host /// private static string agvHost = ConfigHelper.GetConfigString("AgvHost"); /// /// AGV-查询车辆列表(可查指定名称) /// private static string agvUrl_RobotsStatus = ConfigHelper.GetConfigString("RobotsStatus"); /// /// 查询车辆列表 /// /// /// public static AGVRetModel GetVehicles() { var agvResults = new HTTPService(agvHost).getContent(agvUrl_RobotsStatus, Guid.NewGuid(), 30); return agvResults; } } }