libiec61850.NET 1.6.1
IEC 61850 .NET API for libiec61850 protocol library
Loading...
Searching...
No Matches
IEC61850.Common.Timestamp Class Reference

Timestamp (represents IEC 61850 timestamps e.g. "t" attribute) More...

Public Member Functions

 Timestamp (DateTime timestamp)
 
 Timestamp (MmsValue mmsUtcTime)
 
 Timestamp ()
 Initializes a new instance of the IEC61850CommonAPI.Timestamp class.
 
 Timestamp (Timestamp other)
 Initializes a new instance of the IEC61850CommonAPI.Timestamp class.
 
 Timestamp (byte[] value)
 
void ClearFlags ()
 
void SetDateTime (DateTime timestamp)
 
bool IsLeapSecondKnown ()
 
void SetLeapSecondKnow (bool value)
 
bool HasClockFailure ()
 
void SetClockFailure (bool value)
 
bool IsClockNotSynchronized ()
 
void SetClockNotSynchronized (bool value)
 
int GetSubsecondPrecision ()
 
void SetSubsecondPrecision (int subsecondPrecision)
 
UInt32 GetTimeInSeconds ()
 
void SetTimeInSeconds (UInt32 secondsSinceEpoch)
 
UInt64 GetTimeInMilliseconds ()
 
void SetTimeInMilliseconds (UInt64 millisSinceEpoch)
 
void SetByMmsUtcTime (MmsValue mmsValue)
 
DateTime AsDateTime ()
 
UInt32 GetFractionOfSecondPart ()
 
void SetFractionOfSecondPart (UInt32 fractionOfSecond)
 
float GetFractionOfSecond ()
 

Properties

bool LeapSecondKnown [get, set]
 
bool ClockFailure [get, set]
 
bool ClockNotSynchronized [get, set]
 
int SubsecondPrecision [get, set]
 
UInt32 TimeInSeconds [get, set]
 
UInt64 TimeInMilliseconds [get, set]
 

Detailed Description

Timestamp (represents IEC 61850 timestamps e.g. "t" attribute)

Constructor & Destructor Documentation

◆ Timestamp() [1/5]

IEC61850.Common.Timestamp.Timestamp ( DateTime timestamp)

◆ Timestamp() [2/5]

IEC61850.Common.Timestamp.Timestamp ( MmsValue mmsUtcTime)

◆ Timestamp() [3/5]

IEC61850.Common.Timestamp.Timestamp ( )

Initializes a new instance of the IEC61850CommonAPI.Timestamp class.

◆ Timestamp() [4/5]

IEC61850.Common.Timestamp.Timestamp ( Timestamp other)

Initializes a new instance of the IEC61850CommonAPI.Timestamp class.

◆ Timestamp() [5/5]

IEC61850.Common.Timestamp.Timestamp ( byte[] value)

Member Function Documentation

◆ AsDateTime()

DateTime IEC61850.Common.Timestamp.AsDateTime ( )

◆ ClearFlags()

void IEC61850.Common.Timestamp.ClearFlags ( )

◆ GetFractionOfSecond()

float IEC61850.Common.Timestamp.GetFractionOfSecond ( )

◆ GetFractionOfSecondPart()

UInt32 IEC61850.Common.Timestamp.GetFractionOfSecondPart ( )

◆ GetSubsecondPrecision()

int IEC61850.Common.Timestamp.GetSubsecondPrecision ( )

◆ GetTimeInMilliseconds()

UInt64 IEC61850.Common.Timestamp.GetTimeInMilliseconds ( )

◆ GetTimeInSeconds()

UInt32 IEC61850.Common.Timestamp.GetTimeInSeconds ( )

◆ HasClockFailure()

bool IEC61850.Common.Timestamp.HasClockFailure ( )

◆ IsClockNotSynchronized()

bool IEC61850.Common.Timestamp.IsClockNotSynchronized ( )

◆ IsLeapSecondKnown()

bool IEC61850.Common.Timestamp.IsLeapSecondKnown ( )

◆ SetByMmsUtcTime()

void IEC61850.Common.Timestamp.SetByMmsUtcTime ( MmsValue mmsValue)

◆ SetClockFailure()

void IEC61850.Common.Timestamp.SetClockFailure ( bool value)

◆ SetClockNotSynchronized()

void IEC61850.Common.Timestamp.SetClockNotSynchronized ( bool value)

◆ SetDateTime()

void IEC61850.Common.Timestamp.SetDateTime ( DateTime timestamp)

◆ SetFractionOfSecondPart()

void IEC61850.Common.Timestamp.SetFractionOfSecondPart ( UInt32 fractionOfSecond)

◆ SetLeapSecondKnow()

void IEC61850.Common.Timestamp.SetLeapSecondKnow ( bool value)

◆ SetSubsecondPrecision()

void IEC61850.Common.Timestamp.SetSubsecondPrecision ( int subsecondPrecision)

◆ SetTimeInMilliseconds()

void IEC61850.Common.Timestamp.SetTimeInMilliseconds ( UInt64 millisSinceEpoch)

◆ SetTimeInSeconds()

void IEC61850.Common.Timestamp.SetTimeInSeconds ( UInt32 secondsSinceEpoch)

Property Documentation

◆ ClockFailure

bool IEC61850.Common.Timestamp.ClockFailure
getset

◆ ClockNotSynchronized

bool IEC61850.Common.Timestamp.ClockNotSynchronized
getset

◆ LeapSecondKnown

bool IEC61850.Common.Timestamp.LeapSecondKnown
getset

◆ SubsecondPrecision

int IEC61850.Common.Timestamp.SubsecondPrecision
getset

◆ TimeInMilliseconds

UInt64 IEC61850.Common.Timestamp.TimeInMilliseconds
getset

◆ TimeInSeconds

UInt32 IEC61850.Common.Timestamp.TimeInSeconds
getset

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