污水业务中台领域服务-v4
  1. GeneralData
污水业务中台领域服务-v4
  • AerationControl
    • 调用曝气控制算法,计算风量 Calculate air volume using Aeration Control algorithm
      POST
    • 执行曝气控制 Execute aeration control
      POST
    • 获取曝气控制的当前状态信息 Get aeration control current status
      GET
    • 获取控制相关的时间序列 Get aeration control related time-series data
      POST
    • 设置曝气控制执行的频率Set aeration control frequency
      POST
    • 曝气统计信息查询 Get aeration control statistic data
      GET
    • 曝气记录信息查询 Get aeration control related history data
      GET
    • 将指定时间段内的曝气统计与曝气记录数据统一导出到一个excel文件中 Export aeration control statistic data and history data of a certain period to one excel file
      GET
    • 通过规则控制,计算风机状态 Calculate airflow device status by rule
      POST
    • 执行曝气控制,控制风机状态 Execute aeration control of airflow device status
      POST
  • BuildCalcDosageConfig
    • 获取所有加药配置 Get all the dosing algorithm parameters config data
      GET
    • 添加加药配置信息 Add dosing algorithm parameters config data
      POST
    • 根据ID删除加药配置信息 Delete dosing algorithm parameters config data by ids
      POST
    • 更新加药配置信息 Update dosing algorithm parameters config data
      POST
  • DosingParamSetting
    • 获取所有加药参数设置信息 Get all dosing parameter setting data
    • 通过条件查询加药参数设置信息 Get dosing parameter setting data by condition
    • 通过代码和工艺线查询加药参数设置信息 Get dosing parameter setting data by code and product line
    • 添加加药参数设置信息 Add dosing parameter setting data
    • 根据ID删除加药参数设置信息 Delete dosing parameter setting data by ids
    • 更新加药参数设置信息 Update dosing parameter setting data
  • DosingStatisticDaily
    • 获取所有加药日统计信息 Get all dosing daily statistic data
    • 通过药剂类型获取加药日统计信息 Get dosing daily statistic data by dosage type
    • 通过时间获取加药日统计信息 Get dosing daily statistic data by time
    • 添加加药日统计信息 Add dosing daily statistic data
    • 根据ID删除加药日统计信息 Delete dosing daily statistic data by ids
    • 更新加药日统计信息 Update dosing daily statistic data
  • DosingStatisticMonthly
    • 获取所有加药月统计信息 Get all dosing monthly statistic data
    • 通过药剂类型获取加药月统计信息 Get dosing monthly statistic data by dosage type
    • 通过时间获取加药月统计信息 Get dosing monthly statistic data by time
    • 添加加药月统计信息 Add dosing monthly statistic data
    • 根据ID删除加药月统计信息 Delete dosing monthly statistic data by ids
    • 更新加药月统计信息 Update dosing monthly statistic data
  • GeneralData
    • 获取进水水质数据,包括原始数据和清洗后数据 Get inlet water quality data, including source data and processed data
      GET
    • 获取出水水质数据,包括在线数据和模拟结果数据 Get effluent water quality data, including online processed data and model result data
      GET
    • 通过生产线获取全流程水质 Get water quality entire process data by product line
      GET
    • 获取MABR池水质项的分层时间序列数据 Get water quality time-series data in MABR layers
      GET
    • 获取各个生化池上最新一个时刻的观测值 Get latest monitor data for biochemical tanks
      GET
    • 获取数据看板统计数据 Get statistic data for data board
      GET
    • 定时统计看板数据
      GET
    • 获取进出水水质预警信息 Get alarm data for inlet and outlet water quality
      GET
    • 获取指定时间段内的模型精度统计数据 Get model precison statistic data of a certain period
      GET
    • 获取优化建议 Get optimization recommendation data
      GET
    • 查询关键设备维护预警信息 Get key device maintenance warning information
      GET
    • 根据实际投药量,获取吨水药耗统计信息 Get dosage cost per ton of inflow water statistic result based on actual dosage
      GET
    • 查询吨水能耗统计信息 Get energy cost per ton of inflow water statistic result
      GET
    • 根据展示类型获取点位配置信息
      GET
    • 获取碳足迹
      GET
    • 获取药剂用量
      GET
  • HistoryData
    • 获取指标查询的可选择项的具体信息 Get all the historical data indicators for selection on the front end
    • 根据时间段和点位代码查询清洗后的在线数据和模拟结果数据 Get processed online data or model result data by time and codes
    • 导出清洗后的在线数据,模拟结果数据 Export processed online data or model result data as an excel file
  • ImportExport
    • 导入业务服务配置文件Excel / Import config Excel
    • 导出配置文件Excel / Export config Excel
  • IntelligentBusConfig
    • 获取所有的智能加药展示配置信息 Get all intelligent dosage page display config data
    • 通过展示类型枚举获取配置信息 Get intelligent dosage page display config data by display type
    • 添加智能加药展示配置信息 Add intelligent dosage page display config data
    • 根据ID删除智能加药展示配置信息 Delete intelligent dosage page display config data by ids
    • 更新智能加药展示配置信息 Update intelligent dosage page display config data
  • IntelligentDenitrification
    • 获取加药参数 Get dosing paramters
    • 保存加药参数 Save dosing parameters
    • 获取生化池工艺运行状态 Get biochemical pool operation status
    • 获取药剂投加速率 Get dosing rate data
    • 获取实测或模拟的时间序列数据 Get online or simulated time-series data
    • 获取指定时间段内的加药报表 Get dosing logs of a certain period
    • 指定时间段内加药统计查询 Get dosing daily statistic results of a certain period
    • 指定时间段内加药报表文件导出 Export dosing logs of a certain period as an excel file
    • 指定时间段内加药统计文件导出 Export dosing daily statistic results of a certain period as an excel file
  • IntelligentMccr
    • 获取铁催化剂加药,或者双氧水加药的实际投加速率与计算投加速率 Get actual and calculated dosing rate data of iron catalysts or hydrogen peroxide
    • 指定时间段内加药报表文件导出 Export dosing logs of a certain period as an excel file
    • 指定时间段内加药统计查询 Get dosing daily statistic results of a certain period
    • 指定时间段内加药统计文件导出 Export dosing daily statistic results of a certain period as an excel file
    • 获取催化反应前后的浊度、电导 Get online turbidity and conductivity data before and after catalysis
    • 获取催化池的进水量、pH、ORP数据 Get online inflow, pH, ORP data in the catalysis pool
    • 执行MCCR加药plc控制,同时写入加药日志 Execute MCCR dosing plc control and write dosing logs
    • 计算指定产线的MCCR加药量 calculate MCCR's dosage by product line
    • 执行指定产线的MCCR加药plc控制,同时写入加药日志 Execute MCCR dosing plc control and write dosing logs for one product line
  • IntelligentPhosDosing
    • 指定时间段内加药报表文件导出 Export dosing logs of a certain period as an excel file
    • 指定时间段内加药统计查询 Get dosing daily statistic results of a certain period
    • 指定时间段内加药统计文件导出 Export dosing daily statistic results of a certain period as an excel file
    • 除磷剂加药计算 Execute Phosphorus dosage calculation
    • 执行除磷剂加药plc控制,同时写入加药日志 Execute Phosphorus dosing plc control and write dosing logs
    • 除磷剂加药量日/月统计,定期执行(半小时) Execute Phosphorus dosage daily and monthly statistics periodically (every half an hour)
  • MainBusConfig
    • 获取所有首页展示指标配置信息 Get all home page display config data
    • 根据展示类型枚举获取配置信息 Get home page display config data by display type
    • 添加首页展示配置信息 Add home page display config data
    • 根据ID删除首页配置信息 Delete home page display config data by ids
    • 更新首页配置信息 Update home page display config data
    • 添加工艺模拟实验室方案指标配置 Add process simulation lab indicator config data
    • 获取工艺模拟实验室方案指标配置 Get process simulation lab indicator config data
    • 添加模型精度配置 Add model precision config data
    • 获取模型精度配置 Get model precision config data
    • 添加数据看板统计配置信息 Add system statistic config data for data board
    • 修改统计配置信息 Update system statistic config data for data board
  • Optimization
    • 生成吨水能耗的日统计结果和月统计结果,保存入库 Generate daily and monthly statistic result of energy cost per ton of water, and store in database
    • 获取当前时刻的控制建议值
    • 修改某一控制项的远程控制与否 Modify remote control for a kind of control items
    • 基于控制建议执行远程控制 Execute remote control based on control suggestions
    • 获取优化控制点位上,实测值与优化模拟值的对比信息 Get online data and optimization model result data on control points
    • 获取出水口水质,实测值与优化模拟值得对比信息 Get online data and optimization model result data on outlet
    • 获取总吨水药耗的实际值与优化值,包括时间序列与平均值 Get overall real dosage cost per ton and optimized dosage cost per ton, including time-series data and average value
    • 获取吨水电耗的实际值与优化值,包括时间序列与平均值 Get real energy cost per ton and optimized energy cost per ton, including time-series data and average value
    • 获取吨水电耗的实际值与优化值,包括时间序列与平均值 Get real energy cost per ton and optimized energy cost per ton, including time-series data and average value
    • 将指定时间段内的优化对比的所有数据统一导出到一个excel文件中 Export optimization compare result data of a certain period to one excel file
    • 将指定时间段内的优化对比的所有数据统一导出到一个excel文件中 Export optimization compare result data of a certain period to one excel file
    • 根据类型获取优化配置 Get Optimization config by type
    • 获取指定优化类型的实际值与优化值,包括时间序列与平均值 Get specify optimization point of real and optimized, including time-series data and average value
    • 获取优化控制点位上,当前时刻的实测值与优化模拟值的对比信息 Get current online data and optimization model result data on control points
    • 数据下发到opc
    • 导出历史优化建议数据
  • ProNumSimLab
    • 获取方案的出水水质结果数据 Get outlet water quality time-series result of a scenario
    • 根据ID删除方案,同时删除方案相关的设置数据 Delete scenario as well as its corresponding setting data by scenario ids
    • 查询方案进水数据 Get scenario's inlet time-series data
    • 查询SCADA数据 Get inlet time-series data from SCADA
    • 进水点数据文件excel上传 Upload inlet time-series data in an excel file
    • 进水点文件模板下载 Download the inlet time-series data excel file template.
    • 保存进水数据到方案(入数据库) Save inlet time-series data of a scenario in database
    • 查询方案参数设置 Get scenario's parameter setting data
    • 保存方案参数设置 Save scenario's parameter setting data
    • 查询方案结果配置 Get scenario's result setting data
    • 查询与指定方案的结果配置一样的方案列表 Get scenarios which can be compared with the specified scenario
    • 获取方案的生化区电耗或碳足迹信息
    • 保存方案结果配置 Save scenario's result setting data
    • 单个工艺线水质全流程查询 Get scenario's water quality entire process result data of a certain product line
    • 获取单个方案MABR池水质项的分层时间序列数据 Get scenario's water quality time-series data in MABR layers
    • 生化池查询 Get biochemical pool config data
    • 单个工艺线单个生化池指标统计查询 Get scenario's statistic result of all the indicators on a certain biochemical pool of a specified product line
    • 多方案控制参数对比 Get several scenarios' control paramters for comparison
    • /api/app/pro-num-sim-lab/optimization-config-by-type
  • Scenario
    • 滚动计算,包括创建方案,设置进水数据,保存模型参数,发送ModelDriver模型计算
  • SystemSetting
    • 获取所有清洗配置点位 Get all the processed settings for data clean algorithm
    • 增加所有清洗配置点位 Add processed settings for data clean algorithm
    • 根据ID删除清洗配置点位 Delete processed settings by ids
    • 修改清洗配置点位 Update processed settings for data clean algorithm
    • 进水水质预警配置查询 Get inlet water quality alarm config
    • 进水水质组分比例设置查询 Get inlet water quality parameter settings
    • 水质模拟预测点位配置查询 Get indicator config data for water quality simulation and analysis
    • 水质模拟预测点位配置更新 Update indicator config data for water quality simulation and analysis
  • ToxicityMonitor
    • 实时水质毒性和实时生物抑制率 Get real time water toxicity and biological inhibition rate
    • 获取毒性监测记录 Get historical toxicity monitoring records
    • 获取预警记录 Get historical toxicity alarm records
    • 获取质控记录 Get historical quality control records
    • 首页预警信息 Get toxicity alarm data
  • WQAnalysis
    • 查询水质全流程统计数据 Get water quality entire process statistic data
    • 获取微生物生长模拟结果 Get microbial growth simulation results
    • 查询水质输入点位信息 Get online water quality points detailed information
    • 查询在线点位时间序列数据 Get online water quality or control data
    • 查询特定工艺线下的工艺运行输入点位 Get online control points detailed information on a certain product line
    • 更新在线水质或控制点数据 Update online water quality or control data
  • ControlDevice
    • 获取设备的自动模式状态
    • 保存设备的自动模式状态
    • 删除租户下所有的设备自动模型状态信息
  • CalculateDosage
    • 加药计算,包括碳源加药和MCCR加药计算 Execute dosage calculation, including carbon source dosage and MCCR dosage
    • 计算指定产线的碳源加药量 calculate carbon's dosage by product line
    • 更新计算参数-推送数据(清洗数据) Push processed time-series data to dosage algorithm
    • 更新计算参数-推送指定产线的数据(清洗数据) Push processed time-series data to dosage algorithm for one product line
    • 更新计算参数-推送数据(mccr相关点位推送原表数据) Push source time-series data to dosage algorithm
    • 执行碳源加药plc控制,同时写入加药日志 Execute carbon source dosing plc control and write dosing logs
    • 执行指定产线的碳源加药plc控制,同时写入加药日志 Execute carbon source dosing plc control and write dosing logs by specify product line
    • 判断加药量,写入报警日志 Write dosage alarm logs based on dosage
    • 加药量日/月统计,定期执行(半小时) Execute dosage daily and monthly statistics periodically (every half an hour)
  • GlobalConfig
    • 获取所有全局配置信息 Get all global config data
    • 通过配置类型获取全局配置信息 Get global config data by config type
    • 添加全局配置信息 Add global config data
    • 删除全局配置信息 Delete global config data
    • 更新全局配置信息 Update global config data
  1. GeneralData

