- 新增OperationDashboard.vue全屏大屏组件 - 添加6个核心KPI指标卡片: 进水总量/出水总量/产销差率/营收额/平均水质/报警次数 - 实现6个ECharts图表: 供水趋势/水质分布/报警统计/管网空间/设备状态/营收分析 - 创建静态HTML版本operation-dashboard.html,使用CDN加载Vue3/ECharts/Element Plus - 更新路由配置,添加/operation路径支持 - 修复nextTick导入问题,优化build脚本 🚧 开发者: bot_dev1 📝 任务: #38 [BI] 运营仪表盘 + 供水专题大屏
51 lines
1.5 KiB
JavaScript
51 lines
1.5 KiB
JavaScript
import DeveloperError from "../Core/DeveloperError.js";
|
|
|
|
/**
|
|
* The subdivision scheme for an implicit tileset.
|
|
*
|
|
* @enum {string}
|
|
* @private
|
|
* @experimental This feature is using part of the 3D Tiles spec that is not final and is subject to change without Cesium's standard deprecation policy.
|
|
*/
|
|
const ImplicitSubdivisionScheme = {
|
|
/**
|
|
* A quadtree divides a parent tile into four children, split at the midpoint
|
|
* of the x and y dimensions of the bounding box
|
|
* @type {string}
|
|
* @constant
|
|
* @private
|
|
*/
|
|
QUADTREE: "QUADTREE",
|
|
/**
|
|
* An octree divides a parent tile into eight children, split at the midpoint
|
|
* of the x, y, and z dimensions of the bounding box.
|
|
* @type {string}
|
|
* @constant
|
|
* @private
|
|
*/
|
|
OCTREE: "OCTREE",
|
|
};
|
|
|
|
/**
|
|
* Get the branching factor for the given subdivision scheme
|
|
* @param {ImplicitSubdivisionScheme} subdivisionScheme The subdivision scheme
|
|
* @returns {number} The branching factor, either 4 for QUADTREE or 8 for OCTREE
|
|
* @private
|
|
*/
|
|
ImplicitSubdivisionScheme.getBranchingFactor = function (subdivisionScheme) {
|
|
switch (subdivisionScheme) {
|
|
case ImplicitSubdivisionScheme.OCTREE:
|
|
return 8;
|
|
case ImplicitSubdivisionScheme.QUADTREE:
|
|
return 4;
|
|
//>>includeStart('debug', pragmas.debug);
|
|
default:
|
|
throw new DeveloperError("subdivisionScheme is not a valid value.");
|
|
//>>includeEnd('debug');
|
|
}
|
|
};
|
|
|
|
Object.freeze(ImplicitSubdivisionScheme);
|
|
|
|
export default ImplicitSubdivisionScheme;
|