1 /* 2 * Copyright © 2016 Greg Chabala 3 * 4 * This file is part of brick-control-lab. 5 * 6 * brick-control-lab is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU Lesser General Public License as 8 * published by the Free Software Foundation, either version 3 of the 9 * License, or (at your option) any later version. 10 * 11 * brick-control-lab is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public License 17 * along with brick-control-lab. If not, see http://www.gnu.org/licenses/. 18 */ 19 package org.chabala.brick.controllab; 20 21 /** 22 * Identifiers for the type of sensor allowed on a particular input port. 23 */ 24 public enum InputType { 25 /** 26 * Passive inputs read the resistence of the sensor connected to them. They 27 * are colored yellow on the control lab. 28 */ 29 PASSIVE, 30 /** 31 * Active inputs supply power to the connected sensor in order for it to work. 32 * They are colored blue on the control lab. 33 */ 34 ACTIVE 35 }