34 lines
721 B
C#
34 lines
721 B
C#
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; }
|
|
}
|
|
}
|