mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Added string value to register base for viewmodel support
- counted up version number
This commit is contained in:
@@ -30,6 +30,12 @@ namespace Examples {
|
||||
//reading a value from the register collection
|
||||
Console.WriteLine($"BitValue is: {registers.BitValue}");
|
||||
|
||||
interf.GetRegister(nameof(registers.TestInt16)).PropertyChanged += (s, e) => {
|
||||
Console.ForegroundColor = ConsoleColor.Green;
|
||||
Console.WriteLine(interf.GetRegister(nameof(registers.TestInt16)).StringValue);
|
||||
Console.ResetColor();
|
||||
};
|
||||
|
||||
//writing a value to the registers
|
||||
Task.Factory.StartNew(async () => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user