2017-02-07 update 1 Add comments and documents.

This commit is contained in:
parallelbgls
2017-02-07 17:15:05 +08:00
parent 0d19567038
commit ff81e4aa09
34 changed files with 463 additions and 16 deletions

View File

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