Пример #1
0
 public bool NeedRefreshView(ChannelConfig cmpObj)
 {
     return(Enabled != cmpObj.Enabled || Unit != cmpObj.Unit);
 }
Пример #2
0
 public bool NeedRestartTask(ChannelConfig cmpObj)
 {
     return(Coupling != cmpObj.Coupling || Probe != cmpObj.Probe ||
            Enabled != cmpObj.Enabled || Math.Abs(Range - cmpObj.Range) > Constants.MinDoubleValue);
 }
Пример #3
0
 public bool Eqauls(ChannelConfig cmpObj)
 {
     return(!NeedRefreshView(cmpObj) && !NeedRestartTask(cmpObj));
 }