using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CameraDb.model { public class Device { private int id; private int active;//状态位 private String assetBarCode;//资产条码 private String assetCode;//资产编号 private String assetName;//资产名称 private String devCode;//设备编号 private String devType;//设备类型 private String ip;//IP地址 private String modbus;//modBus地址 private String mome;//备注 private String partition;//分区 private String pipeGallery;//仓位 private String position;//设备位置 private String road;//路名 private int isOpen;//设备开启状态 private int mlUserID; public int ID { get { return id; } set { id = value; } } public int ACTIVE { get { return active; } set { active = value; } } public String ASSETBARCODE { get { return assetBarCode; } set { assetBarCode = value; } } public String ASSETCODE { get { return assetCode; } set { assetCode = value; } } public String ASSETNAME { get { return assetName; } set { assetName = value; } } public String DEVCODE { get { return devCode; } set { devCode = value; } } public String DEVTYPE { get { return devType; } set { devType = value; } } public String IP { get { return ip; } set { ip = value; } } public String MODBUS { get { return modbus; } set { modbus = value; } } public String MOME { get { return mome; } set { mome = value; } } public String PARTITION { get { return partition; } set { partition = value; } } public String PIPEGALLERY { get { return pipeGallery; } set { pipeGallery = value; } } public String POSITION { get { return position; } set { position = value; } } public String ROAD { get { return road; } set { road = value; } } public int ISOPEN { get { return isOpen; } set { isOpen = value; } } public int MLUSERID { get { return mlUserID; } set { mlUserID = value; } } } }