old mode 100644
new mode 100755
| | |
| | | /// ON_LINE(0,"在线"), |
| | | /// OFF_LINE(1,"下线"),; |
| | | /// </summary> |
| | | public string gatewayStatus; |
| | | /// <summary> |
| | | /// 网关是否在线 |
| | | /// </summary> |
| | | public bool GatewayOnline |
| | | { |
| | | get |
| | | { |
| | | if (gatewayStatus == "ON_LINE") |
| | | { |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | public bool gatewayStatus; |
| | | |
| | | ///// <summary> |
| | | ///// |
| | |
| | | /// 推送附加数据 |
| | | /// </summary> |
| | | public string Extras; |
| | | /// <summary> |
| | | /// 信息类型 |
| | | /// </summary> |
| | | public string messageType = ""; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 极光推送消息 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class JPushExpandData |
| | | { |
| | | /// <summary> |
| | | /// 附加内容 |
| | | /// </summary> |
| | | public string expandData; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 极光推送消息 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class ExpandData |
| | | { |
| | | /// <summary> |
| | | /// 附加内容 |
| | | /// </summary> |
| | | public string expantContent; |
| | | /// <summary> |
| | | /// 信息类型 |
| | | /// </summary> |
| | | public string messageType; |
| | | } |
| | | |
| | | //#region 旧接口 |
| | | ///// <summary> |
| | | ///// |