package
1.1.8
Repository: https://github.com/ibuilding-x/driver-box.git
Documentation: pkg.go.dev

# Constants

ActionTypeDevicePoint 执行类型:设置设备点位.
ActionTypeLinkEdge 执行类型:触发场景联动.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConditionTypeDateInterval 执行条件-日期间隔,示例:01-01 ~ 05-01 Deprecated: 已废弃,请拆分为多个条件,例如:年(数组)、月(数组)、日(数组)、周(数组)、时间段(数组).
ConditionTypeDays 执行条件-日(数组).
ConditionTypeDevicePoint 执行条件-设备点位.
ConditionTypeExecuteTime 执行条件-有些运行时间段.
ConditionTypeLastTime 执行条件-持续时间.
ConditionTypeMonths 执行条件-月(数组).
ConditionTypeTimes 执行条件-时间段(数组).
ConditionTypeWeeks 执行条件-周(数组).
ConditionTypeYears 执行条件-年(数组).
TriggerTypeDeviceEvent 设备事件触发器(暂未使用).
TriggerTypeDevicePoint 设备点位触发器.
TriggerTypeSchedule 事件表触发器.

# Structs

No description provided by the author
Condition 条件.
No description provided by the author
DateIntervalCondition 日期间隔 日期格式:01-02.
DaysCondition 日期 demo: 1-31 表示1号到31号.
DeviceEventTrigger 设备事件触发器 提示:暂未使用.
DevicePointAction 设备点位动作.
DevicePointActionItem 设备点位动作项.
DevicePointCondition 设备点位条件.
DevicePointTrigger 设备点位触发器.
ExecuteTimeCondition 有效执行时间段.
LastTimeCondition 持续时间条件.
MonthsCondition 月份 demo: 1-12 表示1月到12月.
SceneAction 触发场景联动动作.
ScheduleTrigger 定时触发器.
TimesCondition 时间段 示例:begin_time: "08:00", end_time: "18:00".
Trigger 触发器.
WeeksCondition 星期 demo: 1-7 表示星期一到星期日.
YearsCondition 年份 demo: 2021-2025 表示2021年到2025年.

# Type aliases

ActionType 执行动作类型.
ConditionSymbol 条件符号.
ConditionType 条件类型.
TriggerType 触发器类型.