#include <Measurment.h>
Public Member Functions | |
int | getChannel () |
char | getChannelState () |
float | getCurrent () |
float | getVoltage () |
Measurment () | |
void | setChannel (int) |
void | setChannelState (char) |
void | setCurrent (float) |
void | setVoltage (float) |
~Measurment () | |
Private Attributes | |
int | channel |
float | current |
char | onOff |
float | voltage |
Definition at line 25 of file Measurment.h.
Definition at line 24 of file Measurment.cpp.
Definition at line 28 of file Measurment.cpp.
int Measurment::getChannel | ( | ) |
Definition at line 32 of file Measurment.cpp.
char Measurment::getChannelState | ( | ) |
Definition at line 37 of file Measurment.cpp.
float Measurment::getCurrent | ( | ) |
Definition at line 42 of file Measurment.cpp.
float Measurment::getVoltage | ( | ) |
Definition at line 47 of file Measurment.cpp.
void Measurment::setChannel | ( | int | chnl | ) |
Definition at line 52 of file Measurment.cpp.
void Measurment::setChannelState | ( | char | state | ) |
Definition at line 57 of file Measurment.cpp.
void Measurment::setCurrent | ( | float | cur | ) |
Definition at line 62 of file Measurment.cpp.
void Measurment::setVoltage | ( | float | vol | ) |
Definition at line 67 of file Measurment.cpp.
int Measurment::channel [private] |
Definition at line 40 of file Measurment.h.
float Measurment::current [private] |
Definition at line 42 of file Measurment.h.
char Measurment::onOff [private] |
Definition at line 41 of file Measurment.h.
float Measurment::voltage [private] |
Definition at line 43 of file Measurment.h.