public async Task ReInitialize() { foreach (var item in _store.All()) { await item.OnReinit(); } }
private void ValueDispatched(IDispatchable dispatchable, object o, Guid to) { foreach (var node in _driverNodesStore.All()) { if (node.Id == to) { try { SystemLogger.Instance.LogDebug( $"ValueDispatched: {dispatchable.Name} write value {o} to {node.Name}-{node.Id}"); node.WriteValue(dispatchable, o); } catch (Exception e) { SystemLogger.Instance.LogError(e, $"Error writing value ({o}) to {dispatchable.Name}"); } } } }