Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/xeto/ph.points.sugar/occupied.xeto
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//
// Copyright (c) 2026, Project-Haystack
// Licensed under the Academic Free License version 3.0
//
// History:
// 14 Sep 2026 Rick Jennings Creation
//

//////////////////////////////////////////////////////////////////////////
// Zone
//////////////////////////////////////////////////////////////////////////

// Sensor for the occupied state of a zone space; true when occupied,
// false when unoccupied
ZoneOccupiedSensor : OccupiedSensor { zone }

// Setpoint for the occupied state of a zone space; true when occupied,
// false when unoccupied
ZoneOccupiedSp : OccupiedSp { zone }

//////////////////////////////////////////////////////////////////////////
// Other
//////////////////////////////////////////////////////////////////////////

// Sensor for the occupied state of a parking bay; true when occupied,
// false when unoccupied
ParkingBayOccupiedSensor : OccupiedSensor { parkingBay }
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,8 @@
// 10 Dec 2025 Rick Jennings Creation
//

// Point associated with surface temperature
SurfaceTempPoint : NumberPoint <abstract> {
surface
temp
unit: Unit <quantity:"temperature"> "°F"
}

// Sensor that measures surface temperature
SurfaceTempSensor : SurfaceTempPoint & SensorPoint <abstract>

// Sensor that measures temperature of a heatsink
HeatsinkSurfaceTempSensor : SurfaceTempSensor { heatsink }
HeatsinkTempSensor : SurfaceTempSensor { heatsink }

// Sensor that measures temperature of an electric cable
ElecCableTempSensor : SurfaceTempSensor {
Expand Down
20 changes: 0 additions & 20 deletions src/xeto/ph.points/occupied.xeto
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,3 @@ OccupancyPoint : NumberPoint <abstract> {

// Sensor for counting the number of occupants
OccupancySensor : OccupancyPoint & SensorPoint <abstract>

//////////////////////////////////////////////////////////////////////////
// Zone
//////////////////////////////////////////////////////////////////////////

// Sensor for the occupied state of a zone space; true when occupied,
// false when unoccupied
ZoneOccupiedSensor : OccupiedSensor { zone }

// Setpoint for the occupied state of a zone space; true when occupied,
// false when unoccupied
ZoneOccupiedSp : OccupiedSp { zone }

//////////////////////////////////////////////////////////////////////////
// Other
//////////////////////////////////////////////////////////////////////////

// Sensor for the occupied state of a parking bay; true when occupied,
// false when unoccupied
ParkingBayOccupiedSensor : OccupiedSensor { parkingBay }
17 changes: 17 additions & 0 deletions src/xeto/ph.points/surface.xeto
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
//
// Copyright (c) 2026, Project-Haystack
// Licensed under the Academic Free License version 3.0
//
// History:
// 14 Sep 2026 Rick Jennings Creation
//

// Point associated with surface temperature
SurfaceTempPoint : NumberPoint <abstract> {
surface
temp
unit: Unit <quantity:"temperature"> "°F"
}

// Sensor that measures surface temperature
SurfaceTempSensor : SurfaceTempPoint & SensorPoint <abstract>