Craig Oates
4 years ago
7 changed files with 28 additions and 48 deletions
@ -1,19 +0,0 @@
|
||||
namespace EyesAndEars.UWP.Models { |
||||
public class FactoryDevice { |
||||
|
||||
public int Id { get; set; } |
||||
|
||||
public LightReading LatestReading { get; set; } |
||||
|
||||
public DeviceStatus LatestStatus { get; set; } |
||||
|
||||
public FactoryDevice() { } |
||||
|
||||
public FactoryDevice(int id, LightReading reading, DeviceStatus status) { |
||||
Id = id; |
||||
LatestReading = reading; |
||||
LatestStatus = status; |
||||
} |
||||
|
||||
} |
||||
} |
@ -1,15 +0,0 @@
|
||||
namespace EyesAndEars.UWP.Models { |
||||
public class GalleryDevice { |
||||
|
||||
public readonly int Id; |
||||
|
||||
public readonly DeviceStatus LatestStatus; |
||||
|
||||
public GalleryDevice() { } |
||||
|
||||
public GalleryDevice(int id, DeviceStatus status) { |
||||
Id = id; |
||||
LatestStatus = status; |
||||
} |
||||
} |
||||
} |
Reference in new issue