namespace AmrControl.Dto { /// /// 移动路径设置,考虑到界面上可能有多次点击,或者移动过程中有多次点击 /// 如果本路径的起点与当前车的起点不一致,那么本次要求执行的路径会被抛弃,以便防错 /// 路径会经过校验才能被执行,小车只能执行完当前路径,才能进行新的路径运动 /// public class MovingPath { /// /// 车的编号 /// public string jgrSN { get; set; } /// /// 车的类型,0:仓储车,1:轨道车 /// public byte jgrType { get; set; } /// /// 源X /// public int startLocationX { get; set; } /// /// 源Y /// public int startLocationY { get; set; } /// /// 目标X /// public int destLocationX { get; set; } /// /// 目标Y /// public int destLocationY { get; set; } /// /// 是否正在运行,可能是还在路上,也可能已经完成 /// 如果已经完成,则移除路径 /// 如果在等待,则调度 /// 如果运行超时,则报警并通知 /// public bool IsRuning { get; set; } /// /// 开始执行的时间,用来评估超时时间 /// public DateTime StartTime { get; set; } public MovingPath() { IsRuning = false; } } }