@fleet-frontend/mower-maps
Version:
a mower maps in google maps
24 lines • 1.56 kB
TypeScript
import { MowerIconConfig, MowerPositionConfig } from '../types/renderer';
export declare const H_MIN_DISTANCE = 2;
export declare const I_MIN_DISTANCE = 1;
export declare const X3_MIN_DISTANCE = 1;
export declare const isIModel: (modelType?: string) => boolean;
export declare const isHModel: (modelType?: string) => boolean;
export declare const isX3Model: (modelType?: string) => boolean;
export declare function getMowerImageByModal(mowerModal: string, hasEdger: boolean): string;
export declare function getDisabledMowerImageByModal(mowerModal: string): string;
export declare function getNoPositionMowerImageByModal(mowerModal: string): string;
export declare function getMowerImage(positonConfig: MowerPositionConfig, mowerIconConfig?: MowerIconConfig, modelType?: string, hasEdger?: boolean): string;
export declare function isNoPosture(posture?: number): boolean;
export declare function isInvalidPosition(positonConfig: MowerPositionConfig): boolean;
export declare function isOutOfRange(positonConfig: MowerPositionConfig): boolean;
export declare function getMindistanceByModel(modelType?: string): 1 | 2;
export declare function getMinSvgDistanceByModel(modelType?: string): number;
export declare function convertHeightsetToParams(value: number): {
isFlowGlobal: number;
cuttingHeight: number;
};
export declare function convertDirectionToParams(value: number): number[];
export declare function getDefaultAngle(recBaseAngle: number): number;
export declare function getSelectAngles(value: number): number[];
//# sourceMappingURL=mower.d.ts.map