cellsysBase/cellsysChart.js

27 lines
733 B
JavaScript
Raw Permalink Normal View History

2024-08-14 16:20:56 +08:00
/*
* @Author: 杨汝岱
* @Date: 2022-04-25 14:30:49
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-04-28 14:05:27
* @Description: 文件描述
*/
class CellsysChart {
constructor(params) {
if (!params) { params = {} }
this.id = params.id
this.imgPath = params.img_path
this.litimgPath = params.litimg_path
this.name = params.name
this.optionPath = params.option_path
this.monitorKey = params.monitorKey; //当前图表对象对应的监控量字段
this.monitorName = params.monitorName; //当前图表对象对应的监控量字段
this.chartConfig = params.chartConfig; //当前图表对象的特殊配置项,如最大最小值等
}
}
export default CellsysChart