//微信請求類 public class RequestXML { private string toUserName; /// <summary> /// 消息接收方微信號,通常爲公衆平臺帳號微信號 /// </summary> public string ToUserName { get { return toUserName; } set { toUserName = value; } } private string fromUserName; /// <summary> /// 消息發送方微信號 /// </summary> public string FromUserName { get { return fromUserName; } set { fromUserName = value; } } private string createTime; /// <summary> /// 建立時間 /// </summary> public string CreateTime { get { return createTime; } set { createTime = value; } } private string msgType; /// <summary> /// 信息類型 地理位置:location,文本消息:text,消息類型:image /// </summary> public string MsgType { get { return msgType; } set { msgType = value; } } private string content; /// <summary> /// 信息內容 /// </summary> public string Content { get { return content; } set { content = value; } } private string location_X; /// <summary> /// 地理位置緯度 /// </summary> public string Location_X { get { return location_X; } set { location_X = value; } } private string location_Y; /// <summary> /// 地理位置經度 /// </summary> public string Location_Y { get { return location_Y; } set { location_Y = value; } } private string scale; /// <summary> /// 地圖縮放大小 /// </summary> public string Scale { get { return scale; } set { scale = value; } } private string label; /// <summary> /// 地理位置信息 /// </summary> public string Label { get { return label; } set { label = value; } } private string picUrl; /// <summary> /// 圖片連接,開發者能夠用HTTP GET獲取 /// </summary> public string PicUrl { get { return picUrl; } set { picUrl = value; } } private string wEvent; /// <summary> /// 圖片連接,開發者能夠用HTTP GET獲取 /// </summary> public string WEvent { get { return wEvent; } set { wEvent = value; } } private string wKey; /// <summary> /// 圖片連接,開發者能夠用HTTP GET獲取 /// </summary> public string WKey { get { return wKey; } set { wKey = value; } } }