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.

83 lines
2.5 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.Core.Model.Model_New
{
/// <summary>
/// 设备参数
///</summary>
[SugarTable("BASE_DEVICEPARAM", "AUCMA_MES")]
public class BaseDeviceParam
{
/// <summary>
/// 主键标识
///</summary>
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true)]
public decimal ObjId { get; set; }
/// <summary>
/// 参数编号
///</summary>
[SugarColumn(ColumnName = "PARAM_CODE")]
public string ParamCode { get; set; }
/// <summary>
/// 参数名称
///</summary>
[SugarColumn(ColumnName = "PARAM_NAME")]
public string ParamName { get; set; }
/// <summary>
/// 网络地址
///</summary>
[SugarColumn(ColumnName = "PARAM_NETWORK")]
public string ParamNetwork { get; set; }
/// <summary>
/// 参数地址
///</summary>
[SugarColumn(ColumnName = "PARAM_ADDRESS")]
public string ParamAddress { get; set; }
/// <summary>
/// 参数类型int、float
///</summary>
[SugarColumn(ColumnName = "PARAM_TYPE")]
public string ParamType { get; set; }
/// <summary>
/// 设备编号
///</summary>
[SugarColumn(ColumnName = "DEVICE_CODE")]
public string DeviceCode { get; set; }
/// <summary>
/// 读取频率(毫秒)
///</summary>
[SugarColumn(ColumnName = "READ_FREQUENCY")]
public decimal? ReadFrequency { get; set; }
/// <summary>
/// 是否标识
///</summary>
[SugarColumn(ColumnName = "IS_FLAG")]
public short? IsFlag { get; set; }
/// <summary>
/// 创建人
///</summary>
[SugarColumn(ColumnName = "CREATED_BY")]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
///</summary>
[SugarColumn(ColumnName = "CREATED_TIME")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
///</summary>
[SugarColumn(ColumnName = "UPDATED_BY")]
public string UpdatedBy { get; set; }
/// <summary>
/// 更新时间
///</summary>
[SugarColumn(ColumnName = "UPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}