fix 调试大华设备对接
This commit is contained in:
@@ -9,13 +9,19 @@ public class TimePeriodToDeviceResponse
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期
|
||||
/// </summary>
|
||||
public List<DayOfWeek> Weeks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时段区间
|
||||
/// 时段名称
|
||||
/// </summary>
|
||||
public TimePeriod TimePeriod { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 使能
|
||||
/// </summary>
|
||||
public bool Enable { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 星期时段
|
||||
/// </summary>
|
||||
public List<TimePeriodWeekDaySection> Sections { get; set; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using Kurisu.Core.CustomClass;
|
||||
|
||||
namespace Dlhis.ScheduledTask.TaskAssignment.Response;
|
||||
|
||||
public class TimePeriodWeekDaySection
|
||||
{
|
||||
/// <summary>
|
||||
/// 星期
|
||||
/// </summary>
|
||||
public DayOfWeek DayOfWeek { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时段区间 最多4个
|
||||
/// </summary>
|
||||
public List<TimePeriod> TimePeriods { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using Kurisu.Core.CustomClass;
|
||||
|
||||
namespace Dlhis.ScheduledTask.TaskAssignment.Response;
|
||||
|
||||
public class UploadRecordToDeviceResponse
|
||||
{
|
||||
public DateTimePeriod DateTimePeriod { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user