public PacketLogModel(ICommService logReceiveServer) { textLog = new List <string>(); tagInfo = new TagInfo(); commService = logReceiveServer; commService.Received += this.OnReceived; _ = commService.ConnectAsync(); }