Beispiel #1
0
 public MainForm()
 {
     InitializeComponent();
     dataBaseHelper   = new DataBaseGetData();
     fileHelper       = new FileHelper();
     jitterTestResult = new JitterTestResult();
 }
Beispiel #2
0
        public void SaveToXml(JitterTestResult result, string path)
        {
            XmlSerializer serializer = new XmlSerializer(typeof(JitterTestResult));

            using (XmlWriter writer = XmlWriter.Create(path))
            {
                serializer.Serialize(writer, result);
                writer.Flush();
            }
        }
Beispiel #3
0
 public int AddTestSetup(JitterTestResult testResult
                         )
 {
     return(context.AddNewTestSetup(
                testResult.NovaVersion,
                testResult.MantaVersion,
                testResult.Product,
                testResult.ImageLength,
                testResult.RawDataEnabled,
                testResult.FodEnabled,
                testResult.SurveilanceEnabled,
                testResult.StatisticsEnabled,
                testResult.MeasureFrom,
                testResult.ConveyorSpeed,
                testResult.DataBaseSize,
                testResult.CsvFileName,
                testResult.TestSystem.SystemID,
                testResult.OpcClient,
                testResult.NlcpPoints,
                testResult.Comment));
 }