NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Analyzer.Objects.DriftReading Class Reference

Value from NTP drift file. More...

Inheritance diagram for Ntp.Analyzer.Objects.DriftReading:
Collaboration diagram for Ntp.Analyzer.Objects.DriftReading:

Public Member Functions

 DriftReading (int id, DateTime time, int zone, Host host, double value)
 
 DriftReading (Host host, double value, ReadingBulk bulk)
 
- Public Member Functions inherited from Ntp.Analyzer.Objects.PersistentObject
override bool Equals (object obj)
 
override int GetHashCode ()
 
void SetId (int id)
 Sets the identifier after the object have been stored in persistent storage. More...
 
override string ToString ()
 Returns a string that represents the current PersistentObject. More...
 

Properties

double Value [get]
 Gets the drift value. More...
 
- Properties inherited from Ntp.Analyzer.Objects.Reading
Host Host [get]
 
DateTime LocalTime [get]
 
DateTime Time [get]
 
int UtcOffset [get]
 
DateTime UtcTime [get]
 
- Properties inherited from Ntp.Analyzer.Objects.PersistentObject
int Id [get, private set]
 Gets the identifier. More...
 
bool NewObject [get, protected set]
 Gets a value indicating whether this PersistentObject is a new object which does not yet exists in the peristing storage (database etc). More...
 

Additional Inherited Members

- Public Attributes inherited from Ntp.Analyzer.Objects.Reading
DateTime RoundedLocalTime
 
DateTime RoundedUtcTime
 
- Protected Member Functions inherited from Ntp.Analyzer.Objects.Reading
 Reading (int id, DateTime time, int zone, Host host)
 
 Reading (Host host, ReadingBulk bulk)
 
- Protected Member Functions inherited from Ntp.Analyzer.Objects.PersistentObject
 PersistentObject (int id)
 Initializes a new instance of the PersistentObject class. More...
 
 PersistentObject ()
 Initializes a new instance of the PersistentObject class. More...
 

Detailed Description

Value from NTP drift file.

Definition at line 29 of file DriftReading.cs.

Constructor & Destructor Documentation

Ntp.Analyzer.Objects.DriftReading.DriftReading ( int  id,
DateTime  time,
int  zone,
Host  host,
double  value 
)
inline

Definition at line 31 of file DriftReading.cs.

32  : base(id, time, zone, host)
33  {
34  Value = value;
35  }
double Value
Gets the drift value.
Definition: DriftReading.cs:47
Ntp.Analyzer.Objects.DriftReading.DriftReading ( Host  host,
double  value,
ReadingBulk  bulk 
)
inline

Definition at line 37 of file DriftReading.cs.

38  : base(host, bulk)
39  {
40  Value = value;
41  }
double Value
Gets the drift value.
Definition: DriftReading.cs:47

Property Documentation

double Ntp.Analyzer.Objects.DriftReading.Value
get

Gets the drift value.

The value.

Definition at line 47 of file DriftReading.cs.

Referenced by Ntp.Analyzer.Data.Sql.DriftReadingDatabaseMapper.Insert().


The documentation for this class was generated from the following file: