using SQLite; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FLY.FilmCasting.AutoDie.Server.Model { /// /// 厚度记录 /// [Table("ThickHeat")] public class Db_ThickHeat : IDbBase { [Key] [Index] [PropertyIndex(0)] public Int64 ID { get; set; } /// /// 测厚仪过来的 scandata id,用于画面显示,与扫描图一致 /// [PropertyIndex(1)] public Int64 ScanDataID { get; set; } [Index] [PropertyIndex(2)] public Int64 ProfileID { get; set; } [Index] [Time] [PropertyIndex(3)] public DateTime Time { get; set; } [PropertyIndex(4)] public DateTime EndTime { get; set; } /// /// 目标值 /// [PropertyIndex(5)] public double Target { get; set; } /// /// 规格线% ,最后规格值为目标值*TolerancePercent /// [PropertyIndex(6)] public double TolerancePercent { get; set; } [PropertyIndex(7)] public double K { get; set; } [PropertyIndex(8)] public double B { get; set; } [PropertyIndex(9)] public double FilmPosition { get; set; } [PropertyIndex(10)] public double FilmVelocity { get; set; } /// /// 膜宽度 mm /// [PropertyIndex(11)] public int FilmWidth { get; set; } /// /// 厚度均值 /// [PropertyIndex(12)] public double Avg { get; set; } /// /// 数据范围 开始 /// [PropertyIndex(13)] public int DataBegin { get; set; } /// /// 数据范围 结束 /// [PropertyIndex(14)] public int DataEnd { get; set; } [PropertyIndex(15)] public string Thicks { get; set; } [PropertyIndex(16)] public string SampleADs { get; set; } [PropertyIndex(17)] public string BoltMapInfo { get; set; } /// /// 膜距离 m /// [PropertyIndex(18)] public double FilmLength { get; set; } /// /// 分区表, Thicks 是还没分区前的数据 /// [PropertyIndex(19)] public string Boltmap { get; set; } /// /// 加热生效 /// [PropertyIndex(20)] public bool IsStable { get; set; } /// /// 开始改变加热时间 /// [PropertyIndex(21)] public DateTime HTime { get; set; } /// /// 1幅加热数据 % /// [PropertyIndex(22)] public string Heats { get; set; } } }