DoorLockTrait.GetYearDayScheduleCommand.Response

class DoorLockTrait.GetYearDayScheduleCommand.Response


Returns the year day schedule data for the specified schedule and user indexes.

Summary

Public constructors

Response(
    yearDayIndex: UByte,
    userIndex: UShort,
    status: DoorLockTrait.DlStatus,
    localStartTime: UInt?,
    localEndTime: UInt?
)

Creates a response payload from the GetYearDaySchedule command.

Public properties

UInt?

The ending time for the year day schedule in Epoch Time in seconds with local time offset based on the local timezone and DST offset on the day represented by the value.

UInt?

The starting time for the year day schedule in Epoch Time in seconds with local time offset based on the local timezone and DST offset on the day represented by the value.

DoorLockTrait.DlStatus

The status of the GetYearDaySchedule command.

UShort

The user index for the schedule.

UByte

The unique identifier for the year day schedule being retrieved.

Public constructors

Response

Response(
    yearDayIndex: UByte,
    userIndex: UShort,
    status: DoorLockTrait.DlStatus = DlStatus.Success,
    localStartTime: UInt? = null,
    localEndTime: UInt? = null
)

Creates a response payload from the GetYearDaySchedule command.

Public properties

localEndTime

val localEndTimeUInt?

The ending time for the year day schedule in Epoch Time in seconds with local time offset based on the local timezone and DST offset on the day represented by the value.

localStartTime

val localStartTimeUInt?

The starting time for the year day schedule in Epoch Time in seconds with local time offset based on the local timezone and DST offset on the day represented by the value.

status

val statusDoorLockTrait.DlStatus

The status of the GetYearDaySchedule command.

userIndex

val userIndexUShort

The user index for the schedule.

yearDayIndex

val yearDayIndexUByte

The unique identifier for the year day schedule being retrieved.