Measurment.h
Go to the documentation of this file.
00001 /*
00002 * Measurment.h is a header file for the diagnosis board measurments.
00003 *
00004 * Copyright (c).2012. OWNER: Institute for Software Technology, TU Graz Austria.
00005 * Authors: Safdar Zaman, Gerald Steinbauer. (szaman@ist.tugraz.at, steinbauer@ist.tugraz.at)
00006 * All rights reserved.
00007 *    This program is free software: you can redistribute it and/or modify
00008 *    it under the terms of the GNU General Public License as published by
00009 *    the Free Software Foundation, either version 3 of the License, or
00010 *    (at your option) any later version.
00011 *
00012 *    This program is distributed in the hope that it will be useful,
00013 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 *    GNU General Public License for more details.
00016 *
00017 *    You should have received a copy of the GNU General Public License
00018 *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 
00021 
00022 #ifndef _MEASUREMENT_
00023 #define _MEASUREMENT_
00024 #include <stdlib.h>
00025 class Measurment
00026 {
00027 public:
00028     Measurment();
00029     ~Measurment();
00030    int getChannel();
00031    char getChannelState();
00032    float getCurrent();
00033    float getVoltage();
00034    void setChannel(int);
00035    void setChannelState(char);
00036    void setCurrent(float);
00037    void setVoltage(float);
00038    
00039 private:
00040    int channel;
00041    char onOff;
00042    float current;
00043    float voltage;
00044 };
00045 #endif //_MEASUREMENT_


tug_ist_diagnosis_board
Author(s): Safdar Zaman, Gerald Steinbauer
autogenerated on Mon Jan 6 2014 11:51:23