Class ATCommandStatusExtensions
Inheritance
System.Object
ATCommandStatusExtensions
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.Models
Assembly: XBeeLibrary.Core.dll
Syntax
public static class ATCommandStatusExtensions
Methods
Get(ATCommandStatus, Byte)
Gest the ATCommandStatus associated to the specified id
.
Declaration
public static ATCommandStatus Get(this ATCommandStatus source, byte id)
Parameters
Type | Name | Description |
---|---|---|
ATCommandStatus | source | |
System.Byte | id | Id to retrieve the corresponding |
Returns
Type | Description |
---|---|
ATCommandStatus | The ATCommandStatus associated to the specified |
GetDescription(ATCommandStatus)
Gets the AT Command Status description.
Declaration
public static string GetDescription(this ATCommandStatus source)
Parameters
Type | Name | Description |
---|---|---|
ATCommandStatus | source |
Returns
Type | Description |
---|---|
System.String | The AT Command Status description. |
GetId(ATCommandStatus)
Gets the AT Command Status ID.
Declaration
public static byte GetId(this ATCommandStatus source)
Parameters
Type | Name | Description |
---|---|---|
ATCommandStatus | source |
Returns
Type | Description |
---|---|
System.Byte | The AT Command Status ID. |
ToDisplayString(ATCommandStatus)
Returns the ATCommandStatus in string format.
Declaration
public static string ToDisplayString(this ATCommandStatus source)
Parameters
Type | Name | Description |
---|---|---|
ATCommandStatus | source |
Returns
Type | Description |
---|---|
System.String | The ATCommandStatus in string format. |