public void PrintText(List<string> messages)
 {
     PrintText pt = new PrintText();
     pt.Messages = messages;
     Send("/PrintText", pt);
 }
 public void PrintText(List<string> messages)
 {
     if (websocket != null)
     {
         PrintTextRequestMessage message = new PrintTextRequestMessage();
         PrintText pt = new PrintText();
         pt.Messages = messages;
         message.payload = pt;
         websocket.Send(JsonUtils.serialize(message));
     }
 }