using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; namespace Mesnac.Basic { public class OPCServerInfo { private string _opcserverip = ""; private string _opcservername = ""; private int refreshTime = 1000; [Description("OPC服务器的名称"), Category("服务器名称")] public string OpcServerName { get { return _opcservername; } set { _opcservername = value; } } [Description("刷新时间"), Category("刷新时间")] public int RefreshTime { get { return refreshTime; } set { refreshTime = value; } } [Description("计算机IP地址"), Category("计算机IP")] public string SvrIP { get { return _opcserverip; } set { _opcserverip = value; } } } }