jy-plc/Command/Model/EntityModel/Plan.cs

34 lines
873 B
C#
Raw Normal View History

2024-07-24 13:30:21 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LangGuan.Command.Model.EntityModel
{
public class Plan : BaseModel
{
public string name { get; set; }
public string description { get; set; }
/// <summary>
/// 组列表
/// </summary>
public IEnumerable<string> groups { get; set; }
/// <summary>
/// 设备列表
/// </summary>
public IEnumerable<string> deviceIds { get; set; }
/// <summary>
/// 执行计划
/// </summary>
public string cron { get; set; }
/// <summary>
/// 执行时长
/// </summary>
public int execution { get; set; }
/// <summary>
/// 是否启用
/// </summary>
public bool disable { get; set; }
}
}