示例#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));
 }