| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- 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<AlarmHistoryEntity> records { get; set; } = new List<AlarmHistoryEntity>();
- 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); }
- /// <summary>
- /// 是否静音 0 否 1 是
- /// </summary>
- public int mute { get; set; }
- }
- }
|