refactor: 将Framework库和RT、UI放在同一个解决方案中。

This commit is contained in:
SL
2026-06-01 17:48:28 +08:00
parent 1948f4290d
commit b73d39a6b1
4331 changed files with 506148 additions and 49363 deletions
@@ -0,0 +1,51 @@
namespace MECF.Framework.UI.Client.RecipeEditorLib.RecipeModel.Params
{
public class DoubleParam : NumParamBase<double>
{
#region Variables
private int _resolution;
#endregion
#region Constructors
public DoubleParam()
{
Placeholder = "*";
}
public DoubleParam(double initValue) : base(initValue)
{
Placeholder = "*";
}
public DoubleParam(double initValue, string placeholder) : base(initValue)
{
Placeholder = placeholder;
}
public DoubleParam(double initValue, double minimum, double maximum) : base(initValue, minimum, maximum)
{
Placeholder = "*";
}
public DoubleParam(double initValue, double minimum, double maximum, string placeholder) : base(initValue, minimum, maximum)
{
Placeholder = placeholder;
}
#endregion
/// <summary>
/// 返回当Value不可用时的占位符。
/// </summary>
public string Placeholder { get; }
public int Resolution
{
get => _resolution;
set => Set(ref _resolution, value);
}
}
}