private void SendCoordinateAfterTime(object sender, ElapsedEventArgs e) { var cloneStroke = CurrentPath.DeepCopy(); if (string.IsNullOrEmpty(cloneStroke.ID)) { return; } WebSocket.Instance.CreateStroke(cloneStroke); CurrentPath.Coordinates.Clear(); }