Add register for basic DM endpoints to constructor stage due to requirement they are registered before parent devices.

This commit is contained in:
Alex Johnson
2023-02-08 20:59:30 -05:00
parent 8cc6cfafe9
commit cef29af1ba
5 changed files with 11 additions and 1 deletions

View File

@@ -52,6 +52,9 @@ namespace PepperDash.Essentials.DM
IsOnline.SetValueFunc(() => controller.InputEndpointOnlineFeedbacks[num].BoolValue);
controller.InputEndpointOnlineFeedbacks[num].OutputChange += (o, a) => IsOnline.FireUpdate();
}
PreventRegistration = true;
tx.Register();
}
#region IRoutingInputs Members