using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Model.Monitor
{
///
/// 修正参数
///
public class CorrectParameters : JsonModel
{
///
/// 系数A
///
public double RatioA { get; set; } = 1;
///
/// 系数B
///
public double RatioB { get; set; } = 0;
///
/// 换算
///
public double Correct(double value)
{
return RatioA * value + RatioB;
}
}
}