Remove dead handler re-exports from feeder
The feeder router uses platform_routes() directly from core, making these re-export modules unused. The only actual dependency (SignalRolePoint) now references plc_platform_core directly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
dabcde1fca
commit
087f016f01
|
|
@ -1,18 +1,2 @@
|
|||
pub mod control;
|
||||
pub mod doc;
|
||||
pub mod equipment {
|
||||
pub use plc_platform_core::handler::equipment::*;
|
||||
}
|
||||
pub mod log {
|
||||
pub use plc_platform_core::handler::log::*;
|
||||
}
|
||||
pub mod page {
|
||||
pub use plc_platform_core::handler::page::*;
|
||||
}
|
||||
pub mod point;
|
||||
pub mod source {
|
||||
pub use plc_platform_core::handler::source::*;
|
||||
}
|
||||
pub mod tag {
|
||||
pub use plc_platform_core::handler::tag::*;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ pub struct GetUnitListQuery {
|
|||
pub struct UnitEquipmentItem {
|
||||
#[serde(flatten)]
|
||||
pub equipment: plc_platform_core::model::Equipment,
|
||||
pub role_points: Vec<crate::handler::equipment::SignalRolePoint>,
|
||||
pub role_points: Vec<plc_platform_core::handler::equipment::SignalRolePoint>,
|
||||
}
|
||||
|
||||
#[derive(serde::Serialize)]
|
||||
|
|
@ -96,11 +96,11 @@ pub async fn get_unit_list(
|
|||
|
||||
let mut role_points_map: std::collections::HashMap<
|
||||
Uuid,
|
||||
Vec<crate::handler::equipment::SignalRolePoint>,
|
||||
Vec<plc_platform_core::handler::equipment::SignalRolePoint>,
|
||||
> = std::collections::HashMap::new();
|
||||
for rp in role_point_rows {
|
||||
role_points_map.entry(rp.equipment_id).or_default().push(
|
||||
crate::handler::equipment::SignalRolePoint {
|
||||
plc_platform_core::handler::equipment::SignalRolePoint {
|
||||
point_id: rp.point_id,
|
||||
signal_role: rp.signal_role,
|
||||
point_monitor: monitor_guard.get(&rp.point_id).cloned(),
|
||||
|
|
@ -222,11 +222,11 @@ pub async fn get_unit(
|
|||
.await;
|
||||
let mut role_points_map: std::collections::HashMap<
|
||||
Uuid,
|
||||
Vec<crate::handler::equipment::SignalRolePoint>,
|
||||
Vec<plc_platform_core::handler::equipment::SignalRolePoint>,
|
||||
> = std::collections::HashMap::new();
|
||||
for rp in role_point_rows {
|
||||
role_points_map.entry(rp.equipment_id).or_default().push(
|
||||
crate::handler::equipment::SignalRolePoint {
|
||||
plc_platform_core::handler::equipment::SignalRolePoint {
|
||||
point_id: rp.point_id,
|
||||
signal_role: rp.signal_role,
|
||||
point_monitor: monitor_guard.get(&rp.point_id).cloned(),
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
pub use plc_platform_core::handler::point::*;
|
||||
Loading…
Reference in New Issue