Пример #1
0
        public string ChangeDrill(int drillId)
        {
            if (Bits.Any(bit => bit.DrillBitId == drillId))
            {
                ActiveBit = Bits.FirstOrDefault(bit => bit.DrillBitId == drillId);
            }

            return("Current bit id: " + ActiveBit.DrillBitId);
        }