using CommunityToolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ivf_tl_Entity { public class AlarmHistoryResult { public List records { get; set; } = new List(); public int total { get; set; } public bool IsSuccess { get; set; } = true; } public class AlarmHistoryEntity : ObservableObject { public int num { get; set; } public string fayuTime { get; set; } = "---"; public string alarmState { get; set; } = "结束报警"; public string alarmContent { get; set; } public string tlName { get; set; } public long id { get; set; } private string _tlSn; public string tlSn { get => _tlSn; set => SetProperty(ref _tlSn, value); } private int _wellSn; public int wellSn { get => _wellSn; set => SetProperty(ref _wellSn, value); } private int _houseSn; public int houseSn { get => _houseSn; set => SetProperty(ref _houseSn, value); } private int _alarmTypeId; public int alarmTypeId { get => _alarmTypeId; set => SetProperty(ref _alarmTypeId, value); } private string _alarmKey; public string alarmKey { get => _alarmKey; set => SetProperty(ref _alarmKey, value); } private string _title; public string title { get => _title; set => SetProperty(ref _title, value); } private string _text; public string text { get => _text; set => SetProperty(ref _text, value); } private string _textDetail; public string textDetail { get => _textDetail; set => SetProperty(ref _textDetail, value); } private string _startTime; public string startTime { get => _startTime; set => SetProperty(ref _startTime, value); } private string _endTime = "---"; public string endTime { get => _endTime; set => SetProperty(ref _endTime, value); } private int _type; public int type { get => _type; set => SetProperty(ref _type, value); } /// /// 是否静音 0 否 1 是 /// public int mute { get; set; } } }