51timapi
Version:
TimApi is a traffic related plugin for WdpApi.
19 lines (18 loc) • 897 B
TypeScript
import { Basic } from './common/basic';
import { ResultType } from './common/data-type';
declare class EnvironmentController extends Basic {
private apiClassName;
private RequestEntity;
private objectMap;
constructor(obj: any);
Get(eid?: string): Promise<ResultType>;
GetOnly(eid: string): Promise<ResultType>;
GetCurrentWeather(cityName: string): Promise<ResultType>;
GetCityInfo(cityName: string): Promise<ResultType>;
SetRealTimeWeatherTimerAllowed(isAllowed?: boolean): Promise<ResultType>;
GetSkylightTime(): Promise<ResultType>;
SetSkylightTime(skylightTime: string, durationSeconds: number, bRealtime?: boolean): Promise<ResultType>;
GetSceneWeather(): Promise<ResultType>;
SetSceneWeather(sceneWeather: string, durationSeconds: number, bRealtime?: boolean): Promise<ResultType>;
}
export default EnvironmentController;