This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindowShadingControl.cs
More file actions
68 lines (60 loc) · 2.86 KB
/
WindowShadingControl.cs
File metadata and controls
68 lines (60 loc) · 2.86 KB
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IDFObjects
{
[Serializable]
public class WindowShadingControl
{
public string name = "CONTROL ON ZONE TEMP";
public string zoneName;
public string fenestrationName;
public string sequenceNumber = "";
public string shadingType = "InteriorShade";
public string construction = "";
public string shadingControlType = "OnIfHighZoneAirTemperature";
public string scehduleName = "";
public float setPoint = 23;
public string scheduled = "NO";
public string glareControl = "NO";
public string material = "ROLL SHADE";
public string angleControl = "";
public string slatSchedule = "";
public string setPoint2 = "";
public string daylightControlObjectName;
public string multipleSurfaceControlType = "";
public WindowShadingControl() { }
public WindowShadingControl(Fenestration fenestration, string zoneDayLightControlName)
{
fenestrationName = fenestration.Name; zoneName = fenestration.ZoneName;
name = string.Format("CONTROL ON ZONE TEMP {0}", fenestration.Name);
daylightControlObjectName = zoneDayLightControlName;
}
public List<string> WriteInfo()
{
return new List<string>()
{
"WindowShadingControl,",
Utility.IDFLineFormatter(name, "Name"),
Utility.IDFLineFormatter(zoneName, "Zone Name"),
Utility.IDFLineFormatter(sequenceNumber, "Sequence Number"),
Utility.IDFLineFormatter(shadingType, "Shading Type"),
Utility.IDFLineFormatter(construction, "Construction with Shading Name"),
Utility.IDFLineFormatter(shadingControlType, "Shading Control Type"),
Utility.IDFLineFormatter(scehduleName, "Schedule Name"),
Utility.IDFLineFormatter(setPoint, "Setpoint {W/m2, W or deg C}"),
Utility.IDFLineFormatter(scheduled, "Shading Control Is Scheduled"),
Utility.IDFLineFormatter(glareControl, "Glare Control Is Active"),
Utility.IDFLineFormatter(material, "Shading Device Material Name"),
Utility.IDFLineFormatter(angleControl, "Type of Slat Angle Control for Blinds"),
Utility.IDFLineFormatter(slatSchedule, "Slat Angle Schedule Name"),
Utility.IDFLineFormatter(setPoint2, "Setpoint 2"),
Utility.IDFLineFormatter(daylightControlObjectName, "Daylight Control Object Name"),
Utility.IDFLineFormatter(multipleSurfaceControlType, "Multiple Control Type"),
Utility.IDFLastLineFormatter(fenestrationName, "Fenestration")
};
}
}
}