Show / Hide Table of Contents

Class Parameters

Base parameters for a switch.

Inheritance
object
ParameterSet
ParameterSet<Parameters>
Parameters
Implements
ICloneable<Parameters>
IImportParameterSet<bool>
IImportParameterSet<double>
IExportPropertySet<double>
IParameterSet
Inherited Members
ParameterSet<Parameters>.Clone()
ParameterSet.SetParameter<P>(string, P)
ParameterSet.TrySetParameter<P>(string, P)
ParameterSet.GetProperty<P>(string)
ParameterSet.TryGetProperty<P>(string, out P)
ParameterSet.CreateParameterSetter<P>(string)
ParameterSet.CreatePropertyGetter<P>(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SpiceSharp.Components.Switches
Assembly: SpiceSharp.dll
Syntax
public class Parameters : ParameterSet<Parameters>, ICloneable<Parameters>, IImportParameterSet<bool>, IImportParameterSet<double>, IExportPropertySet<double>, IParameterSet

Properties

ParallelMultiplier

Gets or sets the multiplier.

Declaration
[ParameterName("m")]
[ParameterInfo("The parallel multiplier")]
[GreaterThan(0)]
[Finite]
public double ParallelMultiplier { get; set; }
Property Value
Type Description
double

ZeroState

Gets or sets initial state.

Declaration
public bool ZeroState { get; set; }
Property Value
Type Description
bool

true if the switch is initially on; otherwise, false.

Methods

SetZeroStateOff(bool)

Sets the switch initially to non-conducting.

Declaration
[ParameterName("off")]
[ParameterInfo("Initially open")]
public void SetZeroStateOff(bool flag)
Parameters
Type Name Description
bool flag

If true, the switch will be initially off.

SetZeroStateOn(bool)

Sets the switch initially to conducting.

Declaration
[ParameterName("on")]
[ParameterInfo("Initially closed")]
public void SetZeroStateOn(bool flag)
Parameters
Type Name Description
bool flag

If true, the switch will be initially on.

Implements

ICloneable<T>
IImportParameterSet<P>
IImportParameterSet<P>
IExportPropertySet<P>
IParameterSet

Extension Methods

Utility.ThrowIfNull<T>(T, string)
Documentation.ParameterValues<T>(IParameterSet, bool)
Documentation.Parameters(IParameterSet)

See Also

ParameterSet
In this article
Back to top Generated by DocFX