Commit c5f37860 by fz

1.添加拦截器

2.添加部分controller层,包装接口,实体类
3.添加ICE的poi接口
1 parent a034972c
Showing 420 changed files with 3061 additions and 100 deletions
......@@ -10,8 +10,14 @@
<version>1.0.0-SNAPSHOT</version>
<name>open-platform-api</name>
<packaging>war</packaging>
<properties>
<org.projectlombok.version>1.18.12</org.projectlombok.version>
<Ice.version>3.5.1</Ice.version>
</properties>
<dependencies>
<dependency>
<!--<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<exclusions>
......@@ -24,7 +30,7 @@
<dependency>
<groupId>net.sourceforge.nekohtml</groupId>
<artifactId>nekohtml</artifactId>
</dependency>
</dependency>-->
<dependency>
<groupId>org.springframework</groupId>
......@@ -34,7 +40,13 @@
<dependency>
<groupId>Ice</groupId>
<artifactId>Ice</artifactId>
<version>3.5.1</version>
<version>${Ice.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.projectlombok.version}</version>
</dependency>
</dependencies>
</project>
\ 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 lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
@Slf4j
public class BaseController {
private Logger logger = LoggerFactory.getLogger(this.getClass());
@Autowired
private SystemProperty systemProperty;
......@@ -15,15 +13,15 @@ public class BaseController {
return systemProperty.getProperty(propertyName);
}
public void logd(String log){
logger.debug(log);
public void logd(String message){
log.debug(message);
}
public void logi(String log){
logger.info(log);
public void logi(String message){
log.info(message);
}
public void loge(String log,Throwable e){
logger.error(log,e);
public void loge(String message,Throwable e){
log.error(message,e);
}
}
package com.glsx.config;
import com.glsx.intercepter.AuthIntercepter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
@Configuration
public class WebConfig implements WebMvcConfigurer {
@Autowired
AuthIntercepter authIntercepter;
@Override
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(authIntercepter)
.addPathPatterns("/**")
.excludePathPatterns("/openApi/v1.0/token/**");
}
}
package com.glsx.controller;
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.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
/**
* @Title: IndexController.java
* @Description:
* @author deployer name
* @version V1.0
* @Company: Didihu.com.cn
* @Copyright Copyright (c) 2017
*/
@RestController
@RequestMapping("/openApi/v1.0")
public class IndexController extends BaseController {
@ResponseBody
@GetMapping("/token/{grantType}")
public String getToken(){
return "getToken";
}
@RequestMapping("fz")
public String index(){
return getProperty("system.fz");
}
}
package com.glsx.controller;
import com.glsx.base.controller.BaseController;
import com.glsx.model.BO.*;
import com.glsx.model.DTO.*;
import com.glsx.model.Result;
import com.glsx.service.OpenApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.HashMap;
/**
* @Title: IndexController.java
* @Description:
* @author deployer name
* @version V1.0
* @Company: Didihu.com.cn
* @Copyright Copyright (c) 2017
*/
@RestController
@RequestMapping("/openApi/v1.0")
public class OpenApiController extends BaseController {
@Autowired
OpenApiService openApiService;
//授权管理
@GetMapping("token/{grantType}")
public Result getToken(@PathVariable("grantType")String grantType){
//todo getToken接口实体未知,待修改
String token = openApiService.getToken(grantType);
return Result.ok().data(token);
}
//获取设备列表
@PostMapping("deviceList")
public Result getDeviceList(@RequestBody DeviceListBo deviceListBo){
logi("OpenApiService===getDeviceList==="+deviceListBo);
DeviceListDTO deviceListVo = openApiService.getDeviceList(deviceListBo);
return Result.ok().data(deviceListVo);
}
//下发指令
@PostMapping("postCommands")
public Result postCommands(@RequestBody CommandsBo commandsBo){
openApiService.postCommands(commandsBo);
return Result.ok();
}
//查询设备状态
@PostMapping("deviceStatus")
public Result getDeviceStatus(@RequestBody DeviceStatusBo deviceStatusBo){
Integer status = openApiService.getDeviceStatus(deviceStatusBo);
HashMap<String,Integer> map = new HashMap<>();
map.put("status",status);
return Result.ok().data(map);
}
//获取商户下的数据概况信息
@PostMapping("dataView")
public Result getDataView(@RequestBody DeviceStatusBo deviceStatusBo){
DataViewDTO dataView = openApiService.getDataView(deviceStatusBo);
return Result.ok().data(dataView);
}
//消息订阅
@PostMapping("subscribeMessage")
public Result subscribeMessage(@RequestBody subscribeMessageBo subscribeMessageBo){
openApiService.subscribeMessage(subscribeMessageBo);
return Result.ok();
}
//查询最新位置点
@PostMapping("latestGpsRecord")
public Result getLatestGpsRecord(@RequestBody DeviceStatusBo deviceStatusBo){
LatestGpsRecordDto latestGpsRecordDto = openApiService.getLatestRGPSRecord(deviceStatusBo);
return Result.ok().data(latestGpsRecordDto);
}
//查询最新基站信息
@PostMapping("latestBsRecord")
public Result getLatestBsRecord(@RequestBody DeviceStatusBo deviceStatusBo){
LatestBsRecordDto latestGpsRecordDto = openApiService.getLatestBsRecord(deviceStatusBo);
return Result.ok().data(latestGpsRecordDto);
}
//查询最新GPS和基站信息
@PostMapping("latestGpsBsRecord")
public Result getLatestGpsBsRecord(@RequestBody DeviceStatusBo deviceStatusBo){
LatestGpsBsRecordDto latestGpsBsRecordDto = openApiService.getLatestGpsBsRecord(deviceStatusBo);
return Result.ok().data(latestGpsBsRecordDto);
}
//查询某时间段轨迹信息
@PostMapping("gpsRecords")
public Result getGpsRecords(@RequestBody GpsBsRecordsBo gpsRecordsBo){
GpsRecordsDto gpsRecordsDto = openApiService.getGpsRecords(gpsRecordsBo);
return Result.ok().data(gpsRecordsDto);
}
//查询某时间段基站信息 ()
@PostMapping("bsRecords")
public Result getBsRecords(@RequestBody GpsBsRecordsBo gpsRecordsBo){
GpsRecordsDto gpsRecordsDto = openApiService.getGpsRecords(gpsRecordsBo);
return Result.ok().data(gpsRecordsDto);
}
}
// **********************************************************************
//
// 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public abstract class Callback_IDistrictFinder_get_distdetail_by_code extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, String strProvName, String strCityName, String strCountyName);
public final void __completed(Ice.AsyncResult __result)
{
IDistrictFinderPrx __proxy = (IDistrictFinderPrx)__result.getProxy();
boolean __ret = false;
Ice.StringHolder strProvName = new Ice.StringHolder();
Ice.StringHolder strCityName = new Ice.StringHolder();
Ice.StringHolder strCountyName = new Ice.StringHolder();
try
{
__ret = __proxy.end_get_distdetail_by_code(strProvName, strCityName, strCountyName, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, strProvName.value, strCityName.value, strCountyName.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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public abstract class Callback_IDistrictFinder_get_distdetail_by_pos extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, String strProvName, String strCityName, String strCountyName);
public final void __completed(Ice.AsyncResult __result)
{
IDistrictFinderPrx __proxy = (IDistrictFinderPrx)__result.getProxy();
boolean __ret = false;
Ice.StringHolder strProvName = new Ice.StringHolder();
Ice.StringHolder strCityName = new Ice.StringHolder();
Ice.StringHolder strCountyName = new Ice.StringHolder();
try
{
__ret = __proxy.end_get_distdetail_by_pos(strProvName, strCityName, strCountyName, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, strProvName.value, strCityName.value, strCountyName.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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public abstract class Callback_IDistrictFinder_get_distinfo_by_pos extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, int distCode, String strDistName);
public final void __completed(Ice.AsyncResult __result)
{
IDistrictFinderPrx __proxy = (IDistrictFinderPrx)__result.getProxy();
boolean __ret = false;
Ice.IntHolder distCode = new Ice.IntHolder();
Ice.StringHolder strDistName = new Ice.StringHolder();
try
{
__ret = __proxy.end_get_distinfo_by_pos(distCode, strDistName, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, distCode.value, strDistName.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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public interface IDistrictFinder extends Ice.Object,
_IDistrictFinderOperations, _IDistrictFinderOperationsNC
{
public static final long serialVersionUID = -5209142945735662650L;
}
// **********************************************************************
//
// 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public final class IDistrictFinderHolder extends Ice.ObjectHolderBase<IDistrictFinder>
{
public
IDistrictFinderHolder()
{
}
public
IDistrictFinderHolder(IDistrictFinder value)
{
this.value = value;
}
public void
patch(Ice.Object v)
{
if(v == null || v instanceof IDistrictFinder)
{
value = (IDistrictFinder)v;
}
else
{
IceInternal.Ex.throwUOE(type(), v);
}
}
public String
type()
{
return _IDistrictFinderDisp.ice_staticId();
}
}
// **********************************************************************
//
// 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public interface IDistrictFinderPrx extends Ice.ObjectPrx
{
public boolean get_distinfo_by_pos(float lng, float lat, Ice.IntHolder distCode, Ice.StringHolder strDistName);
public boolean get_distinfo_by_pos(float lng, float lat, Ice.IntHolder distCode, Ice.StringHolder strDistName, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_get_distinfo_by_pos(float lng, float lat);
public Ice.AsyncResult begin_get_distinfo_by_pos(float lng, float lat, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_get_distinfo_by_pos(float lng, float lat, Ice.Callback __cb);
public Ice.AsyncResult begin_get_distinfo_by_pos(float lng, float lat, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_get_distinfo_by_pos(float lng, float lat, Callback_IDistrictFinder_get_distinfo_by_pos __cb);
public Ice.AsyncResult begin_get_distinfo_by_pos(float lng, float lat, java.util.Map<String, String> __ctx, Callback_IDistrictFinder_get_distinfo_by_pos __cb);
public boolean end_get_distinfo_by_pos(Ice.IntHolder distCode, Ice.StringHolder strDistName, Ice.AsyncResult __result);
public boolean get_distdetail_by_code(int distCode, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName);
public boolean get_distdetail_by_code(int distCode, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_get_distdetail_by_code(int distCode);
public Ice.AsyncResult begin_get_distdetail_by_code(int distCode, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_get_distdetail_by_code(int distCode, Ice.Callback __cb);
public Ice.AsyncResult begin_get_distdetail_by_code(int distCode, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_get_distdetail_by_code(int distCode, Callback_IDistrictFinder_get_distdetail_by_code __cb);
public Ice.AsyncResult begin_get_distdetail_by_code(int distCode, java.util.Map<String, String> __ctx, Callback_IDistrictFinder_get_distdetail_by_code __cb);
public boolean end_get_distdetail_by_code(Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, Ice.AsyncResult __result);
public boolean get_distdetail_by_pos(float lng, float lat, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName);
public boolean get_distdetail_by_pos(float lng, float lat, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_get_distdetail_by_pos(float lng, float lat);
public Ice.AsyncResult begin_get_distdetail_by_pos(float lng, float lat, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_get_distdetail_by_pos(float lng, float lat, Ice.Callback __cb);
public Ice.AsyncResult begin_get_distdetail_by_pos(float lng, float lat, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_get_distdetail_by_pos(float lng, float lat, Callback_IDistrictFinder_get_distdetail_by_pos __cb);
public Ice.AsyncResult begin_get_distdetail_by_pos(float lng, float lat, java.util.Map<String, String> __ctx, Callback_IDistrictFinder_get_distdetail_by_pos __cb);
public boolean end_get_distdetail_by_pos(Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, Ice.AsyncResult __result);
}
// **********************************************************************
//
// 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public final class IDistrictFinderPrxHolder
{
public
IDistrictFinderPrxHolder()
{
}
public
IDistrictFinderPrxHolder(IDistrictFinderPrx value)
{
this.value = value;
}
public IDistrictFinderPrx 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public interface _IDistrictFinderDel extends Ice._ObjectDel
{
boolean get_distinfo_by_pos(float lng, float lat, Ice.IntHolder distCode, Ice.StringHolder strDistName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean get_distdetail_by_code(int distCode, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean get_distdetail_by_pos(float lng, float lat, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
}
// **********************************************************************
//
// 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public final class _IDistrictFinderDelD extends Ice._ObjectDelD implements _IDistrictFinderDel
{
public boolean get_distdetail_by_code(final int distCode, final Ice.StringHolder strProvName, final Ice.StringHolder strCityName, final Ice.StringHolder strCountyName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "get_distdetail_by_code", Ice.OperationMode.Normal, __ctx);
final Ice.BooleanHolder __result = new Ice.BooleanHolder();
IceInternal.Direct __direct = null;
try
{
__direct = new IceInternal.Direct(__current)
{
public Ice.DispatchStatus run(Ice.Object __obj)
{
IDistrictFinder __servant = null;
if(__obj == null || __obj instanceof IDistrictFinder)
{
__servant = (IDistrictFinder)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.get_distdetail_by_code(distCode, strProvName, strCityName, strCountyName, __current);
return Ice.DispatchStatus.DispatchOK;
}
};
try
{
Ice.DispatchStatus __status = __direct.getServant().__collocDispatch(__direct);
if(__status == Ice.DispatchStatus.DispatchUserException)
{
__direct.throwUserException();
}
assert __status == Ice.DispatchStatus.DispatchOK;
return __result.value;
}
finally
{
__direct.destroy();
}
}
catch(Ice.SystemException __ex)
{
throw __ex;
}
catch(Throwable __ex)
{
IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
}
return __result.value;
}
public boolean get_distdetail_by_pos(final float lng, final float lat, final Ice.StringHolder strProvName, final Ice.StringHolder strCityName, final Ice.StringHolder strCountyName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "get_distdetail_by_pos", Ice.OperationMode.Normal, __ctx);
final Ice.BooleanHolder __result = new Ice.BooleanHolder();
IceInternal.Direct __direct = null;
try
{
__direct = new IceInternal.Direct(__current)
{
public Ice.DispatchStatus run(Ice.Object __obj)
{
IDistrictFinder __servant = null;
if(__obj == null || __obj instanceof IDistrictFinder)
{
__servant = (IDistrictFinder)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.get_distdetail_by_pos(lng, lat, strProvName, strCityName, strCountyName, __current);
return Ice.DispatchStatus.DispatchOK;
}
};
try
{
Ice.DispatchStatus __status = __direct.getServant().__collocDispatch(__direct);
if(__status == Ice.DispatchStatus.DispatchUserException)
{
__direct.throwUserException();
}
assert __status == Ice.DispatchStatus.DispatchOK;
return __result.value;
}
finally
{
__direct.destroy();
}
}
catch(Ice.SystemException __ex)
{
throw __ex;
}
catch(Throwable __ex)
{
IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
}
return __result.value;
}
public boolean get_distinfo_by_pos(final float lng, final float lat, final Ice.IntHolder distCode, final Ice.StringHolder strDistName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "get_distinfo_by_pos", Ice.OperationMode.Normal, __ctx);
final Ice.BooleanHolder __result = new Ice.BooleanHolder();
IceInternal.Direct __direct = null;
try
{
__direct = new IceInternal.Direct(__current)
{
public Ice.DispatchStatus run(Ice.Object __obj)
{
IDistrictFinder __servant = null;
if(__obj == null || __obj instanceof IDistrictFinder)
{
__servant = (IDistrictFinder)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.get_distinfo_by_pos(lng, lat, distCode, strDistName, __current);
return Ice.DispatchStatus.DispatchOK;
}
};
try
{
Ice.DispatchStatus __status = __direct.getServant().__collocDispatch(__direct);
if(__status == Ice.DispatchStatus.DispatchUserException)
{
__direct.throwUserException();
}
assert __status == Ice.DispatchStatus.DispatchOK;
return __result.value;
}
finally
{
__direct.destroy();
}
}
catch(Ice.SystemException __ex)
{
throw __ex;
}
catch(Throwable __ex)
{
IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
}
return __result.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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public final class _IDistrictFinderDelM extends Ice._ObjectDelM implements _IDistrictFinderDel
{
public boolean
get_distdetail_by_code(int distCode, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("get_distdetail_by_code", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
__os.writeInt(distCode);
__og.endWriteParams();
}
catch(Ice.LocalException __ex)
{
__og.abort(__ex);
}
boolean __ok = __og.invoke();
try
{
if(!__ok)
{
try
{
__og.throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __og.startReadParams();
strProvName.value = __is.readString();
strCityName.value = __is.readString();
strCountyName.value = __is.readString();
boolean __ret;
__ret = __is.readBool();
__og.endReadParams();
return __ret;
}
catch(Ice.LocalException __ex)
{
throw new IceInternal.LocalExceptionWrapper(__ex, false);
}
}
finally
{
__handler.reclaimOutgoing(__og);
}
}
public boolean
get_distdetail_by_pos(float lng, float lat, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("get_distdetail_by_pos", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
__os.writeFloat(lng);
__os.writeFloat(lat);
__og.endWriteParams();
}
catch(Ice.LocalException __ex)
{
__og.abort(__ex);
}
boolean __ok = __og.invoke();
try
{
if(!__ok)
{
try
{
__og.throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __og.startReadParams();
strProvName.value = __is.readString();
strCityName.value = __is.readString();
strCountyName.value = __is.readString();
boolean __ret;
__ret = __is.readBool();
__og.endReadParams();
return __ret;
}
catch(Ice.LocalException __ex)
{
throw new IceInternal.LocalExceptionWrapper(__ex, false);
}
}
finally
{
__handler.reclaimOutgoing(__og);
}
}
public boolean
get_distinfo_by_pos(float lng, float lat, Ice.IntHolder distCode, Ice.StringHolder strDistName, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("get_distinfo_by_pos", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
__os.writeFloat(lng);
__os.writeFloat(lat);
__og.endWriteParams();
}
catch(Ice.LocalException __ex)
{
__og.abort(__ex);
}
boolean __ok = __og.invoke();
try
{
if(!__ok)
{
try
{
__og.throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __og.startReadParams();
distCode.value = __is.readInt();
strDistName.value = __is.readString();
boolean __ret;
__ret = __is.readBool();
__og.endReadParams();
return __ret;
}
catch(Ice.LocalException __ex)
{
throw new IceInternal.LocalExceptionWrapper(__ex, false);
}
}
finally
{
__handler.reclaimOutgoing(__og);
}
}
}
// **********************************************************************
//
// 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public abstract class _IDistrictFinderDisp extends Ice.ObjectImpl implements IDistrictFinder
{
protected void
ice_copyStateFrom(Ice.Object __obj)
throws CloneNotSupportedException
{
throw new CloneNotSupportedException();
}
public static final String[] __ids =
{
"::DISTRICT::IDistrictFinder",
"::Ice::Object"
};
public boolean ice_isA(String s)
{
return java.util.Arrays.binarySearch(__ids, s) >= 0;
}
public boolean ice_isA(String s, Ice.Current __current)
{
return java.util.Arrays.binarySearch(__ids, s) >= 0;
}
public String[] ice_ids()
{
return __ids;
}
public String[] ice_ids(Ice.Current __current)
{
return __ids;
}
public String ice_id()
{
return __ids[0];
}
public String ice_id(Ice.Current __current)
{
return __ids[0];
}
public static String ice_staticId()
{
return __ids[0];
}
public final boolean get_distdetail_by_code(int distCode, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName)
{
return get_distdetail_by_code(distCode, strProvName, strCityName, strCountyName, null);
}
public final boolean get_distdetail_by_pos(float lng, float lat, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName)
{
return get_distdetail_by_pos(lng, lat, strProvName, strCityName, strCountyName, null);
}
public final boolean get_distinfo_by_pos(float lng, float lat, Ice.IntHolder distCode, Ice.StringHolder strDistName)
{
return get_distinfo_by_pos(lng, lat, distCode, strDistName, null);
}
public static Ice.DispatchStatus ___get_distinfo_by_pos(IDistrictFinder __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
float lng;
float lat;
lng = __is.readFloat();
lat = __is.readFloat();
__inS.endReadParams();
Ice.IntHolder distCode = new Ice.IntHolder();
Ice.StringHolder strDistName = new Ice.StringHolder();
boolean __ret = __obj.get_distinfo_by_pos(lng, lat, distCode, strDistName, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
__os.writeInt(distCode.value);
__os.writeString(strDistName.value);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___get_distdetail_by_code(IDistrictFinder __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
int distCode;
distCode = __is.readInt();
__inS.endReadParams();
Ice.StringHolder strProvName = new Ice.StringHolder();
Ice.StringHolder strCityName = new Ice.StringHolder();
Ice.StringHolder strCountyName = new Ice.StringHolder();
boolean __ret = __obj.get_distdetail_by_code(distCode, strProvName, strCityName, strCountyName, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
__os.writeString(strProvName.value);
__os.writeString(strCityName.value);
__os.writeString(strCountyName.value);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___get_distdetail_by_pos(IDistrictFinder __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
float lng;
float lat;
lng = __is.readFloat();
lat = __is.readFloat();
__inS.endReadParams();
Ice.StringHolder strProvName = new Ice.StringHolder();
Ice.StringHolder strCityName = new Ice.StringHolder();
Ice.StringHolder strCountyName = new Ice.StringHolder();
boolean __ret = __obj.get_distdetail_by_pos(lng, lat, strProvName, strCityName, strCountyName, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
__os.writeString(strProvName.value);
__os.writeString(strCityName.value);
__os.writeString(strCountyName.value);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
private final static String[] __all =
{
"get_distdetail_by_code",
"get_distdetail_by_pos",
"get_distinfo_by_pos",
"ice_id",
"ice_ids",
"ice_isA",
"ice_ping"
};
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
{
int pos = java.util.Arrays.binarySearch(__all, __current.operation);
if(pos < 0)
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
switch(pos)
{
case 0:
{
return ___get_distdetail_by_code(this, in, __current);
}
case 1:
{
return ___get_distdetail_by_pos(this, in, __current);
}
case 2:
{
return ___get_distinfo_by_pos(this, in, __current);
}
case 3:
{
return ___ice_id(this, in, __current);
}
case 4:
{
return ___ice_ids(this, in, __current);
}
case 5:
{
return ___ice_isA(this, in, __current);
}
case 6:
{
return ___ice_ping(this, in, __current);
}
}
assert(false);
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
protected void __writeImpl(IceInternal.BasicStream __os)
{
__os.startWriteSlice(ice_staticId(), -1, true);
__os.endWriteSlice();
}
protected void __readImpl(IceInternal.BasicStream __is)
{
__is.startReadSlice();
__is.endReadSlice();
}
public static final long serialVersionUID = 0L;
}
// **********************************************************************
//
// 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public interface _IDistrictFinderOperations
{
boolean get_distinfo_by_pos(float lng, float lat, Ice.IntHolder distCode, Ice.StringHolder strDistName, Ice.Current __current);
boolean get_distdetail_by_code(int distCode, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, Ice.Current __current);
boolean get_distdetail_by_pos(float lng, float lat, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName, Ice.Current __current);
}
// **********************************************************************
//
// 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 `district.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package com.glsx.ice.DISTRICT;
public interface _IDistrictFinderOperationsNC
{
boolean get_distinfo_by_pos(float lng, float lat, Ice.IntHolder distCode, Ice.StringHolder strDistName);
boolean get_distdetail_by_code(int distCode, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName);
boolean get_distdetail_by_pos(float lng, float lat, Ice.StringHolder strProvName, Ice.StringHolder strCityName, Ice.StringHolder strCountyName);
}
// **********************************************************************
//
// 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.HDaoGps;
public class AlarmGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int startTime;
public int endTime;
public int reqCount;
public AlarmGetRequest()
{
}
public AlarmGetRequest(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;
}
AlarmGetRequest _r = null;
if(rhs instanceof AlarmGetRequest)
{
_r = (AlarmGetRequest)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::AlarmGetRequest");
__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 = -3754636485595147263L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class AlarmGetRequestHolder
{
public
AlarmGetRequestHolder()
{
}
public
AlarmGetRequestHolder(AlarmGetRequest value)
{
this.value = value;
}
public AlarmGetRequest 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.HDaoGps;
public class AlarmGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public AlarmRecord[] records;
public boolean fullFlag;
public int lastAlarmTime;
public AlarmGetResponse()
{
}
public AlarmGetResponse(int oprResult, AlarmRecord[] records, boolean fullFlag, int lastAlarmTime)
{
this.oprResult = oprResult;
this.records = records;
this.fullFlag = fullFlag;
this.lastAlarmTime = lastAlarmTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
AlarmGetResponse _r = null;
if(rhs instanceof AlarmGetResponse)
{
_r = (AlarmGetResponse)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(lastAlarmTime != _r.lastAlarmTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::AlarmGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, records);
__h = IceInternal.HashUtil.hashAdd(__h, fullFlag);
__h = IceInternal.HashUtil.hashAdd(__h, lastAlarmTime);
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);
AlarmRecordsHelper.write(__os, records);
__os.writeBool(fullFlag);
__os.writeInt(lastAlarmTime);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
records = AlarmRecordsHelper.read(__is);
fullFlag = __is.readBool();
lastAlarmTime = __is.readInt();
}
public static final long serialVersionUID = 7054347308621578722L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class AlarmGetResponseHolder
{
public
AlarmGetResponseHolder()
{
}
public
AlarmGetResponseHolder(AlarmGetResponse value)
{
this.value = value;
}
public AlarmGetResponse 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.HDaoGps;
public class AlarmRecord implements Cloneable, java.io.Serializable
{
public int alarmTime;
public int alarmState;
public AlarmRecord()
{
}
public AlarmRecord(int alarmTime, int alarmState)
{
this.alarmTime = alarmTime;
this.alarmState = alarmState;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
AlarmRecord _r = null;
if(rhs instanceof AlarmRecord)
{
_r = (AlarmRecord)rhs;
}
if(_r != null)
{
if(alarmTime != _r.alarmTime)
{
return false;
}
if(alarmState != _r.alarmState)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::AlarmRecord");
__h = IceInternal.HashUtil.hashAdd(__h, alarmTime);
__h = IceInternal.HashUtil.hashAdd(__h, alarmState);
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(alarmTime);
__os.writeInt(alarmState);
}
public void
__read(IceInternal.BasicStream __is)
{
alarmTime = __is.readInt();
alarmState = __is.readInt();
}
public static final long serialVersionUID = -4693436816629426831L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class AlarmRecordHolder
{
public
AlarmRecordHolder()
{
}
public
AlarmRecordHolder(AlarmRecord value)
{
this.value = value;
}
public AlarmRecord 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.HDaoGps;
public final class AlarmRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, AlarmRecord[] __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 AlarmRecord[]
read(IceInternal.BasicStream __is)
{
AlarmRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(8);
__v = new AlarmRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new AlarmRecord();
__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.HDaoGps;
public final class AlarmRecordsHolder
{
public
AlarmRecordsHolder()
{
}
public
AlarmRecordsHolder(AlarmRecord[] value)
{
this.value = value;
}
public AlarmRecord[] 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.HDaoGps;
public class BatchGpsDevInfoRequest implements Cloneable, java.io.Serializable
{
public long[] userIds;
public int extraMapReq;
public int seqNo;
public BatchGpsDevInfoRequest()
{
}
public BatchGpsDevInfoRequest(long[] userIds, int extraMapReq, int seqNo)
{
this.userIds = userIds;
this.extraMapReq = extraMapReq;
this.seqNo = seqNo;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BatchGpsDevInfoRequest _r = null;
if(rhs instanceof BatchGpsDevInfoRequest)
{
_r = (BatchGpsDevInfoRequest)rhs;
}
if(_r != null)
{
if(!java.util.Arrays.equals(userIds, _r.userIds))
{
return false;
}
if(extraMapReq != _r.extraMapReq)
{
return false;
}
if(seqNo != _r.seqNo)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BatchGpsDevInfoRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userIds);
__h = IceInternal.HashUtil.hashAdd(__h, extraMapReq);
__h = IceInternal.HashUtil.hashAdd(__h, seqNo);
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)
{
UserIdSeqHelper.write(__os, userIds);
__os.writeInt(extraMapReq);
__os.writeInt(seqNo);
}
public void
__read(IceInternal.BasicStream __is)
{
userIds = UserIdSeqHelper.read(__is);
extraMapReq = __is.readInt();
seqNo = __is.readInt();
}
public static final long serialVersionUID = 6287704385978578483L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class BatchGpsDevInfoRequestHolder
{
public
BatchGpsDevInfoRequestHolder()
{
}
public
BatchGpsDevInfoRequestHolder(BatchGpsDevInfoRequest value)
{
this.value = value;
}
public BatchGpsDevInfoRequest 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.HDaoGps;
/**
* batchResult:
* 0: ok for all users;
* 1: ok for part, the succesful part of device info is followed;
* -1: failed, the followed gpsDevInfo is meaningless.
**/
public class BatchGpsDevInfoResponse implements Cloneable, java.io.Serializable
{
public int batchResult;
public GpsDevInfo[] gpsDevInfos;
public BatchGpsDevInfoResponse()
{
}
public BatchGpsDevInfoResponse(int batchResult, GpsDevInfo[] gpsDevInfos)
{
this.batchResult = batchResult;
this.gpsDevInfos = gpsDevInfos;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BatchGpsDevInfoResponse _r = null;
if(rhs instanceof BatchGpsDevInfoResponse)
{
_r = (BatchGpsDevInfoResponse)rhs;
}
if(_r != null)
{
if(batchResult != _r.batchResult)
{
return false;
}
if(!java.util.Arrays.equals(gpsDevInfos, _r.gpsDevInfos))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BatchGpsDevInfoResponse");
__h = IceInternal.HashUtil.hashAdd(__h, batchResult);
__h = IceInternal.HashUtil.hashAdd(__h, gpsDevInfos);
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(batchResult);
GpsDevInfoSeqHelper.write(__os, gpsDevInfos);
}
public void
__read(IceInternal.BasicStream __is)
{
batchResult = __is.readInt();
gpsDevInfos = GpsDevInfoSeqHelper.read(__is);
}
public static final long serialVersionUID = -3834720778168813516L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class BatchGpsDevInfoResponseHolder
{
public
BatchGpsDevInfoResponseHolder()
{
}
public
BatchGpsDevInfoResponseHolder(BatchGpsDevInfoResponse value)
{
this.value = value;
}
public BatchGpsDevInfoResponse 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.HDaoGps;
public class BatteryRecord implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int battery;
public int storeTime;
public BatteryRecord()
{
}
public BatteryRecord(int gpsTime, int battery, int storeTime)
{
this.gpsTime = gpsTime;
this.battery = battery;
this.storeTime = storeTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
BatteryRecord _r = null;
if(rhs instanceof BatteryRecord)
{
_r = (BatteryRecord)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(battery != _r.battery)
{
return false;
}
if(storeTime != _r.storeTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::BatteryRecord");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, battery);
__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(battery);
__os.writeInt(storeTime);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
battery = __is.readInt();
storeTime = __is.readInt();
}
public static final long serialVersionUID = -2067707541108564068L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class BatteryRecordHolder
{
public
BatteryRecordHolder()
{
}
public
BatteryRecordHolder(BatteryRecord value)
{
this.value = value;
}
public BatteryRecord value;
}
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
/**
* history BaseStation record
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsGetRequestHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public class BsGetResponse implements Cloneable, java.io.Serializable
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsGetResponseHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public class BsInfo implements Cloneable, java.io.Serializable
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsInfoArrayHelper
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsInfoArrayHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsInfoHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public class BsRecord implements Cloneable, java.io.Serializable
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsRecordHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsRecordsHelper
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsRecordsHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public class BsWorkModeGetRequest implements Cloneable, java.io.Serializable
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsWorkModeGetRequestHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public class BsWorkModeGetResponse implements Cloneable, java.io.Serializable
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsWorkModeGetResponseHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public class BsWorkModeRecord implements Cloneable, java.io.Serializable
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsWorkModeRecordHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsWorkModeRecordsHelper
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class BsWorkModeRecordsHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getBsRecords extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getBsWorkModeRecords extends Ice.TwowayCallback
{
......
// **********************************************************************
//
// 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.HDaoGps;
public abstract class Callback_DaoGpsService_getDataCardInfo extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, DataCardGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
DataCardGetResponseHolder res = new DataCardGetResponseHolder();
try
{
__ret = __proxy.end_getDataCardInfo(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getDayLastGpsRecord extends Ice.TwowayCallback
{
......
// **********************************************************************
//
// 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.HDaoGps;
public abstract class Callback_DaoGpsService_getDevicesGpsInfo extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, BatchGpsDevInfoResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
BatchGpsDevInfoResponseHolder res = new BatchGpsDevInfoResponseHolder();
try
{
__ret = __proxy.end_getDevicesGpsInfo(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getFirstBsRecord extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getFirstGpsBsRecord extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getFirstGpsRecord extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getGpsBsRecords extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getGpsRecords extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getGpsRecordsByImei extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getGpsRecordsByMapSn extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getGpsRecordsEx extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getGpsWorkModeRecords extends Ice.TwowayCallback
{
......
// **********************************************************************
//
// 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.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestBatteryRecord extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestBatteryGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestBatteryGetResponseHolder res = new LatestBatteryGetResponseHolder();
try
{
__ret = __proxy.end_getLatestBatteryRecord(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestBsRecord extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestGpsRecord extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestGpsRecordByImei extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestGpsRecordByMapSn extends Ice.TwowayCallback
{
......
// **********************************************************************
//
// 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.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestGpsTime extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, LatestGpsTimeGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
LatestGpsTimeGetResponseHolder res = new LatestGpsTimeGetResponseHolder();
try
{
__ret = __proxy.end_getLatestGpsTime(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestLocationByLbsRecord extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestRgpsRecord extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getLatestVolRecord extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getMaxVolDiff extends Ice.TwowayCallback
{
......
// **********************************************************************
//
// 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.HDaoGps;
public abstract class Callback_DaoGpsService_getParadeCarAlarmRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, AlarmGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
AlarmGetResponseHolder res = new AlarmGetResponseHolder();
try
{
__ret = __proxy.end_getParadeCarAlarmRecords(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.HDaoGps;
public abstract class Callback_DaoGpsService_getParadeCarGpsRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GpsParadeCarGetResponse res);
public final void __completed(Ice.AsyncResult __result)
{
DaoGpsServicePrx __proxy = (DaoGpsServicePrx)__result.getProxy();
boolean __ret = false;
GpsParadeCarGetResponseHolder res = new GpsParadeCarGetResponseHolder();
try
{
__ret = __proxy.end_getParadeCarGpsRecords(res, __result);
}
catch(Ice.LocalException __ex)
{
exception(__ex);
return;
}
response(__ret, res.value);
}
}
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getRecentBsRecords extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getRecentGpsRecords extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getSnMapRecords extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public abstract class Callback_DaoGpsService_getVoltageRecords extends Ice.TwowayCallback
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public interface DaoGpsService extends Ice.Object,
_DaoGpsServiceOperations, _DaoGpsServiceOperationsNC
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class DaoGpsServiceHolder extends Ice.ObjectHolderBase<DaoGpsService>
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public interface DaoGpsServicePrx extends Ice.ObjectPrx
{
......@@ -130,6 +130,24 @@ public interface DaoGpsServicePrx extends Ice.ObjectPrx
public boolean end_getLatestGpsRecord(LatestGpsGetResponseHolder res, Ice.AsyncResult __result);
public boolean getLatestGpsTime(LatestGpsGetRequest req, LatestGpsTimeGetResponseHolder res);
public boolean getLatestGpsTime(LatestGpsGetRequest req, LatestGpsTimeGetResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getLatestGpsTime(LatestGpsGetRequest req);
public Ice.AsyncResult begin_getLatestGpsTime(LatestGpsGetRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getLatestGpsTime(LatestGpsGetRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_getLatestGpsTime(LatestGpsGetRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getLatestGpsTime(LatestGpsGetRequest req, Callback_DaoGpsService_getLatestGpsTime __cb);
public Ice.AsyncResult begin_getLatestGpsTime(LatestGpsGetRequest req, java.util.Map<String, String> __ctx, Callback_DaoGpsService_getLatestGpsTime __cb);
public boolean end_getLatestGpsTime(LatestGpsTimeGetResponseHolder res, Ice.AsyncResult __result);
public boolean getRecentGpsRecords(RecentGpsGetRequest req, RecentGpsGetResponseHolder res);
public boolean getRecentGpsRecords(RecentGpsGetRequest req, RecentGpsGetResponseHolder res, java.util.Map<String, String> __ctx);
......@@ -184,6 +202,24 @@ public interface DaoGpsServicePrx extends Ice.ObjectPrx
public boolean end_getGpsRecordsEx(GpsGetExResponseHolder res, Ice.AsyncResult __result);
public boolean getDevicesGpsInfo(BatchGpsDevInfoRequest req, BatchGpsDevInfoResponseHolder res);
public boolean getDevicesGpsInfo(BatchGpsDevInfoRequest req, BatchGpsDevInfoResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getDevicesGpsInfo(BatchGpsDevInfoRequest req);
public Ice.AsyncResult begin_getDevicesGpsInfo(BatchGpsDevInfoRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getDevicesGpsInfo(BatchGpsDevInfoRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_getDevicesGpsInfo(BatchGpsDevInfoRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getDevicesGpsInfo(BatchGpsDevInfoRequest req, Callback_DaoGpsService_getDevicesGpsInfo __cb);
public Ice.AsyncResult begin_getDevicesGpsInfo(BatchGpsDevInfoRequest req, java.util.Map<String, String> __ctx, Callback_DaoGpsService_getDevicesGpsInfo __cb);
public boolean end_getDevicesGpsInfo(BatchGpsDevInfoResponseHolder res, Ice.AsyncResult __result);
public boolean getLatestGpsRecordByImei(LatestGpsGetRequestWithBindTime req, LatestGpsGetResponseHolder res);
public boolean getLatestGpsRecordByImei(LatestGpsGetRequestWithBindTime req, LatestGpsGetResponseHolder res, java.util.Map<String, String> __ctx);
......@@ -418,6 +454,42 @@ public interface DaoGpsServicePrx extends Ice.ObjectPrx
public boolean end_getVoltageRecords(VoltageGetResponseHolder res, Ice.AsyncResult __result);
public boolean getLatestBatteryRecord(LatestBatteryGetRequest req, LatestBatteryGetResponseHolder res);
public boolean getLatestBatteryRecord(LatestBatteryGetRequest req, LatestBatteryGetResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getLatestBatteryRecord(LatestBatteryGetRequest req);
public Ice.AsyncResult begin_getLatestBatteryRecord(LatestBatteryGetRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getLatestBatteryRecord(LatestBatteryGetRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_getLatestBatteryRecord(LatestBatteryGetRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getLatestBatteryRecord(LatestBatteryGetRequest req, Callback_DaoGpsService_getLatestBatteryRecord __cb);
public Ice.AsyncResult begin_getLatestBatteryRecord(LatestBatteryGetRequest req, java.util.Map<String, String> __ctx, Callback_DaoGpsService_getLatestBatteryRecord __cb);
public boolean end_getLatestBatteryRecord(LatestBatteryGetResponseHolder res, Ice.AsyncResult __result);
public boolean getDataCardInfo(DataCardGetRequest req, DataCardGetResponseHolder res);
public boolean getDataCardInfo(DataCardGetRequest req, DataCardGetResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getDataCardInfo(DataCardGetRequest req);
public Ice.AsyncResult begin_getDataCardInfo(DataCardGetRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getDataCardInfo(DataCardGetRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_getDataCardInfo(DataCardGetRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getDataCardInfo(DataCardGetRequest req, Callback_DaoGpsService_getDataCardInfo __cb);
public Ice.AsyncResult begin_getDataCardInfo(DataCardGetRequest req, java.util.Map<String, String> __ctx, Callback_DaoGpsService_getDataCardInfo __cb);
public boolean end_getDataCardInfo(DataCardGetResponseHolder res, Ice.AsyncResult __result);
public boolean getGpsWorkModeRecords(GpsWorkModeGetRequest req, GpsWorkModeGetResponseHolder res);
public boolean getGpsWorkModeRecords(GpsWorkModeGetRequest req, GpsWorkModeGetResponseHolder res, java.util.Map<String, String> __ctx);
......@@ -453,4 +525,40 @@ public interface DaoGpsServicePrx extends Ice.ObjectPrx
public Ice.AsyncResult begin_getBsWorkModeRecords(BsWorkModeGetRequest req, java.util.Map<String, String> __ctx, Callback_DaoGpsService_getBsWorkModeRecords __cb);
public boolean end_getBsWorkModeRecords(BsWorkModeGetResponseHolder res, Ice.AsyncResult __result);
public boolean getParadeCarGpsRecords(GpsGetRequest req, GpsParadeCarGetResponseHolder res);
public boolean getParadeCarGpsRecords(GpsGetRequest req, GpsParadeCarGetResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getParadeCarGpsRecords(GpsGetRequest req);
public Ice.AsyncResult begin_getParadeCarGpsRecords(GpsGetRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getParadeCarGpsRecords(GpsGetRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_getParadeCarGpsRecords(GpsGetRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getParadeCarGpsRecords(GpsGetRequest req, Callback_DaoGpsService_getParadeCarGpsRecords __cb);
public Ice.AsyncResult begin_getParadeCarGpsRecords(GpsGetRequest req, java.util.Map<String, String> __ctx, Callback_DaoGpsService_getParadeCarGpsRecords __cb);
public boolean end_getParadeCarGpsRecords(GpsParadeCarGetResponseHolder res, Ice.AsyncResult __result);
public boolean getParadeCarAlarmRecords(AlarmGetRequest req, AlarmGetResponseHolder res);
public boolean getParadeCarAlarmRecords(AlarmGetRequest req, AlarmGetResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getParadeCarAlarmRecords(AlarmGetRequest req);
public Ice.AsyncResult begin_getParadeCarAlarmRecords(AlarmGetRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getParadeCarAlarmRecords(AlarmGetRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_getParadeCarAlarmRecords(AlarmGetRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getParadeCarAlarmRecords(AlarmGetRequest req, Callback_DaoGpsService_getParadeCarAlarmRecords __cb);
public Ice.AsyncResult begin_getParadeCarAlarmRecords(AlarmGetRequest req, java.util.Map<String, String> __ctx, Callback_DaoGpsService_getParadeCarAlarmRecords __cb);
public boolean end_getParadeCarAlarmRecords(AlarmGetResponseHolder res, Ice.AsyncResult __result);
}
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class DaoGpsServicePrxHolder
{
......
// **********************************************************************
//
// 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.HDaoGps;
/**
* SIM card's related record
**/
public class DataCardGetRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public DataCardGetRequest()
{
}
public DataCardGetRequest(long userID, int apType)
{
this.userID = userID;
this.apType = apType;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
DataCardGetRequest _r = null;
if(rhs instanceof DataCardGetRequest)
{
_r = (DataCardGetRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::DataCardGetRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
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);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
}
public static final long serialVersionUID = -5320113910227661893L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class DataCardGetRequestHolder
{
public
DataCardGetRequestHolder()
{
}
public
DataCardGetRequestHolder(DataCardGetRequest value)
{
this.value = value;
}
public DataCardGetRequest 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.HDaoGps;
public class DataCardGetResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public DataCardInfo cardInfo;
public DataCardGetResponse()
{
}
public DataCardGetResponse(int oprResult, DataCardInfo cardInfo)
{
this.oprResult = oprResult;
this.cardInfo = cardInfo;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
DataCardGetResponse _r = null;
if(rhs instanceof DataCardGetResponse)
{
_r = (DataCardGetResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(cardInfo != _r.cardInfo)
{
if(cardInfo == null || _r.cardInfo == null || !cardInfo.equals(_r.cardInfo))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::DataCardGetResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, cardInfo);
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);
cardInfo.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
cardInfo = new DataCardInfo();
cardInfo.__read(__is);
}
public static final long serialVersionUID = -2449752915226477790L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class DataCardGetResponseHolder
{
public
DataCardGetResponseHolder()
{
}
public
DataCardGetResponseHolder(DataCardGetResponse value)
{
this.value = value;
}
public DataCardGetResponse 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.HDaoGps;
public class DataCardInfo implements Cloneable, java.io.Serializable
{
public int gpsTime;
public String iccid;
public DataCardInfo()
{
}
public DataCardInfo(int gpsTime, String iccid)
{
this.gpsTime = gpsTime;
this.iccid = iccid;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
DataCardInfo _r = null;
if(rhs instanceof DataCardInfo)
{
_r = (DataCardInfo)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(iccid != _r.iccid)
{
if(iccid == null || _r.iccid == null || !iccid.equals(_r.iccid))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoGps::DataCardInfo");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, iccid);
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.writeString(iccid);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
iccid = __is.readString();
}
public static final long serialVersionUID = -7879727172173275118L;
}
// **********************************************************************
//
// 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.HDaoGps;
public final class DataCardInfoHolder
{
public
DataCardInfoHolder()
{
}
public
DataCardInfoHolder(DataCardInfo value)
{
this.value = value;
}
public DataCardInfo value;
}
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
/**
* Last Gps record for the request date
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class DayLastGpsGetRequestHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public class DayLastGpsGetResponse implements Cloneable, java.io.Serializable
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class DayLastGpsGetResponseHolder
{
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
/**
* Voltage max diff
......
......@@ -18,7 +18,7 @@
// </auto-generated>
//
package com.glsx.ice_track.hDaoGpsSvc;
package com.glsx.ice.HDaoGps;
public final class DiffVoltageGetRequestHolder
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!