Class UnmanagedNative
Static class holding the methods for interfacing to the native Unmanaged API
public static class UnmanagedNative
- Inheritance
-
UnmanagedNative
- Inherited Members
Methods
FeedEnable(double)
Feeds the enable signal with a timeout specified in seconds
public static void FeedEnable(double timeoutSeconds)
Parameters
timeoutSecondsdoubleTime to remain enabled in seconds
GetApiCompliancy()
Gets this API's compliancy version
This is purely used to check compliancy of API against firmware, and if there is a mismatch to report to the user.public static int GetApiCompliancy()
Returns
- int
This API's compliancy version
GetEnableState()
Determines whether this application is currently enabled
public static bool GetEnableState()
Returns
- bool
True when currently enabled, false otherwise
GetPhoenixVersion()
Gets this version of Phoenix
public static Version GetPhoenixVersion()
Returns
- Version
The current version of Phoenix
GetTransmitEnable()
Gets whether the enable frame is being transmit or not
public static bool GetTransmitEnable()
Returns
- bool
True if currently sending enable frame, false if enable frame is prevented from transmitting
LoadPhoenix()
Loads Phoenix.
This happens automatically when using any of the Phoenix APIs, but users may explicitly load Phoenix if they wish.public static void LoadPhoenix()
SetTransmitEnable(bool)
Determines whether the enable frame will be transmit or not.
public static void SetTransmitEnable(bool en)
Parameters
enboolTrue to send enable frame, false to prevent enable from from transmitting