This commit is contained in:
2025-09-16 16:39:48 +08:00
commit c5808e85e2
336 changed files with 695951 additions and 0 deletions

BIN
EST-DSX Setup 1.2.0.exe Normal file

Binary file not shown.

29
README.md Normal file
View File

@@ -0,0 +1,29 @@
# 开发日志
# 2025/05/23
# OLTS 极限值计算
# 2025/05/26
# OLTS 基准设置的第一个连接匹配
# 红光口
# 2025/07/02
# v1.2.0-alpha 开发说明
## 认识界面
当前版本共有3个单页应用
[/]、[/amdin]、[/competition]
### /
EST 场景化模拟测试应用,主要的操作区域有如下几个功能区:模拟链路区域、测试仪界面操作区域、测试仪硬件连接区域、测试配件及工具区域、场景切换及场景任务区域
### /admin
管理员控制台,可以在该页面中配置不同场景下链路的情况,支持初始化配置、保存配置、导入导出配置;在该页面中,如果选择竞赛模式场景,则可以控制比赛开始结束,且当比赛开始,会强制弹出[/competition]的内容显示当前比赛情况。比赛结束后,会自动下载本场比赛数据,该场比赛的链路数据,选手的设备项目信息,测试结果,测试配置等信息。
### /competition
竞赛控制台,在该页面中,可以查看当前的比赛情况,包括当前的场景、当前的时间、当前的任务进度、当前的得分情况、当前的排名情况等。
## 场景选择
用户访问页面后,可以点击页面左侧的箭头标识,切换被测场景
## 仿真测试
用户可以选择铜缆分析模块通过鼠标拖放的方式将铜缆连接到测试仪主机与远端上。安装模块后根据测试模型拖放安装合适的适配器至模块接口上然后在测试仪界面操作区域创建项目、设置测试配置、选择测试极限值、配置测试线缆id、配置测试操作员、设置基准然后拖放跳线将跳线与被测链路相连点击测试等待测试完成后查看测试结果并分析

File diff suppressed because it is too large Load Diff

Binary file not shown.

7
jsconfig.json Normal file
View File

@@ -0,0 +1,7 @@
{
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
}
}

14
next.config.mjs Normal file
View File

@@ -0,0 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// async rewrites() {
// return [
// {
// source: '/api/:path*',
// destination: 'https://wxapi.est-live.cn/api/:path*', // 本地开发服务器地址
// },
// ];
// },
};
export default nextConfig;

3562
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

37
package.json Normal file
View File

@@ -0,0 +1,37 @@
{
"name": "est-dsx",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "echo !!竞赛期间请勿关闭此窗口!! && echo !!关闭后无法访问仿真平台!! && next start -p 3006",
"lint": "next lint"
},
"dependencies": {
"express": "^4.18.3",
"cors": "^2.8.5",
"@fingerprintjs/fingerprintjs": "^4.6.2",
"@headlessui/react": "^2.2.0",
"@hello-pangea/dnd": "^18.0.1",
"@heroicons/react": "^2.2.0",
"@jsplumb/browser-ui": "^6.2.10",
"bonjour": "^3.5.0",
"chart.js": "^4.4.8",
"echarts": "^5.6.0",
"echarts-for-react": "^3.0.2",
"idb-keyval": "^6.2.1",
"jsplumb": "^2.15.6",
"next": "15.2.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"reactflow": "^11.11.4",
"uuid": "^11.1.0",
"xlsx": "^0.18.5",
"zustand": "^5.0.3"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"tailwindcss": "^4"
}
}

5
postcss.config.mjs Normal file
View File

@@ -0,0 +1,5 @@
const config = {
plugins: ["@tailwindcss/postcss"],
};
export default config;

BIN
public/86.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

BIN
public/CHA804.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

BIN
public/Cable.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

BIN
public/Competition.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 KiB

BIN
public/DSX-CHA-M12-X-S.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

BIN
public/DSX-CHA021S.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

BIN
public/DSX-MA.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

BIN
public/DSX-PC6S.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

BIN
public/DSX-RE.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

BIN
public/DataCenter.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
public/ILT200.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

BIN
public/Industry.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
public/Industry2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
public/LC-clean.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
public/LC-connector.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

BIN
public/M12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 KiB

BIN
public/MM-LC-LC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 KiB

BIN
public/MM-MPO-LC-BOX.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

BIN
public/MM-MPO-LC-BOX2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
public/MM-MPO-LC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

BIN
public/MM-MPO-MPO.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

BIN
public/MMC-LC-LC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

BIN
public/MPO-clean.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

BIN
public/MechanicalArm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
public/MechanicalArm_3x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

BIN
public/Office.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 KiB

BIN
public/PLA804.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
public/SM-LC-LC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

BIN
public/SM-MPO-MPO.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 KiB

BIN
public/SMC-LC-LC.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

BIN
public/SkillCompetition.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

BIN
public/TO.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
public/arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

BIN
public/back.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
public/balance.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

BIN
public/battery.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

BIN
public/cam.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
public/cam_3x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
public/cfp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
public/connect.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
public/copy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
public/cursor-ILT.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
public/custom-clean-mpo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
public/custom-clean.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
public/custom-clean2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
public/delete.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

BIN
public/dsx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
public/est.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
public/fail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 B

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

View File

@@ -0,0 +1,6 @@
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="26px" height="20px">
<image x="0px" y="0px" width="26px" height="20px" xlink:href="data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAUBAMAAABhbjCNAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEXw8PDo7OgIRHAwZIBghJiAnLAQSHgQSHD////T5EcDAAAABnRSTlMAAAAAAABupgeRAAAAAWJLR0QIht6VegAAAAd0SU1FB+gLGQo3E3UsfncAAAArSURBVBjTY2BgYEuDgAQGEKA1Lw0ZkMCjhVsEUHjKrmzl5WXp5eVppSEGAC/QSR+ECNNkAAAAAElFTkSuQmCC" />
</svg>

After

Width:  |  Height:  |  Size: 542 B

BIN
public/lc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

BIN
public/m12-d.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
public/m12-x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
public/mdf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
public/mpo-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
public/mpo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
public/ofp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
public/olts-mm-fail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
public/olts-mm-pass.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
public/olts-sm-fail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
public/olts-sm-pass.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
public/otdr-start.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
public/pass.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 B

BIN
public/ref-cfp-ok-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
public/ref-cfp-ok-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
public/ref-cfp-trc-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
public/ref-cfp-trc-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
public/ref-cfp1-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
public/ref-cfp1-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
public/ref-cfp2-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
public/ref-cfp2-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
public/ref-cfp3-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
public/ref-cfp3-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
public/ref-cfp4-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
public/ref-cfp4-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
public/ref-cfp5-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
public/ref-cfp5-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
public/ref-cfp6-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

BIN
public/ref-cfp6-sm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
public/ref-cfp7-mm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Some files were not shown because too many files have changed in this diff Show More