Represent a device placed on a circuit
Actual devices (Resistor, Inductor...) inherits from this class.
|Circuit containing the device
|True if the device is deprecated and should not be used anymore.
|True if the device is disabled.
Disabled devices are not simulated.
|Device Footprint (In the design coordinate system). Takes into account device rotation.
|True if the device is flipped horizontally
|Device ID. Unique per device.
|Name of the item in the library.
|Device Name. Ex: D1
The name is set by the Object Namer but can be changed by the user.
|List of Device Pins
|Angle in degree. clockwise. Use the Move method to move the device.
|List of Device Scopes
|Height (In the design coordinate system , when the rotation angle is 0)
|Distance to the left (In the design coordinate system) Use the Move method to move the device.
|Distance to the top (In the design coordinate system) Use the Move method to move the device.
|Width (In the design coordinate system, when the rotation angle is 0)
|True if the device is flipped vertically
|CanMove(int, int, int, bool, bool, IList
|Return true if the emplacement at the newLocation is free.
|Flip the device on an horizontal axis
|Move(int, int, int, bool, bool)
|Move the device to the new location.
Does not maintain the current connections
Return false if the device is not moved
|Rotate the device of 90° to the Left
|Rotate the device of 90° to the right
|Return true if the type and the footprint are equal
|Color the device with the default colors of the given type.
|Flip the device on a vertical axis