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.

102 lines
2.8 KiB
C#

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