|
|
using SqlSugar;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace zzz.Model.Entity
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 公用
|
|
|
/// </summary>
|
|
|
[SugarTable("eqmt_collect_pub_data")]
|
|
|
public class EqmtPubData
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// id
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "自增主键")]
|
|
|
public long id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 创建时间
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
|
|
|
public DateTime? gmt_create { get; set; } = DateTime.Now;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 修改时间
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "修改时间")]
|
|
|
public DateTime? gmt_modified { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收集唯一ID
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "收集唯一ID")]
|
|
|
public string collect_id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 设备id
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "设备id")]
|
|
|
public int eqmt_id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 产品型号
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "产品型号",ColumnDataType ="varchar(50)")]
|
|
|
public string product_type { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 产品名称(带型号)
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "产品名称(含型号)", ColumnDataType = "varchar(255)")]
|
|
|
public string product_type_name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 生产速度
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "生产速度")]
|
|
|
public int speed { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 总生产数量
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "总生产数量")]
|
|
|
public int total_product_qty { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日生产数量
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日生产数量")]
|
|
|
public int intraday_product_qty { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日合格品数量
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日合格品数量")]
|
|
|
public int intraday_ok_qty { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日不良品数量
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日不良品数量")]
|
|
|
public int intraday_ng_qty { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日合格率
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日合格率", ColumnDataType = "decimal(20,2)")]
|
|
|
public decimal intraday_yield_rate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日开机总时间(单位:秒)
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日开机总时间(单位:秒)")]
|
|
|
public int intraday_eqmt_run_time { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日负荷时间(单位:秒)
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日负荷时间(单位:秒)")]
|
|
|
public int intraday_eqmt_work_time { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日停机时间(单位:秒)
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日停机时间(单位:秒)")]
|
|
|
public int intraday_eqmt_stop_time { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日开机效率
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日开机效率", ColumnDataType = "decimal(20,2)")]
|
|
|
public decimal intraday_eqmt_work_rate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 当日停机次数
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "当日停机次数")]
|
|
|
public int intraday_eqmt_stop_times { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 设备状态 0:关机;1:开机;2:待机
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "设备状态 0:关机;1:开机;2:待机")]
|
|
|
public byte eqmt_status { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 设备异常标记
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "设备异常标记")]
|
|
|
public byte eqmt_except_flag { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 设备报警标记
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "设备报警标记")]
|
|
|
public byte eqmt_alarm_flag { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// OEE
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "OEE", ColumnDataType = "decimal(20,2)")]
|
|
|
public decimal oee { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 创建日期
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "创建日期")]
|
|
|
public DateTime? create_time { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 更新人
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "更新人", Length = 50)]
|
|
|
public string update_by { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 更新日期
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "更新日期")]
|
|
|
public DateTime? update_time { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 所属部门
|
|
|
/// </summary>
|
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "所属部门", Length = 64)]
|
|
|
public string sys_org_code { get; set; }
|
|
|
|
|
|
}
|
|
|
}
|