9 #if !defined(__AM_HISTORYPV_H)
10 #define __AM_HISTORYPV_H
12 #if !defined(__AM_PVDATA_H)
13 #include "am_pvdata.h"
28 float m_ValueBeforeOffsetFloat;
29 double m_ValueBeforeOffsetDouble;
35 uint16 newBoolData : 1;
81 virtual bool extractDataStoredFlags( uint8 dataStored,
int index );
93 void extractBoolData( uint8 boolData );
104 void extractXorBoolData( uint8 boolData );
184 void SetNumPvs( uint8 nNumPvs );
193 double GetValue( uint8 index );
202 void SetOffset(
double offset );
211 void SetNumBytes( uint16 bytes );
220 void SetPvDouble(
bool bPvDouble );
241 char * formatForSpreadsheet( uint8 index,
290 inline bool AM_HistoryPV::newBoolData()
293 return m_Detail[0].m_ReceiveData.newBoolData;
304 inline void AM_HistoryPV::SetOffset(
double offset )
316 inline void AM_HistoryPV::SetNumBytes( uint16 bytes )
328 inline void AM_HistoryPV::SetPvDouble(
bool bPvDouble )
330 m_bPvDouble = bPvDouble;
340 inline uint8 AM_HistoryPV::GetNumPvs()
352 inline void AM_HistoryPV::SetNumPvs( uint8 nNumPvs )
364 inline double AM_HistoryPV::GetValue( uint8 index )
366 return m_Detail[index].m_Value;
369 #endif // end of __AM_HISTORYPV_H conditional include
Definition: am_historystream.h:23
Definition: am_historypvconf.h:24
Definition: am_historypv.h:42
Definition: am_archiver.h:90
Definition: am_historypv.h:23
Definition: am_pvdata.h:21
Definition: am_csvstream.h:62
Definition: am_timezone.h:75