C# 클래스 Gurux.DLMS.Objects.GXDLMSClock

상속: GXDLMSObject, IGXDLMSBase
파일 보기 프로젝트 열기: Gurux/Gurux.DLMS.Net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
IGXDLMSBase byte[]
IGXDLMSBase int
IGXDLMSBase int[]
IGXDLMSBase object
IGXDLMSBase string[]

공개 메소드들

메소드 설명
AdjustToMeasuringPeriod ( Gurux.DLMS.GXDLMSClient client ) : byte[][]

Sets the meter's time to the nearest (+/-) starting point of a measuring period.

AdjustToMinute ( Gurux.DLMS.GXDLMSClient client ) : byte[][]

Sets the meter's time to the nearest minute. If second_counter < 30 s, so second_counter is set to 0. If second_counter � 30 s, so second_counter is set to 0, and minute_counter and all depending clock values are incremented if necessary.

AdjustToPresetTime ( Gurux.DLMS.GXDLMSClient client ) : byte[][]

This Method is used in conjunction with the preset_adjusting_time Method. If the meter's time lies between validity_interval_start and validity_interval_end, then time is set to preset_time.

AdjustToQuarter ( Gurux.DLMS.GXDLMSClient client ) : byte[][]

Sets the meter's time to the nearest (+/-) quarter of an hour value (*:00, *:15, *:30, *:45).

GXDLMSClock ( ) : System

Constructor.

GXDLMSClock ( string ln ) : System

Constructor.

GXDLMSClock ( string ln, ushort sn ) : System

Constructor.

GetDataType ( int index ) : DataType
GetUIDataType ( int index ) : DataType
GetValues ( ) : object[]
IGXDLMSBase ( GXDLMSSettings settings, ValueEventArgs e ) : void
PresetAdjustingTime ( Gurux.DLMS.GXDLMSClient client, System.DateTime presetTime, System.DateTime validityIntervalStart, System.DateTime validityIntervalEnd ) : byte[][]

Presets the time to a new value (preset_time) and defines a validity_interval within which the new time can be activated.

ShiftTime ( Gurux.DLMS.GXDLMSClient client, int time ) : byte[][]

Shifts the time by n (-900 <= n <= 900) s.

비공개 메소드들

메소드 설명
IGXDLMSBase ( GXDLMSSettings settings, ValueEventArgs e ) : byte[]
IGXDLMSBase ( ) : int
IGXDLMSBase ( ) : int[]
IGXDLMSBase ( GXDLMSSettings settings, ValueEventArgs e ) : object
IGXDLMSBase ( ) : string[]

메소드 상세

AdjustToMeasuringPeriod() 공개 메소드

Sets the meter's time to the nearest (+/-) starting point of a measuring period.
public AdjustToMeasuringPeriod ( Gurux.DLMS.GXDLMSClient client ) : byte[][]
client Gurux.DLMS.GXDLMSClient
리턴 byte[][]

AdjustToMinute() 공개 메소드

Sets the meter's time to the nearest minute. If second_counter < 30 s, so second_counter is set to 0. If second_counter � 30 s, so second_counter is set to 0, and minute_counter and all depending clock values are incremented if necessary.
public AdjustToMinute ( Gurux.DLMS.GXDLMSClient client ) : byte[][]
client Gurux.DLMS.GXDLMSClient
리턴 byte[][]

AdjustToPresetTime() 공개 메소드

This Method is used in conjunction with the preset_adjusting_time Method. If the meter's time lies between validity_interval_start and validity_interval_end, then time is set to preset_time.
public AdjustToPresetTime ( Gurux.DLMS.GXDLMSClient client ) : byte[][]
client Gurux.DLMS.GXDLMSClient
리턴 byte[][]

AdjustToQuarter() 공개 메소드

Sets the meter's time to the nearest (+/-) quarter of an hour value (*:00, *:15, *:30, *:45).
public AdjustToQuarter ( Gurux.DLMS.GXDLMSClient client ) : byte[][]
client Gurux.DLMS.GXDLMSClient
리턴 byte[][]

GXDLMSClock() 공개 메소드

Constructor.
public GXDLMSClock ( ) : System
리턴 System

GXDLMSClock() 공개 메소드

Constructor.
public GXDLMSClock ( string ln ) : System
ln string Logical Name of the object.
리턴 System

GXDLMSClock() 공개 메소드

Constructor.
public GXDLMSClock ( string ln, ushort sn ) : System
ln string Logical Name of the object.
sn ushort Short Name of the object.
리턴 System

GetDataType() 공개 메소드

public GetDataType ( int index ) : DataType
index int
리턴 DataType

GetUIDataType() 공개 메소드

public GetUIDataType ( int index ) : DataType
index int
리턴 DataType

GetValues() 공개 메소드

public GetValues ( ) : object[]
리턴 object[]

IGXDLMSBase() 공개 메소드

public IGXDLMSBase ( GXDLMSSettings settings, ValueEventArgs e ) : void
settings Gurux.DLMS.GXDLMSSettings
e Gurux.DLMS.ValueEventArgs
리턴 void

PresetAdjustingTime() 공개 메소드

Presets the time to a new value (preset_time) and defines a validity_interval within which the new time can be activated.
public PresetAdjustingTime ( Gurux.DLMS.GXDLMSClient client, System.DateTime presetTime, System.DateTime validityIntervalStart, System.DateTime validityIntervalEnd ) : byte[][]
client Gurux.DLMS.GXDLMSClient
presetTime System.DateTime
validityIntervalStart System.DateTime
validityIntervalEnd System.DateTime
리턴 byte[][]

ShiftTime() 공개 메소드

Shifts the time by n (-900 <= n <= 900) s.
public ShiftTime ( Gurux.DLMS.GXDLMSClient client, int time ) : byte[][]
client Gurux.DLMS.GXDLMSClient
time int
리턴 byte[][]