tx
2025-04-09 fa7510e1ed63df0366787fa4ed1b3db6426d2b46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
 
namespace TProduct.WinFrmUI.TValve
{
    public class CalcFeatTestBaseDlg : TProduct.WinFrmUI.TBase.CalcBaseDlg
    {
 
        public CalcFeatTestBaseDlg() : base()
        {
 
        }
        public Action<TProduct.Model.ValveFeatTestRecordViewModel, int> OnSaveRecord = null;
 
        public virtual void NewTestRecord(List<TProduct.Model.MonitorPointValuePure> valueList)
        {
        }
        public virtual void EditTestRecord(TProduct.Model.ValveFeatTestRecordViewModel record)
        {
        }
 
        protected List<TProduct.Model.WorkBenchMonitorPoint> _allMonitorList = null;
        public virtual void InitialMonitorInfo(List<TProduct.Model.WorkBenchMonitorPoint> allMonitorList)
        {
            this._allMonitorList = allMonitorList;
        }
 
 
        protected TProduct.Model.TestProjectParas _testParas = null;
        internal void SetTestInfo(
            TProduct.Model.WorkBenchBase bench,
            TProduct.Model.TestProjectItemView testItem)
        {
            this._testItemID = testItem.ItemID;
            this._testItem = testItem;
 
 
            _testParas = testItem.ProjectParas;
 
        }
 
 
        protected double _dia = 1;//单位米
        internal void SetValveDia(double dia)
        {
            _dia = dia;
        }
 
 
 
 
        //是否温度换算
        protected bool _isTemperatureTrn = false;
        internal void SetIsTemperatureTrn(bool isTemperatureTrn)
        {
            this._isTemperatureTrn = isTemperatureTrn;
        }
    }
}