OpenTAP 9.25
API Reference
Public Member Functions | List of all members
OpenTap.SwitchPosition Class Reference

Represents a specific setting/mode/position of a switch. More...

Inheritance diagram for OpenTap.SwitchPosition:
OpenTap.ViaPoint OpenTap.IConstResourceProperty

Public Member Functions

 SwitchPosition (Instrument device, string name)
 Initializes a new instance of the SwitchPosition class.
 
- Public Member Functions inherited from OpenTap.ViaPoint
override string ToString ()
 Returns a string describing this switch position (string.Format("{0}.{1}", this.Device.Name, this.Name)).
 
override int GetHashCode ()
 Serves as the default hash function.
 
override bool Equals (object obj)
 Determines whether the specified object is equal to the current object.
 
bool Equals (ViaPoint other)
 Determines whether the specified object is equal to the current object.
 

Additional Inherited Members

- Properties inherited from OpenTap.ViaPoint
virtual string Name [getprotected set]
 The name of this state/mode/position in the switch. (Should be unique among ViaPoint objects on the same device/resource).
 
bool IsActive [getset]
 Indicates whether the switch is currently in this position. Should be set by the Device implementation.
 
IResource Device [getset]
 The device (usually an Instrument) on which this switch position exists.
 
- Properties inherited from OpenTap.IConstResourceProperty
IResource Device [get]
 TDevice/resource to which this object belongs.
More...
 
string Name [get]
 Name of this object (should be unique among objects of the same type on the same device/resource).

 

Detailed Description

Represents a specific setting/mode/position of a switch.

OpenTAP 9.25 API built Tue Aug 6 2024 07:49:24