Beispiel #1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="request"></param>
        public ISMessage(IRMessage model)
        {
            this.ToUserName   = model.FromUserName;
            this.FromUserName = model.ToUserName;
            TimeSpan ts = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0);

            this.CreateTime = Convert.ToInt32(ts.TotalSeconds);
        }
 /// <summary>
 /// 构造函数调用父类的
 /// </summary>
 public NewsRespone(IRMessage model) : base(model)
 {
 }
 /// <summary>
 /// 构造函数调用父类的
 /// </summary>
 public TextRespone(IRMessage model) : base(model)
 {
 }