public void ListenToServer()
        {
            HCSMSLog.OnWarningLog(this, new NotifyEventArgs("kitchen request subscribe service"));
            callBack = OperationContext.Current.GetCallbackChannel <IKitchenCallBack>();

            OperationContext.Current.Channel.Closing += new EventHandler(Channel_Closing);
            OperationContext.Current.Channel.Faulted += new EventHandler(Channel_Faulted);

            KitchenRequestControl.RegisterService(this);
        }
        public void ListenToServer()
        {
            HCSMSLog.OnWarningLog(this, new NotifyEventArgs("kitchen request subscribe service"));
            callBack = OperationContext.Current.GetCallbackChannel<IKitchenCallBack>();

            OperationContext.Current.Channel.Closing += new EventHandler(Channel_Closing);
            OperationContext.Current.Channel.Faulted += new EventHandler(Channel_Faulted);

            KitchenRequestControl.RegisterService(this);
        }