lib60870.NET  2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
lib60870.CP32Time2a Class Reference

Public Member Functions

 CP32Time2a (int hours, int minutes, int seconds, int milliseconds, bool invalid, bool summertime)
 
 CP32Time2a (DateTime time)
 
DateTime GetDateTime (DateTime refTime)
 Gets the date time added to the reference day. More...
 
DateTime GetDateTime ()
 
byte [] GetEncodedValue ()
 
override string ToString ()
 

Properties

int Millisecond [get, set]
 Gets or sets the millisecond part of the time value (range 0 to 999) More...
 
int Second [get, set]
 Gets or sets the second (range 0 to 59) More...
 
int Minute [get, set]
 Gets or sets the minute (range 0 to 59) More...
 
int Hour [get, set]
 Gets or sets the hour (range 0 to 23) More...
 
bool SummerTime [get, set]
 
bool Invalid [get, set]
 Gets a value indicating whether this lib60870.CP56Time2a is invalid. More...
 
bool Substituted [get, set]
 Gets a value indicating whether this lib60870.CP26Time2a was substitued by an intermediate station More...
 

Member Function Documentation

◆ GetDateTime()

DateTime lib60870.CP32Time2a.GetDateTime ( DateTime  refTime)

Gets the date time added to the reference day.

Returns
The date time.
Parameters
refTimeDatetime representing the reference day

Property Documentation

◆ Hour

int lib60870.CP32Time2a.Hour
getset

Gets or sets the hour (range 0 to 23)

The hour.

◆ Invalid

bool lib60870.CP32Time2a.Invalid
getset

Gets a value indicating whether this lib60870.CP56Time2a is invalid.

true if invalid; otherwise, false.

◆ Millisecond

int lib60870.CP32Time2a.Millisecond
getset

Gets or sets the millisecond part of the time value (range 0 to 999)

The millisecond.

◆ Minute

int lib60870.CP32Time2a.Minute
getset

Gets or sets the minute (range 0 to 59)

The minute.

◆ Second

int lib60870.CP32Time2a.Second
getset

Gets or sets the second (range 0 to 59)

The second.

◆ Substituted

bool lib60870.CP32Time2a.Substituted
getset

Gets a value indicating whether this lib60870.CP26Time2a was substitued by an intermediate station

true if substitued; otherwise, false.


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