public SimpleProtocolViewModel()
 {
     ProtocolAct = new SimpleProtocolAct();
     TransmissionItems = new ObservableCollection<TransmissionItem>();
     ModelingMode = ModelingMode.Random;
     RepeatCount = 1;
 }
Example #2
0
 public RunCommand(
     SimpleProtocolAct protocolAct,
     ObservableCollection<TransmissionItem> transmissionItems,
     ModelingMode modelingMode, 
     int repeatCount)
 {
     _protocolAct = protocolAct;
     _protocolAct.Finished += ProtocolActFinished;
     _transmissionItems = transmissionItems;
     _modelingMode = modelingMode;
     _repeatCount = repeatCount;
 }