Install
xeto install project-haystack
depends: { "project-haystack": "^3.9.0" }
Specs
142 type definitions in this library
▶
Site
extends Entity
Ontology
Field
Type
Description
dis
Str
Display name of the site
geoAddr
Str?
Street address of the site
geoCity
Str?
City of the site location
area
Number?
Gross floor area in square meters
tz
TimeZone
IANA timezone identifier
▶
Equip
extends Entity
Ontology
Field
Type
Description
dis
Str
Display name
siteRef
Ref<Site>
Reference to parent site
equipRef
Ref<Equip>?
Optional parent equipment (for sub-equip)
▶
Point
extends Entity
Ontology
Field
Type
Description
dis
Str
Display name
kind
PointKind
Bool, Number, or Str kind
unit
Unit?
Engineering unit for numeric points
equipRef
Ref<Equip>
Parent equipment reference
▶
Ahu
extends Equip
HVAC
Field
Type
Description
ahu
Marker
Air handling unit marker
coolingCapacity
Number?
Rated cooling capacity in kW
▶
Vav
extends Equip
HVAC
vav
Marker
Variable air volume box marker
ahuRef
Ref<Ahu>
Parent AHU reference
+ 137 more specs in this library
View all →
Xeto Source Preview
// project-haystack / Site.xeto
pragma: Lib {
version: "3.9.13"
depends: { "xeto-core": "^5.0.0", "ion": "^2.0.0" }
}
Site: Entity {
// Display name of the site
dis: Str
geoAddr: Str?
geoCity: Str?
geoCountry: Str?
area: Number? { unit: "m²" }
tz: TimeZone
weatherRef: Ref<WeatherStation>?
}
Equip: Entity {
dis: Str
siteRef: Ref<Site>
equipRef: Ref<Equip>?
}
Ahu: Equip {
ahu: Marker
coolingCapacity: Number?
}