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.

50 lines
1.1 KiB
C#

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;
}
}
}
}