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.
lj_plc/Main/Mesnac.Basic/OPCServerInfo.cs

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<50><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"), Category("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>")]
public string OpcServerName
{
get
{
return _opcservername;
}
set
{
_opcservername = value;
}
}
[Description("ˢ<><CBA2>ʱ<EFBFBD><CAB1>"), Category("ˢ<><CBA2>ʱ<EFBFBD><CAB1>")]
public int RefreshTime
{
get
{
return refreshTime;
}
set
{
refreshTime = value;
}
}
[Description("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IP<49><50>ַ"), Category("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IP")]
public string SvrIP
{
get
{
return _opcserverip;
}
set
{
_opcserverip = value;
}
}
}
}