You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

225 lines
5.9 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此Model
*/
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;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
[Entity(TableCnName = "机床数据",TableName = "Data_Machine")]
public partial class Data_Machine:BaseEntity
{
/// <summary>
///
/// </summary>
[Key]
[Display(Name ="id")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int id { get; set; }
/// <summary>
///设备信息
/// </summary>
[Display(Name ="设备信息")]
[Column(TypeName="int")]
[Editable(true)]
[Required(AllowEmptyStrings=false)]
public int config_id { get; set; }
/// <summary>
///通讯状态
/// </summary>
[Display(Name ="通讯状态")]
[Column(TypeName="short")]
[Editable(true)]
public short? com_status { get; set; }
/// <summary>
///运行模式(西门子)
/// </summary>
[Display(Name ="运行模式(西门子)")]
[Column(TypeName="short")]
[Editable(true)]
public short? smode { get; set; }
/// <summary>
///运行模式(广数)
/// </summary>
[Display(Name ="运行模式(广数)")]
[Column(TypeName="short")]
[Editable(true)]
public short? gmode { get; set; }
/// <summary>
///加工程序号
/// </summary>
[Display(Name ="加工程序号")]
[MaxLength(60)]
[Column(TypeName="nvarchar(60)")]
[Editable(true)]
public string run_program_no { get; set; }
/// <summary>
///运行状态
/// </summary>
[Display(Name ="运行状态")]
[Column(TypeName="short")]
[Editable(true)]
public short? state { get; set; }
/// <summary>
///电机温度
/// </summary>
[Display(Name ="电机温度")]
[DisplayFormat(DataFormatString="10,2")]
[Column(TypeName="decimal")]
[Editable(true)]
public decimal? temperature { get; set; }
/// <summary>
///母线电压
/// </summary>
[Display(Name ="母线电压")]
[DisplayFormat(DataFormatString="10,2")]
[Column(TypeName="decimal")]
[Editable(true)]
public decimal? potential { get; set; }
/// <summary>
///实际电流
/// </summary>
[Display(Name ="实际电流")]
[DisplayFormat(DataFormatString="10,2")]
[Column(TypeName="decimal")]
[Editable(true)]
public decimal? current { get; set; }
/// <summary>
///加工数
/// </summary>
[Display(Name ="加工数")]
[Column(TypeName="bigint")]
[Editable(true)]
public long? quantity { get; set; }
/// <summary>
///主轴倍率
/// </summary>
[Display(Name ="主轴倍率")]
[DisplayFormat(DataFormatString="10,2")]
[Column(TypeName="decimal")]
[Editable(true)]
public decimal? main_rate { get; set; }
/// <summary>
///进给倍率
/// </summary>
[Display(Name ="进给倍率")]
[DisplayFormat(DataFormatString="10,2")]
[Column(TypeName="decimal")]
[Editable(true)]
public decimal? feed_rate { get; set; }
/// <summary>
///切削倍率
/// </summary>
[Display(Name ="切削倍率")]
[DisplayFormat(DataFormatString="10,2")]
[Column(TypeName="decimal")]
[Editable(true)]
public decimal? cut_rate { get; set; }
/// <summary>
///开机时间
/// </summary>
[Display(Name ="开机时间")]
[Column(TypeName="bigint")]
[Editable(true)]
public long? on_time { get; set; }
/// <summary>
///运行时间
/// </summary>
[Display(Name ="运行时间")]
[Column(TypeName="bigint")]
[Editable(true)]
public long? run_time { get; set; }
/// <summary>
///累计运行时长
/// </summary>
[Display(Name ="累计运行时长")]
[Column(TypeName="bigint")]
[Editable(true)]
public long? run_time_total { get; set; }
/// <summary>
///累计加工数
/// </summary>
[Display(Name ="累计加工数")]
[Column(TypeName="bigint")]
[Editable(true)]
public long? quantity_total { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="CreateID")]
[Column(TypeName="int")]
[Editable(true)]
public int? CreateID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="Creator")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string Creator { get; set; }
/// <summary>
///记录时间
/// </summary>
[Display(Name ="记录时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? CreateDate { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="ModifyID")]
[Column(TypeName="int")]
[Editable(true)]
public int? ModifyID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name ="Modifier")]
[MaxLength(255)]
[Column(TypeName="nvarchar(255)")]
[Editable(true)]
public string Modifier { get; set; }
/// <summary>
///更新时间
/// </summary>
[Display(Name ="更新时间")]
[Column(TypeName="datetime")]
[Editable(true)]
public DateTime? ModifyDate { get; set; }
}
}