示例#1
0
        public void Notify(ProxyEventEnum action)
        {
#warning mover os logs para ca ou para o hub (TIRAR DOS STATES)
            switch (action)
            {
            case ProxyEventEnum.OrderReady:
                Dashboard.Sgt.LogAsync($"{_owner.Info.UniqueName} finished an order of {_orderUnderProcessing.RecipeName} (ref: {_orderUnderProcessing.Reference}).");
                _emailSender.SendMailOrderReadyAsync(_orderUnderProcessing);
                _orderUnderProcessing = null;
                return;

            default:
                return;
            }
        }
示例#2
0
 protected void CallProxyActionEvent(ProxyEventEnum action) => ProxyActionEvent?.Invoke(action);
示例#3
0
        public void Notify(ProxyEventEnum action)
        {
#warning do something here ????????????????
            return;
        }