From ba432c387f888474da44ebfc9b44a9e448bc2012 Mon Sep 17 00:00:00 2001 From: Georgy Shive Date: Fri, 4 Apr 2025 01:07:59 +0700 Subject: [PATCH] release 1.5.01.2 --- assets/Scenes/scene.scene | 10 +++++----- assets/Scripts/stores/EquipmentManager.ts | 2 +- assets/Scripts/stores/ErrorsStore.ts | 2 +- assets/Scripts/stores/SensorDetailStore.ts | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/Scenes/scene.scene b/assets/Scenes/scene.scene index 63afd82..7395980 100644 --- a/assets/Scenes/scene.scene +++ b/assets/Scenes/scene.scene @@ -6161,7 +6161,7 @@ "_priority": 1073741824, "_fov": 45, "_fovAxis": 0, - "_orthoHeight": 381.2971342383107, + "_orthoHeight": 360, "_near": 1, "_far": 2000, "_color": { @@ -11868,7 +11868,7 @@ "_string": "button", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 36.2578125, + "_actualFontSize": 20, "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 40, @@ -12442,7 +12442,7 @@ "__prefab": null, "_contentSize": { "__type__": "cc.Size", - "width": 131.29982762335703, + "width": 131.328125, "height": 25.2 }, "_anchorPoint": { @@ -12475,7 +12475,7 @@ "_string": "ScrollView content", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 29.00625, + "_actualFontSize": 16, "_fontSize": 16, "_fontFamily": "Arial", "_lineHeight": 20, @@ -14257,7 +14257,7 @@ }, "_enabled": true, "__prefab": null, - "apiUrl": "http://http://192.168.0.219:3030/api/v2/sensors", + "apiUrl": "http://192.168.0.219:3030/api/v2/sensors", "_id": "fd9cjGJCJCmbVairIJtwxV" }, { diff --git a/assets/Scripts/stores/EquipmentManager.ts b/assets/Scripts/stores/EquipmentManager.ts index 77c0f97..3111ee1 100644 --- a/assets/Scripts/stores/EquipmentManager.ts +++ b/assets/Scripts/stores/EquipmentManager.ts @@ -8,7 +8,7 @@ export class EquipmentManager extends Component { public static instance: EquipmentManager; @property - public apiUrl: string = 'http://http://192.168.0.219:3030/api/v2/sensors'; + public apiUrl: string = 'http://192.168.0.219:3030/api/v2/sensors'; private _dataList: apiSensors[] = []; public totalCount: number = 0; diff --git a/assets/Scripts/stores/ErrorsStore.ts b/assets/Scripts/stores/ErrorsStore.ts index 8305265..35c0d2e 100644 --- a/assets/Scripts/stores/ErrorsStore.ts +++ b/assets/Scripts/stores/ErrorsStore.ts @@ -30,7 +30,7 @@ export class ErrorsStore { // Асинхронный запрос ошибок с API async fetchApiErrors(): Promise { try { - const response = await fetch("http://http://192.168.0.219:3030/api/v2/errors"); + const response = await fetch("http://192.168.0.219:3030/api/v2/errors"); if (response.ok) { const errors = await response.json() as ApiErrorsResponse; this.apiErrors = errors; diff --git a/assets/Scripts/stores/SensorDetailStore.ts b/assets/Scripts/stores/SensorDetailStore.ts index a654e6b..5c9deeb 100644 --- a/assets/Scripts/stores/SensorDetailStore.ts +++ b/assets/Scripts/stores/SensorDetailStore.ts @@ -30,7 +30,7 @@ export class SensorDetailStore extends Component { this.currentSensorName = sensorName; try { - const response = await fetch("http://http://192.168.0.219:3030/api/v2/sensor-details", { + const response = await fetch("http://192.168.0.219:3030/api/v2/sensor-details", { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ sensorName: sensorName })