Exemplo n.º 1
0
        public void AddTrip(int index, UlTripState trip)
        {
            if (Type == EAxtDio.DO)
            {
                throw new AxtException("Occurred adding trip exception to DO in AxtDio");
            }

            CheckRange(index);
            trips.Add(index, trip);
        }
Exemplo n.º 2
0
        public void AddTrip(string name, UlTripState trip)
        {
            if (Type == EAxtDio.DO)
            {
                throw new AxtException("Occurred adding trip exception to DO in AxtDio");
            }

            int index = nowValue.TagIndex(name);

            CheckRange(index);
            trips.Add(index, trip);
        }