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; } }
protected void CallProxyActionEvent(ProxyEventEnum action) => ProxyActionEvent?.Invoke(action);
public void Notify(ProxyEventEnum action) { #warning do something here ???????????????? return; }