2017-02-07 update 1 Add comments and documents.
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
namespace Modbus.Net.OPC
|
||||
{
|
||||
/// <summary>
|
||||
/// Opc协议
|
||||
/// </summary>
|
||||
public abstract class OpcProtocal : BaseProtocal
|
||||
{
|
||||
protected OpcProtocal() : base(0, 0)
|
||||
@@ -9,6 +12,8 @@ namespace Modbus.Net.OPC
|
||||
}
|
||||
}
|
||||
|
||||
#region 读数据
|
||||
|
||||
public class ReadRequestOpcInputStruct : InputStruct
|
||||
{
|
||||
public ReadRequestOpcInputStruct(string tag)
|
||||
@@ -43,6 +48,10 @@ namespace Modbus.Net.OPC
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 写数据
|
||||
|
||||
public class WriteRequestOpcInputStruct : InputStruct
|
||||
{
|
||||
public WriteRequestOpcInputStruct(string tag, object setValue)
|
||||
@@ -82,4 +91,6 @@ namespace Modbus.Net.OPC
|
||||
return new WriteRequestOpcOutputStruct(ans);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user