Exemplo n.º 1
0
 public TransmissionItem Process(ModelingMode modelingMode)
 {
     _transmissionItem = new TransmissionItem(Params.Phase0, Params.Phase1);
     var e = new SimpleProtocolEventArgs(_transmissionItem, modelingMode);
     AllInOneDevice.ProcessForward(e);
     Started(this, e);
     return _transmissionItem;
 }
Exemplo n.º 2
0
 public RunCommand(
     SimpleProtocolAct protocolAct,
     ObservableCollection<TransmissionItem> transmissionItems,
     ModelingMode modelingMode, 
     int repeatCount)
 {
     _protocolAct = protocolAct;
     _protocolAct.Finished += ProtocolActFinished;
     _transmissionItems = transmissionItems;
     _modelingMode = modelingMode;
     _repeatCount = repeatCount;
 }
Exemplo n.º 3
0
 public SimpleProtocolEventArgs(TransmissionItem item, ModelingMode modelingMode)
 {
     Item = item;
     ModelingMode = modelingMode;
 }