20240301_JSEQ_upperpc/JiangsuEarthquakeJM/JiangsuEarthquake/Models/SendMessageListModel.cs
春风过客 d7f51483a7 新增功能:
1 将地震仪数据读取功能单独成一个页面;
2024-05-13 18:51:05 +08:00

81 lines
1.6 KiB
C#

using JiangsuEarthquake.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JiangsuEarthquake.Models
{
public class SendMessageListModel : NotifyBase
{
private int id;
public int ID
{
get { return id; }
set { id = value; this.DoNotify(); }
}
private int stationid;
/// <summary>
/// 目标站点ID
/// </summary>
public int StationID
{
get { return stationid; }
set { stationid = value; this.DoNotify(); }
}
private string messagecontent;
/// <summary>
/// 消息内容
/// </summary>
public string MessageContent
{
get { return messagecontent; }
set { messagecontent = value; this.DoNotify(); }
}
private int remindtime;
/// <summary>
/// 剩余时间
/// </summary>
public int RemindTime
{
get { return remindtime; }
set { remindtime = value; this.DoNotify(); }
}
private byte[] message;
/// <summary>
/// 消息
/// </summary>
public byte[] Message
{
get { return message; }
set { message = value; this.DoNotify(); }
}
private string sendstate;
/// <summary>
/// 发送状态
/// </summary>
public string SendState
{
get { return sendstate; }
set { sendstate = value; this.DoNotify(); }
}
}
}