数字孪生Web 后台dt( digital twin)2.0版本
统一命名格式
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
export { }
|
|
|
|
/* eslint-disable */
|
|
|
|
//定义全局变量
|
|
|
|
declare global {
|
|
|
|
|
|
|
|
interface Window {
|
|
|
|
earth: any;
|
|
|
|
XE: any;
|
|
|
|
Cesium: any;
|
|
|
|
d3kit: any;
|
|
|
|
$earth: any;
|
|
|
|
$uia: any;
|
|
|
|
$viewer: any;
|
|
|
|
_CONFIG: any;
|
|
|
|
$flyTo: any;
|
|
|
|
guid: any;
|
|
|
|
$message: any;
|
|
|
|
$: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 对Date的扩展,将 Date 转化为指定格式的String
|
|
|
|
interface Date {
|
|
|
|
/**
|
|
|
|
* 对Date的扩展,将 Date 转化为指定格式的String
|
|
|
|
* 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符,
|
|
|
|
* 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字)
|
|
|
|
* (new Date()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2006-07-02 08:09:04.423
|
|
|
|
* (new Date()).Format("yyyy-M-d h:m:s.S") ==> 2006-7-2 8:9:4.18
|
|
|
|
* @param fmt
|
|
|
|
* @constructor
|
|
|
|
*/
|
|
|
|
Format(fmt: string): string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|