1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 Revision 1.2 2005/11/17 14:43:23 byordano
21 Revision 1.1.1.1 2005/10/28 07:33:58 hristov
22 Initial import as subdirectory in AliRoot
24 Revision 1.1.1.1 2005/09/12 22:11:40 byordano
27 Revision 1.2 2005/08/30 10:53:23 byordano
28 some more descriptions added
33 // This class represents the main value structure
34 // which forms so called 'historical data' in any SCADA system.
35 // When a value (which represent a parameter of some real world object)
36 // is measured in the time, a value serie (called value set) is formed.
37 // Each element of this value series has two fields:
38 // fValue - primitive value which represents the real measured value
39 // fTimestamp - timestamp when the measurement was made
42 #include "AliDCSValue.h"
44 #include "TTimeStamp.h"
48 AliDCSValue::AliDCSValue() {
52 AliDCSValue::AliDCSValue(const AliSimpleValue& value, UInt_t timeStamp):
53 fValue(value), fTimeStamp(timeStamp)
59 TString AliDCSValue::ToString() const {
61 return fValue.ToString() + ", Timestmap: " +
62 TTimeStamp(fTimeStamp).AsString();