kor TürkçeGitHub

DockBoard

Runs the docks of a warehouse.

kor/ui/DockBoardSource

When to use

  • Use it on a yard or warehouse screen.

Examples

Assign a truck

Loading the example

<k:DockBoard docks="{path: '/docks', templateShareable: false}" queue="{path: '/queue', templateShareable: false}" assign=".onAssign">
	<k:docks><k:Dock key="{key}" name="{name}" plate="{plate}" text="{text}" state="{state}" progress="{progress}"/></k:docks>
	<k:queue><k:DockTruck key="{plate}" plate="{plate}" text="{text}" time="{time}"/></k:queue>
</k:DockBoard>

API

Properties

NameTypeDefaultDescription
titlestringTitle
selectedTruckstringSelected truck in the queue

Aggregations

NameTypeDescription
docksDock[]Docks
queueDockTruck[]Waiting trucks

Events

NameTypeDescription
dockPresskey: stringA dock was pressed
assigntruck: string
dock: string
A truck was assigned to a dock. The application updates the data

Dock

A dock.

Properties

NameTypeDefaultDescription
keystringKey
namestringDock name
platestringLicense plate of the docked truck. Empty means free
textstringCarrier or description
statestringloading, unloading, waiting, problem or closed
statusTextstringStatus text
progressfloat0Percentage loaded or unloaded

DockTruck

A truck waiting for a dock.

Properties

NameTypeDefaultDescription
keystringKey
platestringLicense plate
textstringCarrier or description
timestringWaiting time or appointment

Related

LoadPlanSchedule