public override bool Equals(Condition other)
        {
            OutputSignalsPropertyCondition ot = other as OutputSignalsPropertyCondition;

            if (ot == null)
            {
                return(false);
            }
            return(_propertyType.Equals(ot._propertyType) && _mode.Equals(ot._mode));
        }
Beispiel #2
0
        public override bool Equals(Condition other)
        {
            InputSignalsFlagCondition ot = other as InputSignalsFlagCondition;

            if (ot == null)
            {
                return(false);
            }
            return(_flag.Equals(ot._flag) && (_state == ot._state) && _mode.Equals(ot._mode));
        }