-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUL484 Clause 46 Test Condition.py
69 lines (66 loc) · 2.86 KB
/
UL484 Clause 46 Test Condition.py
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
60
61
62
63
64
65
66
67
68
69
#!/bin/env python
#coding=utf8
Tc_Input=("26.7/19.4","35/23.9","26.7/19.4","23.9/35","-","-","21.1","15.6/7.2","25","21.1/14.7","21.1/14.7","-")
Tc_Temp_Pressure=("40/26.7","40/26.7","40/26.7","26.7/37.8","21.1/14.7","21.1/14.7","21.1","21.1/12.8","25","21.1/14.7","21.1/14.7","25")
#print len(Tc_Temp_Pressure)
print("=============Menu=============")
print("1.cooling")
print("2.Reverse cycle heating")
print("3.Resistance heat only")
print("4.Combination reverse cycle-resistance heat")
print("5.Steam or hot water")
#print "Please choose the number:1-5:"
choice1=input("Please choose the number:1-5\n")
print("=============Result============")
if choice1=="1":
print("Air cooling or water cooling?")
choice2=input("a for Air cooling;w for water cooling,please choose:\n")
if choice2=="a":
print("Input Test:")
print("Indoor air(DB/WB):",Tc_Input[0])
print("Outdoor air(DB/WB):",Tc_Input[1])
print("Temperature and pressure test:")
print("Indoor air(DB/WB):",Tc_Temp_Pressure[0])
print("Outdoor air(DB/WB):",Tc_Temp_Pressure[1])
if choice2=="w":
print("Input Test:")
print("Indoor air(DB/WB):",Tc_Input[2])
print("Outdoor air(DB/WB):",Tc_Input[3])
print("Temperature and pressure test:")
print("Indoor air(DB/WB):",Tc_Temp_Pressure[2])
print("Outdoor air(DB/WB):",Tc_Temp_Pressure[3])
elif choice1=="2":
choice2=input("a for Air cooling;w for water cooling,please choose:\n")
if choice2=="a":
print("Input Test:")
print("Indoor air(DB/WB):",Tc_Input[4])
print("Outdoor air(DB/WB):",Tc_Input[5])
print("Temperature and pressure test:")
print("Indoor air(DB/WB):",Tc_Temp_Pressure[4])
print("Outdoor air(DB/WB):",Tc_Temp_Pressure[5])
if choice2=="w":
print("Input Test:")
print("Indoor air(DB/WB):",Tc_Input[6])
print("Outdoor air(DB/WB):",Tc_Input[7])
print("Temperature and pressure test:")
print("Indoor air(DB/WB):",Tc_Temp_Pressure[6])
print("Outdoor air(DB/WB):",Tc_Temp_Pressure[7])
elif choice1=="3":
print("Input Test:")
print("Room Air Temperature:",Tc_Input[8])
print("Temperature and pressure test:")
print("Room Air Temperature:",Tc_Temp_Pressure[8])
elif choice1=="4":
print("Input Test:")
print("Indoor air(DB/WB):",Tc_Input[9])
print("Outdoor air(DB/WB):",Tc_Input[10])
print("Temperature and pressure test:")
print("Indoor air(DB/WB):",Tc_Temp_Pressure[9])
print("Outdoor air(DB/WB):",Tc_Temp_Pressure[10])
elif choice1=="5":
print("Input Test:")
print("Room Air Temperature:",Tc_Input[11])
print("Temperature and pressure test:")
print("Room Air Temperature:",Tc_Temp_Pressure[11])
print("==============The end==============")
input("Press ENTER to continue!")