public static void UpdatePreviewExecutionStateValues(ExecutionStateValues stateValues) { if (_visualizerViewModel != null) { _visualizerViewModel.UpdateExecutionStateValues(stateValues); } }
public void UpdateExecutionStateValues(ExecutionStateValues stateValues) { var colorsByChannel = RGBModule.MapChannelCommandsToColors(stateValues).ToMediaColor(); foreach (var displayItem in DataModel.DisplayItems) { displayItem.UpdateChannelColors(colorsByChannel); } }
private static void ExecutionValuesChanged(ExecutionStateValues stateValues) { ViewManager.UpdatePreviewExecutionStateValues(stateValues); }