|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sln.Wcs.Model.Domain
|
|
|
|
|
|
{
|
|
|
|
|
|
[SugarTable("base_equip_parameter"), TenantAttribute("wcs")]
|
|
|
|
|
|
[DataContract(Name = "设备参数表")]
|
|
|
|
|
|
public class BaseEquipParameter
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 主键
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备编码(唯一标识)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "equip_code", ColumnDescription = "设备编码")]
|
|
|
|
|
|
public string EquipCode { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "equip_name", ColumnDescription = "设备名称")]
|
|
|
|
|
|
public string? EquipName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备类型(AGV/提升机/线体/机台/缓存位等)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "equip_type", ColumnDescription = "设备类型")]
|
|
|
|
|
|
public string EquipType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 设备型号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "equip_model", ColumnDescription = "设备型号")]
|
|
|
|
|
|
public string? EquipModel { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参数键(如:speed、timeout、capacity等)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "param_key", ColumnDescription = "参数键")]
|
|
|
|
|
|
public string ParamKey { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参数名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "param_name", ColumnDescription = "参数名称")]
|
|
|
|
|
|
public string? ParamName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参数值
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "param_value", ColumnDescription = "参数值")]
|
|
|
|
|
|
public string ParamValue { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参数类型(STRING/INT/DOUBLE/BOOLEAN/JSON)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "param_type", ColumnDescription = "参数类型")]
|
|
|
|
|
|
public string? ParamType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参数单位(如:m/s、s、mm、kg等)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "param_unit", ColumnDescription = "参数单位")]
|
|
|
|
|
|
public string? ParamUnit { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "createtime", ColumnDescription = "创建时间")]
|
|
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "createuser", ColumnDescription = "创建人")]
|
|
|
|
|
|
public string? CreateUser { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "updatetime", ColumnDescription = "更新时间")]
|
|
|
|
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "updateuser", ColumnDescription = "更新人")]
|
|
|
|
|
|
public string? UpdateUser { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|