/// <summary> /// The designated constructor for the <see cref="LinearStateEstimator.Measurements.BreakerStatus"/> class which uses the properties required by the <see cref="LinearStateEstimator.Modeling.INetworkDescribable"/> interface as well as the <see cref="LinearStateEstimator.Measurements.BreakerStatus.Key"/>, the <see cref="LinearStateEstimator.Measurements.BreakerStatusBit"/>, and the <see cref="LinearStateEstimator.Modeling.SwitchingDeviceBase.InternalID"/> of the parent <see cref="LinearStateEstimator.Modeling.CircuitBreaker"/>. /// </summary> /// <param name="internalID">A unique integer identifier for each <see cref="LinearStateEstimator.Measurements.BreakerStatus"/>.</param> /// <param name="number">A descriptive number for the <see cref="LinearStateEstimator.Measurements.BreakerStatus"/>.</param> /// <param name="name">A descriptive name for the <see cref="LinearStateEstimator.Measurements.BreakerStatus"/>.</param> /// <param name="description">A description of the <see cref="LinearStateEstimator.Measurements.BreakerStatus"/>.</param> /// <param name="inputMeasurementKey">The openPDC input measurement key for the digital measurement containing the breaker statuses.</param> /// <param name="bitPosition">The bit position of the breaker status inside the digital measurement /// specified by the <see cref="LinearStateEstimator.Measurements.BreakerStatusBit"/> enumeration. This parameter /// is specified in the network configuration files using '<b>PSV58</b>', /// '<b>PSV59'</b>, '<b>PSV60'</b>, '<b>PSV61</b>', '<b>PSV62</b>', /// '<b>PSV63</b>', or '<b>PSV64</b>'.</param> /// <param name="parentCircuitBreakerID">The <see cref="LinearStateEstimator.Modeling.SwitchingDeviceBase.InternalID"/> of the parent <see cref="CircuitBreaker"/>.</param> public BreakerStatus(int internalID, int number, string name, string description, string inputMeasurementKey, BreakerStatusBit bitPosition, int parentCircuitBreakerID) { m_internalID = internalID; m_number = number; m_name = name; m_description = description; m_inputMeasurementKey = inputMeasurementKey; m_bitPosition = bitPosition; m_parentCircuitBreakerID = parentCircuitBreakerID; }
/// <summary> /// A constructor for the <see cref="LinearStateEstimator.Measurements.BreakerStatus"/> class which uses the properties required by the <see cref="LinearStateEstimator.Modeling.INetworkDescribable"/> interface as well as the <see cref="LinearStateEstimator.Measurements.BreakerStatus.Key"/> and the <see cref="LinearStateEstimator.Measurements.BreakerStatusBit"/>. /// </summary> /// <param name="internalID">A unique integer identifier for each <see cref="LinearStateEstimator.Measurements.BreakerStatus"/>.</param> /// <param name="number">A descriptive number for the <see cref="LinearStateEstimator.Measurements.BreakerStatus"/>.</param> /// <param name="name">A descriptive name for the <see cref="LinearStateEstimator.Measurements.BreakerStatus"/>.</param> /// <param name="description">A description of the <see cref="LinearStateEstimator.Measurements.BreakerStatus"/>.</param> /// <param name="inputMeasurementKey">The openPDC input measurement key for the digital measurement containing the breaker statuses.</param> /// <param name="bitPosition">The bit position of the breaker status inside the digital measurement /// specified by the <see cref="LinearStateEstimator.Measurements.BreakerStatusBit"/> enumeration. This parameter /// is specified in the network configuration files using '<b>PSV58</b>', /// '<b>PSV59'</b>, '<b>PSV60'</b>, '<b>PSV61</b>', '<b>PSV62</b>', /// '<b>PSV63</b>', or '<b>PSV64</b>'.</param> public BreakerStatus(int internalID, int number, string name, string description, string inputMeasurementKey, BreakerStatusBit bitPosition) : this(internalID, number, name, description, inputMeasurementKey, bitPosition, 0) { }