You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
using AUCMA.STORE.DeviceAdapter ;
using AUCMA.STORE.Entity.Enums ;
using System ;
using System.Collections.Generic ;
using System.Linq ;
using System.Text ;
using System.Threading.Tasks ;
namespace AUCMA.STORE.Entity.DAO
{
/// <summary>
/// 设备信息
/// </summary>
public class BaseDeviceInfo
{
public BaseDeviceInfo ( )
{
}
public BaseDeviceInfo ( UInt16 m_iDeviceId , string m_plcName , string m_strConnectStr , string m_strDeviceType , LocationArea m_plcArea )
{
this . m_iDeviceId = m_iDeviceId ;
this . m_plcName = m_plcName ;
this . m_strConnectStr = m_strConnectStr ;
this . m_strDeviceType = m_strDeviceType ;
this . m_plcArea = m_plcArea ;
}
/// <summary>
/// 设备ID
/// </summary>
public UInt16 m_iDeviceId = 0 ; //设备ID
public string m_plcName = "" ;
/// <summary>
/// 连接字符串
/// </summary>
public string m_strConnectStr = null ; //连接字符串
/// <summary>
/// 连接方式
/// </summary>
public byte m_iConnectMode = 1 ; //连接方式
/// <summary>
/// 设备类型
/// </summary>
public string m_strDeviceType = "" ; //设备类型
/// <summary>
/// 设备类
/// </summary>
public IDeviceAdapter m_IDeviceAdapter = null ;
/// <summary>
/// 连接状态, 初始化0,1已连接,0未连接
/// </summary>
public byte m_ConnectState = 0 ; //连接状态, 初始化0,1已连接,0未连接
public LocationArea m_plcArea ;
}
}