ascender:假人电梯系统

时间:2021-05-14 11:22:26
【文件属性】:
文件名称:ascender:假人电梯系统
文件大小:367KB
文件格式:ZIP
更新时间:2021-05-14 11:22:26
Java 引言 这是电梯系统的非常基本的实现。 安装 使用git clone https://github.com/nabsha/ascender.git获取代码的最新副本 使用cd ascender && mvn clean install编译 使用mvn exec:java运行它 用法 一旦应用程序运行,它将公开以下REST端点与电梯系统进行交互 :此api返回每层​​等待的人数和交付到每层的人数 :此api返回系统中所有电梯的模型 :此api使用POST方法在给定楼层添加人员。 它期望表单中的三个字段分别为floorNumber,peopleCount和destinationFloor。表单主体必须编码为“ x-www-form-urlencoded” :此api向ElevatorController提交使用电梯的请求。 ElevatorController依次选择一个合适的Elev
【文件预览】:
ascender-master
----pom.xml(2KB)
----src()
--------test()
--------main()
----.gitignore(23B)
----README.md(7KB)

网友评论