KPIMonitor类图
2018-05-16 16:03:55 0 举报
基于PHP查询数据库并生成文件
作者其他创作
大纲/内容
PHPExcel
- rows:array- titlename:int
MMEsQuery
- ebmSqlCreater:object- conditionGenerator:object- mysql:object+ city:string
- __construct()- query()
SitesSqlCreater
MMEsConfigDB
+ filterCondition:array+ mysql:object
+ __construct()+ CreateSql()
TACsQuery
- nbmSqlCreater:object- enbCounterSqlCreater:object- conditionGenerator:object- ebmSqlCreater:object- sybase:object+ ciry:string+ monitorlog:object
CellsConfigDB
+ filterCondition:array+ maxTime:string+ subNets:string+ mysql:object+ sybase:object
Sybase
+ server:string+ username:string+ password:string+ dbname:string+ port:int+ arr:array- instance:Object- link:string
+ getInstance()+ getRows()
enbCounterSqlCreater
+ sql:string
+ CreateSql()- convertInternalCounter()- createTempTable()- getCitySQL()- parserKPI()
mySqlCreater
+ parserKPI()+ createSelectTable()
Mysql
+ server:string+ username:string+ password:string+ dbname:string+ arr:array- instance:object- link:string
ConfigFile
+ path: string+ monitorfunction:string+ locationDim:string+ timeDim:string+ connName:string+ ip:string+ user:string+ passwd:string+ dbName:string
+ parse()
ebmSqlCreater
+ CreateSql()
CellsQuery
- enbCounterSqlCreater:object- nbmSqlCreater:object- conditionGenerator:object- mysql:object- sybase:object+ city:string# kpiArray:array# kpiZhArray:array+ titlename
+ __construct()+ query()# getArrs()+ checkGenerateExcel()
CellsConditionGenerator
+ configDb:object- counter:object+ counters:array+ arrs:array
+ __construct()+ generator()
ConfigDB
+ connName:string+ queryDB:array
# parse()# getRules()# getFilterCondition()# getKpisRow()# getKpis()# getSubNets()# getDataSource():$queryDB
KPIMonitor
+ title: string+ type: string
MMEsConditionGenerator
nbmSqlCreater
ConditionGenerator
+ generator()
SitesConditionGenerator
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
TACsConfigDB
+ filterCondition:array+ mysql:object+ sybase:object
TACsConditionGenerator
SitesQuery
KPIQuery
Counter
+ parse()- loadCounterFromDb()- loadCountersFromFile()
SitesConfigDB
ExcelGenerator
- __construct()- generator()
收藏
收藏
0 条评论
下一页