2D-карта (станции, заявки) и вкладка «Заявки»
Новая вкладка «Заявки»: показ заявок за интервал на 2D-карте, создание заявки рисованием полигона на карте с формой параметров (Оптика/РСА) и удаление выбранной заявки (createRequest/deleteRequest, RequestCreatePanel/RequestDetailsPanel, polygonToWkt). В Tgu2DMapView добавлен изолированный режим рисования полигона. 2D-карта: панели информации о станции и о заявках, слой станций (stationsApi), поддержка выбора объектов через спатиальный индекс. Список слоёв упрощён — трасса/полоса/маркеры КА убраны из переключателя, по умолчанию включены работы плана, станции и заявки.
This commit is contained in:
@@ -63,3 +63,44 @@ export type RequestMapItem = {
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
|
||||
export type OpticsResultType = "PANCHROMATIC" | "MULTISPECTRAL" | "PANSHARPENING";
|
||||
export type RsaResultType = "SPOTLIGHT" | "STRIPMAP" | "SCANSAR";
|
||||
export type Polarisation = "HH" | "VV";
|
||||
|
||||
export type OpticsParams = {
|
||||
resultType: OpticsResultType;
|
||||
resolution: number;
|
||||
sunAngleMin: number;
|
||||
sunAngleMax: number;
|
||||
clouds: number;
|
||||
};
|
||||
|
||||
export type RsaParams = {
|
||||
resultType: RsaResultType;
|
||||
interferometry: boolean;
|
||||
polarisation: Polarisation;
|
||||
resolution: number;
|
||||
};
|
||||
|
||||
export type CreateRequestPayload = {
|
||||
id: string;
|
||||
name: string;
|
||||
geometry: string;
|
||||
importance: number;
|
||||
beginDateTime: string;
|
||||
endDateTime: string;
|
||||
kpp: number[];
|
||||
highPriorityTransmit: boolean;
|
||||
optics?: OpticsParams;
|
||||
rsa?: RsaParams;
|
||||
};
|
||||
|
||||
export type CreateRequestResult = {
|
||||
id: string;
|
||||
name: string;
|
||||
status: RequestStatus;
|
||||
surveyType: SurveyType;
|
||||
importance: number;
|
||||
message?: string;
|
||||
};
|
||||
|
||||
@@ -22,7 +22,7 @@ export type TimelineRange = {
|
||||
toMs: number;
|
||||
};
|
||||
|
||||
export type TguActiveTab = "timeline" | "map" | "editor";
|
||||
export type TguActiveTab = "timeline" | "map" | "editor" | "requests";
|
||||
|
||||
export type TimelineRow = {
|
||||
spacecraftId: string;
|
||||
|
||||
Reference in New Issue
Block a user