public SysConfig() { this.storagePath = string.Format("{0}\\Archive", System.Environment.CurrentDirectory); this.archivePath = string.Format("{0}\\Archive", System.Environment.CurrentDirectory); lenses = new List <Lense>(); this.laserConfig = LaserConfig.GetLaserConfig(); }
public static LaserConfig GetLaserConfig() { if (laserConfig == null) { laserConfig = new LaserConfig(); } return(laserConfig); }