Esempio n. 1
0
        public sSensorSettings Copy()
        {
            sSensorSettings result = new sSensorSettings();

            result.GlobalSignal      = GlobalSignal.Copy();
            result.Signal            = Signal.Copy();
            result.Scale             = Scale;
            result.OpticalProbesBase = OpticalProbesBase;
            result.IpAddress         = IpAddress;
            result.LedIntensity      = LedIntensity;
            result.AutoConnectMode   = AutoConnectMode;
            result.HighSpeed         = HighSpeed.Copy();
            result.Threshold         = Threshold;
            result.Identification    = Identification;
            return(result);
        }
Esempio n. 2
0
 // Start is called before the first frame update
 void Awake()
 {
     Instance    = this;
     CurrentTime = 0;
 }