namespace IStation.Model
{
///
/// 电机
///
public partial class Motor : JsonModel, System.ICloneable
{
///
///
///
public Motor() { }
///
///
///
public Motor(Motor rhs)
{
this.Pr = rhs.Pr;
this.Nr = rhs.Nr;
this.Ir = rhs.Ir;
this.Er = rhs.Er;
}
///
///
///
public void Reset(Motor rhs)
{
this.Pr = rhs.Pr;
this.Nr = rhs.Nr;
this.Ir = rhs.Ir;
this.Er = rhs.Er;
}
///
/// 功率 kw
///
public double Pr { get; set; }
///
/// 转速 r/min
///
public double Nr { get; set; }
///
/// 电流 a
///
public double Ir { get; set; }
///
/// 效率 %
///
public double Er { get; set; }
///
///
///
public Motor Clone()
{
return new Motor(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}