mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 13:28:11 +00:00
feat: enhance station work logging with user display names and improve loading/unloading logic
This commit is contained in:
@@ -328,12 +328,32 @@ export interface WagonAllocationSnapshotAllocation {
|
||||
containerNumbers: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Coupled-but-empty consist wagon captured with the frozen plan. The physical
|
||||
* wagons are released and re-pinned to later trains after dispatch/arrival, so
|
||||
* this snapshot is the only record of which empties rode THIS departure.
|
||||
*/
|
||||
export interface WagonAllocationSnapshotEmptyWagon {
|
||||
physicalWagonId: string;
|
||||
physicalWagonNumber: string | null;
|
||||
/** Real coupling position on the built train at capture time. */
|
||||
sequenceNo: number;
|
||||
wagonTypeId: string | null;
|
||||
wagonTypeCode: string | null;
|
||||
wagonTypeName: string | null;
|
||||
capacityTons: number;
|
||||
tareWeightTons: number | null;
|
||||
lengthMeters: number;
|
||||
}
|
||||
|
||||
/** Whole-schedule frozen wagon plan written at a terminal/transit transition. */
|
||||
export interface WagonAllocationSnapshot {
|
||||
/** Schedule status the snapshot was captured at (DISPATCHED/ARRIVED/CANCELLED). */
|
||||
capturedStatus: string;
|
||||
capturedAt: string;
|
||||
slots: WagonAllocationSnapshotSlot[];
|
||||
/** Absent on snapshots captured before empties were recorded. */
|
||||
emptyConsistWagons?: WagonAllocationSnapshotEmptyWagon[];
|
||||
}
|
||||
|
||||
export type ScheduleTradeDirection = "IMPORT" | "EXPORT" | "DOMESTIC";
|
||||
|
||||
Reference in New Issue
Block a user