WIKI WIKI
首页
  • 升级日志
  • 转换器部署
  • 使用须知
  • 基础功能
  • 材质替换
  • 模型批注
  • 常见问题
双碳
演示站点 (opens new window)
SuperAPI (opens new window)
  • CIM (opens new window)
  • TIM (opens new window)
  • WIM (opens new window)
首页
  • 升级日志
  • 转换器部署
  • 使用须知
  • 基础功能
  • 材质替换
  • 模型批注
  • 常见问题
双碳
演示站点 (opens new window)
SuperAPI (opens new window)
  • CIM (opens new window)
  • TIM (opens new window)
  • WIM (opens new window)
  • 使用须知
  • 项目制作

  • 基础功能

    • 资产围栏
    • 光伏
      • 光伏模型
        • 生成
        • 清空
      • 光伏请求
        • 请求设置
        • 获取网络请求信息
        • 回调监听
        • 区域碳核算
        • 光伏智能框选
        • 光伏人工框选
    • 特效
    • 拆楼
目录

光伏

# 光伏模型

# 生成

const jsonData = {
    "ModelName": "BP_ATS",    
    "ModelBottomHeight": 1400, 
    "AzimuthAngle": 0,         
    "SlopeAngle": 0,           
    "PVLocation": [
        "116.44028915011928, 39.950039373027155, 0",
        "116.44028897477675, 39.9500608429604, 0",
        "116.44028879943403, 39.95008231289356, 0",
        "116.44028862409113, 39.95010378282663, 0",
        "116.44028843036054, 39.95012750422073, 0",
        "116.44028825501723, 39.95014897415364, 0"
    ]
}

cloudRender.SuperAPI("SpawnPVModel", jsonData)

参数说明

字段名 字段说明 备注
ModelName 模型类型 BP_ATS、BP_TH、BP_XX、BP_JK、BP_JA
ModelBottomHeight 模型高度 单位:cm
AzimuthAngle 模型朝向角 单位: °
SlopeAngle 模型倾斜角 单位: °
PVLocation 模型生成点数组 GIS坐标

# 清空

cloudRender.SuperAPI("ClearPVModel")

# 光伏请求

# 请求设置

const jsonData = {
    "RegionIndex": 0,        
    "Azimuth": 10.0,         
    "SlopeAngle": 10.0,      
    "Parapet": 10.0,         
    "AisleType": 10,         
    "AisleWidth": 10.5,      
    "AisleSideCount": 10.0,  
    "RoofBearing": 10,       
    "RoofLoad": 1.0,         
    "RoofCount": 17,         
    "Type": 1,               
    "Model": "1",            
    "InstallationMethod": 2, 
    "SideCount": 2,          
    "MinSpacing": 0.3,       
    "Arrangement": 0,    
    "DateYear": "2022"
}

cloudRender.SuperAPI("SetPVSetting", jsonData)

参数说明

字段名 字段说明 备注
RegionIndex 围栏索引
Azimuth 方位角 单位: °
SlopeAngle 角 单位: °
Parapet 女儿墙高度 单位: cm
AisleType 智能过道 0: 是,1: 否
AisleWidth 过道宽度 单位: cm
AisleSideCount 并列组件数量
RoofBearing 屋顶称重校验 0: 是,1: 否
RoofLoad 屋顶荷载余量 单位: KN/㎡
RoofCount 单位组件数量 单位: KG
Type 排版设置 1: 自定义设置,2: 智能排布
Model 组件模型
InstallationMethod 组件安装方式 1: 竖装,2: 横装
SideCount 组件并排数
MinSpacing 组件最小安装间距 单位: cm
Arrangement 排布方式 1: 组件数量优化,2: 系统满发小时数优化,3: 组件满发小时数优化
DateYear 方案请求时间

# 获取网络请求信息

const jsonData = {
    "TargetType": 0
}

cloudRender.SuperAPI("GetRqstStr", jsonData)

参数说明

TargetType: 获取的字符串类型

  • 0: 区域碳核算
  • 1: 光伏智能框选
  • 2: 光伏人工框选铺设面积选择
  • 3: 光伏人工框选障碍物选择

# 回调监听

提示

获取网络请求信息 时有效

# 区域碳核算

警告

仅在类型为区域碳核算的 资产围栏时有效

{
  "command": "event",
  "func_name": "GetRegionInfo",
  "args": {
    "PlanUUID": "20220801121535",
    "startTime": "2021-07",
    "endTime": "2022-06",
    "buildingIdsList": [
      [ "T04","T06"],
      [ "T05","T10","T11"]
    ]
  }
}

参数说明

字段名 字段说明
PlanUUID 计划的UUID
startTime 区域碳核算的开始时间
endTime 区域碳核算的结束时间
buildingIdsList 资产围栏框选的建筑物集合

# 光伏智能框选

警告

仅在类型为光伏智能框选的 资产围栏 时有效

