コード例 #1
0
ファイル: AllPatients.cs プロジェクト: marlonnn/CII.HV
 public static AllPatients GetAllPatients()
 {
     if (allPatients == null)
     {
         allPatients = new AllPatients();
     }
     return(allPatients);
 }
コード例 #2
0
ファイル: SysConfig.cs プロジェクト: marlonnn/CII.HV
 private void SetDefault()
 {
     this.ccd = new CCD();
     this.graphicsPropertiesManager = new GraphicsPropertiesManager();
     this.Lense                   = new Lense(1);
     this.lenses                  = new List <Lense>();
     this.laserConfig             = new LaserConfig();
     this.storagePath             = string.Format("{0}\\Archive", System.Environment.CurrentDirectory);
     this.archivePath             = string.Format("{0}\\Archive", System.Environment.CurrentDirectory);
     this.Function                = SystemFunction.Empty;
     this.DefaultScaleCoefficient = 4;
     this.recordTime              = 1;
     AllPatients                  = AllPatients.GetAllPatients();
     //this.deviceMoniker = @"@device:pnp:\\?\usb#vid_eb1a&pid_2860#5&20c67efd&0&7#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global";
     this.deviceName             = "USB 2860 Video";
     this.localHotKeyContainer   = new List <LocalHotKey>();
     this.globalHotKeyContainer  = new List <GlobalHotKey>();
     this.chordHotKeyContainer   = new List <ChordHotKey>();
     this.compensationFactor     = 1.0f;
     this.screenshotWithLocation = false;
 }