Beispiel #1
0
        public static JKTrigger operator |(JKTrigger x, JKTrigger y)
        {
            JKTrigger result = new JKTrigger
            {
                JInput = x.JInput | x.KInput
            };

            return(result);
        }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            JKTrigger o = (JKTrigger)obj;

            if (Identificator == o.Identificator && ((JInput && o.JInput) || (KInput && o.KInput)))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Beispiel #3
0
        public JKTrigger DeepCopy()
        {
            JKTrigger result = new JKTrigger(this.Identificator, this.JInput, this.KInput);

            return(result);
        }