LRAUV  revA
Batt_Ocean_ServerIF.h
Go to the documentation of this file.
1 
13 #ifndef BATT_OCEAN_SERVERIF_H
14 #define BATT_OCEAN_SERVERIF_H
15 
16 #include "data/ElementURI.h"
17 
25 {
28 static const Str NAME( "Batt_Ocean_Server" );
29 
30 // Include common ConfigURIs -- must be in namespace and follow definition of NAME
32 
33 static const int NUM_BATTSA = 8;
34 static const int NUM_BATTSB = 4;
35 
36 // accuracies below moved from call to Slate::NewUniversalWriter in Batt_Ocean_Server.cpp
37 static const float PLATFORM_BATTERY_CHARGE_ACCURACY = 0.25;
38 static const float PLATFORM_BATTERY_VOLTAGE_ACCURACY = 0.25;
39 
44 static const Str BATT_STATUS_BASENAME( "BattStatus_" );
45 static const Str BATT_VOLTAGE_BASENAME( "BattVoltage_" );
46 static const Str BATT_CURRENT_BASENAME( "BattCurrent_" );
47 static const Str BATT_TEMP_BASENAME( "BattTemp_" );
48 static const Str BATT_CAPACITY_BASENAME( "BattCapacity_" );
49 
50 }
51 
53 {
54 static const Str NAME( "Batt_Ocean_ServerA" );
55 #include "component/HasUartIF.h"
56 }
57 
59 {
60 static const Str NAME( "Batt_Ocean_ServerB" );
61 #include "component/HasUartIF.h"
62 }
63 
64 #endif /*BATT_OCEAN_SERVERIF_H*/
Specifies URIs shared by components that have UARTS Designed to be included within namespace within [...
Replacement for standard template class string.
Definition: Str.h:12
Specifies the interface details for the Batt_Ocean_Server component in the SensorModule.
Definition: Batt_Ocean_ServerIF.h:24
Specifies URIs shared by components that can be loaded from modules at startup Designed to be include...
Contains the ElementURI class definition.
#define NUM_BATTSA
Definition: CBIT.h:22
#define NUM_BATTSB
Definition: CBIT.h:23
Definition: Batt_Ocean_ServerIF.h:52
Definition: Batt_Ocean_ServerIF.h:58