数字孪生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.

38 lines
881 B

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
}
}