Class IOLineExtensions
Inheritance
System.Object
IOLineExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: XBeeLibrary.Core.IO
Assembly: XBeeLibrary.Core.dll
Syntax
public static class IOLineExtensions
Methods
GetConfigurationATCommand(IOLine)
Gets the configuration AT command associated to the IO line.
Declaration
public static string GetConfigurationATCommand(this IOLine source)
Parameters
Type | Name | Description |
---|---|---|
IOLine | source |
Returns
Type | Description |
---|---|
System.String | The configuration AT command associated to the IO line. |
GetDIO(IOLine, Int32)
Gets the IOLine associated to the given index.
Declaration
public static IOLine GetDIO(this IOLine source, int index)
Parameters
Type | Name | Description |
---|---|---|
IOLine | source | |
System.Int32 | index | The index corresponding to the IOLine to retrieve. |
Returns
Type | Description |
---|---|
IOLine |
GetName(IOLine)
Gets the name of the IO line.
Declaration
public static string GetName(this IOLine source)
Parameters
Type | Name | Description |
---|---|---|
IOLine | source |
Returns
Type | Description |
---|---|
System.String | The name of the IO line. |
GetPWMDutyCycleATCommand(IOLine)
Gets the PWM AT command associated to the IO line.
Declaration
public static string GetPWMDutyCycleATCommand(this IOLine source)
Parameters
Type | Name | Description |
---|---|---|
IOLine | source |
Returns
Type | Description |
---|---|
System.String | The PWM AT command associated to the IO line. |
HasPWMCapability(IOLine)
Indicates whether the IO line has PWM capability.
Declaration
public static bool HasPWMCapability(this IOLine source)
Parameters
Type | Name | Description |
---|---|---|
IOLine | source |
Returns
Type | Description |
---|---|
System.Boolean |
|