Exemplo n.º 1
0
 public int setFrontendSettings(ImagerData settings)
 {
     System.Object[] ret;
     ret = proxy.MDAXMLSetFrontendData(0,
                                       (int)settings.freq,
                                       (int)settings.samplingMode,
                                       0,
                                       settings.integrationTimeLong,
                                       settings.integrationTimeShort, 20,
                                       settings.delayTime
                                       );
     return (int)ret[0];
 }
Exemplo n.º 2
0
        public int getFrontendSettings(ref ImagerData settings)
        {
            System.Object[] result;
            result = proxy.MDAXMLGetFrontendData();
            if (0 == (int)result[0])
            {
                settings.freq = (ModulationFrequency)result[2];
                settings.samplingMode = (SamplingMode) result[3];
                settings.integrationTimeShort = (int)result[5];
                settings.integrationTimeLong = (int)result[6];
                settings.delayTime = (int)result[8];

            }
            return (int)result[0];
        }