public CHANNEL_MODE(bool enable, AdcRange range, bool ac, bool icp) { _Enable = enable; _Range = range; _AC = ac; _ICP = icp; _sensor_rout = 0; Reserved = new uint[3]; for (int i = 0; i < Reserved.Length; i++) { Reserved[i] = 0; } }
public float FactoryCalibScale(int ch, int freqIndex, AdcRange range) { return(module.FactoryCalibScale(ch, freqIndex, range)); }
public float UserCalibScale(int ch, int freqIndex, AdcRange range) { return(module.UserCalibScale(ch, freqIndex, range)); }
public void fillUserCalibScale(int ch, int freqIndex, AdcRange range, float value) { module.fillUserCalibScale(ch, freqIndex, range, value); }
public void fillChannelRange(int ch, AdcRange range) { module.fillChannelRange(ch, range); }
public float FactoryCalibScale(int ch, int freqIndex, AdcRange range) { return(_ADCCalibration[calib_struct_index(ch, freqIndex)].FactoryCalibScale[calibr_val_index(range)]); }
public float UserCalibOffset(int ch, int freqIndex, AdcRange range) { return(_ADCCalibration[calib_struct_index(ch, freqIndex)].UserCalibOffset[calibr_val_index(range)]); }
public void fillUserCalibScale(int ch, int freqIndex, AdcRange range, float value) { _ADCCalibration[calib_struct_index(ch, freqIndex)].UserCalibScale[calibr_val_index(range)] = value; }
int calibr_val_index(AdcRange range) { return((int)range); }
public void fillChannelRange(int ch, AdcRange range) { _ADCChannelRange[ch] = range; }