1
0
Fork 0
A UWP dashboard which provides live updates for the 'Personal Flash in Real-Time (Andy)' and 'Personal Flash in Real-Time (Tony)' artworks -- part of the 'Return to Ritherdon' project by Nicola Ellis. Documentation can be found at https://git.abbether.net/return-to-ritherdon/rtr-docs/src/branch/master/eyes-and-ears
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

30 lines
707 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Windows.UI;
using Windows.UI.Xaml.Media;
namespace EyesAndEars.UWP.Models {
public class Device {
public int Id { get; set; }
public LightReading LatestReading { get; set; }
public DeviceStatus LatestStatus { get; set; }
public SolidColorBrush StatusColour { get; set; }
public Device() { }
public Device(int id, LightReading reading, DeviceStatus status,
SolidColorBrush colour) {
Id = id;
LatestReading = reading;
LatestStatus = status;
StatusColour = colour;
}
}
}