/// <summary> /// Send a served order to the elevator, so that it will be /// able to react appropriately (button lights etc) /// </summary> public void SendServed(Order served) { while (m_orders.Remove(served)) { ; } SendData(Datagram.CreateServed(served)); }
/// <summary> /// Sends to the dispatcher an order that has just been served /// </summary> public void SendServed(Order served) { SendData(Datagram.CreateServed(served)); }