EitherTypeConverter<T> class
- Inheritance
-
- Object
- TypeConverter<
T> - DiscreteTypeConverter<
T> - EitherTypeConverter
Constructors
- EitherTypeConverter(T offValue, T onValue)
-
const
Properties
Methods
-
canRead(
Type type, Register registerType, int address) → bool -
inherited
-
canWrite(
Type type, int address) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
RawReadCallback< List< readRaw) → Future<bool?> >T> -
override
-
readFromClient(
ModbusClient client, Register registerType, int address) → Future< T> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
T value, RawWriteCallback< bool> writeSingle, RawWriteCallback<List< writeMultiple) → Future<bool> >void> -
override
-
writeToClient(
ModbusClient client, int address, T value) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited