first commit -push
This commit is contained in:
12
RobotNet.WebApp/Scripts/Models/ScriptTaskModel.cs
Normal file
12
RobotNet.WebApp/Scripts/Models/ScriptTaskModel.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using RobotNet.Script.Shares;
|
||||
|
||||
namespace RobotNet.WebApp.Scripts.Models;
|
||||
|
||||
public class ScriptTaskModel(int index, ScriptTaskDto data)
|
||||
{
|
||||
public int Index { get; } = index;
|
||||
public string Name { get; } = data.Name;
|
||||
public int Interval { get; } = data.Interval;
|
||||
public bool Enable { get; set; }
|
||||
public string Code { get; } = data.Code;
|
||||
}
|
||||
Reference in New Issue
Block a user