added StatusCode and ErrorCode to IPlc interface

This commit is contained in:
abenedykt
2014-08-08 20:56:00 +02:00
parent 3d0f4b649d
commit 084ee2fd4e

View File

@@ -1,6 +1,6 @@
using System;
namespace S7
namespace S7.Net.Interfaces
{
public interface IPlc : IDisposable
{
@@ -22,5 +22,7 @@ namespace S7
object Write(DataType dataType, int db, int startByteAdr, object value);
object Write(string variable, object value);
ErrorCode WriteStruct(object structValue, int db);
string LastErrorString { get; }
ErrorCode LastErrorCode { get; }
}
}