@ -0,0 +1,78 @@ |
|||||||
|
import { ArcRotateCamera } from "@babylonjs/core/Cameras/arcRotateCamera"; |
||||||
|
import { Type } from "class-transformer"; |
||||||
|
import { ArcRotateCameraData } from "../camera-data"; |
||||||
|
|
||||||
|
/** |
||||||
|
* 加油站展示数据 |
||||||
|
*/ |
||||||
|
export class JYZShowData { |
||||||
|
|
||||||
|
/** |
||||||
|
* 模块类型 |
||||||
|
*/ |
||||||
|
moudleType: JYZInfoMoudleType; |
||||||
|
|
||||||
|
/** |
||||||
|
* 摄像机数据 |
||||||
|
*/ |
||||||
|
@Type(() => ArcRotateCameraData) |
||||||
|
cameraData: ArcRotateCameraData; |
||||||
|
|
||||||
|
/** |
||||||
|
* 展示罩棚 |
||||||
|
*/ |
||||||
|
showZP: boolean; |
||||||
|
|
||||||
|
constructor(moudleType: JYZInfoMoudleType, camera: ArcRotateCamera, showZP: boolean) { |
||||||
|
this.moudleType = moudleType; |
||||||
|
this.cameraData = new ArcRotateCameraData(); |
||||||
|
this.cameraData.getDataFromCamera(camera); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* 加油站信息模块类型 |
||||||
|
*/ |
||||||
|
export enum JYZInfoMoudleType { |
||||||
|
|
||||||
|
/** |
||||||
|
* 基本信息 |
||||||
|
*/ |
||||||
|
JBXX = "JBXX", |
||||||
|
|
||||||
|
/** |
||||||
|
* 应急处置 |
||||||
|
*/ |
||||||
|
YJCZ = "YJCZ", |
||||||
|
|
||||||
|
/** |
||||||
|
* 消防 |
||||||
|
*/ |
||||||
|
XF = "XF", |
||||||
|
/** |
||||||
|
* 加油机 |
||||||
|
*/ |
||||||
|
JYJ = "JYJ", |
||||||
|
/** |
||||||
|
* 油罐 |
||||||
|
*/ |
||||||
|
YG = "YG", |
||||||
|
/** |
||||||
|
* 输油管 |
||||||
|
*/ |
||||||
|
SYG = "SYG", |
||||||
|
/** |
||||||
|
* 油气回收管线 |
||||||
|
*/ |
||||||
|
YQHSGX = "YQHSGX", |
||||||
|
/** |
||||||
|
* 安全疏散 |
||||||
|
*/ |
||||||
|
AQSS = "AQSS", |
||||||
|
|
||||||
|
/** |
||||||
|
* 罩棚 |
||||||
|
*/ |
||||||
|
ZP = "ZP", |
||||||
|
} |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.2 KiB |