Exemple #1
0
        public void SetChartDetector(Detector detector, DATA_TYPE type)
        {
            DetectorPanel pDetector = new DetectorPanel();

            pDetector.DetectorId = detector.Id;
            pDetector.Type       = type;
            pDetector.Title     += " " + detector.Name;
            pDetector.Top        = pDetector.Height * detector.Id;
            pDetector.Top       += 10;

            setDetectorFields(detector, type, pDetector);

            this.splitContainer.Panel2.Controls.Add(pDetector);
        }
Exemple #2
0
 private void setDetectorFields(Detector detector, DATA_TYPE type, DetectorPanel pDetector)
 {
     // Display and set descriptions results
     pDetector.SetDetectorFields(detector.Data[type], detector);
 }