Bobojy00/moonbit_factory_graph/src/types does not have a README file
impl Show for AlarmSeveritypub(all) struct EdgeMetadata {
id : String
source_id : String
target_id : String
flow_type : FlowType
bandwidth_units_per_hour : Double
transport_delay_sec : Double
distance_meters : Double
energy_loss_kw : Double
safety_level : SafetyLevel
protocol : ControlProtocol
medium : TransferMedium
energy_type : EnergyType
is_bidirectional : Bool
is_active : Bool
redundancy_priority : Int
description : String
} derive(Eq, Debug)fn EdgeMetadata::new(id : String, source_id : String, target_id : String, flow_type : FlowType, bandwidth_units_per_hour? : Double, transport_delay_sec? : Double, distance_meters? : Double, energy_loss_kw? : Double, safety_level? : SafetyLevel, protocol? : ControlProtocol, medium? : TransferMedium, energy_type? : EnergyType, is_bidirectional? : Bool, is_active? : Bool, redundancy_priority? : Int, description? : String) -> EdgeMetadatapub(all) struct NodeMetadata {
id : String
name : String
zone : String
subzone : String
node_type : NodeType
cycle_time_sec : Double
nominal_power_kw : Double
mtbf_hours : Double
mttr_hours : Double
capacity : Double
initial_wip : Double
max_wip : Double
is_bottleneck_candidate : Bool
status : OperatingStatus
safety_zone_id : String
description : String
} derive(Eq, Debug)fn NodeMetadata::new(id : String, name : String, node_type : NodeType, zone? : String, subzone? : String, cycle_time_sec? : Double, nominal_power_kw? : Double, mtbf_hours? : Double, mttr_hours? : Double, capacity? : Double, initial_wip? : Double, max_wip? : Double, is_bottleneck_candidate? : Bool, status? : OperatingStatus, safety_zone_id? : String, description? : String) -> NodeMetadatapub(all) struct PlantAlarm {
alarm_id : String
source_node_id : String
severity : AlarmSeverity
timestamp_sec : Int
message : String
is_acknowledged : Bool
tripped_nodes : Array[String]
} derive(Eq, Debug)fn PlantAlarm::new(alarm_id : String, source_node_id : String, severity : AlarmSeverity, timestamp_sec : Int, message : String, is_acknowledged? : Bool, tripped_nodes? : Array[String]) -> PlantAlarmfn TelemetryPoint::new(timestamp_sec : Int, node_id : String, metric_name : String, value : Double, unit : String, is_normal? : Bool) -> TelemetryPointpub(all) struct ValidationIssue {
rule_id : String
severity : ValidationSeverity
target_id : String
message : String
suggested_fix : String
} derive(Eq, Debug)fn ValidationIssue::new(rule_id : String, severity : ValidationSeverity, target_id : String, message : String, suggested_fix? : String) -> ValidationIssueInstall
Download zipIndustrial plant topology, multi-layer material/control/energy flow modeling and failure propagation graph engine in MoonBit.