From f94b4f130ca48b7f7996a5dca17e0c0433ec96e1 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Thu, 2 Mar 2023 23:28:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=AF=8F=E6=97=A5=E9=9F=B3?= =?UTF-8?q?=E4=B9=90=E6=89=AB=E6=8F=8F=E3=80=81oss=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E3=80=81ups=E8=87=AA=E5=8A=A8=E5=85=B3=E6=9C=BA=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/nas/utils/ApplicationInit.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/yutou/nas/utils/ApplicationInit.java b/src/main/java/com/yutou/nas/utils/ApplicationInit.java index bfad904..1ea52cd 100644 --- a/src/main/java/com/yutou/nas/utils/ApplicationInit.java +++ b/src/main/java/com/yutou/nas/utils/ApplicationInit.java @@ -36,7 +36,7 @@ public class ApplicationInit implements ApplicationRunner { if (time.equals(oldTime)) { return; } - float power = Tools.getSystemUPSPower(); + /*float power = Tools.getSystemUPSPower(); if (power > 0) { if (power == 100) { AppTools.exec("wakeonlan 00:F0:D2:D0:6B:B5", null, false, true); @@ -53,14 +53,14 @@ public class ApplicationInit implements ApplicationRunner { Log.i("UPS电池低于30%,即将关机"); QQBotManager.getInstance().sendMessage("UPS电池低于30%,即将关机"); } - } + }*/ oldTime = time; switch (time) { case "00:00": - musicTools.scanMusic(); + //musicTools.scanMusic(); break; case "01:00": - DepotManager.scan(); + //DepotManager.scan(); break; }