RealTimeSensorExceptionsEntity GitHub

📊 Overview: 3 Functions 4 Getters

Extends: Entity

🕐 Last updated: 2026-01-13T16:04:13.269Z


📑 Table of Contents


Functions

Regular Functions

getRealTimeSelection

[🖥️ local]

Function getRealTimeSelection -> cs.RealTimeSelection

Queries RealTime table for all records within this exception’s ID range and matching works order; returns entity selection used by other methods to aggregate data

Returns: cs.RealTimeSelection


getTemperatureSensors

[🖥️ local]

Function getTemperatureSensors($Zone : Integer) -> Collection

Returns collection of temperature sensor readings (from RealTime records) for specified zone, or all zones if $Zone not provided; filters based on this exception’s real-time records

Parameters:

Name Type Optional Description
$Zone Integer - -

Returns: Collection


sendEmail

Function sendEmail -> Boolean

Builds and sends HTML email with temperature exception details including works order, machine, tool, affected zones, and temperature readings; returns success boolean; creates table showing min/max temperatures with pass/fail coloring

Returns: Boolean


Computed Attributes (Getters/Setters/Query/OrderBy)

Duration

[🔍 get only, 🖥️ local]

Function get Duration -> Time

Returns total cycle time for this exception’s real-time records converted to Time format; aggregates CycleTime between FirstRealTimeID and LastRealTimeID

Returns: Time


HighestCelciusTemperature

[🔍 get only, 🖥️ local]

Function get HighestCelciusTemperature -> Real

Returns maximum temperature (in Celsius) recorded across all sensors during this exception’s real-time records; returns 0 if no sensor data available

Returns: Real


LowestCelciusTemperature

[🔍 get only, 🖥️ local]

Function get LowestCelciusTemperature -> Real

Returns minimum temperature (in Celsius) recorded across all sensors during this exception’s real-time records; returns 0 if no sensor data available

Returns: Real


PartsMade

[🔍 get only, 🖥️ local]

Function get PartsMade -> Integer

Returns total impressions (parts produced) for this temperature exception’s real-time records; aggregates from all records between FirstRealTimeID and LastRealTimeID

Returns: Integer


🗂️ Tables


Generated from RealTimeSensorExceptionsEntity.4dm


This site uses Just the Docs, a documentation theme for Jekyll.