1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- import request from '@/utils/request'
- // 获取区域和子公司
- export function getOrganization() {
- return request({
- url: '/assets/GetCompanyList',
- method: 'GET'
- })
- }
- // 根据公司查询资产
- export function GetComoanyAssets(data) {
- return request({
- url: `/assets/GetComoanyAssets?companyCode=${data.companyCode}&type=${data.type}`,
- method: 'get',
- })
- }
- //获取实时指标数据
- export function GetRealTimeValues(data) {
- return request({
- url: `/realTime/GetRealTimeValues?companyCode=${data.companyCode}&uniformCode=${data.uniformCode}`,
- method: 'get',
- })
- }
- //获取计算数据
- export function GetCalcValues(data) {
- return request({
- url: `/realTime/GetCalcValues?companyCode=${data.companyCode}&uniformCode=${data.uniformCode}`,
- method: 'get',
- })
- }
- // 获取实时发电量
- export function GetPlanValues(data) {
- return request({
- url: `/assets/GetFDLPlanValues?companyCode=${data.companyCode}&planDate=${data.planDate}`,
- method: 'get',
- })
- }
- //获取设备状态
- export function GetRealTimeStaValues(data) {
- return request({
- url: `/realTime/GetRealTimeValuesAll?companyCode=${data.companyCode}`,
- method: 'get',
- })
- }
- //获取曲线数据
- export function GetCurveValues(data) {
- return request({
- url: `/realTime/GetCurveValues?companyCode=${data.companyCode}&uniformCode=${data.uniformCode}&intervalTime=${data.intervalTime}`,
- method: 'get',
- })
- }
- // 获取地图电场编号
- export function GetPowerStation(data) {
- return request({
- url: `/assets/GetPowerStation?companyCode=${data.companyCode}&stationType=${data.stationType}`,
- method: 'get',
- })
- }
- //根据场站编码获取资产信息
- export function GetPowerStationAssets(data) {
- return request({
- url: `/assets/GetPowerStationAssets?stationCode=${data.stationCode}`,
- method: 'get',
- })
- }
|