using SqlSugar;
using System;
using System.Runtime.Serialization;
namespace SlnMesnac.Model.domain
{
///
/// AGV状态表
///
[SugarTable("wcs_agv_status"), TenantAttribute("wcs")]
[DataContract(Name = "AGV状态表")]
public class WcsAgvStatus
{
///
/// 机器人海康编号
///
[SugarColumn(ColumnName = "robotCode", IsPrimaryKey = true, Length = 20, ColumnDescription = "机器人海康编号")]
public string RobotCode { get; set; }
///
/// 设备编号
///
[SugarColumn(ColumnName = "equip_no", Length = 20, ColumnDescription = "设备编号")]
public string EquipNo { get; set; }
///
/// 小车名称
///
[SugarColumn(ColumnName = "agvName", Length = 20, ColumnDescription = "小车名称")]
public string AgvName { get; set; }
///
/// 电量
///
[SugarColumn(ColumnName = "battery", Length = 255, ColumnDescription = "电量")]
public string Battery { get; set; }
///
/// 是否已被排除,被排除后不接受新任务(1-排除,0-正常)
///
[SugarColumn(ColumnName = "exclType", Length = 255, ColumnDescription = "是否已被排除,被排除后不接受新任务(1-排除,0-正常)")]
public string ExclType { get; set; }
///
/// 地图编号
///
[SugarColumn(ColumnName = "mapCode", Length = 10, ColumnDescription = "地图编号")]
public string MapCode { get; set; }
///
/// 是否在线
///
[SugarColumn(ColumnName = "online", Length = 10, ColumnDescription = "是否在线")]
public string Online { get; set; }
///
/// 路线
///
[SugarColumn(ColumnName = "path", Length = 1000, ColumnDescription = "路线")]
public string Path { get; set; }
///
/// 背货架的编号
///
[SugarColumn(ColumnName = "podCode", Length = 20, ColumnDescription = "背货架的编号")]
public string PodCode { get; set; }
///
/// 背货架的方向
///
[SugarColumn(ColumnName = "podDir", Length = 20, ColumnDescription = "背货架的方向")]
public string PodDir { get; set; }
///
/// X坐标
///
[SugarColumn(ColumnName = "posX", Length = 10, ColumnDescription = "X坐标")]
public string PosX { get; set; }
///
/// Y坐标
///
[SugarColumn(ColumnName = "posY", Length = 10, ColumnDescription = "Y坐标")]
public string PosY { get; set; }
///
/// 机器人方向 (范围 -180~360度)
///
[SugarColumn(ColumnName = "robotDir", Length = 10, ColumnDescription = "机器人方向 (范围 -180~360度)")]
public string RobotDir { get; set; }
///
/// 机器人IP
///
[SugarColumn(ColumnName = "robotIp", Length = 20, ColumnDescription = "机器人IP")]
public string RobotIp { get; set; }
///
/// 机器人速度
///
[SugarColumn(ColumnName = "speed", Length = 10, ColumnDescription = "机器人速度")]
public string Speed { get; set; }
///
/// 机器人状态
///
[SugarColumn(ColumnName = "status", Length = 10, ColumnDescription = "机器人状态")]
public string Status { get; set; }
///
/// 详细状态信息,关联agv状态码查询
///
[SugarColumn(ColumnName = "status_detail", Length = 10, ColumnDescription = "详细状态信息,关联agv状态码查询")]
public string? StatusDetail { get; set; }
///
/// 是否暂停 0-否 1-是
///
[SugarColumn(ColumnName = "stop", Length = 5, ColumnDescription = "是否暂停 0-否 1-是")]
public string Stop { get; set; }
///
/// 时间
///
[SugarColumn(ColumnName = "timestamp", ColumnDescription = "时间")]
public DateTime? Timestamp { get; set; }
}
}