using IModel;
using Shaker.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shaker.Models
{
public class AIConfigModel:BaseModel
{
///
/// 通道序号
///
public AIChannel Channel = AIChannel.Channel0;
///
/// 灵敏度
///
public double Sensitivity = 100;
///
/// 最大灵敏度
///
public double MaxSensitivity = double.MaxValue;
///
/// 最小灵敏度
///
public double MinSensitivity = double.MinValue;
///
/// 偏置
/// 当 ==和无效
///
public double Bias = 0;
///
/// 最大偏置
///
public double MaxBias = double.MaxValue;
///
/// 最小偏置
///
public double MinBias = double.MinValue;
///
/// 模拟通道类型
///
public AIChannelType ChannelType = AIChannelType.Displacement;
public override object Clone()
{
return this.CloneBase();
}
public override string ToString()
{
return $"{ChannelType} {Channel}";
}
}
}