Click or drag to resize

ReaderSetStartDstRule Method

Sets the Daylight Saving Time starting rules.

Namespace:  AC908_SDK
Assembly:  AC908_SDK (in AC908_SDK.dll) Version: 1.0.2
Syntax
C#
public Task SetStartDstRule(
	DstRule rule,
	byte month,
	byte n,
	byte hour,
	DayOfWeek dstWeekdays
)

Parameters

rule
Type: AC908_SDK.EnumsDstRule
The Saving Time starting rule.
month
Type: SystemByte
The month of Daylight Saving Time starting dates.
n
Type: SystemByte
The number stands for day or N week determined by rule.
hour
Type: SystemByte
The hour of Daylight Saving Time starting dates.
dstWeekdays
Type: SystemDayOfWeek
The day of week of Daylight Saving Time starting dates. This field is only presented if the rule is [!:Enums.DstRule.WeekWeekdayAndMonth] or [!:Enums.DstRule.LastWeekWeekdayAndMonth].

Return Value

Type: Task
A task that represents the asynchronous operation.
See Also