根据实际投药量,获取吨水药耗统计信息 Get dosage cost per ton of inflow water statistic result based on actual dosage

GET
/api/v2/output/chemical-cost
GeneralData
返回过去七天,每天每条工艺线上的碳源加药吨水药耗和MCCR加药吨水药耗 Carbon source doage cost per ton of water and MCCR dosage cost per ton of water of each product line and each day in the past seven days will be returned.

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Query 参数
modelName
string 
可选
模型名称 template model name

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://online-products.dhichina.cn/gateway/wwtp-paas-main-bus-service/api/v2/output/chemical-cost'

返回响应

🟢200成功
text/plain
Success
Body
array of:
chemicalName
string  | null 
可选
药剂名称 dosage name
datas
array[object (Data) {3}]  | null 
可选
每条工艺线的吨水药耗数据 dosage cost per ton water of each product line
productLine
string  | null 
可选
工艺线代码 product line code
raiseRatio
number <double> | null 
可选
与上一周对比的增长率,若为负数,则表示降低了 raise ratio compared to last week
costDatas
array[object (CostData) {2}]  | null 
可选
一周中每天的吨水药耗 dosage cost per ton water of each day
示例
[
    {
        "chemicalName": "string",
        "datas": [
            {
                "productLine": "string",
                "raiseRatio": 0,
                "costDatas": [
                    {
                        "time": "string",
                        "value": 0
                    }
                ]
            }
        ]
    }
]
🟠400请求有误
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
🔴500服务器错误
🔴501501
上一页
查询关键设备维护预警信息 Get key device maintenance warning information
下一页
查询吨水能耗统计信息 Get energy cost per ton of inflow water statistic result
Built with