diff --git a/android/OldPeopleInterServer/.idea/modules.xml b/android/OldPeopleInterServer/.idea/.idea/modules.xml similarity index 56% rename from android/OldPeopleInterServer/.idea/modules.xml rename to android/OldPeopleInterServer/.idea/.idea/modules.xml index 6c70889..08f54a6 100644 --- a/android/OldPeopleInterServer/.idea/modules.xml +++ b/android/OldPeopleInterServer/.idea/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/android/OldPeopleInterServer/.idea/.idea/workspace.xml b/android/OldPeopleInterServer/.idea/.idea/workspace.xml new file mode 100644 index 0000000..7be8305 --- /dev/null +++ b/android/OldPeopleInterServer/.idea/.idea/workspace.xml @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -244,38 +242,37 @@ - - + - - - - + + - - - - + - - + - - + + + + + + + + @@ -292,16 +289,263 @@ - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -347,24 +591,22 @@ - - - - - - + - - + + + + + - + @@ -372,38 +614,33 @@ + + + + + + + - + - + - - - - - - - - - - - - + + - - diff --git a/android/OldPeopleInterServer/src/Main.java b/android/OldPeopleInterServer/src/Main.java index 038be9c..b2e9fde 100644 --- a/android/OldPeopleInterServer/src/Main.java +++ b/android/OldPeopleInterServer/src/Main.java @@ -13,11 +13,12 @@ public class Main { private static String humidity; private static WebUtils webUtils; + private static float slice; + public static void main(String[] args) { webUtils = WebUtils.getInstance(); System.out.println("开始转发任务"); getAndUpData(); -// fengshan(); } private static void fengshan() { @@ -59,6 +60,7 @@ public class Main { isin = String.valueOf((int) funcList.getData()); } else if (funcList.getType().equals("温度")) { temporature = String.valueOf(funcList.getData()); + } else if (funcList.getType().equals("湿度")) { humidity = String.valueOf(funcList.getData()); }