74 lines
3.5 KiB
C#
74 lines
3.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Xylem.Common.Logic.ProductionOrderCore.TestResults
|
|
{
|
|
public class TestResults : INotifyPropertyChanged
|
|
{
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
protected void OnPropertyChanged(string propertyName)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
|
|
|
|
|
|
public List<TestPointDetail> Details;
|
|
public List<TestPoint> TestPointsMain;
|
|
public List<ChnlTestPoint> TestPointsChannels;
|
|
public String MeterType;
|
|
|
|
public Int32 Serialnr { get { return _Serialnr; } set { if (value != _Serialnr) { _Serialnr = value; OnPropertyChanged("Serialnr"); } } }
|
|
public Int32 TestRunNr { get { return _TestRunNr; } set { if (value != _TestRunNr) { _TestRunNr = value; OnPropertyChanged("TestRunNr"); } } }
|
|
public Int32 TestBenchNr { get { return _TestBenchNr; } set { if (value != _TestBenchNr) { _TestBenchNr = value; OnPropertyChanged("TestBenchNr"); } } }
|
|
public DateTime Date { get { return _Date; } set { if (value != _Date) { _Date = value; OnPropertyChanged("Date"); } } }
|
|
public Int32 MeterSize { get { return _MeterSize; } set { if (value != _MeterSize) { _MeterSize = value; OnPropertyChanged("MeterSize"); } } }
|
|
public Double AirTempC { get { return _AirTempC; } set { if (value != _AirTempC) { _AirTempC = value; OnPropertyChanged("AirTempC"); } } }
|
|
public Double AirPressure { get { return _AirPressure; } set { if (value != _AirPressure) { _AirPressure = value; OnPropertyChanged("AirPressure"); } } }
|
|
public Double AirHumanity { get { return _AirHumanity; } set { if (value != _AirHumanity) { _AirHumanity = value; OnPropertyChanged("AirHumanity"); } } }
|
|
public Double WaterTempC { get { return _WaterTempC; } set { if (value != _WaterTempC) { _WaterTempC = value; OnPropertyChanged("WaterTempC"); } } }
|
|
public Int32 TotalMeters { get { return _TotalMeters; } set { if (value != _TotalMeters) { _TotalMeters = value; OnPropertyChanged("TotalMeters"); } } }
|
|
public String Remark { get { return _Remark; } set { if (value != _Remark) { _Remark = value; OnPropertyChanged("Remark"); } } }
|
|
|
|
private Int32 _Serialnr;
|
|
private Int32 _TestRunNr ;
|
|
private Int32 _TestBenchNr ;
|
|
private DateTime _Date ;
|
|
private Int32 _MeterSize ;
|
|
private Double _AirTempC ;
|
|
private Double _AirPressure ;
|
|
private Double _AirHumanity ;
|
|
private Double _WaterTempC ;
|
|
private Int32 _TotalMeters ;
|
|
private String _Remark ;
|
|
|
|
}
|
|
public class TestPoint
|
|
{
|
|
public Int32 TestPointNr { get; set; }
|
|
public Double Error { get; set; }
|
|
}
|
|
public class ChnlTestPoint
|
|
{
|
|
public Int32 TestPointNr { get; set; }
|
|
public Int32 ChanlNr { get; set; }
|
|
public Double Error { get; set; }
|
|
public Double TimeS { get; set; }
|
|
public Double VolumenQm { get; set; }
|
|
}
|
|
public class TestPointDetail
|
|
{
|
|
public Double TimeS { get; set; }
|
|
public Double FlowTargetQmh { get; set; }
|
|
public Double FlowrateQmh { get; set; }
|
|
public Double VolumeQm { get; set; }
|
|
public String Info { get; set; }
|
|
public Boolean Scale { get; set; }
|
|
}
|
|
}
|