ibms-dome/FrontendWebApi/Models/LightSchedule.cs
2022-10-14 16:08:54 +08:00

51 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FrontendWebApi.Models
{
public class GetDevicePost
{
public string building_guid { get; set; }
public string sub_system_guid { get; set; }
public string floor_guid { get; set; }
public string schedule_guid { get; set; }
}
public class lightDevice
{
public string device_guid { get; set; }
public string full_name { get; set; }
public string device_number { get; set; }
public byte check { get; set; }
}
public class Schedule
{
public string light_schedule_guid { get; set; }
public string full_name { get; set; }
public string week { get; set; }
public byte cycle { get; set; }
public string floor_guid { get; set; }
public string start_time { get; set; }
public string end_time { get; set; }
public byte status { get; set; }
}
public class SaveSchedule : Schedule
{
public List<string> devicelist { get; set; }
}
public class ScheduleTable : Schedule
{
public int devicecount { get; set; }
}
public class listfloors
{
public List<string> Floors { get; set; }
}
}