mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 22:38:27 +08:00
added StatusCode and ErrorCode to IPlc interface
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user