Exemplo n.º 1
0
        public void LineItemAddedToDisplayOrder(DisplayOrder order, DisplayLineItem lineItem)
        {
            LineItemAddedToDisplayOrder dolia = new LineItemAddedToDisplayOrder();

            dolia.DisplayOrder    = order;
            dolia.DisplayLineItem = lineItem;
            Send("/LineItemAddedToDisplayOrder", dolia);
        }
 public void LineItemAddedToDisplayOrder(DisplayOrder order, DisplayLineItem lineItem)
 {
     if (websocket != null)
     {
         LineItemAddedToDisplayOrderRequestMessage message = new LineItemAddedToDisplayOrderRequestMessage();
         LineItemAddedToDisplayOrder payload = new LineItemAddedToDisplayOrder();
         payload.DisplayLineItem = lineItem;
         payload.DisplayOrder    = order;
         message.payload         = payload;
         websocket.Send(JsonUtils.serialize(message));
     }
 }