예제 #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);
        }
예제 #2
0
 // Start is called before the first frame update
 void Awake()
 {
     Instance    = this;
     CurrentTime = 0;
 }