mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-17 12:12:51 +00:00
Add WriteToBuffer and unify supported types
This commit is contained in:
@@ -12,4 +12,6 @@ internal class S7VariableAddress
|
||||
public ushort Length { get; set; }
|
||||
public byte Bit { get; set; }
|
||||
public DbType Type { get; set; }
|
||||
|
||||
public ushort BufferLength => Type == DbType.String ? (ushort)(Length + 2) : Length;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user