blob: 8ce1a04089a1689c90d3780712d082238a71a89e (
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
|
/*
* 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.
*/
using System;
namespace UVtools.Core.Scripting
{
public class ScriptNumericalInput<T> : ScriptBaseInput<T>
{
/// <summary>
/// Gets the minimum for this input
/// </summary>
public T Minimum { get; set; }
/// <summary>
/// Gets the minimum for this input
/// </summary>
public T Maximum { get; set; }
/// <summary>
/// Gets the increment value for this
/// </summary>
public T Increment { get; set; }
/// <summary>
/// Gets the number of decimal plates to round the value
/// </summary>
public byte DecimalPlates { get; set; } = 2;
}
}
|