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

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