using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wayne.Lib.StateEngine;
using Wayne.Lib.StateEngine.Generic;

namespace SinochemInternetPlusApp.States
{
    public class Error : PseudoState<FuelingPoint>
    {
        protected override Transition CreatePseudoStateTransition(StateEntry stateEntry)
        {
            Main.CurrentEpsTrx?.UpdateTrxStatusToDb(EpsTrxStatus.Removed);

            return new Transition(this, TransitionType.Error);
        }

    }
}