You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
747 B
C#
32 lines
747 B
C#
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Txgy.EWS.Client.PageModule.Models
|
|
{
|
|
[JsonObject("student")]
|
|
public class AlarmLevelModel
|
|
{
|
|
[JsonProperty("level")]
|
|
public int Level { get; set; }
|
|
[JsonProperty("maxenergy")]
|
|
public double MaxEnergy { get; set; }
|
|
[JsonProperty("minenergy")]
|
|
public double MinEnergy { get; set; }
|
|
[JsonProperty("color")]
|
|
public string ColorStr { get; set; }
|
|
public AlarmLevelModel()
|
|
{
|
|
|
|
}
|
|
//public AlarmLevelModel(JToken obj)
|
|
//{
|
|
// Level
|
|
//}
|
|
}
|
|
}
|