public override IOController NewIOController(string controlident)
 {
     controlident = controlident.ToUpper();
     if (AllIOs.Exists(x => x.ControlIdent == controlident))
     {
         throw new Exception("An IOController with this controlident allready exitst!");
     }
     AerotechIOController a = new AerotechIOController(controlident);
     AllIOs.Add(a);
     return a;
 }
Beispiel #2
0
        public override IOController NewIOController(string controlident)
        {
            controlident = controlident.ToUpper();
            if (AllIOs.Exists(x => x.ControlIdent == controlident))
            {
                throw new Exception("An IOController with this controlident allready exitst!");
            }
            AerotechIOController a = new AerotechIOController(controlident);

            AllIOs.Add(a);
            return(a);
        }