Newer
Older
SensorHub / SensorHub.Lamphouse / LamphouseDatasJson.cs
root on 17 Sep 2021 560 bytes first commit
using SensorHub.Servers.JsonFormat;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SensorHub.Lamphouse
{
    public class LamphouseDatasJson : DatasJson
    {
        public float electricity { get; set; }
        public float voltage { get; set; }  

        public LamphouseDatasJson(string uptime, float electricity, float voltage)
        {
            this.uptime = uptime;
            this.electricity = electricity;
            this.voltage = voltage;
        }
    }
}