-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
For 👍
/// <summary>
/// <c>DeviceType</c> enum
/// </summary>
public enum DeviceType { sensor, display, actuator, serial, other, inputdevice }
/// <summary>
/// Device object
/// </summary>
public class Device
{
/// <summary>
/// Device Type enum
/// </summary>
public DeviceType DeviceType { get; set; }
/// <summary>
/// Device Id
/// </summary>
public int DeviceId { get; set; }
```
When Device object is used, DeviceType, the enum, shows as string type:

Metadata
Metadata
Assignees
Labels
No labels