81 lines
1.6 KiB
C#
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(); }
|
|
}
|
|
}
|
|
}
|