添加项目文件。
This commit is contained in:
33
OrpaonEMS.App/Models/ValueRange.cs
Normal file
33
OrpaonEMS.App/Models/ValueRange.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.App.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 值范围
|
||||
/// </summary>
|
||||
public class ValueRange
|
||||
{
|
||||
/// <summary>
|
||||
/// 实例化函数
|
||||
/// </summary>
|
||||
public ValueRange(double downValue, double upValue)
|
||||
{
|
||||
this.DownValue = downValue;
|
||||
this.UpValue = upValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 上限值
|
||||
/// </summary>
|
||||
public double UpValue { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// 下限值
|
||||
/// </summary>
|
||||
public double DownValue { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user