-
Notifications
You must be signed in to change notification settings - Fork 0
/
update.java
70 lines (67 loc) · 26.4 KB
/
update.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import java.io.*;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLEncoder;
import java.util.zip.GZIPOutputStream;
public class test{
public static void main(String[] argv)
{
try
{
var in = System.in;
int count = in.available();
byte[] b = new byte[count];
in.read(b,0,count);
var s=new String(b).split("\\|");
var strUid=s[7];
var strStudentNumber=s[1];
Long currentTime=System.currentTimeMillis()/1000L-200;
String endTime=Long.toString(currentTime);
String startTime=Long.toString(currentTime-722);
String v28="{'begintime':'"+startTime+"','endtime':'"+endTime+"','uid':'"+strUid
+"','schoolno':'10006','distance':'1050.0','speed':'1.4563106796116505','studentno':'"
+strStudentNumber+"','atttype':'2','eventno':'801','location':'latitude: 39.990797, longitude: 116.3517;latitude: 39.990684, longitude: 116.351764;latitude: 39.990696, longitude: 116.351768;latitude: 39.990696, longitude: 116.351768;latitude: 39.990696, longitude: 116.351768;latitude: 39.990696, longitude: 116.351768;latitude: 39.990696, longitude: 116.351768;latitude: 39.990696, longitude: 116.351768;latitude: 39.990713, longitude: 116.351771;latitude: 39.990713, longitude: 116.351771;latitude: 39.990709, longitude: 116.351766;latitude: 39.990701, longitude: 116.351761;latitude: 39.990687, longitude: 116.351757;latitude: 39.990672, longitude: 116.351756;latitude: 39.990658, longitude: 116.351754;latitude: 39.990644, longitude: 116.351755;latitude: 39.990633, longitude: 116.351757;latitude: 39.990628, longitude: 116.351759;latitude: 39.990626, longitude: 116.35176;latitude: 39.990622, longitude: 116.351762;latitude: 39.990618, longitude: 116.351764;latitude: 39.990613, longitude: 116.351765;latitude: 39.990606, longitude: 116.351763;latitude: 39.9906, longitude: 116.351761;latitude: 39.990594, longitude: 116.35176;latitude: 39.990585, longitude: 116.351759;latitude: 39.990575, longitude: 116.351757;latitude: 39.990563, longitude: 116.351751;latitude: 39.990551, longitude: 116.351744;latitude: 39.990537, longitude: 116.351738;latitude: 39.990521, longitude: 116.351735;latitude: 39.990505, longitude: 116.351732;latitude: 39.990489, longitude: 116.351732;latitude: 39.990471, longitude: 116.351733;latitude: 39.990455, longitude: 116.351735;latitude: 39.990438, longitude: 116.351738;latitude: 39.990422, longitude: 116.351741;latitude: 39.990406, longitude: 116.351745;latitude: 39.990391, longitude: 116.35175;latitude: 39.990376, longitude: 116.351754;latitude: 39.990361, longitude: 116.35176;latitude: 39.990349, longitude: 116.351766;latitude: 39.990337, longitude: 116.351776;latitude: 39.990326, longitude: 116.351788;latitude: 39.990314, longitude: 116.351816;latitude: 39.990299, longitude: 116.351844;latitude: 39.990292, longitude: 116.351857;latitude: 39.99029, longitude: 116.351874;latitude: 39.99029, longitude: 116.351895;latitude: 39.990289, longitude: 116.351916;latitude: 39.990288, longitude: 116.351935;latitude: 39.990285, longitude: 116.351953;latitude: 39.990281, longitude: 116.351971;latitude: 39.990278, longitude: 116.351989;latitude: 39.990277, longitude: 116.352007;latitude: 39.990277, longitude: 116.352025;latitude: 39.990277, longitude: 116.352043;latitude: 39.990278, longitude: 116.352062;latitude: 39.99028, longitude: 116.352081;latitude: 39.990282, longitude: 116.352098;latitude: 39.990284, longitude: 116.35211;latitude: 39.990286, longitude: 116.352118;latitude: 39.990288, longitude: 116.352127;latitude: 39.990289, longitude: 116.352138;latitude: 39.990291, longitude: 116.352153;latitude: 39.990295, longitude: 116.352178;latitude: 39.9903, longitude: 116.352202;latitude: 39.990302, longitude: 116.352217;latitude: 39.990304, longitude: 116.352225;latitude: 39.990306, longitude: 116.352233;latitude: 39.990308, longitude: 116.35224;latitude: 39.99031, longitude: 116.35225;latitude: 39.990314, longitude: 116.352263;latitude: 39.990319, longitude: 116.352282;latitude: 39.990323, longitude: 116.352301;latitude: 39.990327, longitude: 116.352318;latitude: 39.99033, longitude: 116.352329;latitude: 39.990332, longitude: 116.352337;latitude: 39.990333, longitude: 116.352344;latitude: 39.990335, longitude: 116.35235;latitude: 39.990337, longitude: 116.352358;latitude: 39.990339, longitude: 116.352369;latitude: 39.990342, longitude: 116.352383;latitude: 39.990346, longitude: 116.352401;latitude: 39.990348, longitude: 116.352419;latitude: 39.99035, longitude: 116.352435;latitude: 39.99035, longitude: 116.352452;latitude: 39.990349, longitude: 116.352469;latitude: 39.990349, longitude: 116.352487;latitude: 39.990348, longitude: 116.352506;latitude: 39.990347, longitude: 116.352525;latitude: 39.990346, longitude: 116.352546;latitude: 39.990345, longitude: 116.352567;latitude: 39.990349, longitude: 116.352603;latitude: 39.990352, longitude: 116.352636;latitude: 39.990355, longitude: 116.352667;latitude: 39.99036, longitude: 116.352695;latitude: 39.990358, longitude: 116.352722;latitude: 39.990358, longitude: 116.352747;latitude: 39.990355, longitude: 116.352771;latitude: 39.990351, longitude: 116.352792;latitude: 39.990348, longitude: 116.352812;latitude: 39.990347, longitude: 116.35283;latitude: 39.990347, longitude: 116.352845;latitude: 39.990347, longitude: 116.352845;latitude: 39.990349, longitude: 116.35286;latitude: 39.990352, longitude: 116.352875;latitude: 39.990351, longitude: 116.352888;latitude: 39.99035, longitude: 116.352901;latitude: 39.990352, longitude: 116.352918;latitude: 39.990351, longitude: 116.352939;latitude: 39.99035, longitude: 116.352959;latitude: 39.990349, longitude: 116.352979;latitude: 39.990349, longitude: 116.352995;latitude: 39.990349, longitude: 116.353011;latitude: 39.990351, longitude: 116.353027;latitude: 39.990352, longitude: 116.353047;latitude: 39.990353, longitude: 116.353067;latitude: 39.990352, longitude: 116.353086;latitude: 39.990352, longitude: 116.353106;latitude: 39.990351, longitude: 116.353127;latitude: 39.990351, longitude: 116.353147;latitude: 39.990349, longitude: 116.353167;latitude: 39.990349, longitude: 116.353188;latitude: 39.990346, longitude: 116.353207;latitude: 39.990269, longitude: 116.353911;latitude: 39.990332, longitude: 116.353945;latitude: 39.990332, longitude: 116.353945;latitude: 39.990332, longitude: 116.353945;latitude: 39.990332, longitude: 116.353945;latitude: 39.990318, longitude: 116.353981;latitude: 39.990323, longitude: 116.353993;latitude: 39.990327, longitude: 116.354001;latitude: 39.990336, longitude: 116.354016;latitude: 39.990336, longitude: 116.354016;latitude: 39.990339, longitude: 116.35403;latitude: 39.990338, longitude: 116.354052;latitude: 39.990338, longitude: 116.354064;latitude: 39.990338, longitude: 116.354075;latitude: 39.990337, longitude: 116.354087;latitude: 39.990337, longitude: 116.354099;latitude: 39.990336, longitude: 116.354112;latitude: 39.990337, longitude: 116.354125;latitude: 39.990338, longitude: 116.354139;latitude: 39.990339, longitude: 116.354154;latitude: 39.99034, longitude: 116.354167;latitude: 39.990341, longitude: 116.354179;latitude: 39.990342, longitude: 116.354192;latitude: 39.990343, longitude: 116.354205;latitude: 39.990346, longitude: 116.354221;latitude: 39.990349, longitude: 116.354238;latitude: 39.99035, longitude: 116.354253;latitude: 39.990351, longitude: 116.354267;latitude: 39.990351, longitude: 116.35428;latitude: 39.99035, longitude: 116.354292;latitude: 39.990349, longitude: 116.354304;latitude: 39.990348, longitude: 116.354316;latitude: 39.990346, longitude: 116.354329;latitude: 39.990344, longitude: 116.354343;latitude: 39.990342, longitude: 116.354357;latitude: 39.99034, longitude: 116.354367;latitude: 39.99034, longitude: 116.354373;latitude: 39.99034, longitude: 116.354378;latitude: 39.990339, longitude: 116.354383;latitude: 39.990337, longitude: 116.354387;latitude: 39.990334, longitude: 116.35439;latitude: 39.990327, longitude: 116.354391;latitude: 39.990318, longitude: 116.354392;latitude: 39.990305, longitude: 116.354391;latitude: 39.990293, longitude: 116.354391;latitude: 39.990283, longitude: 116.35439;latitude: 39.990273, longitude: 116.354389;latitude: 39.990264, longitude: 116.354388;latitude: 39.990255, longitude: 116.354386;latitude: 39.990247, longitude: 116.354385;latitude: 39.990239, longitude: 116.354384;latitude: 39.990232, longitude: 116.354384;latitude: 39.990224, longitude: 116.354382;latitude: 39.99022, longitude: 116.354381;latitude: 39.990217, longitude: 116.354381;latitude: 39.990214, longitude: 116.35438;latitude: 39.990211, longitude: 116.35438;latitude: 39.990209, longitude: 116.354379;latitude: 39.990205, longitude: 116.354379;latitude: 39.990201, longitude: 116.354379;latitude: 39.990193, longitude: 116.354385;latitude: 39.990182, longitude: 116.354395;latitude: 39.990168, longitude: 116.354401;latitude: 39.990149, longitude: 116.354403;latitude: 39.990133, longitude: 116.354403;latitude: 39.990119, longitude: 116.354401;latitude: 39.990107, longitude: 116.354399;latitude: 39.990096, longitude: 116.354398;latitude: 39.990084, longitude: 116.354399;latitude: 39.990071, longitude: 116.354401;latitude: 39.990057, longitude: 116.354402;latitude: 39.990042, longitude: 116.354404;latitude: 39.990027, longitude: 116.354406;latitude: 39.988841, longitude: 116.354723;latitude: 39.988841, longitude: 116.354723;latitude: 39.988873, longitude: 116.354696;latitude: 39.988873, longitude: 116.354696;latitude: 39.988873, longitude: 116.354696;latitude: 39.988873, longitude: 116.354696;latitude: 39.988873, longitude: 116.354696;latitude: 39.988873, longitude: 116.354696;latitude: 39.988873, longitude: 116.354696;latitude: 39.988873, longitude: 116.354696;latitude: 39.988776, longitude: 116.354646;latitude: 39.988764, longitude: 116.354642;latitude: 39.988756, longitude: 116.354638;latitude: 39.98875, longitude: 116.354632;latitude: 39.988743, longitude: 116.354625;latitude: 39.988736, longitude: 116.354619;latitude: 39.988725, longitude: 116.354613;latitude: 39.988711, longitude: 116.354608;latitude: 39.988691, longitude: 116.354603;latitude: 39.988668, longitude: 116.354599;latitude: 39.988652, longitude: 116.354596;latitude: 39.98864, longitude: 116.354594;latitude: 39.988628, longitude: 116.354591;latitude: 39.988617, longitude: 116.354587;latitude: 39.988606, longitude: 116.354584;latitude: 39.988596, longitude: 116.35458;latitude: 39.988585, longitude: 116.354576;latitude: 39.988574, longitude: 116.354572;latitude: 39.988566, longitude: 116.35457;latitude: 39.988558, longitude: 116.354568;latitude: 39.988548, longitude: 116.354565;latitude: 39.988538, longitude: 116.354563;latitude: 39.988523, longitude: 116.35456;latitude: 39.988509, longitude: 116.354558;latitude: 39.988496, longitude: 116.354556;latitude: 39.988485, longitude: 116.354555;latitude: 39.988477, longitude: 116.354554;latitude: 39.988469, longitude: 116.354553;latitude: 39.988459, longitude: 116.354553;latitude: 39.988449, longitude: 116.354555;latitude: 39.988435, longitude: 116.354556;latitude: 39.988422, longitude: 116.354556;latitude: 39.98841, longitude: 116.354558;latitude: 39.988399, longitude: 116.35456;latitude: 39.988388, longitude: 116.35456;latitude: 39.988378, longitude: 116.354561;latitude: 39.988367, longitude: 116.35456;latitude: 39.988357, longitude: 116.354559;latitude: 39.988346, longitude: 116.354558;latitude: 39.988334, longitude: 116.354558;latitude: 39.988322, longitude: 116.354558;latitude: 39.988309, longitude: 116.354557;latitude: 39.988296, longitude: 116.354556;latitude: 39.988283, longitude: 116.354555;latitude: 39.988269, longitude: 116.354554;latitude: 39.988254, longitude: 116.354553;latitude: 39.98824, longitude: 116.354552;latitude: 39.988226, longitude: 116.35455;latitude: 39.988214, longitude: 116.354548;latitude: 39.988202, longitude: 116.354546;latitude: 39.988191, longitude: 116.354543;latitude: 39.988179, longitude: 116.354539;latitude: 39.988166, longitude: 116.354533;latitude: 39.988152, longitude: 116.354526;latitude: 39.988137, longitude: 116.354519;latitude: 39.98812, longitude: 116.354511;latitude: 39.988103, longitude: 116.35451;latitude: 39.988086, longitude: 116.354509;latitude: 39.988069, longitude: 116.35451;latitude: 39.988052, longitude: 116.354509;latitude: 39.988035, longitude: 116.354506;latitude: 39.988019, longitude: 116.354503;latitude: 39.988002, longitude: 116.354503;latitude: 39.987985, longitude: 116.354507;latitude: 39.987968, longitude: 116.354512;latitude: 39.987957, longitude: 116.354516;latitude: 39.987946, longitude: 116.354521;latitude: 39.987946, longitude: 116.354521;latitude: 39.987935, longitude: 116.354526;latitude: 39.987922, longitude: 116.35453;latitude: 39.987902, longitude: 116.354534;latitude: 39.987883, longitude: 116.354537;latitude: 39.987865, longitude: 116.354541;latitude: 39.98785, longitude: 116.354543;latitude: 39.987835, longitude: 116.354547;latitude: 39.987822, longitude: 116.354551;latitude: 39.987809, longitude: 116.354554;latitude: 39.987797, longitude: 116.354559;latitude: 39.987787, longitude: 116.354563;latitude: 39.987778, longitude: 116.354568;latitude: 39.987768, longitude: 116.35457;latitude: 39.987758, longitude: 116.354572;latitude: 39.987746, longitude: 116.354572;latitude: 39.987733, longitude: 116.354571;latitude: 39.987719, longitude: 116.35457;latitude: 39.987704, longitude: 116.354569;latitude: 39.987689, longitude: 116.354568;latitude: 39.987675, longitude: 116.354567;latitude: 39.987661, longitude: 116.354566;latitude: 39.987648, longitude: 116.354566;latitude: 39.987634, longitude: 116.354565;latitude: 39.987621, longitude: 116.354565;latitude: 39.987607, longitude: 116.354564;latitude: 39.987593, longitude: 116.354563;latitude: 39.987578, longitude: 116.354564;latitude: 39.987563, longitude: 116.354565;latitude: 39.987548, longitude: 116.354566;latitude: 39.987533, longitude: 116.354567;latitude: 39.987517, longitude: 116.354568;latitude: 39.987488, longitude: 116.354566;latitude: 39.987459, longitude: 116.354564;latitude: 39.987432, longitude: 116.354564;latitude: 39.987406, longitude: 116.354565;latitude: 39.987383, longitude: 116.354562;latitude: 39.98736, longitude: 116.354562;latitude: 39.987338, longitude: 116.354561;latitude: 39.987317, longitude: 116.35456;latitude: 39.987296, longitude: 116.354559;latitude: 39.987277, longitude: 116.354559;latitude: 39.987258, longitude: 116.354563;latitude: 39.987241, longitude: 116.354564;latitude: 39.987225, longitude: 116.354564;latitude: 39.98721, longitude: 116.354564;latitude: 39.987195, longitude: 116.354565;latitude: 39.987181, longitude: 116.354566;latitude: 39.987166, longitude: 116.354569;latitude: 39.987152, longitude: 116.354571;latitude: 39.987137, longitude: 116.354573;latitude: 39.987123, longitude: 116.354579;latitude: 39.987109, longitude: 116.354584;latitude: 39.987095, longitude: 116.354592;latitude: 39.987082, longitude: 116.354603;latitude: 39.987072, longitude: 116.354612;latitude: 39.987063, longitude: 116.354619;latitude: 39.987053, longitude: 116.354627;latitude: 39.987043, longitude: 116.354634;latitude: 39.987034, longitude: 116.35464;latitude: 39.987026, longitude: 116.354646;latitude: 39.987026, longitude: 116.354646;latitude: 39.987017, longitude: 116.354655;latitude: 39.987011, longitude: 116.354668;latitude: 39.987001, longitude: 116.35468;latitude: 39.986991, longitude: 116.354692;latitude: 39.986982, longitude: 116.354704;latitude: 39.986974, longitude: 116.354718;latitude: 39.986967, longitude: 116.354735;latitude: 39.986959, longitude: 116.354752;latitude: 39.986954, longitude: 116.354771;latitude: 39.98695, longitude: 116.35479;latitude: 39.986946, longitude: 116.354807;latitude: 39.986944, longitude: 116.354822;latitude: 39.986939, longitude: 116.354836;latitude: 39.986932, longitude: 116.354849;latitude: 39.986925, longitude: 116.354862;latitude: 39.986917, longitude: 116.354875;latitude: 39.986912, longitude: 116.354889;latitude: 39.986911, longitude: 116.354906;latitude: 39.986913, longitude: 116.354922;latitude: 39.986911, longitude: 116.354939;latitude: 39.986908, longitude: 116.354956;latitude: 39.986906, longitude: 116.354972;latitude: 39.986904, longitude: 116.354988;latitude: 39.986903, longitude: 116.355004;latitude: 39.986901, longitude: 116.355017;latitude: 39.986898, longitude: 116.35503;latitude: 39.986894, longitude: 116.355043;latitude: 39.986888, longitude: 116.355058;latitude: 39.986885, longitude: 116.355075;latitude: 39.986884, longitude: 116.355092;latitude: 39.986882, longitude: 116.355109;latitude: 39.98688, longitude: 116.355126;latitude: 39.986878, longitude: 116.355143;latitude: 39.986877, longitude: 116.35516;latitude: 39.986876, longitude: 116.355176;latitude: 39.986875, longitude: 116.355192;latitude: 39.986876, longitude: 116.355208;latitude: 39.986881, longitude: 116.355222;latitude: 39.986882, longitude: 116.355237;latitude: 39.986883, longitude: 116.355253;latitude: 39.986884, longitude: 116.355266;latitude: 39.986884, longitude: 116.35528;latitude: 39.986884, longitude: 116.355295;latitude: 39.986885, longitude: 116.355308;latitude: 39.986887, longitude: 116.355322;latitude: 39.986884, longitude: 116.355339;latitude: 39.986879, longitude: 116.355358;latitude: 39.986875, longitude: 116.355377;latitude: 39.986872, longitude: 116.355394;latitude: 39.986871, longitude: 116.355409;latitude: 39.986869, longitude: 116.355422;latitude: 39.986867, longitude: 116.355437;latitude: 39.986866, longitude: 116.355452;latitude: 39.986865, longitude: 116.355467;latitude: 39.986866, longitude: 116.355484;latitude: 39.986866, longitude: 116.355501;latitude: 39.986864, longitude: 116.35552;latitude: 39.986863, longitude: 116.355539;latitude: 39.986859, longitude: 116.355558;latitude: 39.986859, longitude: 116.355577;latitude: 39.986861, longitude: 116.355597;latitude: 39.98686, longitude: 116.355616;latitude: 39.986862, longitude: 116.355634;latitude: 39.986864, longitude: 116.355651;latitude: 39.986866, longitude: 116.355666;latitude: 39.986866, longitude: 116.35568;latitude: 39.986861, longitude: 116.355684;latitude: 39.986858, longitude: 116.355689;latitude: 39.986857, longitude: 116.355696;latitude: 39.986858, longitude: 116.355704;latitude: 39.986862, longitude: 116.355715;latitude: 39.986865, longitude: 116.355728;latitude: 39.986867, longitude: 116.355742;latitude: 39.986813, longitude: 116.356156;latitude: 39.986813, longitude: 116.356156;latitude: 39.986813, longitude: 116.356156;latitude: 39.986813, longitude: 116.356156;latitude: 39.986813, longitude: 116.356156;latitude: 39.986825, longitude: 116.356395;latitude: 39.986825, longitude: 116.356395;latitude: 39.986824, longitude: 116.356543;latitude: 39.986818, longitude: 116.356555;latitude: 39.986811, longitude: 116.356556;latitude: 39.986801, longitude: 116.356556;latitude: 39.98679, longitude: 116.356554;latitude: 39.98678, longitude: 116.356552;latitude: 39.986772, longitude: 116.356551;latitude: 39.986772, longitude: 116.356551;latitude: 39.986765, longitude: 116.356552;latitude: 39.986765, longitude: 116.356552;latitude: 39.986758, longitude: 116.356553;latitude: 39.986758, longitude: 116.356553;latitude: 39.986758, longitude: 116.356553;latitude: 39.986753, longitude: 116.356552;latitude: 39.986747, longitude: 116.356552;latitude: 39.986742, longitude: 116.356552;latitude: 39.986737, longitude: 116.35655;latitude: 39.98673, longitude: 116.356549;latitude: 39.986721, longitude: 116.356549;latitude: 39.986708, longitude: 116.356548;latitude: 39.986691, longitude: 116.356546;latitude: 39.986676, longitude: 116.356545;latitude: 39.986665, longitude: 116.356545;latitude: 39.986656, longitude: 116.356543;latitude: 39.986656, longitude: 116.356543;latitude: 39.986656, longitude: 116.356543;latitude: 39.986646, longitude: 116.356543;latitude: 39.986646, longitude: 116.356543;latitude: 39.986639, longitude: 116.356545;latitude: 39.986639, longitude: 116.356545;latitude: 39.986639, longitude: 116.356545;latitude: 39.986631, longitude: 116.356548;latitude: 39.986623, longitude: 116.356549;latitude: 39.986623, longitude: 116.356549;latitude: 39.986616, longitude: 116.356547;latitude: 39.986608, longitude: 116.356547;latitude: 39.986601, longitude: 116.356547;latitude: 39.986593, longitude: 116.356543;latitude: 39.986584, longitude: 116.356539;latitude: 39.986573, longitude: 116.356534;latitude: 39.986559, longitude: 116.356531;latitude: 39.986546, longitude: 116.35653;latitude: 39.986537, longitude: 116.35653;latitude: 39.98653, longitude: 116.356532;latitude: 39.986522, longitude: 116.356533;latitude: 39.986514, longitude: 116.356534;latitude: 39.986503, longitude: 116.356539;latitude: 39.986487, longitude: 116.356544;latitude: 39.98647, longitude: 116.356546;latitude: 39.986455, longitude: 116.356549;latitude: 39.986443, longitude: 116.35655;latitude: 39.986434, longitude: 116.356553;latitude: 39.986425, longitude: 116.356555;latitude: 39.986415, longitude: 116.356556;latitude: 39.986403, longitude: 116.356557;latitude: 39.98639, longitude: 116.356559;latitude: 39.986377, longitude: 116.356562;latitude: 39.986365, longitude: 116.356564;latitude: 39.986353, longitude: 116.356569;latitude: 39.98634, longitude: 116.356576;latitude: 39.986324, longitude: 116.356584;latitude: 39.986306, longitude: 116.356597;latitude: 39.986285, longitude: 116.356615;latitude: 39.986261, longitude: 116.356627;latitude: 39.986244, longitude: 116.356629;latitude: 39.986227, longitude: 116.356629;latitude: 39.986214, longitude: 116.356632;latitude: 39.986203, longitude: 116.356635;latitude: 39.98619, longitude: 116.356641;latitude: 39.986177, longitude: 116.356648;latitude: 39.98616, longitude: 116.356658;latitude: 39.98614, longitude: 116.35667;latitude: 39.986122, longitude: 116.356679;latitude: 39.986099, longitude: 116.35669;latitude: 39.986085, longitude: 116.356695;latitude: 39.986076, longitude: 116.3567;latitude: 39.986067, longitude: 116.356704;latitude: 39.986059, longitude: 116.356708;latitude: 39.98605, longitude: 116.356712;latitude: 39.986041, longitude: 116.356716;latitude: 39.986031, longitude: 116.35672;latitude: 39.986018, longitude: 116.356725;latitude: 39.986002, longitude: 116.356731;latitude: 39.985979, longitude: 116.356737;latitude: 39.985962, longitude: 116.356743;latitude: 39.985947, longitude: 116.356749;latitude: 39.985934, longitude: 116.356754;latitude: 39.985924, longitude: 116.35676;latitude: 39.985915, longitude: 116.356766;latitude: 39.985906, longitude: 116.356772;latitude: 39.985898, longitude: 116.356777;latitude: 39.985893, longitude: 116.356781;latitude: 39.98589, longitude: 116.356783;latitude: 39.985886, longitude: 116.356784;latitude: 39.985882, longitude: 116.356784;latitude: 39.985875, longitude: 116.356786;latitude: 39.985862, longitude: 116.356789;latitude: 39.985848, longitude: 116.356788;latitude: 39.985834, longitude: 116.356785;latitude: 39.985821, longitude: 116.35678;latitude: 39.985811, longitude: 116.356775;latitude: 39.985801, longitude: 116.356771;latitude: 39.985789, longitude: 116.356765;latitude: 39.985776, longitude: 116.35676;latitude: 39.985755, longitude: 116.356753;latitude: 39.985734, longitude: 116.356749;latitude: 39.985734, longitude: 116.356749;latitude: 39.985715, longitude: 116.356747;latitude: 39.985696, longitude: 116.356747;latitude: 39.985677, longitude: 116.356747;latitude: 39.985659, longitude: 116.356748;latitude: 39.985642, longitude: 116.356747;latitude: 39.985626, longitude: 116.356744;latitude: 39.98561, longitude: 116.356736;latitude: 39.985595, longitude: 116.356727;latitude: 39.98558, longitude: 116.356725;latitude: 39.985567, longitude: 116.356721;latitude: 39.985553, longitude: 116.356718;latitude: 39.985541, longitude: 116.356714;latitude: 39.985528, longitude: 116.356711;latitude: 39.985516, longitude: 116.356704;latitude: 39.985504, longitude: 116.356698;latitude: 39.985492, longitude: 116.356698;latitude: 39.985481, longitude: 116.356698;latitude: 39.985473, longitude: 116.356702;latitude: 39.985468, longitude: 116.356706;latitude: 39.985463, longitude: 116.35671;latitude: 39.985459, longitude: 116.356714;latitude: 39.985454, longitude: 116.356719;latitude: 39.985449, longitude: 116.356725;latitude: 39.985443, longitude: 116.356733;latitude: 39.985117, longitude: 116.35683;latitude: 39.985117, longitude: 116.35683;latitude: 39.985117, longitude: 116.35683;latitude: 39.985117, longitude: 116.35683;latitude: 39.985065, longitude: 116.35692;latitude: 39.985053, longitude: 116.356928;latitude: 39.985042, longitude: 116.356936;latitude: 39.98503, longitude: 116.356947;latitude: 39.985019, longitude: 116.356962;latitude: 39.985007, longitude: 116.356978;','pointstatus':'1','usetime':'721.0'}" ;
URLConnection v7 = new URL("http://10.212.28.38:8015/DragonFlyServ/Api/webserver/uploadRunData").openConnection();
((HttpURLConnection) v7).setUseCaches(false);
((HttpURLConnection) v7).setRequestMethod("POST");
((HttpURLConnection) v7).setReadTimeout(5000);
((HttpURLConnection) v7).setConnectTimeout(5000);
((HttpURLConnection) v7).setDoOutput(true);
((HttpURLConnection) v7).setDoInput(true);
((HttpURLConnection) v7).setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
((HttpURLConnection) v7).setRequestProperty("Connection", "Keep-Alive");
((HttpURLConnection) v7).setRequestProperty("Charset", "UTF-8");
OutputStream v23 = ((HttpURLConnection) v7).getOutputStream();
URLEncoder.encode(v28, "UTF-8");
ByteArrayOutputStream v5 = new ByteArrayOutputStream(v28.length());
GZIPOutputStream v12 = new GZIPOutputStream(((OutputStream) v5));
v12.write(v28.getBytes());
v12.close();
v23.write(v5.toByteArray());
v23.flush();
v23.close();
if (((HttpURLConnection) v7).getResponseCode() != 200) {
System.out.println("error");
}
InputStream v14 = ((HttpURLConnection) v7).getInputStream();
ByteArrayOutputStream v3 = new ByteArrayOutputStream();
byte[] v6 = new byte[0x400];
while (true) {
int v15 = v14.read(v6);
if (v15 == -1) {
break;
}
v3.write(v6, 0, v15);
}
v14.close();
v3.close();
String v0 = new String(v3.toByteArray(), "UTF-8");
System.out.println(v0);
}
catch (Exception e)
{
e.printStackTrace();
}
}
}