示例#1
0
 public FinishingChangeProtocolModeCommand(Protocol protocol, ProtocolMode oldProtocolMode, ProtocolMode newProtocolMode, IExecutionContext context) : base(protocol, oldProtocolMode, newProtocolMode, context)
 {
     Description = PKSimConstants.Command.ProtocolModeChangedFrom(oldProtocolMode.ToString(), newProtocolMode.ToString());
 }
示例#2
0
 public SetProtocolModeCommand(Protocol protocol, ProtocolMode oldProtocolMode, ProtocolMode newProtocolMode, IExecutionContext context)
 {
     _protocol        = protocol;
     _oldProtocolMode = oldProtocolMode;
     _newProtocolMode = newProtocolMode;
     ObjectType       = PKSimConstants.ObjectTypes.AdministrationProtocol;
     CommandType      = PKSimConstants.Command.CommandTypeEdit;
     Description      = PKSimConstants.Command.SetProtocolModeCommandDescription(oldProtocolMode.ToString(), newProtocolMode.ToString());
     context.UpdateBuildinBlockProperties(this, _protocol);
 }