private void RaiseProcessStatusesChangedEvent(IEnumerable <DTOProcessStatus> processStatuses)
 {
     ProcessStatusesChanged?.Invoke(this, new ProcessStatusesEventArgs(processStatuses.Select(x => x.FromDTO(Machine)).ToList()));
 }
Пример #2
0
 private void RaiseProcessStatusesChangedEvent(List <ProcessStatus> processStatuses)
 {
     ProcessStatusesChanged?.Invoke(this, new ProcessStatusesEventArgs(processStatuses, _processStatusListeners.Where(x => x.Value).Select(x => x.Key).ToArray()));
 }