pub struct WimModule;Expand description
Engine module for the WiM process family.
Registers all WiM Prüfidentifikator values into the
mako_engine::pid_router::PidRouter at engine startup:
| PID(s) | Workflow key | Module | Role |
|---|---|---|---|
| 55039 | wim-device-change | Kündigung MSB (MSBN → MSBA) | any |
| 55042 | wim-device-change | Anmeldung MSB (MSBN → NB) | any |
| 55051 | wim-device-change | Ende MSB / Abmeldung (MSBA → NB) | any |
| 55168 | wim-device-change | Verpflichtungsanfrage / Aufforderung (NB → gMSB) | any |
| 17001, 17002, 17009 | wim-geraeteubernahme | Geräteübernahme ORDERS | any |
| 17132 | wim-stammdaten | Stammdaten Anforderung Strom (NB → MSB), MSB role | any |
| 17102–17133 | wim-stammdaten | Stammdatenübermittlung responses (MSB → NB), NB role | Nb only |
| 39002 | wim-wertebestellung | ESA Stornierung der Bestellung (ORDCHG) | Msb only |
| 19001, 19002 | wim-geraeteubernahme | ORDRSP Bestellbestätigung/Ablehnung from NB | nMSB only |
| 19015, 19016 | wim-geraeteubernahme | ORDRSP Gerätewechselabsicht Bestätigung/Ablehnung | any |
§Role-conditional PIDs (ORDRSP 19001/19002)
GPKE Konfiguration claims 19001/19002 on an NB instance — it receives them
after sending ORDERS 17134/17135 — and WiM Geräteübernahme claims them on an
nMSB instance, answering its own ORDERS 17001. Only one reading can win, so
the WiM one is registered when DeploymentRoles contains
Marktrolle::Nmsb. Use DeploymentRoles::nmsb() and
DeploymentRoles::nb() rather than a catch-all role set on a deployment
that is both.
19015/19016 are not gated: nothing else claims them, and the deployment that receives them is the one that sent the 17009 they answer.
Trait Implementations§
Source§impl EngineModule for WimModule
impl EngineModule for WimModule
Source§fn workflow_names(&self) -> &'static [&'static str]
fn workflow_names(&self) -> &'static [&'static str]
Every workflow this module owns, named. Read more
Source§fn register_pids_with_roles(
&self,
router: &mut PidRouter,
roles: &DeploymentRoles,
)
fn register_pids_with_roles( &self, router: &mut PidRouter, roles: &DeploymentRoles, )
Register PIDs with role-context awareness. Read more
Source§fn profile_requirements(&self) -> &'static [ProfileRequirement]
fn profile_requirements(&self) -> &'static [ProfileRequirement]
Declare the EDIFACT profile types this module requires at runtime. Read more
Auto Trait Implementations§
impl Freeze for WimModule
impl RefUnwindSafe for WimModule
impl Send for WimModule
impl Sync for WimModule
impl Unpin for WimModule
impl UnsafeUnpin for WimModule
impl UnwindSafe for WimModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more