private void update(SourcesSupplyState state) { UpdateSourceState(0, state.S12); UpdateSourceState(1, state.S48); UpdateSourceState(2, state.S8_1); UpdateSourceState(3, state.S8_2); UpdateSourceState(4, state.S6_1); UpdateSourceState(5, state.S6_2); }
private void OnUpdateSourcesState(SourcesSupplyState sourcesState) { state_ = sourcesState; //powerStateGrid.Invoke(new Action(() => update(sourcesState))); }