Class AutomationInterfaceHelpers
Some helper functions for AI.
Inheritance
System.Object
AutomationInterfaceHelpers
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.Helper
Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll (3.25.2208.0)
Syntax
public static class AutomationInterfaceHelpers
Methods
Clone(IEnumerable<ITaskProcessor>)
Clones the specified task processors.
Declaration
public static IReadOnlyCollection<ITaskProcessor> Clone(this IEnumerable<ITaskProcessor> processors)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ITaskProcessor> | processors | The task processors. |
Returns
Type | Description |
---|---|
IReadOnlyCollection<ITaskProcessor> |
Clone(ITaskProcessor)
Clones the specified task processor.
Declaration
public static ITaskProcessor Clone(this ITaskProcessor processor)
Parameters
Type | Name | Description |
---|---|---|
ITaskProcessor | processor | The task processor. |
Returns
Type | Description |
---|---|
ITaskProcessor |
Exceptions
Type | Condition |
---|---|
System.NotImplementedException | If the processor has no clone implementation. |
LogFilePathChecker(String)
Logs the file path checker.
Declaration
public static string LogFilePathChecker(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path. |
Returns
Type | Description |
---|---|
System.String |
ToAttenuation(Attenuator)
Converts to attenuation (from mid-layer).
Declaration
public static Attenuation ToAttenuation(this Attenuator attenuator)
Parameters
Type | Name | Description |
---|---|---|
Attenuator | attenuator | The attenuator. |
Returns
Type | Description |
---|---|
Attenuation | Attenuation (from mid-layer). |
ToAttenuator(Attenuator)
Converts to attenuator.
Declaration
public static Attenuator ToAttenuator(this Attenuator attenuator)
Parameters
Type | Name | Description |
---|---|---|
Attenuator | attenuator | The attenuator which can also be positive. |
Returns
Type | Description |
---|---|
Attenuator | The corrected (negative) Attenuator. |