using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CartActivator;
using FundamentalLib;
using MDCSToolBox.Medulla.Chassis;
using MDCSToolBox.Medulla.Chassis.MultiWheel;

namespace MedullaAdapter
{
    public class AlarmRoutine : MultiWheelAlarmRoutine<DiverCartDefinition>
    {
        public override void SetOtherAlarms()
        {
            AddAlarm("左夹臂驱动报警", 2, () => cart.LeftArmErrorCode != 0);
            AddAlarm("右夹臂驱动报警", 2, () => cart.RightArmErrorCode != 0);
            //AddAlarm("夹臂不同步报警", 2, () => cart.ClampOutOfSync);
        }
    }
}
