Ejemplo n.º 1
0
 protected override void moduleConfigHasChanged()
 {
     base.moduleConfigHasChanged();
     _currentValue = _func.get_currentValue();
     if (_currentValue == YAPI.INVALID_DOUBLE)
     {
         _currentValue = Double.NaN;
     }
     _unit            = _func.get_unit();
     _updateFrequency = _func.get_reportFrequency();
     if (_updateFrequency == "OFF")
     {
         _updateFrequency = "auto";
     }
     _logFrequency    = _func.get_logFrequency();
     _reportFrequency = _func.get_reportFrequency();
     _advMode         = _func.get_advMode() + 1;
     _resolution      = _func.get_resolution();
 }