# | 场景 | 命令 | 定时器 | 触发器 |
@(++index) | @scene.Name |
@foreach (var sceneCommand in scene.SceneCommands)
{
@sceneCommand.Command.Device.Name @sceneCommand.Command.Name @sceneCommand.Command.Api.Name @sceneCommand.Command.QueryString
}
|
@foreach (var sceneTimer in scene.SceneTimers)
{
@sceneTimer.Cron
}
|
@foreach (var sceneTigger in scene.SceneTiggers)
{
@Cronos.CronExpression.Parse(sceneTigger.Condition).GetNextOccurrence(DateTime.UtcNow)
}
|