ibms-dome/FrontendWebApi/Models/LightSchedule.cs

58 lines
1.5 KiB
C#
Raw Normal View History

2022-10-14 16:08:54 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FrontendWebApi.Models
{
public class GetDevicePost
{
public string building_tag { get; set; }
public string sub_system_tag { get; set; }
2022-10-14 16:08:54 +08:00
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 List<string> changeNames { get; set; } = new List<string>();
2022-10-14 16:08:54 +08:00
}
public class ScheduleTable : Schedule
{
public int devicecount { get; set; }
}
public class listfloors
{
public List<string> Floors { get; set; }
}
public class ScheduleDevice
{
public int Id { get; set; }
public string light_schedule_guid { get; set; }
public string device_guid { get; set; }
2022-10-14 16:08:54 +08:00
}
2022-10-14 16:08:54 +08:00
}