Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TuyaDeviceStatus.cs - github.com/ClusterM/tuyanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6d4ecff6f1a57baef878d29783682667400525de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Newtonsoft.Json;

namespace com.clusterrr.TuyaNet
{
    /// <summary>
    /// Currect device status.
    /// </summary>
    public class TuyaDeviceStatus
    {
        /// <summary>
        /// DPS number
        /// </summary>
        [JsonProperty("code")]
        public string Code { get; set; }

        /// <summary>
        /// DPS value.
        /// </summary>
        [JsonProperty("value")]
        public object Value { get; set; }
    }
}