From 9f9e16bc9b4caecf741339a0699d784558fbc738 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期二, 21 十一月 2023 19:15:31 +0800 Subject: [PATCH] 2023年11月21日19:15:18 --- app/src/main/java/com/hdl/photovoltaic/other/HdlFileLogic.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/other/HdlFileLogic.java b/app/src/main/java/com/hdl/photovoltaic/other/HdlFileLogic.java index 69b3e95..10569f4 100644 --- a/app/src/main/java/com/hdl/photovoltaic/other/HdlFileLogic.java +++ b/app/src/main/java/com/hdl/photovoltaic/other/HdlFileLogic.java @@ -107,6 +107,18 @@ return getAPPInternalStoreFilesPath() + "/userConfigManage.txt"; } + /** + * 鑾峰彇椹卞姩鍗囩骇鏂囦欢鍏ㄨ矾寰� + * + * @param driverCode 椹卞姩缂栫爜 + * @param version 椹卞姩鐗堟湰 + * @return 鍏ㄨ矾寰� + */ + public String getDrivePathFileName(String driverCode, String version) { + String driverFileName = driverCode + "_" + version + ".zip"; + return HdlFileLogic.getInstance().getDriveRootPath() + "/" + driverFileName; + } + //endregion //region ---------銆愭枃浠跺す銆戞搷浣�----------- -- Gitblit v1.8.0