////////////////////////////////////////////////////////////////////////// /// <summary> /// Assigns the excitation laser configuration of the source to the current object. /// </summary> /// <param name="that">The source range information to be copied.</param> public void Assign(ExcitationLaserConfiguration that) { if (that != null) { this.Laser = that.Laser; this.RemoteEnabled = that.RemoteEnabled; this.Wavelength = that.Wavelength; this.PowerLevel = that.PowerLevel; this.SetpointTemperature = that.SetpointTemperature; this.KeyOn = that.KeyOn; this.DevicePresent = that.DevicePresent; this.CurrentFault = that.CurrentFault; this.TemperatureLock = that.TemperatureLock; this.CurrentDrive = that.CurrentDrive; } }
////////////////////////////////////////////////////////////////////////// /// <summary> /// Constructs an excitation laser configuration. /// </summary> /// <param name="source">The source excitation laser configuration to copy.</param> public ExcitationLaserConfiguration(ExcitationLaserConfiguration source) { // Assign the excitation laser configuration. Assign(source); }