DbTable.cs 2.49 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
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.Winder.Server.Model
{
    /// <summary>
    /// 收卷表
    /// </summary>
    [Table("WinderInfo")]
    public class Db_WinderInfo : IDbBase
    {
        [Key]
        [PropertyIndex(0)]
        public Int64 ID { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        [PropertyIndex(1)]
        public DateTime Time { get; set; }

        /// <summary>
        /// 线速度 m/min
        /// </summary>
        [PropertyIndex(2)]
        public double Velocity { get; set; }

        /// <summary>
        /// 上牵引电流   单位 A
        /// </summary>
        [PropertyIndex(2)]
        public double Traction1Current { get; set; }

        /// <summary>
        /// 二牵引电流   单位 A
        /// </summary>
        [PropertyIndex(3)]
        public double Traction2Current { get; set; }

        /// <summary>
        /// 内收卷电流   单位 A
        /// </summary>
        [PropertyIndex(4)]
        public double Winder0Current { get; set; }

        /// <summary>
        /// 外收卷电流   单位 A
        /// </summary>
        [PropertyIndex(5)]
        public double Winder1Current { get; set; }

        /// <summary>
        /// 二牵引实际张力 单位 Kg
        /// </summary>
        [PropertyIndex(6)]
        public double Traction2TensionKg { get; set; }

        /// <summary>
        /// 内收卷实际张力 单位 Kg
        /// </summary>
        [PropertyIndex(7)]
        public double Winder0TensionKg { get; set; }

        /// <summary>
        /// 外收卷实际张力 单位 Kg
        /// </summary>
        [PropertyIndex(8)]
        public double Winder1TensionKg { get; set; }

        /// <summary>
        /// 旋转塔电流 单位 A
        /// </summary>
        [PropertyIndex(9)]
        public double RotaryCurrent { get; set; }

        /// <summary>
        /// 旋转塔频率 单位 Hz
        /// </summary>
        [PropertyIndex(10)]
        public double RotaryFreq { get; set; }

        /// <summary>
        /// 旋转塔正转
        /// </summary>
        [PropertyIndex(11)]
        public bool IsRotaryForw { get; set; }

        /// <summary>
        /// 旋转塔反转
        /// </summary>
        [PropertyIndex(12)]
        public bool IsRotaryBackw { get; set; }

    }

}