public bool NeedRefreshView(ChannelConfig cmpObj) { return(Enabled != cmpObj.Enabled || Unit != cmpObj.Unit); }
public bool NeedRestartTask(ChannelConfig cmpObj) { return(Coupling != cmpObj.Coupling || Probe != cmpObj.Probe || Enabled != cmpObj.Enabled || Math.Abs(Range - cmpObj.Range) > Constants.MinDoubleValue); }
public bool Eqauls(ChannelConfig cmpObj) { return(!NeedRefreshView(cmpObj) && !NeedRestartTask(cmpObj)); }