using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MoviconHub.App.Models { /// /// WebSocket连接事件参数 /// public class WebSocketConnectEventArgs : EventArgs { /// /// 服务器地址 /// public string ServerAddress { get; set; } /// /// 服务器端口 /// public int ServerPort { get; set; } /// /// 是否是重新连接 /// public bool IsReconnection { get; set; } /// /// 连接时间 /// public DateTime ConnectTime { get; set; } = DateTime.Now; } }