Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlarmInfo ¶
type AlarmInfo struct {
AlarmCode string `json:"alarmCode"`
AlarmTitle string `json:"alarmTitle"`
Severity string `json:"severity"` // CRITICAL, WARNING, INFO
Component string `json:"component"`
TriggerCondition string `json:"triggerCondition"`
HistoricalStats string `json:"historicalStats"`
PossibleCauses []string `json:"possibleCauses"`
}
AlarmInfo is returned by industrial.alarm.lookup.
type IndustrialToolServer ¶
type IndustrialToolServer struct{}
IndustrialToolServer serves industrial tools as webhooks for Fenced Tool Gateway.
func NewIndustrialToolServer ¶
func NewIndustrialToolServer() *IndustrialToolServer
func (*IndustrialToolServer) ServeHTTP ¶
func (s *IndustrialToolServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SOPGuideline ¶
type SOPGuideline struct {
DocID string `json:"docId"`
DocTitle string `json:"docTitle"`
ApplicableTo string `json:"applicableTo"`
Steps []string `json:"steps"`
SafetyNotice string `json:"safetyNotice"`
}
SOPGuideline is returned by industrial.sop.search.
type SensorDataPoint ¶
type SensorDataPoint struct {
Timestamp string `json:"timestamp"`
Temperature float64 `json:"temperature"` // Celsius
CoolantFlow float64 `json:"coolantFlow"` // L/min (normal: 40-50)
SpindleRPM int `json:"spindleRpm"` // RPM
Vibration float64 `json:"vibration"` // mm/s (normal: < 2.5)
}
SensorDataPoint represents one industrial sensor reading.
type SensorQueryResult ¶
type SensorQueryResult struct {
EquipmentID string `json:"equipmentId"`
EquipmentName string `json:"equipmentName"`
EquipmentType string `json:"equipmentType"`
TimeRangeMinutes int `json:"timeRangeMinutes"`
CurrentStatus string `json:"currentStatus"`
Readings []SensorDataPoint `json:"readings"`
Anomalies []string `json:"anomalies"`
}
SensorQueryResult is returned by industrial.sensor.query.
Click to show internal directories.
Click to hide internal directories.