Commit a034972c by fz

1.添加ICE接口

2.添加通用接口result
1 parent d00b924a
Showing 283 changed files with 4826 additions and 19 deletions
...@@ -25,5 +25,16 @@ ...@@ -25,5 +25,16 @@
<groupId>net.sourceforge.nekohtml</groupId> <groupId>net.sourceforge.nekohtml</groupId>
<artifactId>nekohtml</artifactId> <artifactId>nekohtml</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
<groupId>Ice</groupId>
<artifactId>Ice</artifactId>
<version>3.5.1</version>
</dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file \ No newline at end of file
package com.glsx.base.controller;
import com.glsx.config.SystemProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
public class BaseController {
private Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private SystemProperty systemProperty;
public String getProperty(String propertyName){
return systemProperty.getProperty(propertyName);
}
public void logd(String log){
logger.debug(log);
}
public void logi(String log){
logger.info(log);
}
public void loge(String log,Throwable e){
logger.error(log,e);
}
}
package com.glsx.config; package com.glsx.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.EnvironmentAware; import org.springframework.context.EnvironmentAware;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment; import org.springframework.core.env.Environment;
/** /**
* @Title: SystemProperty.java * @Title: 钻石配置工具类
* @Description: * @Description:
* @author deployer name * @author fengzhi
* @version V1.0
* @Company: Didihu.com.cn
* @Copyright Copyright (c) 2017
*/ */
@Configuration @Configuration
public class SystemProperty implements EnvironmentAware { public class SystemProperty implements EnvironmentAware {
...@@ -22,7 +18,7 @@ public class SystemProperty implements EnvironmentAware { ...@@ -22,7 +18,7 @@ public class SystemProperty implements EnvironmentAware {
this.environment = environment; this.environment = environment;
} }
public String getProperty(String propertyName) { public static String getProperty(String propertyName) {
return environment.getProperty(propertyName); return environment.getProperty(propertyName);
} }
} }
package com.glsx.controller; package com.glsx.controller;
import org.springframework.beans.factory.annotation.Autowired; import com.glsx.base.controller.BaseController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import com.glsx.config.SystemProperty;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
/** /**
* @Title: IndexController.java * @Title: IndexController.java
* @Description: * @Description:
...@@ -14,21 +15,19 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -14,21 +15,19 @@ import org.springframework.web.bind.annotation.RestController;
* @Company: Didihu.com.cn * @Company: Didihu.com.cn
* @Copyright Copyright (c) 2017 * @Copyright Copyright (c) 2017
*/ */
@RestController @RestController
@RequestMapping("index") @RequestMapping("/openApi/v1.0")
public class IndexController { public class IndexController extends BaseController {
@Autowired
private SystemProperty systemProperty;
@ResponseBody @ResponseBody
@RequestMapping("home") @GetMapping("/token/{grantType}")
public String home(){ public String getToken(){
return "hello, welcome to home!";
return "getToken";
} }
@RequestMapping("fz") @RequestMapping("fz")
public String index(){ public String index(){
return systemProperty.getProperty("system.name"); return getProperty("system.fz");
} }
} }
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
/**
* history BaseStation record
**/
public class BsGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int startTime;
public int endTime;
public int reqCount;
public BsGetRequest()
{
}
public BsGetRequest(long userID, int apType, int startTime, int endTime, int reqCount)
{
this.userID = userID;
this.apType = apType;
this.startTime = startTime;
this.endTime = endTime;
this.reqCount = reqCount;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsGetRequest _r = null;
if(rhs instanceof BsGetRequest)
{
_r = (BsGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(startTime != _r.startTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(reqCount != _r.reqCount)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, startTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, reqCount);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(startTime);
__os.writeInt(endTime);
__os.writeInt(reqCount);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
startTime = __is.readInt();
endTime = __is.readInt();
reqCount = __is.readInt();
}
public static final long serialVersionUID = 3348109610768716323L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsGetRequestHolder
{
public
BsGetRequestHolder()
{
}
public
BsGetRequestHolder(BsGetRequest value)
{
this.value = value;
}
public BsGetRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class BsGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public BsRecord[] records;
public BsGetResponse()
{
}
public BsGetResponse(int oprResult, BsRecord[] records)
{
this.oprResult = oprResult;
this.records = records;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsGetResponse _r = null;
if(rhs instanceof BsGetResponse)
{
_r = (BsGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(!java.util.Arrays.equals(records, _r.records))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
BsRecordsHelper.write(__os, records);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = BsRecordsHelper.read(__is);
}
public static final long serialVersionUID = -8093956956733053997L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsGetResponseHolder
{
public
BsGetResponseHolder()
{
}
public
BsGetResponseHolder(BsGetResponse value)
{
this.value = value;
}
public BsGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class BsInfo implements Cloneable, java.io.Serializable
{
public int lac;
public int cellId;
public int signal;
public BsInfo()
{
}
public BsInfo(int lac, int cellId, int signal)
{
this.lac = lac;
this.cellId = cellId;
this.signal = signal;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsInfo _r = null;
if(rhs instanceof BsInfo)
{
_r = (BsInfo)rhs;
}
if(_r != null)
{
if(lac != _r.lac)
{
return false;
}
if(cellId != _r.cellId)
{
return false;
}
if(signal != _r.signal)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsInfo");
__h = IceInternal.HashUtil.hashAdd(__h, lac);
__h = IceInternal.HashUtil.hashAdd(__h, cellId);
__h = IceInternal.HashUtil.hashAdd(__h, signal);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(lac);
__os.writeInt(cellId);
__os.writeInt(signal);
}
public void
__read(IceInternal.BasicStream __is)
{
lac = __is.readInt();
cellId = __is.readInt();
signal = __is.readInt();
}
public static final long serialVersionUID = -6141235578307705906L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsInfoArrayHelper
{
public static void
write(IceInternal.BasicStream __os, BsInfo[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
__v[__i0].__write(__os);
}
}
}
public static BsInfo[]
read(IceInternal.BasicStream __is)
{
BsInfo[] __v;
final int __len0 = __is.readAndCheckSeqSize(12);
__v = new BsInfo[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new BsInfo();
__v[__i0].__read(__is);
}
return __v;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsInfoArrayHolder
{
public
BsInfoArrayHolder()
{
}
public
BsInfoArrayHolder(BsInfo[] value)
{
this.value = value;
}
public BsInfo[] value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsInfoHolder
{
public
BsInfoHolder()
{
}
public
BsInfoHolder(BsInfo value)
{
this.value = value;
}
public BsInfo value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class BsRecord implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int storeTime;
public int mcc;
public int mnc;
public BsInfo[] bsInfos;
public BsRecord()
{
}
public BsRecord(int gpsTime, int storeTime, int mcc, int mnc, BsInfo[] bsInfos)
{
this.gpsTime = gpsTime;
this.storeTime = storeTime;
this.mcc = mcc;
this.mnc = mnc;
this.bsInfos = bsInfos;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsRecord _r = null;
if(rhs instanceof BsRecord)
{
_r = (BsRecord)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(storeTime != _r.storeTime)
{
return false;
}
if(mcc != _r.mcc)
{
return false;
}
if(mnc != _r.mnc)
{
return false;
}
if(!java.util.Arrays.equals(bsInfos, _r.bsInfos))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsRecord");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, storeTime);
__h = IceInternal.HashUtil.hashAdd(__h, mcc);
__h = IceInternal.HashUtil.hashAdd(__h, mnc);
__h = IceInternal.HashUtil.hashAdd(__h, bsInfos);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(gpsTime);
__os.writeInt(storeTime);
__os.writeInt(mcc);
__os.writeInt(mnc);
BsInfoArrayHelper.write(__os, bsInfos);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
storeTime = __is.readInt();
mcc = __is.readInt();
mnc = __is.readInt();
bsInfos = BsInfoArrayHelper.read(__is);
}
public static final long serialVersionUID = 1328093076371208236L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsRecordHolder
{
public
BsRecordHolder()
{
}
public
BsRecordHolder(BsRecord value)
{
this.value = value;
}
public BsRecord value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, BsRecord[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
__v[__i0].__write(__os);
}
}
}
public static BsRecord[]
read(IceInternal.BasicStream __is)
{
BsRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(17);
__v = new BsRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new BsRecord();
__v[__i0].__read(__is);
}
return __v;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsRecordsHolder
{
public
BsRecordsHolder()
{
}
public
BsRecordsHolder(BsRecord[] value)
{
this.value = value;
}
public BsRecord[] value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class BsWorkModeGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int startTime;
public int endTime;
public int reqCount;
public BsWorkModeGetRequest()
{
}
public BsWorkModeGetRequest(long userID, int apType, int startTime, int endTime, int reqCount)
{
this.userID = userID;
this.apType = apType;
this.startTime = startTime;
this.endTime = endTime;
this.reqCount = reqCount;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsWorkModeGetRequest _r = null;
if(rhs instanceof BsWorkModeGetRequest)
{
_r = (BsWorkModeGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(startTime != _r.startTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(reqCount != _r.reqCount)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsWorkModeGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, startTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, reqCount);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(startTime);
__os.writeInt(endTime);
__os.writeInt(reqCount);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
startTime = __is.readInt();
endTime = __is.readInt();
reqCount = __is.readInt();
}
public static final long serialVersionUID = 4381286516000313377L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsWorkModeGetRequestHolder
{
public
BsWorkModeGetRequestHolder()
{
}
public
BsWorkModeGetRequestHolder(BsWorkModeGetRequest value)
{
this.value = value;
}
public BsWorkModeGetRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class BsWorkModeGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public BsWorkModeRecord[] records;
public BsWorkModeGetResponse()
{
}
public BsWorkModeGetResponse(int oprResult, BsWorkModeRecord[] records)
{
this.oprResult = oprResult;
this.records = records;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsWorkModeGetResponse _r = null;
if(rhs instanceof BsWorkModeGetResponse)
{
_r = (BsWorkModeGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(!java.util.Arrays.equals(records, _r.records))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsWorkModeGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
BsWorkModeRecordsHelper.write(__os, records);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = BsWorkModeRecordsHelper.read(__is);
}
public static final long serialVersionUID = 8985783764598807953L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsWorkModeGetResponseHolder
{
public
BsWorkModeGetResponseHolder()
{
}
public
BsWorkModeGetResponseHolder(BsWorkModeGetResponse value)
{
this.value = value;
}
public BsWorkModeGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class BsWorkModeRecord implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int storeTime;
public int mcc;
public int mnc;
public BsInfo[] bsInfos;
public int gsensor;
public int workmode;
public BsWorkModeRecord()
{
}
public BsWorkModeRecord(int gpsTime, int storeTime, int mcc, int mnc, BsInfo[] bsInfos, int gsensor, int workmode)
{
this.gpsTime = gpsTime;
this.storeTime = storeTime;
this.mcc = mcc;
this.mnc = mnc;
this.bsInfos = bsInfos;
this.gsensor = gsensor;
this.workmode = workmode;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BsWorkModeRecord _r = null;
if(rhs instanceof BsWorkModeRecord)
{
_r = (BsWorkModeRecord)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(storeTime != _r.storeTime)
{
return false;
}
if(mcc != _r.mcc)
{
return false;
}
if(mnc != _r.mnc)
{
return false;
}
if(!java.util.Arrays.equals(bsInfos, _r.bsInfos))
{
return false;
}
if(gsensor != _r.gsensor)
{
return false;
}
if(workmode != _r.workmode)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BsWorkModeRecord");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, storeTime);
__h = IceInternal.HashUtil.hashAdd(__h, mcc);
__h = IceInternal.HashUtil.hashAdd(__h, mnc);
__h = IceInternal.HashUtil.hashAdd(__h, bsInfos);
__h = IceInternal.HashUtil.hashAdd(__h, gsensor);
__h = IceInternal.HashUtil.hashAdd(__h, workmode);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(gpsTime);
__os.writeInt(storeTime);
__os.writeInt(mcc);
__os.writeInt(mnc);
BsInfoArrayHelper.write(__os, bsInfos);
__os.writeInt(gsensor);
__os.writeInt(workmode);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
storeTime = __is.readInt();
mcc = __is.readInt();
mnc = __is.readInt();
bsInfos = BsInfoArrayHelper.read(__is);
gsensor = __is.readInt();
workmode = __is.readInt();
}
public static final long serialVersionUID = -5017340778083374883L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsWorkModeRecordHolder
{
public
BsWorkModeRecordHolder()
{
}
public
BsWorkModeRecordHolder(BsWorkModeRecord value)
{
this.value = value;
}
public BsWorkModeRecord value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsWorkModeRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, BsWorkModeRecord[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
__v[__i0].__write(__os);
}
}
}
public static BsWorkModeRecord[]
read(IceInternal.BasicStream __is)
{
BsWorkModeRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(25);
__v = new BsWorkModeRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new BsWorkModeRecord();
__v[__i0].__read(__is);
}
return __v;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class BsWorkModeRecordsHolder
{
public
BsWorkModeRecordsHolder()
{
}
public
BsWorkModeRecordsHolder(BsWorkModeRecord[] value)
{
this.value = value;
}
public BsWorkModeRecord[] value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getBsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
BsGetResponseHolder res = new BsGetResponseHolder();
try
{
__ret = __proxy.end_getBsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getBsWorkModeRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BsWorkModeGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
BsWorkModeGetResponseHolder res = new BsWorkModeGetResponseHolder();
try
{
__ret = __proxy.end_getBsWorkModeRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getDayLastGpsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, DayLastGpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
DayLastGpsGetResponseHolder res = new DayLastGpsGetResponseHolder();
try
{
__ret = __proxy.end_getDayLastGpsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getFirstBsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
BsGetResponseHolder res = new BsGetResponseHolder();
try
{
__ret = __proxy.end_getFirstBsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getFirstGpsBsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsBsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsBsGetResponseHolder res = new GpsBsGetResponseHolder();
try
{
__ret = __proxy.end_getFirstGpsBsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getFirstGpsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsGetResponseHolder res = new GpsGetResponseHolder();
try
{
__ret = __proxy.end_getFirstGpsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getGpsBsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsBsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsBsGetResponseHolder res = new GpsBsGetResponseHolder();
try
{
__ret = __proxy.end_getGpsBsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getGpsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsGetResponseHolder res = new GpsGetResponseHolder();
try
{
__ret = __proxy.end_getGpsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getGpsRecordsByImei extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsGetExResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsGetExResponseHolder res = new GpsGetExResponseHolder();
try
{
__ret = __proxy.end_getGpsRecordsByImei(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getGpsRecordsByMapSn extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsGetExResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsGetExResponseHolder res = new GpsGetExResponseHolder();
try
{
__ret = __proxy.end_getGpsRecordsByMapSn(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getGpsRecordsEx extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsGetExResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsGetExResponseHolder res = new GpsGetExResponseHolder();
try
{
__ret = __proxy.end_getGpsRecordsEx(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getGpsWorkModeRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsWorkModeGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsWorkModeGetResponseHolder res = new GpsWorkModeGetResponseHolder();
try
{
__ret = __proxy.end_getGpsWorkModeRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getLatestBsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestBsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestBsGetResponseHolder res = new LatestBsGetResponseHolder();
try
{
__ret = __proxy.end_getLatestBsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getLatestGpsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestGpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestGpsGetResponseHolder res = new LatestGpsGetResponseHolder();
try
{
__ret = __proxy.end_getLatestGpsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getLatestGpsRecordByImei extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestGpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestGpsGetResponseHolder res = new LatestGpsGetResponseHolder();
try
{
__ret = __proxy.end_getLatestGpsRecordByImei(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getLatestGpsRecordByMapSn extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestGpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestGpsGetResponseHolder res = new LatestGpsGetResponseHolder();
try
{
__ret = __proxy.end_getLatestGpsRecordByMapSn(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getLatestLocationByLbsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestGpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestGpsGetResponseHolder res = new LatestGpsGetResponseHolder();
try
{
__ret = __proxy.end_getLatestLocationByLbsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getLatestRgpsRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestRgpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestRgpsGetResponseHolder res = new LatestRgpsGetResponseHolder();
try
{
__ret = __proxy.end_getLatestRgpsRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getLatestVolRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestVoltageGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestVoltageGetResponseHolder res = new LatestVoltageGetResponseHolder();
try
{
__ret = __proxy.end_getLatestVolRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getMaxVolDiff extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, DiffVoltageGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
DiffVoltageGetResponseHolder res = new DiffVoltageGetResponseHolder();
try
{
__ret = __proxy.end_getMaxVolDiff(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getRecentBsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, RecentBsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
RecentBsGetResponseHolder res = new RecentBsGetResponseHolder();
try
{
__ret = __proxy.end_getRecentBsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getRecentGpsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, RecentGpsGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
RecentGpsGetResponseHolder res = new RecentGpsGetResponseHolder();
try
{
__ret = __proxy.end_getRecentGpsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getSnMapRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, Sn2DdMapGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
Sn2DdMapGetResponseHolder res = new Sn2DdMapGetResponseHolder();
try
{
__ret = __proxy.end_getSnMapRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public abstract class Callback_DaoGpsService_getVoltageRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, VoltageGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
VoltageGetResponseHolder res = new VoltageGetResponseHolder();
try
{
__ret = __proxy.end_getVoltageRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public interface DaoGpsService extends Ice.Object,
_DaoGpsServiceOperations, _DaoGpsServiceOperationsNC
{
public static final long serialVersionUID = 3050687698509607144L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class DaoGpsServiceHolder extends Ice.ObjectHolderBase<DaoGpsService>
{
public
DaoGpsServiceHolder()
{
}
public
DaoGpsServiceHolder(DaoGpsService value)
{
this.value = value;
}
public void
patch(Ice.Object v)
{
if(v == null || v instanceof DaoGpsService)
{
value = (DaoGpsService)v;
}
else
{
IceInternal.Ex.throwUOE(type(), v);
}
}
public String
type()
{
return _DaoGpsServiceDisp.ice_staticId();
}
}
This diff could not be displayed because it is too large.
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class DaoGpsServicePrxHolder
{
public
DaoGpsServicePrxHolder()
{
}
public
DaoGpsServicePrxHolder(DaoGpsServicePrx value)
{
this.value = value;
}
public DaoGpsServicePrx value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
/**
* Last Gps record for the request date
**/
public class DayLastGpsGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int extraMapReq;
public int year;
public int month;
public int day;
public DayLastGpsGetRequest()
{
}
public DayLastGpsGetRequest(long userID, int apType, int extraMapReq, int year, int month, int day)
{
this.userID = userID;
this.apType = apType;
this.extraMapReq = extraMapReq;
this.year = year;
this.month = month;
this.day = day;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
DayLastGpsGetRequest _r = null;
if(rhs instanceof DayLastGpsGetRequest)
{
_r = (DayLastGpsGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(extraMapReq != _r.extraMapReq)
{
return false;
}
if(year != _r.year)
{
return false;
}
if(month != _r.month)
{
return false;
}
if(day != _r.day)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::DayLastGpsGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, extraMapReq);
__h = IceInternal.HashUtil.hashAdd(__h, year);
__h = IceInternal.HashUtil.hashAdd(__h, month);
__h = IceInternal.HashUtil.hashAdd(__h, day);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(extraMapReq);
__os.writeInt(year);
__os.writeInt(month);
__os.writeInt(day);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
extraMapReq = __is.readInt();
year = __is.readInt();
month = __is.readInt();
day = __is.readInt();
}
public static final long serialVersionUID = -1810599326986319986L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class DayLastGpsGetRequestHolder
{
public
DayLastGpsGetRequestHolder()
{
}
public
DayLastGpsGetRequestHolder(DayLastGpsGetRequest value)
{
this.value = value;
}
public DayLastGpsGetRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class DayLastGpsGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public GpsRecord record;
public DayLastGpsGetResponse()
{
}
public DayLastGpsGetResponse(int oprResult, GpsRecord record)
{
this.oprResult = oprResult;
this.record = record;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
DayLastGpsGetResponse _r = null;
if(rhs instanceof DayLastGpsGetResponse)
{
_r = (DayLastGpsGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(record != _r.record)
{
if(record == null || _r.record == null || !record.equals(_r.record))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::DayLastGpsGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, record);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
record.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
record = new GpsRecord();
record.__read(__is);
}
public static final long serialVersionUID = 9176182864599859523L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class DayLastGpsGetResponseHolder
{
public
DayLastGpsGetResponseHolder()
{
}
public
DayLastGpsGetResponseHolder(DayLastGpsGetResponse value)
{
this.value = value;
}
public DayLastGpsGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
/**
* Voltage max diff
**/
public class DiffVoltageGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int startTime;
public int endTime;
public DiffVoltageGetRequest()
{
}
public DiffVoltageGetRequest(long userID, int apType, int startTime, int endTime)
{
this.userID = userID;
this.apType = apType;
this.startTime = startTime;
this.endTime = endTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
DiffVoltageGetRequest _r = null;
if(rhs instanceof DiffVoltageGetRequest)
{
_r = (DiffVoltageGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(startTime != _r.startTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::DiffVoltageGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, startTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(startTime);
__os.writeInt(endTime);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
startTime = __is.readInt();
endTime = __is.readInt();
}
public static final long serialVersionUID = -3265145535555248961L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class DiffVoltageGetRequestHolder
{
public
DiffVoltageGetRequestHolder()
{
}
public
DiffVoltageGetRequestHolder(DiffVoltageGetRequest value)
{
this.value = value;
}
public DiffVoltageGetRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class DiffVoltageGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public int maxVolDiff;
public DiffVoltageGetResponse()
{
}
public DiffVoltageGetResponse(int oprResult, int maxVolDiff)
{
this.oprResult = oprResult;
this.maxVolDiff = maxVolDiff;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
DiffVoltageGetResponse _r = null;
if(rhs instanceof DiffVoltageGetResponse)
{
_r = (DiffVoltageGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(maxVolDiff != _r.maxVolDiff)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::DiffVoltageGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, maxVolDiff);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
__os.writeInt(maxVolDiff);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
maxVolDiff = __is.readInt();
}
public static final long serialVersionUID = -7645548518755699457L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class DiffVoltageGetResponseHolder
{
public
DiffVoltageGetResponseHolder()
{
}
public
DiffVoltageGetResponseHolder(DiffVoltageGetResponse value)
{
this.value = value;
}
public DiffVoltageGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class GpsBsGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public GpsBsRecord[] records;
public GpsBsGetResponse()
{
}
public GpsBsGetResponse(int oprResult, GpsBsRecord[] records)
{
this.oprResult = oprResult;
this.records = records;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsBsGetResponse _r = null;
if(rhs instanceof GpsBsGetResponse)
{
_r = (GpsBsGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(!java.util.Arrays.equals(records, _r.records))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::GpsBsGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
GpsBsRecordsHelper.write(__os, records);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = GpsBsRecordsHelper.read(__is);
}
public static final long serialVersionUID = 6825863304550196439L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class GpsBsGetResponseHolder
{
public
GpsBsGetResponseHolder()
{
}
public
GpsBsGetResponseHolder(GpsBsGetResponse value)
{
this.value = value;
}
public GpsBsGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
/**
* Gps&BS Record
**/
public class GpsBsRecord implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int storeTime;
public boolean gpsValid;
public int lng;
public int lat;
public int gLng;
public int gLat;
public int bLng;
public int bLat;
public int alt;
public int speed;
public int dir;
public boolean bsValid;
public int mcc;
public int mnc;
public BsInfo[] bsInfos;
public GpsBsRecord()
{
}
public GpsBsRecord(int gpsTime, int storeTime, boolean gpsValid, int lng, int lat, int gLng, int gLat, int bLng, int bLat, int alt, int speed, int dir, boolean bsValid, int mcc, int mnc, BsInfo[] bsInfos)
{
this.gpsTime = gpsTime;
this.storeTime = storeTime;
this.gpsValid = gpsValid;
this.lng = lng;
this.lat = lat;
this.gLng = gLng;
this.gLat = gLat;
this.bLng = bLng;
this.bLat = bLat;
this.alt = alt;
this.speed = speed;
this.dir = dir;
this.bsValid = bsValid;
this.mcc = mcc;
this.mnc = mnc;
this.bsInfos = bsInfos;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsBsRecord _r = null;
if(rhs instanceof GpsBsRecord)
{
_r = (GpsBsRecord)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(storeTime != _r.storeTime)
{
return false;
}
if(gpsValid != _r.gpsValid)
{
return false;
}
if(lng != _r.lng)
{
return false;
}
if(lat != _r.lat)
{
return false;
}
if(gLng != _r.gLng)
{
return false;
}
if(gLat != _r.gLat)
{
return false;
}
if(bLng != _r.bLng)
{
return false;
}
if(bLat != _r.bLat)
{
return false;
}
if(alt != _r.alt)
{
return false;
}
if(speed != _r.speed)
{
return false;
}
if(dir != _r.dir)
{
return false;
}
if(bsValid != _r.bsValid)
{
return false;
}
if(mcc != _r.mcc)
{
return false;
}
if(mnc != _r.mnc)
{
return false;
}
if(!java.util.Arrays.equals(bsInfos, _r.bsInfos))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::GpsBsRecord");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, storeTime);
__h = IceInternal.HashUtil.hashAdd(__h, gpsValid);
__h = IceInternal.HashUtil.hashAdd(__h, lng);
__h = IceInternal.HashUtil.hashAdd(__h, lat);
__h = IceInternal.HashUtil.hashAdd(__h, gLng);
__h = IceInternal.HashUtil.hashAdd(__h, gLat);
__h = IceInternal.HashUtil.hashAdd(__h, bLng);
__h = IceInternal.HashUtil.hashAdd(__h, bLat);
__h = IceInternal.HashUtil.hashAdd(__h, alt);
__h = IceInternal.HashUtil.hashAdd(__h, speed);
__h = IceInternal.HashUtil.hashAdd(__h, dir);
__h = IceInternal.HashUtil.hashAdd(__h, bsValid);
__h = IceInternal.HashUtil.hashAdd(__h, mcc);
__h = IceInternal.HashUtil.hashAdd(__h, mnc);
__h = IceInternal.HashUtil.hashAdd(__h, bsInfos);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(gpsTime);
__os.writeInt(storeTime);
__os.writeBool(gpsValid);
__os.writeInt(lng);
__os.writeInt(lat);
__os.writeInt(gLng);
__os.writeInt(gLat);
__os.writeInt(bLng);
__os.writeInt(bLat);
__os.writeInt(alt);
__os.writeInt(speed);
__os.writeInt(dir);
__os.writeBool(bsValid);
__os.writeInt(mcc);
__os.writeInt(mnc);
BsInfoArrayHelper.write(__os, bsInfos);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
storeTime = __is.readInt();
gpsValid = __is.readBool();
lng = __is.readInt();
lat = __is.readInt();
gLng = __is.readInt();
gLat = __is.readInt();
bLng = __is.readInt();
bLat = __is.readInt();
alt = __is.readInt();
speed = __is.readInt();
dir = __is.readInt();
bsValid = __is.readBool();
mcc = __is.readInt();
mnc = __is.readInt();
bsInfos = BsInfoArrayHelper.read(__is);
}
public static final long serialVersionUID = -9010859437940285849L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class GpsBsRecordHolder
{
public
GpsBsRecordHolder()
{
}
public
GpsBsRecordHolder(GpsBsRecord value)
{
this.value = value;
}
public GpsBsRecord value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class GpsBsRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, GpsBsRecord[] __v)
{
if(__v == null)
{
__os.writeSize(0);
}
else
{
__os.writeSize(__v.length);
for(int __i0 = 0; __i0 < __v.length; __i0++)
{
__v[__i0].__write(__os);
}
}
}
public static GpsBsRecord[]
read(IceInternal.BasicStream __is)
{
GpsBsRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(55);
__v = new GpsBsRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new GpsBsRecord();
__v[__i0].__read(__is);
}
return __v;
}
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class GpsBsRecordsHolder
{
public
GpsBsRecordsHolder()
{
}
public
GpsBsRecordsHolder(GpsBsRecord[] value)
{
this.value = value;
}
public GpsBsRecord[] value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
/**
* ====================
**/
public class GpsGetExRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int extraMapReq;
public int startTime;
public int endTime;
public int reqCount;
public int filterLevel;
public GpsGetExRequest()
{
}
public GpsGetExRequest(long userID, int apType, int extraMapReq, int startTime, int endTime, int reqCount, int filterLevel)
{
this.userID = userID;
this.apType = apType;
this.extraMapReq = extraMapReq;
this.startTime = startTime;
this.endTime = endTime;
this.reqCount = reqCount;
this.filterLevel = filterLevel;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsGetExRequest _r = null;
if(rhs instanceof GpsGetExRequest)
{
_r = (GpsGetExRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(extraMapReq != _r.extraMapReq)
{
return false;
}
if(startTime != _r.startTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(reqCount != _r.reqCount)
{
return false;
}
if(filterLevel != _r.filterLevel)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::GpsGetExRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, extraMapReq);
__h = IceInternal.HashUtil.hashAdd(__h, startTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, reqCount);
__h = IceInternal.HashUtil.hashAdd(__h, filterLevel);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(extraMapReq);
__os.writeInt(startTime);
__os.writeInt(endTime);
__os.writeInt(reqCount);
__os.writeInt(filterLevel);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
extraMapReq = __is.readInt();
startTime = __is.readInt();
endTime = __is.readInt();
reqCount = __is.readInt();
filterLevel = __is.readInt();
}
public static final long serialVersionUID = -4154489169697349187L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class GpsGetExRequestHolder
{
public
GpsGetExRequestHolder()
{
}
public
GpsGetExRequestHolder(GpsGetExRequest value)
{
this.value = value;
}
public GpsGetExRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class GpsGetExResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public GpsRecord[] records;
public boolean fullFlag;
public int lastGpsTime;
public GpsGetExResponse()
{
}
public GpsGetExResponse(int oprResult, GpsRecord[] records, boolean fullFlag, int lastGpsTime)
{
this.oprResult = oprResult;
this.records = records;
this.fullFlag = fullFlag;
this.lastGpsTime = lastGpsTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsGetExResponse _r = null;
if(rhs instanceof GpsGetExResponse)
{
_r = (GpsGetExResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(!java.util.Arrays.equals(records, _r.records))
{
return false;
}
if(fullFlag != _r.fullFlag)
{
return false;
}
if(lastGpsTime != _r.lastGpsTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::GpsGetExResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
__h = IceInternal.HashUtil.hashAdd(__h, fullFlag);
__h = IceInternal.HashUtil.hashAdd(__h, lastGpsTime);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
GpsRecordsHelper.write(__os, records);
__os.writeBool(fullFlag);
__os.writeInt(lastGpsTime);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = GpsRecordsHelper.read(__is);
fullFlag = __is.readBool();
lastGpsTime = __is.readInt();
}
public static final long serialVersionUID = -8201661562309205121L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class GpsGetExResponseHolder
{
public
GpsGetExResponseHolder()
{
}
public
GpsGetExResponseHolder(GpsGetExResponse value)
{
this.value = value;
}
public GpsGetExResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
/**
* history Gps Record
**/
public class GpsGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int extraMapReq;
public int startTime;
public int endTime;
public int reqCount;
public GpsGetRequest()
{
}
public GpsGetRequest(long userID, int apType, int extraMapReq, int startTime, int endTime, int reqCount)
{
this.userID = userID;
this.apType = apType;
this.extraMapReq = extraMapReq;
this.startTime = startTime;
this.endTime = endTime;
this.reqCount = reqCount;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsGetRequest _r = null;
if(rhs instanceof GpsGetRequest)
{
_r = (GpsGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(extraMapReq != _r.extraMapReq)
{
return false;
}
if(startTime != _r.startTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(reqCount != _r.reqCount)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::GpsGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, extraMapReq);
__h = IceInternal.HashUtil.hashAdd(__h, startTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, reqCount);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeLong(userID);
__os.writeInt(apType);
__os.writeInt(extraMapReq);
__os.writeInt(startTime);
__os.writeInt(endTime);
__os.writeInt(reqCount);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
extraMapReq = __is.readInt();
startTime = __is.readInt();
endTime = __is.readInt();
reqCount = __is.readInt();
}
public static final long serialVersionUID = -250076893586403631L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class GpsGetRequestHolder
{
public
GpsGetRequestHolder()
{
}
public
GpsGetRequestHolder(GpsGetRequest value)
{
this.value = value;
}
public GpsGetRequest value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public class GpsGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public GpsRecord[] records;
public GpsGetResponse()
{
}
public GpsGetResponse(int oprResult, GpsRecord[] records)
{
this.oprResult = oprResult;
this.records = records;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsGetResponse _r = null;
if(rhs instanceof GpsGetResponse)
{
_r = (GpsGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(!java.util.Arrays.equals(records, _r.records))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::GpsGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(oprResult);
GpsRecordsHelper.write(__os, records);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = GpsRecordsHelper.read(__is);
}
public static final long serialVersionUID = -3679199104191971258L;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
public final class GpsGetResponseHolder
{
public
GpsGetResponseHolder()
{
}
public
GpsGetResponseHolder(GpsGetResponse value)
{
this.value = value;
}
public GpsGetResponse value;
}
// **********************************************************************
//
// Copyright (c) 2003-2013 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
//
// Ice version 3.5.1
//
// <auto-generated>
//
// Generated from file `HDao_gps.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
/**
* common
**/
public class GpsRecord implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int lng;
public int lat;
public int alt;
public int speed;
public int dir;
public int gLng;
public int gLat;
public int bLng;
public int bLat;
public int storeTime;
public GpsRecord()
{
}
public GpsRecord(int gpsTime, int lng, int lat, int alt, int speed, int dir, int gLng, int gLat, int bLng, int bLat, int storeTime)
{
this.gpsTime = gpsTime;
this.lng = lng;
this.lat = lat;
this.alt = alt;
this.speed = speed;
this.dir = dir;
this.gLng = gLng;
this.gLat = gLat;
this.bLng = bLng;
this.bLat = bLat;
this.storeTime = storeTime;
}
public int getGpsTime() {
return gpsTime;
}
public void setGpsTime(int gpsTime) {
this.gpsTime = gpsTime;
}
public int getLng() {
return lng;
}
public void setLng(int lng) {
this.lng = lng;
}
public int getLat() {
return lat;
}
public void setLat(int lat) {
this.lat = lat;
}
public int getAlt() {
return alt;
}
public void setAlt(int alt) {
this.alt = alt;
}
public int getSpeed() {
return speed;
}
public void setSpeed(int speed) {
this.speed = speed;
}
public int getDir() {
return dir;
}
public void setDir(int dir) {
this.dir = dir;
}
public int getgLng() {
return gLng;
}
public void setgLng(int gLng) {
this.gLng = gLng;
}
public int getgLat() {
return gLat;
}
public void setgLat(int gLat) {
this.gLat = gLat;
}
public int getbLng() {
return bLng;
}
public void setbLng(int bLng) {
this.bLng = bLng;
}
public int getbLat() {
return bLat;
}
public void setbLat(int bLat) {
this.bLat = bLat;
}
public int getStoreTime() {
return storeTime;
}
public void setStoreTime(int storeTime) {
this.storeTime = storeTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsRecord _r = null;
if(rhs instanceof GpsRecord)
{
_r = (GpsRecord)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(lng != _r.lng)
{
return false;
}
if(lat != _r.lat)
{
return false;
}
if(alt != _r.alt)
{
return false;
}
if(speed != _r.speed)
{
return false;
}
if(dir != _r.dir)
{
return false;
}
if(gLng != _r.gLng)
{
return false;
}
if(gLat != _r.gLat)
{
return false;
}
if(bLng != _r.bLng)
{
return false;
}
if(bLat != _r.bLat)
{
return false;
}
if(storeTime != _r.storeTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::GpsRecord");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, lng);
__h = IceInternal.HashUtil.hashAdd(__h, lat);
__h = IceInternal.HashUtil.hashAdd(__h, alt);
__h = IceInternal.HashUtil.hashAdd(__h, speed);
__h = IceInternal.HashUtil.hashAdd(__h, dir);
__h = IceInternal.HashUtil.hashAdd(__h, gLng);
__h = IceInternal.HashUtil.hashAdd(__h, gLat);
__h = IceInternal.HashUtil.hashAdd(__h, bLng);
__h = IceInternal.HashUtil.hashAdd(__h, bLat);
__h = IceInternal.HashUtil.hashAdd(__h, storeTime);
return __h;
}
public Object
clone()
{
Object o = null;
try
{
o = super.clone();
}
catch(CloneNotSupportedException ex)
{
assert false; // impossible
}
return o;
}
public void
__write(IceInternal.BasicStream __os)
{
__os.writeInt(gpsTime);
__os.writeInt(lng);
__os.writeInt(lat);
__os.writeInt(alt);
__os.writeInt(speed);
__os.writeInt(dir);
__os.writeInt(gLng);
__os.writeInt(gLat);
__os.writeInt(bLng);
__os.writeInt(bLat);
__os.writeInt(storeTime);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
lng = __is.readInt();
lat = __is.readInt();
alt = __is.readInt();
speed = __is.readInt();
dir = __is.readInt();
gLng = __is.readInt();
gLat = __is.readInt();
bLng = __is.readInt();
bLat = __is.readInt();
storeTime = __is.readInt();
}
public static final long serialVersionUID = 2925719264529334661L;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!