public static void UpdatePreviewExecutionStateValues(ExecutionStateValues stateValues)
 {
     if (_visualizerViewModel != null)
     {
         _visualizerViewModel.UpdateExecutionStateValues(stateValues);
     }
 }
 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);
     }
 }
        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);
 }
예제 #6
0
 private static void ExecutionValuesChanged(ExecutionStateValues stateValues)
 {
     ViewManager.UpdatePreviewExecutionStateValues(stateValues);
 }