using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace SlnMesnac.Model.domain { /// /// 工位数据参数值 /// [SugarTable("datastationparam")] public class Datastationparam { /// /// 备 注: /// 默认值: /// [SugarColumn(ColumnName="id" ,IsPrimaryKey = true,IsIdentity = true) ] public int Id { get; set; } /// /// 备 注:datastation表索引id /// 默认值: /// [SugarColumn(ColumnName="dsid" ) ] public int Dsid { get; set; } /// /// 备 注:工位号 /// 默认值: /// [SugarColumn(ColumnName="stationid" ,IsPrimaryKey = true) ] public string Stationid { get; set; } = null!; /// /// 备 注:产品系统号 /// 默认值: /// [SugarColumn(ColumnName="productid" ,IsPrimaryKey = true) ] public string Productid { get; set; } = null!; /// /// 备 注:参数名 /// 默认值: /// [SugarColumn(ColumnName="n" ) ] public string? N { get; set; } /// /// 备 注:数据类别:0 数值浮点数;1 整数 /// 默认值: /// [SugarColumn(ColumnName="t" ) ] public bool T { get; set; } /// /// 备 注:数据 /// 默认值: /// [SugarColumn(ColumnName="v" ) ] public string? V { get; set; } /// /// 备 注:最大值 /// 默认值: /// [SugarColumn(ColumnName="max" ) ] public string Max { get; set; } = null!; /// /// 备 注:最小值 /// 默认值: /// [SugarColumn(ColumnName="min" ) ] public string? Min { get; set; } /// /// 备 注:是否NG品,1:OK品,2:NG品 /// 默认值: /// [SugarColumn(ColumnName="ng" ) ] public int? Ng { get; set; } /// /// 备 注:记录时间 /// 默认值: /// [SugarColumn(ColumnName="stime" ) ] public DateTime Stime { get; set; } /// /// 备 注:缺省null,在v比较上下限后,超限则拼接"工位号"“参数名”"NG+或NG-或NG其他” /// 默认值: /// [SugarColumn(ColumnName="ngcode" ) ] public string? Ngcode { get; set; } } }