summaryrefslogtreecommitdiff
path: root/client/Piztor/src/com/macaroon/piztor/ReqUpdate.java
diff options
context:
space:
mode:
authorGoblin911 <goblinliu@gmail.com>2013-08-26 11:16:39 +0800
committerGoblin911 <goblinliu@gmail.com>2013-08-26 11:16:39 +0800
commit686cf083c79fce3a032d229bb1b7ea8ed49046c0 (patch)
tree7cf2c333b0c63e8286a58f84215bfb55b8f83fb6 /client/Piztor/src/com/macaroon/piztor/ReqUpdate.java
parent6400b18210587cb25b475bc2d3979b9a6da5eda4 (diff)
add new network, but userinfo need to rewrite.
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/ReqUpdate.java')
-rw-r--r--client/Piztor/src/com/macaroon/piztor/ReqUpdate.java30
1 files changed, 15 insertions, 15 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/ReqUpdate.java b/client/Piztor/src/com/macaroon/piztor/ReqUpdate.java
index e4b1497..b7b8fba 100644
--- a/client/Piztor/src/com/macaroon/piztor/ReqUpdate.java
+++ b/client/Piztor/src/com/macaroon/piztor/ReqUpdate.java
@@ -1,16 +1,16 @@
-package com.macaroon.piztor;
-
-//--------------------------------------//
-// Update Location //
-//--------------------------------------//
-
-public class ReqUpdate extends Req{
- double lat; //latitude
- double lot; //longitude
-
- ReqUpdate(int token,double latitude,double longitude,long time,long alive){
- super(2,token,time,alive); //for type 2
- lat = latitude;
- lot = longitude;
- }
+package com.macaroon.piztor;
+
+//--------------------------------------//
+// Update Location //
+//--------------------------------------//
+
+public class ReqUpdate extends Req{
+ double lat; //latitude
+ double lot; //longitude
+
+ ReqUpdate(String token,String name,double latitude,double longitude,long time,long alive){
+ super(1,token,name,time,alive); //for type 1
+ lat = latitude;
+ lot = longitude;
+ }
} \ No newline at end of file