You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
3.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace SlnMesnac.Model.AirportApiEntity
{
/// <summary>
/// 获取车辆所有信息响应实体类
/// </summary>
public class ResponseRobotAtrributeDataEntity
{
/// <summary>
/// 机器人ID
/// </summary>
public string Guid { get; set; }
/// <summary>
/// 机器人名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 运动状态
/// 0暂⽆信息 1待机 2执⾏任务 3充电中 4暂停 5急停 6异常 7建图中 8等待 9调度控制
/// ?(文档空缺)任务暂停 51同步 52脱机
/// </summary>
public int AgvMoveStatus { get; set; }
/// <summary>
/// 任务模板ID
/// </summary>
public string jobId { get; set; }
/// <summary>
/// 子任务ID
/// </summary>
public string orderId { get; set; }
/// <summary>
/// 任务ID
/// </summary>
public string TaskID { get; set; }
/// <summary>
/// 当前执行动作
/// </summary>
public CurrentActionEntity currentAction { get; set; }
/// <summary>
/// 错误
/// </summary>
public List<AGVErrorEntity> error { get; set; }
}
/// <summary>
/// 车辆当前执行动作实体类
/// </summary>
public class CurrentActionEntity
{
/// <summary>
/// 动作ID
/// </summary>
public string guid { get; set; }
/// <summary>
/// 任务类型
/// 1移动 2播放声⾳ 3亮灯带 4停留 5检查位置状态 6占地⾯积 7切换地图 8移动⾄预备位置 9停靠
/// 10相对移动 11等待 12if else 13设置plc 14:等待plc 15停⽌⾳效 16停⽌灯带 17:暂停 18loop
/// 23while 29任务模板
/// </summary>
public string actionType { get; set; }
/// <summary>
/// 参数列表
/// </summary>
public List<AGVCurrentActionParamesEntity> Parames { get; set; }
}
/// <summary>
/// 车辆动作参数实体类
/// </summary>
public class AGVCurrentActionParamesEntity
{
/// <summary>
/// 动作参数guid
/// </summary>
public string guid { get; set; }
/// <summary>
/// 参数名称
/// </summary>
public string paramName { get; set; }
/// <summary>
/// 动作类型
/// </summary>
public int type { get; set; }
/// <summary>
/// 参数值
/// </summary>
public string value { get; set; }
}
/// <summary>
/// 车辆错误信息实体类
/// </summary>
public class AGVErrorEntity
{
/// <summary>
/// 错误码
/// </summary>
public int errorCode { get; set; }
/// <summary>
/// 错误模块
/// </summary>
public int errorModule { get; set; }
/// <summary>
/// 错误消息
/// </summary>
public string errorMsg { get; set; }
}
}