public FinishingChangeProtocolModeCommand(Protocol protocol, ProtocolMode oldProtocolMode, ProtocolMode newProtocolMode, IExecutionContext context) : base(protocol, oldProtocolMode, newProtocolMode, context) { Description = PKSimConstants.Command.ProtocolModeChangedFrom(oldProtocolMode.ToString(), newProtocolMode.ToString()); }
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); }