天津投入产出系统后端
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.
 
 
 
 
 
 

267 lines
7.9 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
using System.ComponentModel;
using System.Data;
namespace QMAPP.FJC.Entity.Basic
{
/// <summary>
/// 模块编号:M2-2
/// 作 用:设备信息数据模型
/// 作 者:王丹丹
/// 编写日期:2015年05月28日
///</summary>
[DBTable(TableName = "T_BD_MACHINEINFO", TimeStampColumn = "UPDATEDATE")]
public class MachineInfo : BaseEntity
{
///<summary>
///设备信息主键
///</summary>
[DBColumn(ColumnName = "PID", DataType = DbType.String, IsKey = true)]
public string PID { get; set; }
public string PIDS { get; set; }
/// <summary>
/// 工厂编号
/// </summary>
[DBColumn(ColumnName = "FACTORY_CODE", DataType = DbType.String)]
public string FACTORY_CODE { get; set; }
/// <summary>
/// 工厂名称
/// </summary>
public string FACTORY_NAME { get; set; }
///<summary>
///设备名称
///</summary>
[DBColumn(ColumnName = "MACHINENAME", DataType = DbType.String)]
public string MACHINENAME { get; set; }
///<summary>
///简称
///</summary>
[DBColumn(ColumnName = "MACHINENAME_SHORT", DataType = DbType.String)]
public string MACHINENAME_SHORT { get; set; }
///<summary>
///设备编码
///</summary>
[DBColumn(ColumnName = "MACHINECODDE", DataType = DbType.String)]
public string MACHINECODDE { get; set; }
public string Machineids { get; set; }
///<summary>
///设备编码
///</summary>
[DBColumn(ColumnName = "MACHINENUM", DataType = DbType.String)]
public string MACHINENUM { get; set; }
///<summary>
///工序类别
///2019-6-5 by peng
///0:搪塑 1:注塑 2:装配 null:未指定
///--------------------------------------------------
///0:搪塑 1:骨架注塑 2:气囊支架注塑 3:风道注塑4:中控之间注塑
/// 5:HUD风道注塑5:冷刀弱化 6:火焰加工 7:预热
/// 8:浇注 9:红外扫描 10:冲切 11:铣削
/// 12:铆接 13:超时波焊接 14:红外焊接 15:总成装配
///</summary>
[DBColumn(ColumnName = "PROCESSTYPE", DataType = DbType.String)]
public string PROCESSTYPE { get; set; }
public string PROCESSTYPETXT { get; set; }
///<summary>
/// 接收控制指令 0:不发送不读取 1:只发送不读取 2:不发送至读取 3:即发送也读取
///</summary>
[DBColumn(ColumnName = "ISCONTROL", DataType = DbType.String)]
public string ISCONTROL { get; set; }
public string ISCONTROLTXT { get; set; }
[DBColumn(ColumnName = "OPERATETYPE", DataType = DbType.String)]
public string OPERATETYPE { get; set; }
///<summary>
///生产线
///</summary>
[DBColumn(ColumnName = "PRODUCELINE", DataType = DbType.String)]
public string PRODUCELINE { get; set; }
///<summary>
///设备状态 0:正常 1:异常
///</summary>
[DBColumn(ColumnName = "STATUS", DataType = DbType.String)]
public string STATUS { get; set; }
public string STATUSTXT { get; set; }
///<summary>
///IP地址
///</summary>
[DBColumn(ColumnName = "IPADDRESS", DataType = DbType.String)]
public string IPADDRESS { get; set; }
///<summary>
///端口号
///</summary>
[DBColumn(ColumnName = "TERMINALPORT", DataType = DbType.String)]
public string TERMINALPORT { get; set; }
///<summary>
///备注
///</summary>
[DBColumn(ColumnName = "MEMO", DataType = DbType.String)]
public string MEMO { get; set; }
///<summary>
///设备点检页面url
///</summary>
[DBColumn(ColumnName = "MACHINECHECK_URL", DataType = DbType.String)]
public string MACHINECHECK_URL { get; set; }
///<summary>
///设备读取时间设置
///</summary>
[DBColumn(ColumnName = "READINTERVAL", DataType = DbType.Int32)]
public int READINTERVAL { get; set; }
/*///<summary>
///是否有模具位置扫描1代表有扫描接口0代表没有扫描接口
///</summary>*/
/// <summary>
/// 多模架设备 0 单模架 1 多模架循环 2 多模架并行
/// </summary>
[DBColumn(ColumnName = "ISSTATION", DataType = DbType.String)]
public int ISSTATION { get; set; }
///<summary>
///获取模具位置与放零件位置间隔
///</summary>
[DBColumn(ColumnName = "MODELSTATIONS", DataType = DbType.Int32)]
public int MODELSTATIONS { get; set; }
///<summary>
///设备用户名
///</summary>
[DBColumn(ColumnName = "USERNAME", DataType = DbType.String)]
public string USERNAME { get; set; }
///<summary>
///设备密码
///</summary>
[DBColumn(ColumnName = "PASSWORD", DataType = DbType.String)]
public string PASSWORD { get; set; }
///<summary>
///创建用户
///</summary>
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CREATEUSER { get; set; }
public string CREATEUSERNAME { get; set; }
///<summary>
///创建时间
///</summary>
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime)]
public DateTime CREATEDATE { get; set; }
///<summary>
///更新用户
///</summary>
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UPDATEUSER { get; set; }
public string UPDATEUSERNAME { get; set; }
///<summary>
///更新时间
///</summary>
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UPDATEDATE { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName = "EQUIPMENT_TYPE_CODE", DataType = DbType.String)]
public string EQUIPMENT_TYPE_CODE { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName = "EQUIPMENT_DIRECTORY", DataType = DbType.String)]
public string EQUIPMENT_DIRECTORY { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName = "MATERAILPORT", DataType = DbType.String)]
public string MATERAILPORT { get; set; }
///<summary>
///
///</summary>
[DBColumn(ColumnName = "MATERAILINDEX", DataType = DbType.String)]
public string MATERAILINDEX { get; set; }
/// <summary>
/// 用于查询工序数组
/// </summary>
public string PROCESSTYPES { get; set; }
/// <summary>
/// 模块号
/// </summary>
public string MOLDNUMBER { get; set; }
/// <summary>
/// 设备的模具列表
/// </summary>
public List<MachineInfoModels> MODELS { get; set; }
/// <summary>
/// OPC组名
/// </summary>
public string OPCGROUPNAME { get; set; }
///<summary>
///工序
///</summary>
public string WORKCELL_CODE { get; set; }
public string WORKCELL_NAME { get; set; }
///<summary>
///工位
///</summary>
[DBColumn(ColumnName = "WORKLOC_CODE", DataType = DbType.String)]
public string WORKLOC_CODE { get; set; }
public string WORKLOC_NAME { get; set; }
/// <summary>
/// 工作中心
/// </summary>
public string WORKCENTER_CODE { get; set; }
}
}