{
  "command": "event",
  "func_name" : "GetRegionInfo",
  "args" : [
    {
      "PlanUUID": "20220801121535",
      "azimuth": 0.0,
      "slopeAngle" : 30.0,
      "parapet" : 0.0,
      "aisleType" : 0,
      "aisleWidth" : 0.5,
      "aisleSideCount" : 20.0,
      "roofBearing" : 0,
      "roofLoad" : 1.0,
      "roofCount" : 17,
      "type" : 1,
      "model" : "0",
      "installationMethod" : 2,
      "sideCount" : 2,
      "minSpacing" : 0.3,
      "arrangement" : 0,
      "dateYear" : "0",
      "name" : "Plan1",
      "uuid" : "",
      "data" : [
        {
          "coordinate": [
            "108.914944,35.660842,1053.552002",
            "108.915458,35.660844,1053.552002",
            "108.915453,35.661453,1053.552002",
            "108.914933,35.661454,1053.552002"
          ] ,
          "barrier": [
            [
              "108.915395,35.661020,1059.015991",
              "108.915161,35.661008,1059.015991",
              "108.915161,35.661145,1059.015991",
              "108.915360,35.661145,1059.015991"
            ]
          ],
          "area": 2881.746826
        }
      ]
    },
    {
      "Key": "区域二的数据,数据格式同区域1"
    }
  ]
}

参数说明

字段名 字段说明 备注
PlanUUID 计划的UUID
azimuth 方位角 单位: °
slopeAngle 坡度角 单位: °
parapet 女儿墙高度 单位: cm
aisleType 智能过道 0: 是,1: 否
aisleWidth 过道宽度 单位: cm
aisleSideCount 并列组件数量
roofBearing 屋顶称重校验 0: 否,1: 是
roofLoad 屋顶荷载余量 单位: KN/㎡
roofCount 单位组件数量 单位: KG
type 排版设置 1: 自定义设置,2: 智能排布
model 组件模型
installationMethod 组件安装方式 1: 竖装,2: 横装
sideCount 组件并排数
minSpacing 组件最小安装间距 单位: cm
arrangement 排布方式 1: 组件数量优化,2: 系统满发小时数优化,3: 组件满发小时数优化
dateYear 方案请求时间
name 方案名
uuid 方案UUID
data coordinate:资产围栏n中的铺设面积关键点位数组
barrier:资产围栏n中的扣减面积关键点位数组
area:区域n的面积

# 光伏人工框选

警告

仅在类型为光伏人工框选的 资产围栏 时有效

{
  "command": "event",
  "func_name" : "GetRegionInfo",
  "args" : [
    {
      "PlanUUID": "20220801121535",
      "azimuth": 0.0,
      "slopeAngle" : 30.0,
      "parapet" : 0.0,
      "aisleType" : 0,
      "aisleWidth" : 0.5,
      "aisleSideCount" : 20.0,
      "roofBearing" : 0,
      "roofLoad" : 1.0,
      "roofCount" : 17,
      "type" : 1,
      "model" : "0",
      "installationMethod" : 2,
      "sideCount" : 2,
      "minSpacing" : 0.3,
      "arrangement" : 0,
      "dateYear" : "0",
      "name" : "Plan1",
      "uuid" : "",
      "data" : [
        {
          "coordinate": [
            "108.914944,35.660842,1053.552002",
            "108.915458,35.660844,1053.552002",
            "108.915453,35.661453,1053.552002",
            "108.914933,35.661454,1053.552002"
          ] ,
          "barrier": [
            [
              "108.915395,35.661020,1059.015991",
              "108.915161,35.661008,1059.015991",
              "108.915161,35.661145,1059.015991",
              "108.915360,35.661145,1059.015991"
            ]
          ],
          "area": 2881.746826
        }
      ]
    },
    {
      "Key": "区域二的数据,数据格式同区域1"
    }
  ]
}

参数说明

字段名 字段说明 备注
PlanUUID 计划的UUID
azimuth 方位角 单位: °
slopeAngle 坡度角 单位: °
parapet 女儿墙高度 单位: cm
aisleType 智能过道 0: 是,1: 否
aisleWidth 过道宽度 单位: cm
aisleSideCount 并列组件数量
roofBearing 屋顶称重校验 0: 否,1: 是
roofLoad 屋顶荷载余量 单位: KN/㎡
roofCount 单位组件数量 单位: KG
type 排版设置 1: 自定义设置,2: 智能排布
model 组件模型
installationMethod 组件安装方式 1: 竖装,2: 横装
sideCount 组件并排数
minSpacing 组件最小安装间距 单位: cm
arrangement 排布方式 1: 组件数量优化,2: 系统满发小时数优化,3: 组件满发小时数优化
dateYear 方案请求时间
name 方案名
uuid 方案UUID
data coordinate:资产围栏n中的铺设面积关键点位数组
barrier:资产围栏n中的扣减面积关键点位数组
area:区域n的面积
上次更新: 2023/02/16, 12:12:47
资产围栏
特效

← 资产围栏 特效→

最近更新
更多文章>
Theme by Vdoing | Copyright © 2021-2024 51AES
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式