A Connection that has an RF cable loss parameter.
More...
|
| RfConnection () |
| Initializes a new instance of the RfConnection class.
|
|
double | GetInterpolatedCableLoss (double frequency) |
| Given a particular frequency, an interpolated CableLoss value is returned, based on CableLoss values at the two closest frequencies. If exact frequency is defined, that CableLoss value will be returned. More...
|
|
| Connection () |
| Initializes a new instance of the Connection class.
|
|
Port | GetOtherPort (Port p) |
| Returns the other port when given either Port1 or Port2.
|
|
override string | ToString () |
| Returns a string representation of this connection which names the ports in each end.
|
|
void | OnPropertyChanged (string propertyName) |
| Triggers the PropertyChanged event. More...
|
|
|
List< CableLossPoint > | CableLoss [getset] |
| The cable loss in dB between the two ports.
|
|
string | Name [getset] |
| A name for the connection to be displayed in the user interface.
|
|
Port | Port1 [getset] |
| The port at the first end of the connection.
|
|
Port | Port2 [getset] |
| The port at the second end of the connection.
|
|
List< ViaPoint > | Via [getset] |
| Gets the list of ViaPoints that this connection goes through.
|
|
bool | IsActive [get] |
| Returns true when a connection going through one or more switches (set using the Via property) is "Active" (all switches are in the correct position).
|
|
ValidationRuleCollection | Rules [get] |
| All the validation rules. Add new rules to this in order to get runtime value validation.
|
|
string | Error [get] |
| Gets the error messages for each invalid rule and joins them with a newline.
|
|
ValidationRuleCollection | Rules [get] |
| A collection of all the currently defined validation rules. Add new rules here in order to get runtime value validation.
|
|
|
virtual string | GetError (string propertyName=null) |
| Return the error for a given property
|
|
void | ThrowOnValidationError (bool ignoreDisabledProperties) |
| Checks all validation rules on this object (Rules) and throws an AggregateException on errors. More...
|
|
PropertyChangedEventHandler | PropertyChanged |
| Standard PropertyChanged event object.
|
|
A Connection that has an RF cable loss parameter.
◆ GetInterpolatedCableLoss()
double OpenTap.RfConnection.GetInterpolatedCableLoss |
( |
double |
frequency | ) |
|
|
inline |
Given a particular frequency, an interpolated CableLoss value is returned, based on CableLoss values at the two closest frequencies. If exact frequency is defined, that CableLoss value will be returned.
- Parameters
-
- Returns