//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Tango Observables Generator
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. Do not modify!
//
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;
using Newtonsoft.Json;
using System.Linq;
using Tango.DAL.Remote.DB;
using Tango.Core;
using System.ComponentModel;
using Tango.Core.CustomAttributes;
namespace Tango.BL.Entities
{
[Table("HARDWARE_MOTORS")]
public abstract class HardwareMotorBase : ObservableEntity
{
public event EventHandler MinFrequencyChanged;
public event EventHandler MaxFrequencyChanged;
public event EventHandler SetMicroStepChanged;
public event EventHandler MicroStepChanged;
public event EventHandler MaxChangeSlopeChanged;
public event EventHandler HighLengthMicroSecondChanged;
public event EventHandler SpeedMasterChanged;
public event EventHandler PulsePerRoundChanged;
public event EventHandler PulleyRadiusChanged;
public event EventHandler ConfigWordChanged;
public event EventHandler DirectionThreadWizeChanged;
public event EventHandler KvalHoldChanged;
public event EventHandler KvalRunChanged;
public event EventHandler KvalAccChanged;
public event EventHandler KvalDecChanged;
public event EventHandler OverCurrentThresholdChanged;
public event EventHandler StallThresholdChanged;
public event EventHandler ThermalCompensationFactorChanged;
public event EventHandler LowSpeedOptimizationChanged;
public event EventHandler StSlpChanged;
public event EventHandler IntSpdChanged;
public event EventHandler FnSlpAccChanged;
public event EventHandler FnSlpDecChanged;
public event EventHandler FsSpdChanged;
public event EventHandler GateCfg1Changed;
public event EventHandler GateCfg2Changed;
public event EventHandler TValHoldChanged;
public event EventHandler TValRunChanged;
public event EventHandler TValAccChanged;
public event EventHandler TValDecChanged;
public event EventHandler TFastChanged;
public event EventHandler TOnMinChanged;
public event EventHandler TOffMinChanged;
public event EventHandler ActiveChanged;
public event EventHandler P01ConfigWordChanged;
public event EventHandler HardwareMotorTypeChanged;
public event EventHandler HardwareVersionChanged;
protected String _hardwaremotortypeguid;
///
/// Gets or sets the hardwaremotorbase hardware motor type guid.
///
[Column("HARDWARE_MOTOR_TYPE_GUID")]
[ForeignKey("HardwareMotorType")]
public String HardwareMotorTypeGuid
{
get
{
return _hardwaremotortypeguid;
}
set
{
if (_hardwaremotortypeguid != value)
{
_hardwaremotortypeguid = value;
}
}
}
protected String _hardwareversionguid;
///
/// Gets or sets the hardwaremotorbase hardware version guid.
///
[Column("HARDWARE_VERSION_GUID")]
[ForeignKey("HardwareVersion")]
public String HardwareVersionGuid
{
get
{
return _hardwareversionguid;
}
set
{
if (_hardwareversionguid != value)
{
_hardwareversionguid = value;
}
}
}
protected Int32 _minfrequency;
///
/// Gets or sets the hardwaremotorbase min frequency.
///
[Column("MIN_FREQUENCY")]
public Int32 MinFrequency
{
get
{
return _minfrequency;
}
set
{
if (_minfrequency != value)
{
_minfrequency = value;
OnMinFrequencyChanged(value);
}
}
}
protected Int32 _maxfrequency;
///
/// Gets or sets the hardwaremotorbase max frequency.
///
[Column("MAX_FREQUENCY")]
public Int32 MaxFrequency
{
get
{
return _maxfrequency;
}
set
{
if (_maxfrequency != value)
{
_maxfrequency = value;
OnMaxFrequencyChanged(value);
}
}
}
protected Int32 _setmicrostep;
///
/// Gets or sets the hardwaremotorbase set micro step.
///
[Column("SET_MICRO_STEP")]
public Int32 SetMicroStep
{
get
{
return _setmicrostep;
}
set
{
if (_setmicrostep != value)
{
_setmicrostep = value;
OnSetMicroStepChanged(value);
}
}
}
protected Int32 _microstep;
///
/// Gets or sets the hardwaremotorbase micro step.
///
[Column("MICRO_STEP")]
public Int32 MicroStep
{
get
{
return _microstep;
}
set
{
if (_microstep != value)
{
_microstep = value;
OnMicroStepChanged(value);
}
}
}
protected Double _maxchangeslope;
///
/// Gets or sets the hardwaremotorbase max change slope.
///
[Column("MAX_CHANGE_SLOPE")]
public Double MaxChangeSlope
{
get
{
return _maxchangeslope;
}
set
{
if (_maxchangeslope != value)
{
_maxchangeslope = value;
OnMaxChangeSlopeChanged(value);
}
}
}
protected Double _highlengthmicrosecond;
///
/// Gets or sets the hardwaremotorbase high length micro second.
///
[Column("HIGH_LENGTH_MICRO_SECOND")]
public Double HighLengthMicroSecond
{
get
{
return _highlengthmicrosecond;
}
set
{
if (_highlengthmicrosecond != value)
{
_highlengthmicrosecond = value;
OnHighLengthMicroSecondChanged(value);
}
}
}
protected Boolean _speedmaster;
///
/// Gets or sets the hardwaremotorbase speed master.
///
[Column("SPEED_MASTER")]
public Boolean SpeedMaster
{
get
{
return _speedmaster;
}
set
{
if (_speedmaster != value)
{
_speedmaster = value;
OnSpeedMasterChanged(value);
}
}
}
protected Int32 _pulseperround;
///
/// Gets or sets the hardwaremotorbase pulse per round.
///
[Column("PULSE_PER_ROUND")]
public Int32 PulsePerRound
{
get
{
return _pulseperround;
}
set
{
if (_pulseperround != value)
{
_pulseperround = value;
OnPulsePerRoundChanged(value);
}
}
}
protected Double _pulleyradius;
///
/// Gets or sets the hardwaremotorbase pulley radius.
///
[Column("PULLEY_RADIUS")]
public Double PulleyRadius
{
get
{
return _pulleyradius;
}
set
{
if (_pulleyradius != value)
{
_pulleyradius = value;
OnPulleyRadiusChanged(value);
}
}
}
protected Int32 _configword;
///
/// Gets or sets the hardwaremotorbase config word.
///
[Column("CONFIG_WORD")]
public Int32 ConfigWord
{
get
{
return _configword;
}
set
{
if (_configword != value)
{
_configword = value;
OnConfigWordChanged(value);
}
}
}
protected Boolean _directionthreadwize;
///
/// Gets or sets the hardwaremotorbase direction thread wize.
///
[Column("DIRECTION_THREAD_WIZE")]
public Boolean DirectionThreadWize
{
get
{
return _directionthreadwize;
}
set
{
if (_directionthreadwize != value)
{
_directionthreadwize = value;
OnDirectionThreadWizeChanged(value);
}
}
}
protected Int32 _kvalhold;
///
/// Gets or sets the hardwaremotorbase kval hold.
///
[Column("KVAL_HOLD")]
public Int32 KvalHold
{
get
{
return _kvalhold;
}
set
{
if (_kvalhold != value)
{
_kvalhold = value;
OnKvalHoldChanged(value);
}
}
}
protected Int32 _kvalrun;
///
/// Gets or sets the hardwaremotorbase kval run.
///
[Column("KVAL_RUN")]
public Int32 KvalRun
{
get
{
return _kvalrun;
}
set
{
if (_kvalrun != value)
{
_kvalrun = value;
OnKvalRunChanged(value);
}
}
}
protected Int32 _kvalacc;
///
/// Gets or sets the hardwaremotorbase kval acc.
///
[Column("KVAL_ACC")]
public Int32 KvalAcc
{
get
{
return _kvalacc;
}
set
{
if (_kvalacc != value)
{
_kvalacc = value;
OnKvalAccChanged(value);
}
}
}
protected Int32 _kvaldec;
///
/// Gets or sets the hardwaremotorbase kval dec.
///
[Column("KVAL_DEC")]
public Int32 KvalDec
{
get
{
return _kvaldec;
}
set
{
if (_kvaldec != value)
{
_kvaldec = value;
OnKvalDecChanged(value);
}
}
}
protected Int32 _overcurrentthreshold;
///
/// Gets or sets the hardwaremotorbase over current threshold.
///
[Column("OVER_CURRENT_THRESHOLD")]
public Int32 OverCurrentThreshold
{
get
{
return _overcurrentthreshold;
}
set
{
if (_overcurrentthreshold != value)
{
_overcurrentthreshold = value;
OnOverCurrentThresholdChanged(value);
}
}
}
protected Int32 _stallthreshold;
///
/// Gets or sets the hardwaremotorbase stall threshold.
///
[Column("STALL_THRESHOLD")]
public Int32 StallThreshold
{
get
{
return _stallthreshold;
}
set
{
if (_stallthreshold != value)
{
_stallthreshold = value;
OnStallThresholdChanged(value);
}
}
}
protected Int32 _thermalcompensationfactor;
///
/// Gets or sets the hardwaremotorbase thermal compensation factor.
///
[Column("THERMAL_COMPENSATION_FACTOR")]
public Int32 ThermalCompensationFactor
{
get
{
return _thermalcompensationfactor;
}
set
{
if (_thermalcompensationfactor != value)
{
_thermalcompensationfactor = value;
OnThermalCompensationFactorChanged(value);
}
}
}
protected Boolean _lowspeedoptimization;
///
/// Gets or sets the hardwaremotorbase low speed optimization.
///
[Column("LOW_SPEED_OPTIMIZATION")]
public Boolean LowSpeedOptimization
{
get
{
return _lowspeedoptimization;
}
set
{
if (_lowspeedoptimization != value)
{
_lowspeedoptimization = value;
OnLowSpeedOptimizationChanged(value);
}
}
}
protected Int32 _stslp;
///
/// Gets or sets the hardwaremotorbase st slp.
///
[Column("ST_SLP")]
public Int32 StSlp
{
get
{
return _stslp;
}
set
{
if (_stslp != value)
{
_stslp = value;
OnStSlpChanged(value);
}
}
}
protected Int32 _intspd;
///
/// Gets or sets the hardwaremotorbase int spd.
///
[Column("INT_SPD")]
public Int32 IntSpd
{
get
{
return _intspd;
}
set
{
if (_intspd != value)
{
_intspd = value;
OnIntSpdChanged(value);
}
}
}
protected Int32 _fnslpacc;
///
/// Gets or sets the hardwaremotorbase fn slp acc.
///
[Column("FN_SLP_ACC")]
public Int32 FnSlpAcc
{
get
{
return _fnslpacc;
}
set
{
if (_fnslpacc != value)
{
_fnslpacc = value;
OnFnSlpAccChanged(value);
}
}
}
protected Int32 _fnslpdec;
///
/// Gets or sets the hardwaremotorbase fn slp dec.
///
[Column("FN_SLP_DEC")]
public Int32 FnSlpDec
{
get
{
return _fnslpdec;
}
set
{
if (_fnslpdec != value)
{
_fnslpdec = value;
OnFnSlpDecChanged(value);
}
}
}
protected Int32 _fsspd;
///
/// The speed in which the motor moves to full step operation.
///
[Column("FS_SPD")]
public Int32 FsSpd
{
get
{
return _fsspd;
}
set
{
if (_fsspd != value)
{
_fsspd = value;
OnFsSpdChanged(value);
}
}
}
protected Int32 _gatecfg1;
///
/// Gets or sets the hardwaremotorbase gate cfg 1.
///
[Column("GATE_CFG_1")]
public Int32 GateCfg1
{
get
{
return _gatecfg1;
}
set
{
if (_gatecfg1 != value)
{
_gatecfg1 = value;
OnGateCfg1Changed(value);
}
}
}
protected Int32 _gatecfg2;
///
/// Gets or sets the hardwaremotorbase gate cfg 2.
///
[Column("GATE_CFG_2")]
public Int32 GateCfg2
{
get
{
return _gatecfg2;
}
set
{
if (_gatecfg2 != value)
{
_gatecfg2 = value;
OnGateCfg2Changed(value);
}
}
}
protected Int32 _tvalhold;
///
/// Gets or sets the hardwaremotorbase t val hold.
///
[Column("T_VAL_HOLD")]
public Int32 TValHold
{
get
{
return _tvalhold;
}
set
{
if (_tvalhold != value)
{
_tvalhold = value;
OnTValHoldChanged(value);
}
}
}
protected Int32 _tvalrun;
///
/// Gets or sets the hardwaremotorbase t val run.
///
[Column("T_VAL_RUN")]
public Int32 TValRun
{
get
{
return _tvalrun;
}
set
{
if (_tvalrun != value)
{
_tvalrun = value;
OnTValRunChanged(value);
}
}
}
protected Int32 _tvalacc;
///
/// Gets or sets the hardwaremotorbase t val acc.
///
[Column("T_VAL_ACC")]
public Int32 TValAcc
{
get
{
return _tvalacc;
}
set
{
if (_tvalacc != value)
{
_tvalacc = value;
OnTValAccChanged(value);
}
}
}
protected Int32 _tvaldec;
///
/// Gets or sets the hardwaremotorbase t val dec.
///
[Column("T_VAL_DEC")]
public Int32 TValDec
{
get
{
return _tvaldec;
}
set
{
if (_tvaldec != value)
{
_tvaldec = value;
OnTValDecChanged(value);
}
}
}
protected Int32 _tfast;
///
/// Gets or sets the hardwaremotorbase t fast.
///
[Column("T_FAST")]
public Int32 TFast
{
get
{
return _tfast;
}
set
{
if (_tfast != value)
{
_tfast = value;
OnTFastChanged(value);
}
}
}
protected Int32 _tonmin;
///
/// Gets or sets the hardwaremotorbase t on min.
///
[Column("T_ON_MIN")]
public Int32 TOnMin
{
get
{
return _tonmin;
}
set
{
if (_tonmin != value)
{
_tonmin = value;
OnTOnMinChanged(value);
}
}
}
protected Int32 _toffmin;
///
/// Gets or sets the hardwaremotorbase t off min.
///
[Column("T_OFF_MIN")]
public Int32 TOffMin
{
get
{
return _toffmin;
}
set
{
if (_toffmin != value)
{
_toffmin = value;
OnTOffMinChanged(value);
}
}
}
protected Boolean _active;
///
/// Gets or sets the hardwaremotorbase active.
///
[Column("ACTIVE")]
public Boolean Active
{
get
{
return _active;
}
set
{
if (_active != value)
{
_active = value;
OnActiveChanged(value);
}
}
}
protected Int32 _p01configword;
///
/// Gets or sets the hardwaremotorbase p01 config word.
///
[Column("P01_CONFIG_WORD")]
public Int32 P01ConfigWord
{
get
{
return _p01configword;
}
set
{
if (_p01configword != value)
{
_p01configword = value;
OnP01ConfigWordChanged(value);
}
}
}
protected HardwareMotorType _hardwaremotortype;
///
/// Gets or sets the hardwaremotorbase hardware motor types.
///
[XmlIgnore]
[JsonIgnore]
public virtual HardwareMotorType HardwareMotorType
{
get
{
return _hardwaremotortype;
}
set
{
if (_hardwaremotortype != value)
{
_hardwaremotortype = value;
if (HardwareMotorType != null)
{
HardwareMotorTypeGuid = HardwareMotorType.Guid;
}
OnHardwareMotorTypeChanged(value);
}
}
}
protected HardwareVersion _hardwareversion;
///
/// Gets or sets the hardwaremotorbase hardware versions.
///
[XmlIgnore]
[JsonIgnore]
public virtual HardwareVersion HardwareVersion
{
get
{
return _hardwareversion;
}
set
{
if (_hardwareversion != value)
{
_hardwareversion = value;
if (HardwareVersion != null)
{
HardwareVersionGuid = HardwareVersion.Guid;
}
OnHardwareVersionChanged(value);
}
}
}
///
/// Called when the MinFrequency has changed.
///
protected virtual void OnMinFrequencyChanged(Int32 minfrequency)
{
MinFrequencyChanged?.Invoke(this, minfrequency);
RaisePropertyChanged(nameof(MinFrequency));
}
///
/// Called when the MaxFrequency has changed.
///
protected virtual void OnMaxFrequencyChanged(Int32 maxfrequency)
{
MaxFrequencyChanged?.Invoke(this, maxfrequency);
RaisePropertyChanged(nameof(MaxFrequency));
}
///
/// Called when the SetMicroStep has changed.
///
protected virtual void OnSetMicroStepChanged(Int32 setmicrostep)
{
SetMicroStepChanged?.Invoke(this, setmicrostep);
RaisePropertyChanged(nameof(SetMicroStep));
}
///
/// Called when the MicroStep has changed.
///
protected virtual void OnMicroStepChanged(Int32 microstep)
{
MicroStepChanged?.Invoke(this, microstep);
RaisePropertyChanged(nameof(MicroStep));
}
///
/// Called when the MaxChangeSlope has changed.
///
protected virtual void OnMaxChangeSlopeChanged(Double maxchangeslope)
{
MaxChangeSlopeChanged?.Invoke(this, maxchangeslope);
RaisePropertyChanged(nameof(MaxChangeSlope));
}
///
/// Called when the HighLengthMicroSecond has changed.
///
protected virtual void OnHighLengthMicroSecondChanged(Double highlengthmicrosecond)
{
HighLengthMicroSecondChanged?.Invoke(this, highlengthmicrosecond);
RaisePropertyChanged(nameof(HighLengthMicroSecond));
}
///
/// Called when the SpeedMaster has changed.
///
protected virtual void OnSpeedMasterChanged(Boolean speedmaster)
{
SpeedMasterChanged?.Invoke(this, speedmaster);
RaisePropertyChanged(nameof(SpeedMaster));
}
///
/// Called when the PulsePerRound has changed.
///
protected virtual void OnPulsePerRoundChanged(Int32 pulseperround)
{
PulsePerRoundChanged?.Invoke(this, pulseperround);
RaisePropertyChanged(nameof(PulsePerRound));
}
///
/// Called when the PulleyRadius has changed.
///
protected virtual void OnPulleyRadiusChanged(Double pulleyradius)
{
PulleyRadiusChanged?.Invoke(this, pulleyradius);
RaisePropertyChanged(nameof(PulleyRadius));
}
///
/// Called when the ConfigWord has changed.
///
protected virtual void OnConfigWordChanged(Int32 configword)
{
ConfigWordChanged?.Invoke(this, configword);
RaisePropertyChanged(nameof(ConfigWord));
}
///
/// Called when the DirectionThreadWize has changed.
///
protected virtual void OnDirectionThreadWizeChanged(Boolean directionthreadwize)
{
DirectionThreadWizeChanged?.Invoke(this, directionthreadwize);
RaisePropertyChanged(nameof(DirectionThreadWize));
}
///
/// Called when the KvalHold has changed.
///
protected virtual void OnKvalHoldChanged(Int32 kvalhold)
{
KvalHoldChanged?.Invoke(this, kvalhold);
RaisePropertyChanged(nameof(KvalHold));
}
///
/// Called when the KvalRun has changed.
///
protected virtual void OnKvalRunChanged(Int32 kvalrun)
{
KvalRunChanged?.Invoke(this, kvalrun);
RaisePropertyChanged(nameof(KvalRun));
}
///
/// Called when the KvalAcc has changed.
///
protected virtual void OnKvalAccChanged(Int32 kvalacc)
{
KvalAccChanged?.Invoke(this, kvalacc);
RaisePropertyChanged(nameof(KvalAcc));
}
///
/// Called when the KvalDec has changed.
///
protected virtual void OnKvalDecChanged(Int32 kvaldec)
{
KvalDecChanged?.Invoke(this, kvaldec);
RaisePropertyChanged(nameof(KvalDec));
}
///
/// Called when the OverCurrentThreshold has changed.
///
protected virtual void OnOverCurrentThresholdChanged(Int32 overcurrentthreshold)
{
OverCurrentThresholdChanged?.Invoke(this, overcurrentthreshold);
RaisePropertyChanged(nameof(OverCurrentThreshold));
}
///
/// Called when the StallThreshold has changed.
///
protected virtual void OnStallThresholdChanged(Int32 stallthreshold)
{
StallThresholdChanged?.Invoke(this, stallthreshold);
RaisePropertyChanged(nameof(StallThreshold));
}
///
/// Called when the ThermalCompensationFactor has changed.
///
protected virtual void OnThermalCompensationFactorChanged(Int32 thermalcompensationfactor)
{
ThermalCompensationFactorChanged?.Invoke(this, thermalcompensationfactor);
RaisePropertyChanged(nameof(ThermalCompensationFactor));
}
///
/// Called when the LowSpeedOptimization has changed.
///
protected virtual void OnLowSpeedOptimizationChanged(Boolean lowspeedoptimization)
{
LowSpeedOptimizationChanged?.Invoke(this, lowspeedoptimization);
RaisePropertyChanged(nameof(LowSpeedOptimization));
}
///
/// Called when the StSlp has changed.
///
protected virtual void OnStSlpChanged(Int32 stslp)
{
StSlpChanged?.Invoke(this, stslp);
RaisePropertyChanged(nameof(StSlp));
}
///
/// Called when the IntSpd has changed.
///
protected virtual void OnIntSpdChanged(Int32 intspd)
{
IntSpdChanged?.Invoke(this, intspd);
RaisePropertyChanged(nameof(IntSpd));
}
///
/// Called when the FnSlpAcc has changed.
///
protected virtual void OnFnSlpAccChanged(Int32 fnslpacc)
{
FnSlpAccChanged?.Invoke(this, fnslpacc);
RaisePropertyChanged(nameof(FnSlpAcc));
}
///
/// Called when the FnSlpDec has changed.
///
protected virtual void OnFnSlpDecChanged(Int32 fnslpdec)
{
FnSlpDecChanged?.Invoke(this, fnslpdec);
RaisePropertyChanged(nameof(FnSlpDec));
}
///
/// Called when the FsSpd has changed.
///
protected virtual void OnFsSpdChanged(Int32 fsspd)
{
FsSpdChanged?.Invoke(this, fsspd);
RaisePropertyChanged(nameof(FsSpd));
}
///
/// Called when the GateCfg1 has changed.
///
protected virtual void OnGateCfg1Changed(Int32 gatecfg1)
{
GateCfg1Changed?.Invoke(this, gatecfg1);
RaisePropertyChanged(nameof(GateCfg1));
}
///
/// Called when the GateCfg2 has changed.
///
protected virtual void OnGateCfg2Changed(Int32 gatecfg2)
{
GateCfg2Changed?.Invoke(this, gatecfg2);
RaisePropertyChanged(nameof(GateCfg2));
}
///
/// Called when the TValHold has changed.
///
protected virtual void OnTValHoldChanged(Int32 tvalhold)
{
TValHoldChanged?.Invoke(this, tvalhold);
RaisePropertyChanged(nameof(TValHold));
}
///
/// Called when the TValRun has changed.
///
protected virtual void OnTValRunChanged(Int32 tvalrun)
{
TValRunChanged?.Invoke(this, tvalrun);
RaisePropertyChanged(nameof(TValRun));
}
///
/// Called when the TValAcc has changed.
///
protected virtual void OnTValAccChanged(Int32 tvalacc)
{
TValAccChanged?.Invoke(this, tvalacc);
RaisePropertyChanged(nameof(TValAcc));
}
///
/// Called when the TValDec has changed.
///
protected virtual void OnTValDecChanged(Int32 tvaldec)
{
TValDecChanged?.Invoke(this, tvaldec);
RaisePropertyChanged(nameof(TValDec));
}
///
/// Called when the TFast has changed.
///
protected virtual void OnTFastChanged(Int32 tfast)
{
TFastChanged?.Invoke(this, tfast);
RaisePropertyChanged(nameof(TFast));
}
///
/// Called when the TOnMin has changed.
///
protected virtual void OnTOnMinChanged(Int32 tonmin)
{
TOnMinChanged?.Invoke(this, tonmin);
RaisePropertyChanged(nameof(TOnMin));
}
///
/// Called when the TOffMin has changed.
///
protected virtual void OnTOffMinChanged(Int32 toffmin)
{
TOffMinChanged?.Invoke(this, toffmin);
RaisePropertyChanged(nameof(TOffMin));
}
///
/// Called when the Active has changed.
///
protected virtual void OnActiveChanged(Boolean active)
{
ActiveChanged?.Invoke(this, active);
RaisePropertyChanged(nameof(Active));
}
///
/// Called when the P01ConfigWord has changed.
///
protected virtual void OnP01ConfigWordChanged(Int32 p01configword)
{
P01ConfigWordChanged?.Invoke(this, p01configword);
RaisePropertyChanged(nameof(P01ConfigWord));
}
///
/// Called when the HardwareMotorType has changed.
///
protected virtual void OnHardwareMotorTypeChanged(HardwareMotorType hardwaremotortype)
{
HardwareMotorTypeChanged?.Invoke(this, hardwaremotortype);
RaisePropertyChanged(nameof(HardwareMotorType));
}
///
/// Called when the HardwareVersion has changed.
///
protected virtual void OnHardwareVersionChanged(HardwareVersion hardwareversion)
{
HardwareVersionChanged?.Invoke(this, hardwareversion);
RaisePropertyChanged(nameof(HardwareVersion));
}
///
/// Initializes a new instance of the class.
///
public HardwareMotorBase() : base()
{
}
}
}