Skip to content

A experiment to make a auto management in a warehouse

Notifications You must be signed in to change notification settings

tadeubdev/warehouse

Repository files navigation

warehouse

For now, you can create some motor.

const sizeAttrs: SizeAttrs = {width: 10, height: 10};
const size: Size = new Size(sizeAttrs);

const positionAttrs: PositionAttrs = {top: 0, left: 0};
const dimensionAttrs: DimensionAttrs = {width: 100, height: 100};
const dimension: DimensionBase = new SquareDimension(dimensionAttrs);
const position: Position = new Position(positionAttrs, dimension);
const generateId: IGenerateId = new TimestampId();

const motor = new GetFooterMotor(position, size, generateId);

while (motor.canMoveBottom()) {
    motor.move();
}

console.log(motor.topPosition()); // prints: 90

About

A experiment to make a auto management in a warehouse

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published