blob: b7f78ff335bb5b246f54c0eee4c4842a836151dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
namespace UVtools.Core.Scripting
{
public abstract class ScriptBaseInput
{
/// <summary>
/// Gets the input label
/// </summary>
public string Label { get; init; }
/// <summary>
/// Gets the hover tooltip for this input
/// </summary>
public string ToolTip { get; init; }
/// <summary>
/// Gets the value representative unit name
/// </summary>
public string Unit { get; init; }
}
public abstract class ScriptBaseInput<T> : ScriptBaseInput
{
/// <summary>
/// Gets or sets the value for this input
/// </summary>
public T Value { get; set; }
}
}
|