Red Light Work

Dependencies:   EthernetInterface QEI_hw QEIx4 mbed-rtos mbed realtimeMMLib

Fork of realtimeMM_V3 by Graham Nicholson

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MMini.h Source File

MMini.h

00001 #include <string> 
00002 using namespace std;
00003 
00004 struct iniSensor
00005 {
00006     char ID[32];
00007     char SensorType[32];
00008     char Enabled[32];
00009     char SampleTime[32];
00010     char DataSampleQty[32];
00011     char Pins[32];
00012     char SensorOptions[32];
00013 
00014 };
00015 
00016 struct iniServer {
00017     char IPAddress[32];
00018     char Port[32];
00019 };
00020 
00021 struct iniStation
00022 {
00023     char ID[32];
00024     char Name[32];
00025     char ComsType[32];
00026     char IPAddress[32];
00027     char NetworkMask[32];
00028     char DefaultGateway[32];
00029     char DataSendTime[32];
00030 };
00031 
00032 class iniFile
00033 {
00034 public:
00035     iniFile();
00036 
00037     iniStation Station;
00038 
00039     iniServer Server;
00040 
00041     iniSensor Sensor1;
00042     iniSensor Sensor2;
00043     iniSensor Sensor3;
00044     iniSensor Sensor4;
00045     iniSensor Sensor5;
00046     iniSensor Sensor6;
00047     iniSensor Sensor7;
00048     iniSensor Sensor8;
00049     iniSensor Sensor9;
00050     iniSensor Sensor10;
00051 
00052 };
00053 
00054