Commit 257251c9 by 黄小葱

增加ice超速、里程和停留点服务

1 parent aba83272
Showing 104 changed files with 11504 additions and 0 deletions
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_JourneyMileStat extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponse res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder();
try
{
__ret = __proxy.end_JourneyMileStat(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_beginUserMileStat extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponse res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
MileStatBeginResponseHolder res = new MileStatBeginResponseHolder();
try
{
__ret = __proxy.end_beginUserMileStat(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_endUserMileStat extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponse res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder();
try
{
__ret = __proxy.end_endUserMileStat(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_endUserMileStatByImei extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponse res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
MileStatEndResponseHolder res = new MileStatEndResponseHolder();
try
{
__ret = __proxy.end_endUserMileStatByImei(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getDailyMileageRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder();
try
{
__ret = __proxy.end_getDailyMileageRecords(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getJourneyRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
GetJourneyRecordsResHolder res = new GetJourneyRecordsResHolder();
try
{
__ret = __proxy.end_getJourneyRecords(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getMonthMileageRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GetMonthMileRecordsRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsResHolder();
try
{
__ret = __proxy.end_getMonthMileageRecords(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getMonthResideRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GetMonthResideRecordsRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder();
try
{
__ret = __proxy.end_getMonthResideRecords(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getOverSpeedRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GetOverSpeedRecordsRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder();
try
{
__ret = __proxy.end_getOverSpeedRecords(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getStayPointRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GetStayPointRecordsRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder();
try
{
__ret = __proxy.end_getStayPointRecords(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getToatlMileage extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GetTotalMileageRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder();
try
{
__ret = __proxy.end_getToatlMileage(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getToatlandAverageMilage extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder();
try
{
__ret = __proxy.end_getToatlandAverageMilage(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public abstract class Callback_DaoMileService_getWorkandFamilyResideRecords extends Ice.TwowayCallback
{
public abstract void response(boolean __ret, GetResideInfoRecordRes res);
public final void __completed(Ice.AsyncResult __result)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __proxy = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__result.getProxy();
boolean __ret = false;
GetResideInfoRecordResHolder res = new GetResideInfoRecordResHolder();
try
{
__ret = __proxy.end_getWorkandFamilyResideRecords(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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class DailyMileRecord implements Cloneable, java.io.Serializable
{
public int jourCount;
public int mileage;
public Date jourDate;
public long duration;
public DailyMileRecord()
{
}
public DailyMileRecord(int jourCount, int mileage, Date jourDate, long duration)
{
this.jourCount = jourCount;
this.mileage = mileage;
this.jourDate = jourDate;
this.duration = duration;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
DailyMileRecord _r = null;
if(rhs instanceof DailyMileRecord)
{
_r = (DailyMileRecord)rhs;
}
if(_r != null)
{
if(jourCount != _r.jourCount)
{
return false;
}
if(mileage != _r.mileage)
{
return false;
}
if(jourDate != _r.jourDate)
{
if(jourDate == null || _r.jourDate == null || !jourDate.equals(_r.jourDate))
{
return false;
}
}
if(duration != _r.duration)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::DailyMileRecord");
__h = IceInternal.HashUtil.hashAdd(__h, jourCount);
__h = IceInternal.HashUtil.hashAdd(__h, mileage);
__h = IceInternal.HashUtil.hashAdd(__h, jourDate);
__h = IceInternal.HashUtil.hashAdd(__h, duration);
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(jourCount);
__os.writeInt(mileage);
jourDate.__write(__os);
__os.writeLong(duration);
}
public void
__read(IceInternal.BasicStream __is)
{
jourCount = __is.readInt();
mileage = __is.readInt();
jourDate = new Date();
jourDate.__read(__is);
duration = __is.readLong();
}
public static final long serialVersionUID = 1388446688789285018L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class DailyMileRecordHolder
{
public
DailyMileRecordHolder()
{
}
public
DailyMileRecordHolder(DailyMileRecord value)
{
this.value = value;
}
public DailyMileRecord 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class DailyMileRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, DailyMileRecord[] __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 DailyMileRecord[]
read(IceInternal.BasicStream __is)
{
DailyMileRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(28);
__v = new DailyMileRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new DailyMileRecord();
__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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class DailyMileRecordsHolder
{
public
DailyMileRecordsHolder()
{
}
public
DailyMileRecordsHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.DailyMileRecord[] value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.DailyMileRecord[] 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* total mileage
**/
public interface DaoMileService extends Ice.Object,
_DaoMileServiceOperations, _DaoMileServiceOperationsNC
{
public static final long serialVersionUID = -3189819462676856L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class DaoMileServiceHolder extends Ice.ObjectHolderBase<cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService>
{
public
DaoMileServiceHolder()
{
}
public
DaoMileServiceHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService value)
{
this.value = value;
}
public void
patch(Ice.Object v)
{
if(v == null || v instanceof cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService)
{
value = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService)v;
}
else
{
IceInternal.Ex.throwUOE(type(), v);
}
}
public String
type()
{
return cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDisp.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 `HDao_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* total mileage
**/
public interface DaoMileServicePrx extends Ice.ObjectPrx
{
public boolean beginUserMileStat(MileStatBeginRequest req, MileStatBeginResponseHolder res);
public boolean beginUserMileStat(MileStatBeginRequest req, MileStatBeginResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_beginUserMileStat(MileStatBeginRequest req);
public Ice.AsyncResult begin_beginUserMileStat(MileStatBeginRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_beginUserMileStat(MileStatBeginRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_beginUserMileStat(MileStatBeginRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_beginUserMileStat(MileStatBeginRequest req, Callback_DaoMileService_beginUserMileStat __cb);
public Ice.AsyncResult begin_beginUserMileStat(MileStatBeginRequest req, java.util.Map<String, String> __ctx, Callback_DaoMileService_beginUserMileStat __cb);
public boolean end_beginUserMileStat(MileStatBeginResponseHolder res, Ice.AsyncResult __result);
public boolean endUserMileStat(MileStatEndRequest req, MileStatEndResponseHolder res);
public boolean endUserMileStat(MileStatEndRequest req, MileStatEndResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_endUserMileStat(MileStatEndRequest req);
public Ice.AsyncResult begin_endUserMileStat(MileStatEndRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_endUserMileStat(MileStatEndRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_endUserMileStat(MileStatEndRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_endUserMileStat(MileStatEndRequest req, Callback_DaoMileService_endUserMileStat __cb);
public Ice.AsyncResult begin_endUserMileStat(MileStatEndRequest req, java.util.Map<String, String> __ctx, Callback_DaoMileService_endUserMileStat __cb);
public boolean end_endUserMileStat(MileStatEndResponseHolder res, Ice.AsyncResult __result);
public boolean JourneyMileStat(MileStatRequest req, MileStatResponseHolder res);
public boolean JourneyMileStat(MileStatRequest req, MileStatResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_JourneyMileStat(MileStatRequest req);
public Ice.AsyncResult begin_JourneyMileStat(MileStatRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_JourneyMileStat(MileStatRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_JourneyMileStat(MileStatRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_JourneyMileStat(MileStatRequest req, Callback_DaoMileService_JourneyMileStat __cb);
public Ice.AsyncResult begin_JourneyMileStat(MileStatRequest req, java.util.Map<String, String> __ctx, Callback_DaoMileService_JourneyMileStat __cb);
public boolean end_JourneyMileStat(MileStatResponseHolder res, Ice.AsyncResult __result);
public boolean endUserMileStatByImei(MileStatEndRequest req, MileStatEndResponseHolder res);
public boolean endUserMileStatByImei(MileStatEndRequest req, MileStatEndResponseHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_endUserMileStatByImei(MileStatEndRequest req);
public Ice.AsyncResult begin_endUserMileStatByImei(MileStatEndRequest req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_endUserMileStatByImei(MileStatEndRequest req, Ice.Callback __cb);
public Ice.AsyncResult begin_endUserMileStatByImei(MileStatEndRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_endUserMileStatByImei(MileStatEndRequest req, Callback_DaoMileService_endUserMileStatByImei __cb);
public Ice.AsyncResult begin_endUserMileStatByImei(MileStatEndRequest req, java.util.Map<String, String> __ctx, Callback_DaoMileService_endUserMileStatByImei __cb);
public boolean end_endUserMileStatByImei(MileStatEndResponseHolder res, Ice.AsyncResult __result);
public boolean getJourneyRecords(GetJourneyRecordsReq req, GetJourneyRecordsResHolder res);
public boolean getJourneyRecords(GetJourneyRecordsReq req, GetJourneyRecordsResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getJourneyRecords(GetJourneyRecordsReq req);
public Ice.AsyncResult begin_getJourneyRecords(GetJourneyRecordsReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getJourneyRecords(GetJourneyRecordsReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getJourneyRecords(GetJourneyRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getJourneyRecords(GetJourneyRecordsReq req, Callback_DaoMileService_getJourneyRecords __cb);
public Ice.AsyncResult begin_getJourneyRecords(GetJourneyRecordsReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getJourneyRecords __cb);
public boolean end_getJourneyRecords(GetJourneyRecordsResHolder res, Ice.AsyncResult __result);
public boolean getDailyMileageRecords(GetDailyMileRecordsReq req, GetDailyMileRecordsResHolder res);
public boolean getDailyMileageRecords(GetDailyMileRecordsReq req, GetDailyMileRecordsResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getDailyMileageRecords(GetDailyMileRecordsReq req);
public Ice.AsyncResult begin_getDailyMileageRecords(GetDailyMileRecordsReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getDailyMileageRecords(GetDailyMileRecordsReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getDailyMileageRecords(GetDailyMileRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getDailyMileageRecords(GetDailyMileRecordsReq req, Callback_DaoMileService_getDailyMileageRecords __cb);
public Ice.AsyncResult begin_getDailyMileageRecords(GetDailyMileRecordsReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getDailyMileageRecords __cb);
public boolean end_getDailyMileageRecords(GetDailyMileRecordsResHolder res, Ice.AsyncResult __result);
public boolean getOverSpeedRecords(GetOverSpeedRecordsReq req, GetOverSpeedRecordsResHolder res);
public boolean getOverSpeedRecords(GetOverSpeedRecordsReq req, GetOverSpeedRecordsResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getOverSpeedRecords(GetOverSpeedRecordsReq req);
public Ice.AsyncResult begin_getOverSpeedRecords(GetOverSpeedRecordsReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getOverSpeedRecords(GetOverSpeedRecordsReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getOverSpeedRecords(GetOverSpeedRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getOverSpeedRecords(GetOverSpeedRecordsReq req, Callback_DaoMileService_getOverSpeedRecords __cb);
public Ice.AsyncResult begin_getOverSpeedRecords(GetOverSpeedRecordsReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getOverSpeedRecords __cb);
public boolean end_getOverSpeedRecords(GetOverSpeedRecordsResHolder res, Ice.AsyncResult __result);
public boolean getMonthMileageRecords(GetMonthMileRecordsReq req, GetMonthMileRecordsResHolder res);
public boolean getMonthMileageRecords(GetMonthMileRecordsReq req, GetMonthMileRecordsResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getMonthMileageRecords(GetMonthMileRecordsReq req);
public Ice.AsyncResult begin_getMonthMileageRecords(GetMonthMileRecordsReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getMonthMileageRecords(GetMonthMileRecordsReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getMonthMileageRecords(GetMonthMileRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getMonthMileageRecords(GetMonthMileRecordsReq req, Callback_DaoMileService_getMonthMileageRecords __cb);
public Ice.AsyncResult begin_getMonthMileageRecords(GetMonthMileRecordsReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getMonthMileageRecords __cb);
public boolean end_getMonthMileageRecords(GetMonthMileRecordsResHolder res, Ice.AsyncResult __result);
public boolean getMonthResideRecords(GetMonthResideRecordsReq req, GetMonthResideRecordsResHolder res);
public boolean getMonthResideRecords(GetMonthResideRecordsReq req, GetMonthResideRecordsResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getMonthResideRecords(GetMonthResideRecordsReq req);
public Ice.AsyncResult begin_getMonthResideRecords(GetMonthResideRecordsReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getMonthResideRecords(GetMonthResideRecordsReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getMonthResideRecords(GetMonthResideRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getMonthResideRecords(GetMonthResideRecordsReq req, Callback_DaoMileService_getMonthResideRecords __cb);
public Ice.AsyncResult begin_getMonthResideRecords(GetMonthResideRecordsReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getMonthResideRecords __cb);
public boolean end_getMonthResideRecords(GetMonthResideRecordsResHolder res, Ice.AsyncResult __result);
public boolean getWorkandFamilyResideRecords(GetResideInfoRecordReq req, GetResideInfoRecordResHolder res);
public boolean getWorkandFamilyResideRecords(GetResideInfoRecordReq req, GetResideInfoRecordResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(GetResideInfoRecordReq req);
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(GetResideInfoRecordReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(GetResideInfoRecordReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(GetResideInfoRecordReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(GetResideInfoRecordReq req, Callback_DaoMileService_getWorkandFamilyResideRecords __cb);
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(GetResideInfoRecordReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getWorkandFamilyResideRecords __cb);
public boolean end_getWorkandFamilyResideRecords(GetResideInfoRecordResHolder res, Ice.AsyncResult __result);
public boolean getStayPointRecords(GetStayPointRecordsReq req, GetStayPointRecordsResHolder res);
public boolean getStayPointRecords(GetStayPointRecordsReq req, GetStayPointRecordsResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getStayPointRecords(GetStayPointRecordsReq req);
public Ice.AsyncResult begin_getStayPointRecords(GetStayPointRecordsReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getStayPointRecords(GetStayPointRecordsReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getStayPointRecords(GetStayPointRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getStayPointRecords(GetStayPointRecordsReq req, Callback_DaoMileService_getStayPointRecords __cb);
public Ice.AsyncResult begin_getStayPointRecords(GetStayPointRecordsReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getStayPointRecords __cb);
public boolean end_getStayPointRecords(GetStayPointRecordsResHolder res, Ice.AsyncResult __result);
public boolean getToatlMileage(GetTotalMileageReq req, GetTotalMileageResHolder res);
public boolean getToatlMileage(GetTotalMileageReq req, GetTotalMileageResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getToatlMileage(GetTotalMileageReq req);
public Ice.AsyncResult begin_getToatlMileage(GetTotalMileageReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getToatlMileage(GetTotalMileageReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getToatlMileage(GetTotalMileageReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getToatlMileage(GetTotalMileageReq req, Callback_DaoMileService_getToatlMileage __cb);
public Ice.AsyncResult begin_getToatlMileage(GetTotalMileageReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getToatlMileage __cb);
public boolean end_getToatlMileage(GetTotalMileageResHolder res, Ice.AsyncResult __result);
public boolean getToatlandAverageMilage(GetTotalandAverageMilageReq req, GetTotalandAverageMilageResHolder res);
public boolean getToatlandAverageMilage(GetTotalandAverageMilageReq req, GetTotalandAverageMilageResHolder res, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getToatlandAverageMilage(GetTotalandAverageMilageReq req);
public Ice.AsyncResult begin_getToatlandAverageMilage(GetTotalandAverageMilageReq req, java.util.Map<String, String> __ctx);
public Ice.AsyncResult begin_getToatlandAverageMilage(GetTotalandAverageMilageReq req, Ice.Callback __cb);
public Ice.AsyncResult begin_getToatlandAverageMilage(GetTotalandAverageMilageReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb);
public Ice.AsyncResult begin_getToatlandAverageMilage(GetTotalandAverageMilageReq req, Callback_DaoMileService_getToatlandAverageMilage __cb);
public Ice.AsyncResult begin_getToatlandAverageMilage(GetTotalandAverageMilageReq req, java.util.Map<String, String> __ctx, Callback_DaoMileService_getToatlandAverageMilage __cb);
public boolean end_getToatlandAverageMilage(GetTotalandAverageMilageResHolder res, 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 `HDao_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* total mileage
**/
public final class DaoMileServicePrxHelper extends Ice.ObjectPrxHelperBase implements cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx
{
private static final String __JourneyMileStat_name = "JourneyMileStat";
public boolean JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res)
{
return JourneyMileStat(req, res, null, false);
}
public boolean JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res, java.util.Map<String, String> __ctx)
{
return JourneyMileStat(req, res, __ctx, true);
}
private boolean JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "JourneyMileStat", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("JourneyMileStat");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.JourneyMileStat(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req)
{
return begin_JourneyMileStat(req, null, false, null);
}
public Ice.AsyncResult begin_JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, java.util.Map<String, String> __ctx)
{
return begin_JourneyMileStat(req, __ctx, true, null);
}
public Ice.AsyncResult begin_JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, Ice.Callback __cb)
{
return begin_JourneyMileStat(req, null, false, __cb);
}
public Ice.AsyncResult begin_JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_JourneyMileStat(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_JourneyMileStat __cb)
{
return begin_JourneyMileStat(req, null, false, __cb);
}
public Ice.AsyncResult begin_JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_JourneyMileStat __cb)
{
return begin_JourneyMileStat(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__JourneyMileStat_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __JourneyMileStat_name, __cb);
try
{
__result.__prepare(__JourneyMileStat_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __JourneyMileStat_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponse();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __beginUserMileStat_name = "beginUserMileStat";
public boolean beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponseHolder res)
{
return beginUserMileStat(req, res, null, false);
}
public boolean beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponseHolder res, java.util.Map<String, String> __ctx)
{
return beginUserMileStat(req, res, __ctx, true);
}
private boolean beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponseHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "beginUserMileStat", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("beginUserMileStat");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.beginUserMileStat(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req)
{
return begin_beginUserMileStat(req, null, false, null);
}
public Ice.AsyncResult begin_beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, java.util.Map<String, String> __ctx)
{
return begin_beginUserMileStat(req, __ctx, true, null);
}
public Ice.AsyncResult begin_beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, Ice.Callback __cb)
{
return begin_beginUserMileStat(req, null, false, __cb);
}
public Ice.AsyncResult begin_beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_beginUserMileStat(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_beginUserMileStat __cb)
{
return begin_beginUserMileStat(req, null, false, __cb);
}
public Ice.AsyncResult begin_beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_beginUserMileStat __cb)
{
return begin_beginUserMileStat(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__beginUserMileStat_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __beginUserMileStat_name, __cb);
try
{
__result.__prepare(__beginUserMileStat_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponseHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __beginUserMileStat_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponse();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __endUserMileStat_name = "endUserMileStat";
public boolean endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res)
{
return endUserMileStat(req, res, null, false);
}
public boolean endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, java.util.Map<String, String> __ctx)
{
return endUserMileStat(req, res, __ctx, true);
}
private boolean endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "endUserMileStat", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("endUserMileStat");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.endUserMileStat(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req)
{
return begin_endUserMileStat(req, null, false, null);
}
public Ice.AsyncResult begin_endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, java.util.Map<String, String> __ctx)
{
return begin_endUserMileStat(req, __ctx, true, null);
}
public Ice.AsyncResult begin_endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, Ice.Callback __cb)
{
return begin_endUserMileStat(req, null, false, __cb);
}
public Ice.AsyncResult begin_endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_endUserMileStat(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_endUserMileStat __cb)
{
return begin_endUserMileStat(req, null, false, __cb);
}
public Ice.AsyncResult begin_endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_endUserMileStat __cb)
{
return begin_endUserMileStat(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__endUserMileStat_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __endUserMileStat_name, __cb);
try
{
__result.__prepare(__endUserMileStat_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __endUserMileStat_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponse();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __endUserMileStatByImei_name = "endUserMileStatByImei";
public boolean endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res)
{
return endUserMileStatByImei(req, res, null, false);
}
public boolean endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, java.util.Map<String, String> __ctx)
{
return endUserMileStatByImei(req, res, __ctx, true);
}
private boolean endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "endUserMileStatByImei", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("endUserMileStatByImei");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.endUserMileStatByImei(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req)
{
return begin_endUserMileStatByImei(req, null, false, null);
}
public Ice.AsyncResult begin_endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, java.util.Map<String, String> __ctx)
{
return begin_endUserMileStatByImei(req, __ctx, true, null);
}
public Ice.AsyncResult begin_endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, Ice.Callback __cb)
{
return begin_endUserMileStatByImei(req, null, false, __cb);
}
public Ice.AsyncResult begin_endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_endUserMileStatByImei(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_endUserMileStatByImei __cb)
{
return begin_endUserMileStatByImei(req, null, false, __cb);
}
public Ice.AsyncResult begin_endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_endUserMileStatByImei __cb)
{
return begin_endUserMileStatByImei(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__endUserMileStatByImei_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __endUserMileStatByImei_name, __cb);
try
{
__result.__prepare(__endUserMileStatByImei_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __endUserMileStatByImei_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponse();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getDailyMileageRecords_name = "getDailyMileageRecords";
public boolean getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res)
{
return getDailyMileageRecords(req, res, null, false);
}
public boolean getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res, java.util.Map<String, String> __ctx)
{
return getDailyMileageRecords(req, res, __ctx, true);
}
private boolean getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getDailyMileageRecords", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getDailyMileageRecords");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getDailyMileageRecords(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req)
{
return begin_getDailyMileageRecords(req, null, false, null);
}
public Ice.AsyncResult begin_getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, java.util.Map<String, String> __ctx)
{
return begin_getDailyMileageRecords(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, Ice.Callback __cb)
{
return begin_getDailyMileageRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getDailyMileageRecords(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getDailyMileageRecords __cb)
{
return begin_getDailyMileageRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getDailyMileageRecords __cb)
{
return begin_getDailyMileageRecords(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getDailyMileageRecords_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getDailyMileageRecords_name, __cb);
try
{
__result.__prepare(__getDailyMileageRecords_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getDailyMileageRecords_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getJourneyRecords_name = "getJourneyRecords";
public boolean getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsResHolder res)
{
return getJourneyRecords(req, res, null, false);
}
public boolean getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsResHolder res, java.util.Map<String, String> __ctx)
{
return getJourneyRecords(req, res, __ctx, true);
}
private boolean getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getJourneyRecords", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getJourneyRecords");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getJourneyRecords(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req)
{
return begin_getJourneyRecords(req, null, false, null);
}
public Ice.AsyncResult begin_getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, java.util.Map<String, String> __ctx)
{
return begin_getJourneyRecords(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, Ice.Callback __cb)
{
return begin_getJourneyRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getJourneyRecords(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getJourneyRecords __cb)
{
return begin_getJourneyRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getJourneyRecords __cb)
{
return begin_getJourneyRecords(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getJourneyRecords_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getJourneyRecords_name, __cb);
try
{
__result.__prepare(__getJourneyRecords_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getJourneyRecords_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getMonthMileageRecords_name = "getMonthMileageRecords";
public boolean getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsResHolder res)
{
return getMonthMileageRecords(req, res, null, false);
}
public boolean getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsResHolder res, java.util.Map<String, String> __ctx)
{
return getMonthMileageRecords(req, res, __ctx, true);
}
private boolean getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getMonthMileageRecords", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getMonthMileageRecords");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getMonthMileageRecords(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req)
{
return begin_getMonthMileageRecords(req, null, false, null);
}
public Ice.AsyncResult begin_getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, java.util.Map<String, String> __ctx)
{
return begin_getMonthMileageRecords(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, Ice.Callback __cb)
{
return begin_getMonthMileageRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getMonthMileageRecords(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getMonthMileageRecords __cb)
{
return begin_getMonthMileageRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getMonthMileageRecords __cb)
{
return begin_getMonthMileageRecords(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getMonthMileageRecords_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getMonthMileageRecords_name, __cb);
try
{
__result.__prepare(__getMonthMileageRecords_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getMonthMileageRecords_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getMonthResideRecords_name = "getMonthResideRecords";
public boolean getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res)
{
return getMonthResideRecords(req, res, null, false);
}
public boolean getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res, java.util.Map<String, String> __ctx)
{
return getMonthResideRecords(req, res, __ctx, true);
}
private boolean getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getMonthResideRecords", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getMonthResideRecords");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getMonthResideRecords(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req)
{
return begin_getMonthResideRecords(req, null, false, null);
}
public Ice.AsyncResult begin_getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, java.util.Map<String, String> __ctx)
{
return begin_getMonthResideRecords(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, Ice.Callback __cb)
{
return begin_getMonthResideRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getMonthResideRecords(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getMonthResideRecords __cb)
{
return begin_getMonthResideRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getMonthResideRecords __cb)
{
return begin_getMonthResideRecords(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getMonthResideRecords_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getMonthResideRecords_name, __cb);
try
{
__result.__prepare(__getMonthResideRecords_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getMonthResideRecords_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getOverSpeedRecords_name = "getOverSpeedRecords";
public boolean getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res)
{
return getOverSpeedRecords(req, res, null, false);
}
public boolean getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res, java.util.Map<String, String> __ctx)
{
return getOverSpeedRecords(req, res, __ctx, true);
}
private boolean getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getOverSpeedRecords", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getOverSpeedRecords");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getOverSpeedRecords(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req)
{
return begin_getOverSpeedRecords(req, null, false, null);
}
public Ice.AsyncResult begin_getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, java.util.Map<String, String> __ctx)
{
return begin_getOverSpeedRecords(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, Ice.Callback __cb)
{
return begin_getOverSpeedRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getOverSpeedRecords(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getOverSpeedRecords __cb)
{
return begin_getOverSpeedRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getOverSpeedRecords __cb)
{
return begin_getOverSpeedRecords(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getOverSpeedRecords_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getOverSpeedRecords_name, __cb);
try
{
__result.__prepare(__getOverSpeedRecords_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getOverSpeedRecords_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getStayPointRecords_name = "getStayPointRecords";
public boolean getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res)
{
return getStayPointRecords(req, res, null, false);
}
public boolean getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res, java.util.Map<String, String> __ctx)
{
return getStayPointRecords(req, res, __ctx, true);
}
private boolean getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getStayPointRecords", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getStayPointRecords");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getStayPointRecords(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req)
{
return begin_getStayPointRecords(req, null, false, null);
}
public Ice.AsyncResult begin_getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, java.util.Map<String, String> __ctx)
{
return begin_getStayPointRecords(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, Ice.Callback __cb)
{
return begin_getStayPointRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getStayPointRecords(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getStayPointRecords __cb)
{
return begin_getStayPointRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getStayPointRecords __cb)
{
return begin_getStayPointRecords(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getStayPointRecords_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getStayPointRecords_name, __cb);
try
{
__result.__prepare(__getStayPointRecords_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getStayPointRecords_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getToatlMileage_name = "getToatlMileage";
public boolean getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res)
{
return getToatlMileage(req, res, null, false);
}
public boolean getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res, java.util.Map<String, String> __ctx)
{
return getToatlMileage(req, res, __ctx, true);
}
private boolean getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getToatlMileage", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getToatlMileage");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getToatlMileage(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req)
{
return begin_getToatlMileage(req, null, false, null);
}
public Ice.AsyncResult begin_getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, java.util.Map<String, String> __ctx)
{
return begin_getToatlMileage(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, Ice.Callback __cb)
{
return begin_getToatlMileage(req, null, false, __cb);
}
public Ice.AsyncResult begin_getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getToatlMileage(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getToatlMileage __cb)
{
return begin_getToatlMileage(req, null, false, __cb);
}
public Ice.AsyncResult begin_getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getToatlMileage __cb)
{
return begin_getToatlMileage(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getToatlMileage_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getToatlMileage_name, __cb);
try
{
__result.__prepare(__getToatlMileage_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getToatlMileage_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getToatlandAverageMilage_name = "getToatlandAverageMilage";
public boolean getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res)
{
return getToatlandAverageMilage(req, res, null, false);
}
public boolean getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res, java.util.Map<String, String> __ctx)
{
return getToatlandAverageMilage(req, res, __ctx, true);
}
private boolean getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getToatlandAverageMilage", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getToatlandAverageMilage");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getToatlandAverageMilage(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req)
{
return begin_getToatlandAverageMilage(req, null, false, null);
}
public Ice.AsyncResult begin_getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, java.util.Map<String, String> __ctx)
{
return begin_getToatlandAverageMilage(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, Ice.Callback __cb)
{
return begin_getToatlandAverageMilage(req, null, false, __cb);
}
public Ice.AsyncResult begin_getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getToatlandAverageMilage(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getToatlandAverageMilage __cb)
{
return begin_getToatlandAverageMilage(req, null, false, __cb);
}
public Ice.AsyncResult begin_getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getToatlandAverageMilage __cb)
{
return begin_getToatlandAverageMilage(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getToatlandAverageMilage_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getToatlandAverageMilage_name, __cb);
try
{
__result.__prepare(__getToatlandAverageMilage_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getToatlandAverageMilage_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
private static final String __getWorkandFamilyResideRecords_name = "getWorkandFamilyResideRecords";
public boolean getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordResHolder res)
{
return getWorkandFamilyResideRecords(req, res, null, false);
}
public boolean getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordResHolder res, java.util.Map<String, String> __ctx)
{
return getWorkandFamilyResideRecords(req, res, __ctx, true);
}
private boolean getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordResHolder res, java.util.Map<String, String> __ctx, boolean __explicitCtx)
{
if(__explicitCtx && __ctx == null)
{
__ctx = _emptyContext;
}
final Ice.Instrumentation.InvocationObserver __observer = IceInternal.ObserverHelper.get(this, "getWorkandFamilyResideRecords", __ctx);
int __cnt = 0;
try
{
while(true)
{
Ice._ObjectDel __delBase = null;
try
{
__checkTwowayOnly("getWorkandFamilyResideRecords");
__delBase = __getDelegate(false);
cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel __del = (cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel)__delBase;
return __del.getWorkandFamilyResideRecords(req, res, __ctx, __observer);
}
catch(IceInternal.LocalExceptionWrapper __ex)
{
__handleExceptionWrapper(__delBase, __ex, __observer);
}
catch(Ice.LocalException __ex)
{
__cnt = __handleException(__delBase, __ex, null, __cnt, __observer);
}
}
}
finally
{
if(__observer != null)
{
__observer.detach();
}
}
}
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req)
{
return begin_getWorkandFamilyResideRecords(req, null, false, null);
}
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, java.util.Map<String, String> __ctx)
{
return begin_getWorkandFamilyResideRecords(req, __ctx, true, null);
}
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, Ice.Callback __cb)
{
return begin_getWorkandFamilyResideRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, java.util.Map<String, String> __ctx, Ice.Callback __cb)
{
return begin_getWorkandFamilyResideRecords(req, __ctx, true, __cb);
}
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getWorkandFamilyResideRecords __cb)
{
return begin_getWorkandFamilyResideRecords(req, null, false, __cb);
}
public Ice.AsyncResult begin_getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, java.util.Map<String, String> __ctx, cn.com.glsx.devicemonitor.iceprotocol.mile.Callback_DaoMileService_getWorkandFamilyResideRecords __cb)
{
return begin_getWorkandFamilyResideRecords(req, __ctx, true, __cb);
}
private Ice.AsyncResult begin_getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
{
__checkAsyncTwowayOnly(__getWorkandFamilyResideRecords_name);
IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getWorkandFamilyResideRecords_name, __cb);
try
{
__result.__prepare(__getWorkandFamilyResideRecords_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
IceInternal.BasicStream __os = __result.__startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__result.__endWriteParams();
__result.__send(true);
}
catch(Ice.LocalException __ex)
{
__result.__exceptionAsync(__ex);
}
return __result;
}
public boolean end_getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordResHolder res, Ice.AsyncResult __result)
{
Ice.AsyncResult.__check(__result, this, __getWorkandFamilyResideRecords_name);
boolean __ok = __result.__wait();
try
{
if(!__ok)
{
try
{
__result.__throwUserException();
}
catch(Ice.UserException __ex)
{
throw new Ice.UnknownUserException(__ex.ice_name(), __ex);
}
}
IceInternal.BasicStream __is = __result.__startReadParams();
res.value = new GetResideInfoRecordRes();
res.value.__read(__is);
boolean __ret;
__ret = __is.readBool();
__result.__endReadParams();
return __ret;
}
catch(Ice.LocalException ex)
{
Ice.Instrumentation.InvocationObserver __obsv = __result.__getObserver();
if(__obsv != null)
{
__obsv.failed(ex.ice_name());
}
throw ex;
}
}
public static cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx checkedCast(Ice.ObjectPrx __obj)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __d = null;
if(__obj != null)
{
if(__obj instanceof cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)
{
__d = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__obj;
}
else
{
if(__obj.ice_isA(ice_staticId()))
{
DaoMileServicePrxHelper __h = new DaoMileServicePrxHelper();
__h.__copyFrom(__obj);
__d = __h;
}
}
}
return __d;
}
public static cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx checkedCast(Ice.ObjectPrx __obj, java.util.Map<String, String> __ctx)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __d = null;
if(__obj != null)
{
if(__obj instanceof cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)
{
__d = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__obj;
}
else
{
if(__obj.ice_isA(ice_staticId(), __ctx))
{
DaoMileServicePrxHelper __h = new DaoMileServicePrxHelper();
__h.__copyFrom(__obj);
__d = __h;
}
}
}
return __d;
}
public static cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx checkedCast(Ice.ObjectPrx __obj, String __facet)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __d = null;
if(__obj != null)
{
Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
try
{
if(__bb.ice_isA(ice_staticId()))
{
DaoMileServicePrxHelper __h = new DaoMileServicePrxHelper();
__h.__copyFrom(__bb);
__d = __h;
}
}
catch(Ice.FacetNotExistException ex)
{
}
}
return __d;
}
public static cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx checkedCast(Ice.ObjectPrx __obj, String __facet, java.util.Map<String, String> __ctx)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __d = null;
if(__obj != null)
{
Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
try
{
if(__bb.ice_isA(ice_staticId(), __ctx))
{
DaoMileServicePrxHelper __h = new DaoMileServicePrxHelper();
__h.__copyFrom(__bb);
__d = __h;
}
}
catch(Ice.FacetNotExistException ex)
{
}
}
return __d;
}
public static cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx uncheckedCast(Ice.ObjectPrx __obj)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __d = null;
if(__obj != null)
{
if(__obj instanceof cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)
{
__d = (cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx)__obj;
}
else
{
DaoMileServicePrxHelper __h = new DaoMileServicePrxHelper();
__h.__copyFrom(__obj);
__d = __h;
}
}
return __d;
}
public static cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx uncheckedCast(Ice.ObjectPrx __obj, String __facet)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __d = null;
if(__obj != null)
{
Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
DaoMileServicePrxHelper __h = new DaoMileServicePrxHelper();
__h.__copyFrom(__bb);
__d = __h;
}
return __d;
}
public static final String[] __ids =
{
"::HDaoMile::DaoMileService",
"::Ice::Object"
};
public static String ice_staticId()
{
return __ids[0];
}
protected Ice._ObjectDelM __createDelegateM()
{
return new _DaoMileServiceDelM();
}
protected Ice._ObjectDelD __createDelegateD()
{
return new cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDelD();
}
public static void __write(IceInternal.BasicStream __os, cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx v)
{
__os.writeProxy(v);
}
public static cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx __read(IceInternal.BasicStream __is)
{
Ice.ObjectPrx proxy = __is.readProxy();
if(proxy != null)
{
DaoMileServicePrxHelper result = new DaoMileServicePrxHelper();
result.__copyFrom(proxy);
return result;
}
return null;
}
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 `HDao_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class DaoMileServicePrxHolder
{
public
DaoMileServicePrxHolder()
{
}
public
DaoMileServicePrxHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileServicePrx 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* journey and overSpeed
**/
public class Date implements Cloneable, java.io.Serializable
{
public int year;
public int month;
public int day;
public Date()
{
}
public Date(int year, int month, int day)
{
this.year = year;
this.month = month;
this.day = day;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
Date _r = null;
if(rhs instanceof Date)
{
_r = (Date)rhs;
}
if(_r != null)
{
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, "::HDaoMile::Date");
__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.writeInt(year);
__os.writeInt(month);
__os.writeInt(day);
}
public void
__read(IceInternal.BasicStream __is)
{
year = __is.readInt();
month = __is.readInt();
day = __is.readInt();
}
public static final long serialVersionUID = -3557880322531387628L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class DateHolder
{
public
DateHolder()
{
}
public
DateHolder(Date value)
{
this.value = value;
}
public Date 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetDailyMileRecordsReq implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public Date bgnDate;
public Date endDate;
public GetDailyMileRecordsReq()
{
}
public GetDailyMileRecordsReq(long userID, int apType, Date bgnDate, Date endDate)
{
this.userID = userID;
this.apType = apType;
this.bgnDate = bgnDate;
this.endDate = endDate;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetDailyMileRecordsReq _r = null;
if(rhs instanceof GetDailyMileRecordsReq)
{
_r = (GetDailyMileRecordsReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(bgnDate != _r.bgnDate)
{
if(bgnDate == null || _r.bgnDate == null || !bgnDate.equals(_r.bgnDate))
{
return false;
}
}
if(endDate != _r.endDate)
{
if(endDate == null || _r.endDate == null || !endDate.equals(_r.endDate))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetDailyMileRecordsReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, bgnDate);
__h = IceInternal.HashUtil.hashAdd(__h, endDate);
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);
bgnDate.__write(__os);
endDate.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
bgnDate = new Date();
bgnDate.__read(__is);
endDate = new Date();
endDate.__read(__is);
}
public static final long serialVersionUID = 1749394467424814927L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetDailyMileRecordsReqHolder
{
public
GetDailyMileRecordsReqHolder()
{
}
public
GetDailyMileRecordsReqHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetDailyMileRecordsRes implements Cloneable, java.io.Serializable
{
public int oprResult;
public long userID;
public DailyMileRecord[] dailMileRecords;
public GetDailyMileRecordsRes()
{
}
public GetDailyMileRecordsRes(int oprResult, long userID, DailyMileRecord[] dailMileRecords)
{
this.oprResult = oprResult;
this.userID = userID;
this.dailMileRecords = dailMileRecords;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetDailyMileRecordsRes _r = null;
if(rhs instanceof GetDailyMileRecordsRes)
{
_r = (GetDailyMileRecordsRes)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(userID != _r.userID)
{
return false;
}
if(!java.util.Arrays.equals(dailMileRecords, _r.dailMileRecords))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetDailyMileRecordsRes");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, dailMileRecords);
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.writeLong(userID);
cn.com.glsx.devicemonitor.iceprotocol.mile.DailyMileRecordsHelper.write(__os, dailMileRecords);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
userID = __is.readLong();
dailMileRecords = cn.com.glsx.devicemonitor.iceprotocol.mile.DailyMileRecordsHelper.read(__is);
}
public static final long serialVersionUID = 860531407694653936L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetDailyMileRecordsResHolder
{
public
GetDailyMileRecordsResHolder()
{
}
public
GetDailyMileRecordsResHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsRes value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetJourneyRecordsReq implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public boolean bReqAddr;
public Date bgnDate;
public Date endDate;
public int extraMapReq;
public GetJourneyRecordsReq()
{
}
public GetJourneyRecordsReq(long userID, int apType, boolean bReqAddr, Date bgnDate, Date endDate, int extraMapReq)
{
this.userID = userID;
this.apType = apType;
this.bReqAddr = bReqAddr;
this.bgnDate = bgnDate;
this.endDate = endDate;
this.extraMapReq = extraMapReq;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetJourneyRecordsReq _r = null;
if(rhs instanceof GetJourneyRecordsReq)
{
_r = (GetJourneyRecordsReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(bReqAddr != _r.bReqAddr)
{
return false;
}
if(bgnDate != _r.bgnDate)
{
if(bgnDate == null || _r.bgnDate == null || !bgnDate.equals(_r.bgnDate))
{
return false;
}
}
if(endDate != _r.endDate)
{
if(endDate == null || _r.endDate == null || !endDate.equals(_r.endDate))
{
return false;
}
}
if(extraMapReq != _r.extraMapReq)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetJourneyRecordsReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, bReqAddr);
__h = IceInternal.HashUtil.hashAdd(__h, bgnDate);
__h = IceInternal.HashUtil.hashAdd(__h, endDate);
__h = IceInternal.HashUtil.hashAdd(__h, extraMapReq);
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.writeBool(bReqAddr);
bgnDate.__write(__os);
endDate.__write(__os);
__os.writeInt(extraMapReq);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
bReqAddr = __is.readBool();
bgnDate = new Date();
bgnDate.__read(__is);
endDate = new Date();
endDate.__read(__is);
extraMapReq = __is.readInt();
}
public static final long serialVersionUID = -9039673465073817988L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetJourneyRecordsReqHolder
{
public
GetJourneyRecordsReqHolder()
{
}
public
GetJourneyRecordsReqHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetJourneyRecordsRes implements Cloneable, java.io.Serializable
{
public int oprResult;
public long userID;
public JourneyRecord[] jourRecords;
public GetJourneyRecordsRes()
{
}
public GetJourneyRecordsRes(int oprResult, long userID, JourneyRecord[] jourRecords)
{
this.oprResult = oprResult;
this.userID = userID;
this.jourRecords = jourRecords;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetJourneyRecordsRes _r = null;
if(rhs instanceof GetJourneyRecordsRes)
{
_r = (GetJourneyRecordsRes)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(userID != _r.userID)
{
return false;
}
if(!java.util.Arrays.equals(jourRecords, _r.jourRecords))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetJourneyRecordsRes");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, jourRecords);
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.writeLong(userID);
JourneyRecordsHelper.write(__os, jourRecords);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
userID = __is.readLong();
jourRecords = JourneyRecordsHelper.read(__is);
}
public static final long serialVersionUID = -6463256744445455525L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetJourneyRecordsResHolder
{
public
GetJourneyRecordsResHolder()
{
}
public
GetJourneyRecordsResHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsRes value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetMonthMileRecordsReq implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public cn.com.glsx.devicemonitor.iceprotocol.mile.Month bgnMonth;
public cn.com.glsx.devicemonitor.iceprotocol.mile.Month endMonth;
public GetMonthMileRecordsReq()
{
}
public GetMonthMileRecordsReq(long userID, int apType, cn.com.glsx.devicemonitor.iceprotocol.mile.Month bgnMonth, cn.com.glsx.devicemonitor.iceprotocol.mile.Month endMonth)
{
this.userID = userID;
this.apType = apType;
this.bgnMonth = bgnMonth;
this.endMonth = endMonth;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetMonthMileRecordsReq _r = null;
if(rhs instanceof GetMonthMileRecordsReq)
{
_r = (GetMonthMileRecordsReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(bgnMonth != _r.bgnMonth)
{
if(bgnMonth == null || _r.bgnMonth == null || !bgnMonth.equals(_r.bgnMonth))
{
return false;
}
}
if(endMonth != _r.endMonth)
{
if(endMonth == null || _r.endMonth == null || !endMonth.equals(_r.endMonth))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetMonthMileRecordsReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, bgnMonth);
__h = IceInternal.HashUtil.hashAdd(__h, endMonth);
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);
bgnMonth.__write(__os);
endMonth.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
bgnMonth = new cn.com.glsx.devicemonitor.iceprotocol.mile.Month();
bgnMonth.__read(__is);
endMonth = new cn.com.glsx.devicemonitor.iceprotocol.mile.Month();
endMonth.__read(__is);
}
public static final long serialVersionUID = -4331670095660921786L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetMonthMileRecordsReqHolder
{
public
GetMonthMileRecordsReqHolder()
{
}
public
GetMonthMileRecordsReqHolder(GetMonthMileRecordsReq value)
{
this.value = value;
}
public GetMonthMileRecordsReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetMonthMileRecordsRes implements Cloneable, java.io.Serializable
{
public int oprResult;
public long userID;
public cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord[] monMileRecords;
public GetMonthMileRecordsRes()
{
}
public GetMonthMileRecordsRes(int oprResult, long userID, cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord[] monMileRecords)
{
this.oprResult = oprResult;
this.userID = userID;
this.monMileRecords = monMileRecords;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetMonthMileRecordsRes _r = null;
if(rhs instanceof GetMonthMileRecordsRes)
{
_r = (GetMonthMileRecordsRes)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(userID != _r.userID)
{
return false;
}
if(!java.util.Arrays.equals(monMileRecords, _r.monMileRecords))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetMonthMileRecordsRes");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, monMileRecords);
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.writeLong(userID);
cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecordsHelper.write(__os, monMileRecords);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
userID = __is.readLong();
monMileRecords = cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecordsHelper.read(__is);
}
public static final long serialVersionUID = -2247324541816718315L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetMonthMileRecordsResHolder
{
public
GetMonthMileRecordsResHolder()
{
}
public
GetMonthMileRecordsResHolder(GetMonthMileRecordsRes value)
{
this.value = value;
}
public GetMonthMileRecordsRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* month reside
**/
public class GetMonthResideRecordsReq implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public cn.com.glsx.devicemonitor.iceprotocol.mile.Month bgnMonth;
public cn.com.glsx.devicemonitor.iceprotocol.mile.Month endMonth;
public GetMonthResideRecordsReq()
{
}
public GetMonthResideRecordsReq(long userID, int apType, cn.com.glsx.devicemonitor.iceprotocol.mile.Month bgnMonth, cn.com.glsx.devicemonitor.iceprotocol.mile.Month endMonth)
{
this.userID = userID;
this.apType = apType;
this.bgnMonth = bgnMonth;
this.endMonth = endMonth;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetMonthResideRecordsReq _r = null;
if(rhs instanceof GetMonthResideRecordsReq)
{
_r = (GetMonthResideRecordsReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(bgnMonth != _r.bgnMonth)
{
if(bgnMonth == null || _r.bgnMonth == null || !bgnMonth.equals(_r.bgnMonth))
{
return false;
}
}
if(endMonth != _r.endMonth)
{
if(endMonth == null || _r.endMonth == null || !endMonth.equals(_r.endMonth))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetMonthResideRecordsReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, bgnMonth);
__h = IceInternal.HashUtil.hashAdd(__h, endMonth);
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);
bgnMonth.__write(__os);
endMonth.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
bgnMonth = new cn.com.glsx.devicemonitor.iceprotocol.mile.Month();
bgnMonth.__read(__is);
endMonth = new cn.com.glsx.devicemonitor.iceprotocol.mile.Month();
endMonth.__read(__is);
}
public static final long serialVersionUID = 1886382545766531079L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetMonthResideRecordsReqHolder
{
public
GetMonthResideRecordsReqHolder()
{
}
public
GetMonthResideRecordsReqHolder(GetMonthResideRecordsReq value)
{
this.value = value;
}
public GetMonthResideRecordsReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetMonthResideRecordsRes implements Cloneable, java.io.Serializable
{
public int oprResult;
public long userID;
public cn.com.glsx.devicemonitor.iceprotocol.mile.MonthResideRecord[] monResideRecords;
public GetMonthResideRecordsRes()
{
}
public GetMonthResideRecordsRes(int oprResult, long userID, cn.com.glsx.devicemonitor.iceprotocol.mile.MonthResideRecord[] monResideRecords)
{
this.oprResult = oprResult;
this.userID = userID;
this.monResideRecords = monResideRecords;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetMonthResideRecordsRes _r = null;
if(rhs instanceof GetMonthResideRecordsRes)
{
_r = (GetMonthResideRecordsRes)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(userID != _r.userID)
{
return false;
}
if(!java.util.Arrays.equals(monResideRecords, _r.monResideRecords))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetMonthResideRecordsRes");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, monResideRecords);
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.writeLong(userID);
cn.com.glsx.devicemonitor.iceprotocol.mile.MonthResideRecordsHelper.write(__os, monResideRecords);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
userID = __is.readLong();
monResideRecords = cn.com.glsx.devicemonitor.iceprotocol.mile.MonthResideRecordsHelper.read(__is);
}
public static final long serialVersionUID = 8316678178853794869L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetMonthResideRecordsResHolder
{
public
GetMonthResideRecordsResHolder()
{
}
public
GetMonthResideRecordsResHolder(GetMonthResideRecordsRes value)
{
this.value = value;
}
public GetMonthResideRecordsRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetOverSpeedRecordsReq implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public Date bgnDate;
public Date endDate;
public int extraMapReq;
public GetOverSpeedRecordsReq()
{
}
public GetOverSpeedRecordsReq(long userID, int apType, Date bgnDate, Date endDate, int extraMapReq)
{
this.userID = userID;
this.apType = apType;
this.bgnDate = bgnDate;
this.endDate = endDate;
this.extraMapReq = extraMapReq;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetOverSpeedRecordsReq _r = null;
if(rhs instanceof GetOverSpeedRecordsReq)
{
_r = (GetOverSpeedRecordsReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(bgnDate != _r.bgnDate)
{
if(bgnDate == null || _r.bgnDate == null || !bgnDate.equals(_r.bgnDate))
{
return false;
}
}
if(endDate != _r.endDate)
{
if(endDate == null || _r.endDate == null || !endDate.equals(_r.endDate))
{
return false;
}
}
if(extraMapReq != _r.extraMapReq)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetOverSpeedRecordsReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, bgnDate);
__h = IceInternal.HashUtil.hashAdd(__h, endDate);
__h = IceInternal.HashUtil.hashAdd(__h, extraMapReq);
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);
bgnDate.__write(__os);
endDate.__write(__os);
__os.writeInt(extraMapReq);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
bgnDate = new Date();
bgnDate.__read(__is);
endDate = new Date();
endDate.__read(__is);
extraMapReq = __is.readInt();
}
public static final long serialVersionUID = 431146081780692949L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetOverSpeedRecordsReqHolder
{
public
GetOverSpeedRecordsReqHolder()
{
}
public
GetOverSpeedRecordsReqHolder(GetOverSpeedRecordsReq value)
{
this.value = value;
}
public GetOverSpeedRecordsReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetOverSpeedRecordsRes implements Cloneable, java.io.Serializable
{
public int oprResult;
public long userID;
public cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord[] overSpdRecords;
public GetOverSpeedRecordsRes()
{
}
public GetOverSpeedRecordsRes(int oprResult, long userID, cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord[] overSpdRecords)
{
this.oprResult = oprResult;
this.userID = userID;
this.overSpdRecords = overSpdRecords;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetOverSpeedRecordsRes _r = null;
if(rhs instanceof GetOverSpeedRecordsRes)
{
_r = (GetOverSpeedRecordsRes)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(userID != _r.userID)
{
return false;
}
if(!java.util.Arrays.equals(overSpdRecords, _r.overSpdRecords))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetOverSpeedRecordsRes");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, overSpdRecords);
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.writeLong(userID);
OverSpeedRecordsHelper.write(__os, overSpdRecords);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
userID = __is.readLong();
overSpdRecords = OverSpeedRecordsHelper.read(__is);
}
public static final long serialVersionUID = -6183393027398084567L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetOverSpeedRecordsResHolder
{
public
GetOverSpeedRecordsResHolder()
{
}
public
GetOverSpeedRecordsResHolder(GetOverSpeedRecordsRes value)
{
this.value = value;
}
public GetOverSpeedRecordsRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetResideInfoRecordReq implements Cloneable, java.io.Serializable
{
public long userID;
public GetResideInfoRecordReq()
{
}
public GetResideInfoRecordReq(long userID)
{
this.userID = userID;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetResideInfoRecordReq _r = null;
if(rhs instanceof GetResideInfoRecordReq)
{
_r = (GetResideInfoRecordReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetResideInfoRecordReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
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);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
}
public static final long serialVersionUID = -6555582445917294304L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetResideInfoRecordReqHolder
{
public
GetResideInfoRecordReqHolder()
{
}
public
GetResideInfoRecordReqHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetResideInfoRecordRes implements Cloneable, java.io.Serializable
{
public int oprResult;
public long userID;
public String homeaddress;
public String homeLng;
public String homeLat;
public String workaddress;
public String workLng;
public String workLat;
public GetResideInfoRecordRes()
{
}
public GetResideInfoRecordRes(int oprResult, long userID, String homeaddress, String homeLng, String homeLat, String workaddress, String workLng, String workLat)
{
this.oprResult = oprResult;
this.userID = userID;
this.homeaddress = homeaddress;
this.homeLng = homeLng;
this.homeLat = homeLat;
this.workaddress = workaddress;
this.workLng = workLng;
this.workLat = workLat;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetResideInfoRecordRes _r = null;
if(rhs instanceof GetResideInfoRecordRes)
{
_r = (GetResideInfoRecordRes)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(userID != _r.userID)
{
return false;
}
if(homeaddress != _r.homeaddress)
{
if(homeaddress == null || _r.homeaddress == null || !homeaddress.equals(_r.homeaddress))
{
return false;
}
}
if(homeLng != _r.homeLng)
{
if(homeLng == null || _r.homeLng == null || !homeLng.equals(_r.homeLng))
{
return false;
}
}
if(homeLat != _r.homeLat)
{
if(homeLat == null || _r.homeLat == null || !homeLat.equals(_r.homeLat))
{
return false;
}
}
if(workaddress != _r.workaddress)
{
if(workaddress == null || _r.workaddress == null || !workaddress.equals(_r.workaddress))
{
return false;
}
}
if(workLng != _r.workLng)
{
if(workLng == null || _r.workLng == null || !workLng.equals(_r.workLng))
{
return false;
}
}
if(workLat != _r.workLat)
{
if(workLat == null || _r.workLat == null || !workLat.equals(_r.workLat))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetResideInfoRecordRes");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, homeaddress);
__h = IceInternal.HashUtil.hashAdd(__h, homeLng);
__h = IceInternal.HashUtil.hashAdd(__h, homeLat);
__h = IceInternal.HashUtil.hashAdd(__h, workaddress);
__h = IceInternal.HashUtil.hashAdd(__h, workLng);
__h = IceInternal.HashUtil.hashAdd(__h, workLat);
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.writeLong(userID);
__os.writeString(homeaddress);
__os.writeString(homeLng);
__os.writeString(homeLat);
__os.writeString(workaddress);
__os.writeString(workLng);
__os.writeString(workLat);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
userID = __is.readLong();
homeaddress = __is.readString();
homeLng = __is.readString();
homeLat = __is.readString();
workaddress = __is.readString();
workLng = __is.readString();
workLat = __is.readString();
}
public static final long serialVersionUID = -585460156715352785L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetResideInfoRecordResHolder
{
public
GetResideInfoRecordResHolder()
{
}
public
GetResideInfoRecordResHolder(GetResideInfoRecordRes value)
{
this.value = value;
}
public GetResideInfoRecordRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* stay point
**/
public class GetStayPointRecordsReq implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public Date bgnDate;
public Date endDate;
public int periodType;
public int minDuration;
public int maxDuration;
public int extraMapReq;
public GetStayPointRecordsReq()
{
}
public GetStayPointRecordsReq(long userID, int apType, Date bgnDate, Date endDate, int periodType, int minDuration, int maxDuration, int extraMapReq)
{
this.userID = userID;
this.apType = apType;
this.bgnDate = bgnDate;
this.endDate = endDate;
this.periodType = periodType;
this.minDuration = minDuration;
this.maxDuration = maxDuration;
this.extraMapReq = extraMapReq;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetStayPointRecordsReq _r = null;
if(rhs instanceof GetStayPointRecordsReq)
{
_r = (GetStayPointRecordsReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(bgnDate != _r.bgnDate)
{
if(bgnDate == null || _r.bgnDate == null || !bgnDate.equals(_r.bgnDate))
{
return false;
}
}
if(endDate != _r.endDate)
{
if(endDate == null || _r.endDate == null || !endDate.equals(_r.endDate))
{
return false;
}
}
if(periodType != _r.periodType)
{
return false;
}
if(minDuration != _r.minDuration)
{
return false;
}
if(maxDuration != _r.maxDuration)
{
return false;
}
if(extraMapReq != _r.extraMapReq)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetStayPointRecordsReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, bgnDate);
__h = IceInternal.HashUtil.hashAdd(__h, endDate);
__h = IceInternal.HashUtil.hashAdd(__h, periodType);
__h = IceInternal.HashUtil.hashAdd(__h, minDuration);
__h = IceInternal.HashUtil.hashAdd(__h, maxDuration);
__h = IceInternal.HashUtil.hashAdd(__h, extraMapReq);
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);
bgnDate.__write(__os);
endDate.__write(__os);
__os.writeInt(periodType);
__os.writeInt(minDuration);
__os.writeInt(maxDuration);
__os.writeInt(extraMapReq);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
bgnDate = new Date();
bgnDate.__read(__is);
endDate = new Date();
endDate.__read(__is);
periodType = __is.readInt();
minDuration = __is.readInt();
maxDuration = __is.readInt();
extraMapReq = __is.readInt();
}
public static final long serialVersionUID = 768292535077320523L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetStayPointRecordsReqHolder
{
public
GetStayPointRecordsReqHolder()
{
}
public
GetStayPointRecordsReqHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetStayPointRecordsRes implements Cloneable, java.io.Serializable
{
public int oprResult;
public long userID;
public cn.com.glsx.devicemonitor.iceprotocol.mile.StayPointRecord[] stayPoints;
public GetStayPointRecordsRes()
{
}
public GetStayPointRecordsRes(int oprResult, long userID, cn.com.glsx.devicemonitor.iceprotocol.mile.StayPointRecord[] stayPoints)
{
this.oprResult = oprResult;
this.userID = userID;
this.stayPoints = stayPoints;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetStayPointRecordsRes _r = null;
if(rhs instanceof GetStayPointRecordsRes)
{
_r = (GetStayPointRecordsRes)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(userID != _r.userID)
{
return false;
}
if(!java.util.Arrays.equals(stayPoints, _r.stayPoints))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetStayPointRecordsRes");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, stayPoints);
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.writeLong(userID);
cn.com.glsx.devicemonitor.iceprotocol.mile.StayPointRecordsHelper.write(__os, stayPoints);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
userID = __is.readLong();
stayPoints = cn.com.glsx.devicemonitor.iceprotocol.mile.StayPointRecordsHelper.read(__is);
}
public static final long serialVersionUID = -9018067402838062396L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetStayPointRecordsResHolder
{
public
GetStayPointRecordsResHolder()
{
}
public
GetStayPointRecordsResHolder(GetStayPointRecordsRes value)
{
this.value = value;
}
public GetStayPointRecordsRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* total mileage
**/
public class GetTotalMileageReq implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int bgnDayTime;
public int endDayTime;
public int bReqDailyRecord;
public GetTotalMileageReq()
{
}
public GetTotalMileageReq(long userID, int apType, int bgnDayTime, int endDayTime, int bReqDailyRecord)
{
this.userID = userID;
this.apType = apType;
this.bgnDayTime = bgnDayTime;
this.endDayTime = endDayTime;
this.bReqDailyRecord = bReqDailyRecord;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetTotalMileageReq _r = null;
if(rhs instanceof GetTotalMileageReq)
{
_r = (GetTotalMileageReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(bgnDayTime != _r.bgnDayTime)
{
return false;
}
if(endDayTime != _r.endDayTime)
{
return false;
}
if(bReqDailyRecord != _r.bReqDailyRecord)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetTotalMileageReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, bgnDayTime);
__h = IceInternal.HashUtil.hashAdd(__h, endDayTime);
__h = IceInternal.HashUtil.hashAdd(__h, bReqDailyRecord);
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(bgnDayTime);
__os.writeInt(endDayTime);
__os.writeInt(bReqDailyRecord);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
bgnDayTime = __is.readInt();
endDayTime = __is.readInt();
bReqDailyRecord = __is.readInt();
}
public static final long serialVersionUID = 4935223601545088542L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetTotalMileageReqHolder
{
public
GetTotalMileageReqHolder()
{
}
public
GetTotalMileageReqHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetTotalMileageRes implements Cloneable, java.io.Serializable
{
public int oprResult;
public long userID;
public long totalMileage;
public long totalJourCount;
public long totalDuration;
public cn.com.glsx.devicemonitor.iceprotocol.mile.DailyMileRecord[] dailMileRecords;
public GetTotalMileageRes()
{
}
public GetTotalMileageRes(int oprResult, long userID, long totalMileage, long totalJourCount, long totalDuration, cn.com.glsx.devicemonitor.iceprotocol.mile.DailyMileRecord[] dailMileRecords)
{
this.oprResult = oprResult;
this.userID = userID;
this.totalMileage = totalMileage;
this.totalJourCount = totalJourCount;
this.totalDuration = totalDuration;
this.dailMileRecords = dailMileRecords;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetTotalMileageRes _r = null;
if(rhs instanceof GetTotalMileageRes)
{
_r = (GetTotalMileageRes)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(userID != _r.userID)
{
return false;
}
if(totalMileage != _r.totalMileage)
{
return false;
}
if(totalJourCount != _r.totalJourCount)
{
return false;
}
if(totalDuration != _r.totalDuration)
{
return false;
}
if(!java.util.Arrays.equals(dailMileRecords, _r.dailMileRecords))
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetTotalMileageRes");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, totalMileage);
__h = IceInternal.HashUtil.hashAdd(__h, totalJourCount);
__h = IceInternal.HashUtil.hashAdd(__h, totalDuration);
__h = IceInternal.HashUtil.hashAdd(__h, dailMileRecords);
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.writeLong(userID);
__os.writeLong(totalMileage);
__os.writeLong(totalJourCount);
__os.writeLong(totalDuration);
cn.com.glsx.devicemonitor.iceprotocol.mile.DailyMileRecordsHelper.write(__os, dailMileRecords);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
userID = __is.readLong();
totalMileage = __is.readLong();
totalJourCount = __is.readLong();
totalDuration = __is.readLong();
dailMileRecords = cn.com.glsx.devicemonitor.iceprotocol.mile.DailyMileRecordsHelper.read(__is);
}
public static final long serialVersionUID = 4144556716548328130L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetTotalMileageResHolder
{
public
GetTotalMileageResHolder()
{
}
public
GetTotalMileageResHolder(GetTotalMileageRes value)
{
this.value = value;
}
public GetTotalMileageRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetTotalandAverageMilageReq implements Cloneable, java.io.Serializable
{
public long userID;
public GetTotalandAverageMilageReq()
{
}
public GetTotalandAverageMilageReq(long userID)
{
this.userID = userID;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetTotalandAverageMilageReq _r = null;
if(rhs instanceof GetTotalandAverageMilageReq)
{
_r = (GetTotalandAverageMilageReq)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetTotalandAverageMilageReq");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
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);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
}
public static final long serialVersionUID = -7650672390392123058L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetTotalandAverageMilageReqHolder
{
public
GetTotalandAverageMilageReqHolder()
{
}
public
GetTotalandAverageMilageReqHolder(GetTotalandAverageMilageReq value)
{
this.value = value;
}
public GetTotalandAverageMilageReq 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GetTotalandAverageMilageRes implements Cloneable, java.io.Serializable
{
public long userID;
public int oprResult;
public long totalMileage;
public long monthAveMiles;
public long yearthAveMiles;
public GetTotalandAverageMilageRes()
{
}
public GetTotalandAverageMilageRes(long userID, int oprResult, long totalMileage, long monthAveMiles, long yearthAveMiles)
{
this.userID = userID;
this.oprResult = oprResult;
this.totalMileage = totalMileage;
this.monthAveMiles = monthAveMiles;
this.yearthAveMiles = yearthAveMiles;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GetTotalandAverageMilageRes _r = null;
if(rhs instanceof GetTotalandAverageMilageRes)
{
_r = (GetTotalandAverageMilageRes)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(oprResult != _r.oprResult)
{
return false;
}
if(totalMileage != _r.totalMileage)
{
return false;
}
if(monthAveMiles != _r.monthAveMiles)
{
return false;
}
if(yearthAveMiles != _r.yearthAveMiles)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GetTotalandAverageMilageRes");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, totalMileage);
__h = IceInternal.HashUtil.hashAdd(__h, monthAveMiles);
__h = IceInternal.HashUtil.hashAdd(__h, yearthAveMiles);
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(oprResult);
__os.writeLong(totalMileage);
__os.writeLong(monthAveMiles);
__os.writeLong(yearthAveMiles);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
oprResult = __is.readInt();
totalMileage = __is.readLong();
monthAveMiles = __is.readLong();
yearthAveMiles = __is.readLong();
}
public static final long serialVersionUID = 634896598631017799L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GetTotalandAverageMilageResHolder
{
public
GetTotalandAverageMilageResHolder()
{
}
public
GetTotalandAverageMilageResHolder(GetTotalandAverageMilageRes value)
{
this.value = value;
}
public GetTotalandAverageMilageRes 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class GpsLoc implements Cloneable, java.io.Serializable
{
public int lng;
public int lat;
public int glng;
public int glat;
public int blng;
public int blat;
public GpsLoc()
{
}
public GpsLoc(int lng, int lat, int glng, int glat, int blng, int blat)
{
this.lng = lng;
this.lat = lat;
this.glng = glng;
this.glat = glat;
this.blng = blng;
this.blat = blat;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsLoc _r = null;
if(rhs instanceof GpsLoc)
{
_r = (GpsLoc)rhs;
}
if(_r != null)
{
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;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GpsLoc");
__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);
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(lng);
__os.writeInt(lat);
__os.writeInt(glng);
__os.writeInt(glat);
__os.writeInt(blng);
__os.writeInt(blat);
}
public void
__read(IceInternal.BasicStream __is)
{
lng = __is.readInt();
lat = __is.readInt();
glng = __is.readInt();
glat = __is.readInt();
blng = __is.readInt();
blat = __is.readInt();
}
public static final long serialVersionUID = 1798146885336343516L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GpsLocHolder
{
public
GpsLocHolder()
{
}
public
GpsLocHolder(GpsLoc value)
{
this.value = value;
}
public GpsLoc 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* common
**/
public class GpsPos implements Cloneable, java.io.Serializable
{
public int gpsTime;
public int lng;
public int lat;
public String addr;
public GpsPos()
{
}
public GpsPos(int gpsTime, int lng, int lat, String addr)
{
this.gpsTime = gpsTime;
this.lng = lng;
this.lat = lat;
this.addr = addr;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
GpsPos _r = null;
if(rhs instanceof GpsPos)
{
_r = (GpsPos)rhs;
}
if(_r != null)
{
if(gpsTime != _r.gpsTime)
{
return false;
}
if(lng != _r.lng)
{
return false;
}
if(lat != _r.lat)
{
return false;
}
if(addr != _r.addr)
{
if(addr == null || _r.addr == null || !addr.equals(_r.addr))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::GpsPos");
__h = IceInternal.HashUtil.hashAdd(__h, gpsTime);
__h = IceInternal.HashUtil.hashAdd(__h, lng);
__h = IceInternal.HashUtil.hashAdd(__h, lat);
__h = IceInternal.HashUtil.hashAdd(__h, addr);
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.writeString(addr);
}
public void
__read(IceInternal.BasicStream __is)
{
gpsTime = __is.readInt();
lng = __is.readInt();
lat = __is.readInt();
addr = __is.readString();
}
public static final long serialVersionUID = 952254392403369586L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class GpsPosHolder
{
public
GpsPosHolder()
{
}
public
GpsPosHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class JourneyRecord implements Cloneable, java.io.Serializable
{
public int bgnTime;
public int endTime;
public int duration;
public String bgnAddress;
public GpsLoc bgnGps;
public String endAddress;
public GpsLoc endGps;
public int mileage;
public JourneyRecord()
{
}
public JourneyRecord(int bgnTime, int endTime, int duration, String bgnAddress, GpsLoc bgnGps, String endAddress, GpsLoc endGps, int mileage)
{
this.bgnTime = bgnTime;
this.endTime = endTime;
this.duration = duration;
this.bgnAddress = bgnAddress;
this.bgnGps = bgnGps;
this.endAddress = endAddress;
this.endGps = endGps;
this.mileage = mileage;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
JourneyRecord _r = null;
if(rhs instanceof JourneyRecord)
{
_r = (JourneyRecord)rhs;
}
if(_r != null)
{
if(bgnTime != _r.bgnTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(duration != _r.duration)
{
return false;
}
if(bgnAddress != _r.bgnAddress)
{
if(bgnAddress == null || _r.bgnAddress == null || !bgnAddress.equals(_r.bgnAddress))
{
return false;
}
}
if(bgnGps != _r.bgnGps)
{
if(bgnGps == null || _r.bgnGps == null || !bgnGps.equals(_r.bgnGps))
{
return false;
}
}
if(endAddress != _r.endAddress)
{
if(endAddress == null || _r.endAddress == null || !endAddress.equals(_r.endAddress))
{
return false;
}
}
if(endGps != _r.endGps)
{
if(endGps == null || _r.endGps == null || !endGps.equals(_r.endGps))
{
return false;
}
}
if(mileage != _r.mileage)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::JourneyRecord");
__h = IceInternal.HashUtil.hashAdd(__h, bgnTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, duration);
__h = IceInternal.HashUtil.hashAdd(__h, bgnAddress);
__h = IceInternal.HashUtil.hashAdd(__h, bgnGps);
__h = IceInternal.HashUtil.hashAdd(__h, endAddress);
__h = IceInternal.HashUtil.hashAdd(__h, endGps);
__h = IceInternal.HashUtil.hashAdd(__h, mileage);
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(bgnTime);
__os.writeInt(endTime);
__os.writeInt(duration);
__os.writeString(bgnAddress);
bgnGps.__write(__os);
__os.writeString(endAddress);
endGps.__write(__os);
__os.writeInt(mileage);
}
public void
__read(IceInternal.BasicStream __is)
{
bgnTime = __is.readInt();
endTime = __is.readInt();
duration = __is.readInt();
bgnAddress = __is.readString();
bgnGps = new GpsLoc();
bgnGps.__read(__is);
endAddress = __is.readString();
endGps = new GpsLoc();
endGps.__read(__is);
mileage = __is.readInt();
}
public static final long serialVersionUID = -7657411183325284371L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class JourneyRecordHolder
{
public
JourneyRecordHolder()
{
}
public
JourneyRecordHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class JourneyRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord[] __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 cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord[]
read(IceInternal.BasicStream __is)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(66);
__v = new cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord();
__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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class JourneyRecordsHolder
{
public
JourneyRecordsHolder()
{
}
public
JourneyRecordsHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord[] value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.JourneyRecord[] 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* Start mileage statistics
**/
public class MileStatBeginRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int beginTime;
public MileStatBeginRequest()
{
}
public MileStatBeginRequest(long userID, int apType, int beginTime)
{
this.userID = userID;
this.apType = apType;
this.beginTime = beginTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
MileStatBeginRequest _r = null;
if(rhs instanceof MileStatBeginRequest)
{
_r = (MileStatBeginRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(beginTime != _r.beginTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::MileStatBeginRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, beginTime);
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(beginTime);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
beginTime = __is.readInt();
}
public static final long serialVersionUID = -2092756745941984755L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MileStatBeginRequestHolder
{
public
MileStatBeginRequestHolder()
{
}
public
MileStatBeginRequestHolder(MileStatBeginRequest value)
{
this.value = value;
}
public MileStatBeginRequest 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class MileStatBeginResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public MileStatBeginResponse()
{
}
public MileStatBeginResponse(int oprResult)
{
this.oprResult = oprResult;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
MileStatBeginResponse _r = null;
if(rhs instanceof MileStatBeginResponse)
{
_r = (MileStatBeginResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::MileStatBeginResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
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);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
}
public static final long serialVersionUID = -7747856324232805252L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MileStatBeginResponseHolder
{
public
MileStatBeginResponseHolder()
{
}
public
MileStatBeginResponseHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponse value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponse 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* End mileage statistics
**/
public class MileStatEndRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int beginTime;
public int endTime;
public boolean bRetGpsTime;
public MileStatEndRequest()
{
}
public MileStatEndRequest(long userID, int apType, int beginTime, int endTime, boolean bRetGpsTime)
{
this.userID = userID;
this.apType = apType;
this.beginTime = beginTime;
this.endTime = endTime;
this.bRetGpsTime = bRetGpsTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
MileStatEndRequest _r = null;
if(rhs instanceof MileStatEndRequest)
{
_r = (MileStatEndRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(beginTime != _r.beginTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(bRetGpsTime != _r.bRetGpsTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::MileStatEndRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, beginTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, bRetGpsTime);
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(beginTime);
__os.writeInt(endTime);
__os.writeBool(bRetGpsTime);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
beginTime = __is.readInt();
endTime = __is.readInt();
bRetGpsTime = __is.readBool();
}
public static final long serialVersionUID = -6875643837172510481L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MileStatEndRequestHolder
{
public
MileStatEndRequestHolder()
{
}
public
MileStatEndRequestHolder(MileStatEndRequest value)
{
this.value = value;
}
public MileStatEndRequest 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class MileStatEndResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public int mileage;
public cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos beginPos;
public cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos endPos;
public float over80Percent;
public float over120Percent;
public int maxSpeed;
public int gpsBgnTime;
public int gpsEndTime;
public MileStatEndResponse()
{
}
public MileStatEndResponse(int oprResult, int mileage, cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos beginPos, cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos endPos, float over80Percent, float over120Percent, int maxSpeed, int gpsBgnTime, int gpsEndTime)
{
this.oprResult = oprResult;
this.mileage = mileage;
this.beginPos = beginPos;
this.endPos = endPos;
this.over80Percent = over80Percent;
this.over120Percent = over120Percent;
this.maxSpeed = maxSpeed;
this.gpsBgnTime = gpsBgnTime;
this.gpsEndTime = gpsEndTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
MileStatEndResponse _r = null;
if(rhs instanceof MileStatEndResponse)
{
_r = (MileStatEndResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(mileage != _r.mileage)
{
return false;
}
if(beginPos != _r.beginPos)
{
if(beginPos == null || _r.beginPos == null || !beginPos.equals(_r.beginPos))
{
return false;
}
}
if(endPos != _r.endPos)
{
if(endPos == null || _r.endPos == null || !endPos.equals(_r.endPos))
{
return false;
}
}
if(over80Percent != _r.over80Percent)
{
return false;
}
if(over120Percent != _r.over120Percent)
{
return false;
}
if(maxSpeed != _r.maxSpeed)
{
return false;
}
if(gpsBgnTime != _r.gpsBgnTime)
{
return false;
}
if(gpsEndTime != _r.gpsEndTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::MileStatEndResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, mileage);
__h = IceInternal.HashUtil.hashAdd(__h, beginPos);
__h = IceInternal.HashUtil.hashAdd(__h, endPos);
__h = IceInternal.HashUtil.hashAdd(__h, over80Percent);
__h = IceInternal.HashUtil.hashAdd(__h, over120Percent);
__h = IceInternal.HashUtil.hashAdd(__h, maxSpeed);
__h = IceInternal.HashUtil.hashAdd(__h, gpsBgnTime);
__h = IceInternal.HashUtil.hashAdd(__h, gpsEndTime);
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(mileage);
beginPos.__write(__os);
endPos.__write(__os);
__os.writeFloat(over80Percent);
__os.writeFloat(over120Percent);
__os.writeInt(maxSpeed);
__os.writeInt(gpsBgnTime);
__os.writeInt(gpsEndTime);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
mileage = __is.readInt();
beginPos = new cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos();
beginPos.__read(__is);
endPos = new cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos();
endPos.__read(__is);
over80Percent = __is.readFloat();
over120Percent = __is.readFloat();
maxSpeed = __is.readInt();
gpsBgnTime = __is.readInt();
gpsEndTime = __is.readInt();
}
public static final long serialVersionUID = -2311270876280708706L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MileStatEndResponseHolder
{
public
MileStatEndResponseHolder()
{
}
public
MileStatEndResponseHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponse value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponse 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* mileage statistics
**/
public class MileStatRequest implements Cloneable, java.io.Serializable
{
public long userID;
public int apType;
public int beginTime;
public int endTime;
public MileStatRequest()
{
}
public MileStatRequest(long userID, int apType, int beginTime, int endTime)
{
this.userID = userID;
this.apType = apType;
this.beginTime = beginTime;
this.endTime = endTime;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
MileStatRequest _r = null;
if(rhs instanceof MileStatRequest)
{
_r = (MileStatRequest)rhs;
}
if(_r != null)
{
if(userID != _r.userID)
{
return false;
}
if(apType != _r.apType)
{
return false;
}
if(beginTime != _r.beginTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::MileStatRequest");
__h = IceInternal.HashUtil.hashAdd(__h, userID);
__h = IceInternal.HashUtil.hashAdd(__h, apType);
__h = IceInternal.HashUtil.hashAdd(__h, beginTime);
__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(beginTime);
__os.writeInt(endTime);
}
public void
__read(IceInternal.BasicStream __is)
{
userID = __is.readLong();
apType = __is.readInt();
beginTime = __is.readInt();
endTime = __is.readInt();
}
public static final long serialVersionUID = 847881566013612727L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MileStatRequestHolder
{
public
MileStatRequestHolder()
{
}
public
MileStatRequestHolder(MileStatRequest value)
{
this.value = value;
}
public MileStatRequest 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class MileStatResponse implements Cloneable, java.io.Serializable
{
public int oprResult;
public int mileage;
public cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos beginPos;
public cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos endPos;
public float over80Percent;
public float over120Percent;
public int maxSpeed;
public MileStatResponse()
{
}
public MileStatResponse(int oprResult, int mileage, cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos beginPos, cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos endPos, float over80Percent, float over120Percent, int maxSpeed)
{
this.oprResult = oprResult;
this.mileage = mileage;
this.beginPos = beginPos;
this.endPos = endPos;
this.over80Percent = over80Percent;
this.over120Percent = over120Percent;
this.maxSpeed = maxSpeed;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
MileStatResponse _r = null;
if(rhs instanceof MileStatResponse)
{
_r = (MileStatResponse)rhs;
}
if(_r != null)
{
if(oprResult != _r.oprResult)
{
return false;
}
if(mileage != _r.mileage)
{
return false;
}
if(beginPos != _r.beginPos)
{
if(beginPos == null || _r.beginPos == null || !beginPos.equals(_r.beginPos))
{
return false;
}
}
if(endPos != _r.endPos)
{
if(endPos == null || _r.endPos == null || !endPos.equals(_r.endPos))
{
return false;
}
}
if(over80Percent != _r.over80Percent)
{
return false;
}
if(over120Percent != _r.over120Percent)
{
return false;
}
if(maxSpeed != _r.maxSpeed)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::MileStatResponse");
__h = IceInternal.HashUtil.hashAdd(__h, oprResult);
__h = IceInternal.HashUtil.hashAdd(__h, mileage);
__h = IceInternal.HashUtil.hashAdd(__h, beginPos);
__h = IceInternal.HashUtil.hashAdd(__h, endPos);
__h = IceInternal.HashUtil.hashAdd(__h, over80Percent);
__h = IceInternal.HashUtil.hashAdd(__h, over120Percent);
__h = IceInternal.HashUtil.hashAdd(__h, maxSpeed);
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(mileage);
beginPos.__write(__os);
endPos.__write(__os);
__os.writeFloat(over80Percent);
__os.writeFloat(over120Percent);
__os.writeInt(maxSpeed);
}
public void
__read(IceInternal.BasicStream __is)
{
oprResult = __is.readInt();
mileage = __is.readInt();
beginPos = new cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos();
beginPos.__read(__is);
endPos = new cn.com.glsx.devicemonitor.iceprotocol.mile.GpsPos();
endPos.__read(__is);
over80Percent = __is.readFloat();
over120Percent = __is.readFloat();
maxSpeed = __is.readInt();
}
public static final long serialVersionUID = 98359576093580437L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MileStatResponseHolder
{
public
MileStatResponseHolder()
{
}
public
MileStatResponseHolder(MileStatResponse value)
{
this.value = value;
}
public MileStatResponse 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* month mileage
**/
public class Month implements Cloneable, java.io.Serializable
{
public int year;
public int mon;
public Month()
{
}
public Month(int year, int mon)
{
this.year = year;
this.mon = mon;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
Month _r = null;
if(rhs instanceof Month)
{
_r = (Month)rhs;
}
if(_r != null)
{
if(year != _r.year)
{
return false;
}
if(mon != _r.mon)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::Month");
__h = IceInternal.HashUtil.hashAdd(__h, year);
__h = IceInternal.HashUtil.hashAdd(__h, mon);
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(year);
__os.writeInt(mon);
}
public void
__read(IceInternal.BasicStream __is)
{
year = __is.readInt();
mon = __is.readInt();
}
public static final long serialVersionUID = 4017350342780951895L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MonthHolder
{
public
MonthHolder()
{
}
public
MonthHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.Month value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.Month 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class MonthMileRecord implements Cloneable, java.io.Serializable
{
public int monthMileage;
public int monthCount;
public int monthDuration;
public int monthDay;
public float averageMileage;
public float averageCount;
public float averageDuration;
public Month whichMonth;
public MonthMileRecord()
{
}
public MonthMileRecord(int monthMileage, int monthCount, int monthDuration, int monthDay, float averageMileage, float averageCount, float averageDuration, Month whichMonth)
{
this.monthMileage = monthMileage;
this.monthCount = monthCount;
this.monthDuration = monthDuration;
this.monthDay = monthDay;
this.averageMileage = averageMileage;
this.averageCount = averageCount;
this.averageDuration = averageDuration;
this.whichMonth = whichMonth;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
MonthMileRecord _r = null;
if(rhs instanceof MonthMileRecord)
{
_r = (MonthMileRecord)rhs;
}
if(_r != null)
{
if(monthMileage != _r.monthMileage)
{
return false;
}
if(monthCount != _r.monthCount)
{
return false;
}
if(monthDuration != _r.monthDuration)
{
return false;
}
if(monthDay != _r.monthDay)
{
return false;
}
if(averageMileage != _r.averageMileage)
{
return false;
}
if(averageCount != _r.averageCount)
{
return false;
}
if(averageDuration != _r.averageDuration)
{
return false;
}
if(whichMonth != _r.whichMonth)
{
if(whichMonth == null || _r.whichMonth == null || !whichMonth.equals(_r.whichMonth))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::MonthMileRecord");
__h = IceInternal.HashUtil.hashAdd(__h, monthMileage);
__h = IceInternal.HashUtil.hashAdd(__h, monthCount);
__h = IceInternal.HashUtil.hashAdd(__h, monthDuration);
__h = IceInternal.HashUtil.hashAdd(__h, monthDay);
__h = IceInternal.HashUtil.hashAdd(__h, averageMileage);
__h = IceInternal.HashUtil.hashAdd(__h, averageCount);
__h = IceInternal.HashUtil.hashAdd(__h, averageDuration);
__h = IceInternal.HashUtil.hashAdd(__h, whichMonth);
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(monthMileage);
__os.writeInt(monthCount);
__os.writeInt(monthDuration);
__os.writeInt(monthDay);
__os.writeFloat(averageMileage);
__os.writeFloat(averageCount);
__os.writeFloat(averageDuration);
whichMonth.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
monthMileage = __is.readInt();
monthCount = __is.readInt();
monthDuration = __is.readInt();
monthDay = __is.readInt();
averageMileage = __is.readFloat();
averageCount = __is.readFloat();
averageDuration = __is.readFloat();
whichMonth = new Month();
whichMonth.__read(__is);
}
public static final long serialVersionUID = -1732952889815654586L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MonthMileRecordHolder
{
public
MonthMileRecordHolder()
{
}
public
MonthMileRecordHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MonthMileRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord[] __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 cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord[]
read(IceInternal.BasicStream __is)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(36);
__v = new cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord();
__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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MonthMileRecordsHolder
{
public
MonthMileRecordsHolder()
{
}
public
MonthMileRecordsHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord[] value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.MonthMileRecord[] 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class MonthResideRecord implements Cloneable, java.io.Serializable
{
public String fstResideLoc;
public int fstResideDuration;
public int fstResideTimes;
public String sndResideLoc;
public int sndResideDuration;
public int sndResideTimes;
public String trdResideLoc;
public int trdResideDuration;
public int trdResideTimes;
public cn.com.glsx.devicemonitor.iceprotocol.mile.Month whichMonth;
public MonthResideRecord()
{
}
public MonthResideRecord(String fstResideLoc, int fstResideDuration, int fstResideTimes, String sndResideLoc, int sndResideDuration, int sndResideTimes, String trdResideLoc, int trdResideDuration, int trdResideTimes, cn.com.glsx.devicemonitor.iceprotocol.mile.Month whichMonth)
{
this.fstResideLoc = fstResideLoc;
this.fstResideDuration = fstResideDuration;
this.fstResideTimes = fstResideTimes;
this.sndResideLoc = sndResideLoc;
this.sndResideDuration = sndResideDuration;
this.sndResideTimes = sndResideTimes;
this.trdResideLoc = trdResideLoc;
this.trdResideDuration = trdResideDuration;
this.trdResideTimes = trdResideTimes;
this.whichMonth = whichMonth;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
MonthResideRecord _r = null;
if(rhs instanceof MonthResideRecord)
{
_r = (MonthResideRecord)rhs;
}
if(_r != null)
{
if(fstResideLoc != _r.fstResideLoc)
{
if(fstResideLoc == null || _r.fstResideLoc == null || !fstResideLoc.equals(_r.fstResideLoc))
{
return false;
}
}
if(fstResideDuration != _r.fstResideDuration)
{
return false;
}
if(fstResideTimes != _r.fstResideTimes)
{
return false;
}
if(sndResideLoc != _r.sndResideLoc)
{
if(sndResideLoc == null || _r.sndResideLoc == null || !sndResideLoc.equals(_r.sndResideLoc))
{
return false;
}
}
if(sndResideDuration != _r.sndResideDuration)
{
return false;
}
if(sndResideTimes != _r.sndResideTimes)
{
return false;
}
if(trdResideLoc != _r.trdResideLoc)
{
if(trdResideLoc == null || _r.trdResideLoc == null || !trdResideLoc.equals(_r.trdResideLoc))
{
return false;
}
}
if(trdResideDuration != _r.trdResideDuration)
{
return false;
}
if(trdResideTimes != _r.trdResideTimes)
{
return false;
}
if(whichMonth != _r.whichMonth)
{
if(whichMonth == null || _r.whichMonth == null || !whichMonth.equals(_r.whichMonth))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::MonthResideRecord");
__h = IceInternal.HashUtil.hashAdd(__h, fstResideLoc);
__h = IceInternal.HashUtil.hashAdd(__h, fstResideDuration);
__h = IceInternal.HashUtil.hashAdd(__h, fstResideTimes);
__h = IceInternal.HashUtil.hashAdd(__h, sndResideLoc);
__h = IceInternal.HashUtil.hashAdd(__h, sndResideDuration);
__h = IceInternal.HashUtil.hashAdd(__h, sndResideTimes);
__h = IceInternal.HashUtil.hashAdd(__h, trdResideLoc);
__h = IceInternal.HashUtil.hashAdd(__h, trdResideDuration);
__h = IceInternal.HashUtil.hashAdd(__h, trdResideTimes);
__h = IceInternal.HashUtil.hashAdd(__h, whichMonth);
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.writeString(fstResideLoc);
__os.writeInt(fstResideDuration);
__os.writeInt(fstResideTimes);
__os.writeString(sndResideLoc);
__os.writeInt(sndResideDuration);
__os.writeInt(sndResideTimes);
__os.writeString(trdResideLoc);
__os.writeInt(trdResideDuration);
__os.writeInt(trdResideTimes);
whichMonth.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
fstResideLoc = __is.readString();
fstResideDuration = __is.readInt();
fstResideTimes = __is.readInt();
sndResideLoc = __is.readString();
sndResideDuration = __is.readInt();
sndResideTimes = __is.readInt();
trdResideLoc = __is.readString();
trdResideDuration = __is.readInt();
trdResideTimes = __is.readInt();
whichMonth = new cn.com.glsx.devicemonitor.iceprotocol.mile.Month();
whichMonth.__read(__is);
}
public static final long serialVersionUID = 2025239712380154678L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MonthResideRecordHolder
{
public
MonthResideRecordHolder()
{
}
public
MonthResideRecordHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.MonthResideRecord value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.MonthResideRecord 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MonthResideRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, MonthResideRecord[] __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 MonthResideRecord[]
read(IceInternal.BasicStream __is)
{
MonthResideRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(35);
__v = new MonthResideRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new MonthResideRecord();
__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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class MonthResideRecordsHolder
{
public
MonthResideRecordsHolder()
{
}
public
MonthResideRecordsHolder(MonthResideRecord[] value)
{
this.value = value;
}
public MonthResideRecord[] 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class OverSpeedRecord implements Cloneable, java.io.Serializable
{
public int bgnTime;
public int endTime;
public int duration;
public GpsLoc bgnGps;
public GpsLoc endGps;
public int averageSpeed;
public OverSpeedRecord()
{
}
public OverSpeedRecord(int bgnTime, int endTime, int duration, GpsLoc bgnGps, GpsLoc endGps, int averageSpeed)
{
this.bgnTime = bgnTime;
this.endTime = endTime;
this.duration = duration;
this.bgnGps = bgnGps;
this.endGps = endGps;
this.averageSpeed = averageSpeed;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
OverSpeedRecord _r = null;
if(rhs instanceof OverSpeedRecord)
{
_r = (OverSpeedRecord)rhs;
}
if(_r != null)
{
if(bgnTime != _r.bgnTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(duration != _r.duration)
{
return false;
}
if(bgnGps != _r.bgnGps)
{
if(bgnGps == null || _r.bgnGps == null || !bgnGps.equals(_r.bgnGps))
{
return false;
}
}
if(endGps != _r.endGps)
{
if(endGps == null || _r.endGps == null || !endGps.equals(_r.endGps))
{
return false;
}
}
if(averageSpeed != _r.averageSpeed)
{
return false;
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::OverSpeedRecord");
__h = IceInternal.HashUtil.hashAdd(__h, bgnTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, duration);
__h = IceInternal.HashUtil.hashAdd(__h, bgnGps);
__h = IceInternal.HashUtil.hashAdd(__h, endGps);
__h = IceInternal.HashUtil.hashAdd(__h, averageSpeed);
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(bgnTime);
__os.writeInt(endTime);
__os.writeInt(duration);
bgnGps.__write(__os);
endGps.__write(__os);
__os.writeInt(averageSpeed);
}
public void
__read(IceInternal.BasicStream __is)
{
bgnTime = __is.readInt();
endTime = __is.readInt();
duration = __is.readInt();
bgnGps = new GpsLoc();
bgnGps.__read(__is);
endGps = new GpsLoc();
endGps.__read(__is);
averageSpeed = __is.readInt();
}
public static final long serialVersionUID = 5793266288394420666L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class OverSpeedRecordHolder
{
public
OverSpeedRecordHolder()
{
}
public
OverSpeedRecordHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class OverSpeedRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord[] __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 cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord[]
read(IceInternal.BasicStream __is)
{
cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(64);
__v = new cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord();
__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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class OverSpeedRecordsHolder
{
public
OverSpeedRecordsHolder()
{
}
public
OverSpeedRecordsHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord[] value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.OverSpeedRecord[] 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public class StayPointRecord implements Cloneable, java.io.Serializable
{
public int bgnTime;
public int endTime;
public int duration;
public cn.com.glsx.devicemonitor.iceprotocol.mile.GpsLoc stayGps;
public StayPointRecord()
{
}
public StayPointRecord(int bgnTime, int endTime, int duration, cn.com.glsx.devicemonitor.iceprotocol.mile.GpsLoc stayGps)
{
this.bgnTime = bgnTime;
this.endTime = endTime;
this.duration = duration;
this.stayGps = stayGps;
}
public boolean
equals(Object rhs)
{
if(this == rhs)
{
return true;
}
StayPointRecord _r = null;
if(rhs instanceof StayPointRecord)
{
_r = (StayPointRecord)rhs;
}
if(_r != null)
{
if(bgnTime != _r.bgnTime)
{
return false;
}
if(endTime != _r.endTime)
{
return false;
}
if(duration != _r.duration)
{
return false;
}
if(stayGps != _r.stayGps)
{
if(stayGps == null || _r.stayGps == null || !stayGps.equals(_r.stayGps))
{
return false;
}
}
return true;
}
return false;
}
public int
hashCode()
{
int __h = 5381;
__h = IceInternal.HashUtil.hashAdd(__h, "::HDaoMile::StayPointRecord");
__h = IceInternal.HashUtil.hashAdd(__h, bgnTime);
__h = IceInternal.HashUtil.hashAdd(__h, endTime);
__h = IceInternal.HashUtil.hashAdd(__h, duration);
__h = IceInternal.HashUtil.hashAdd(__h, stayGps);
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(bgnTime);
__os.writeInt(endTime);
__os.writeInt(duration);
stayGps.__write(__os);
}
public void
__read(IceInternal.BasicStream __is)
{
bgnTime = __is.readInt();
endTime = __is.readInt();
duration = __is.readInt();
stayGps = new cn.com.glsx.devicemonitor.iceprotocol.mile.GpsLoc();
stayGps.__read(__is);
}
public static final long serialVersionUID = -6813191550394355205L;
}
// **********************************************************************
//
// 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class StayPointRecordHolder
{
public
StayPointRecordHolder()
{
}
public
StayPointRecordHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.StayPointRecord value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.StayPointRecord 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class StayPointRecordsHelper
{
public static void
write(IceInternal.BasicStream __os, StayPointRecord[] __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 StayPointRecord[]
read(IceInternal.BasicStream __is)
{
StayPointRecord[] __v;
final int __len0 = __is.readAndCheckSeqSize(36);
__v = new StayPointRecord[__len0];
for(int __i0 = 0; __i0 < __len0; __i0++)
{
__v[__i0] = new StayPointRecord();
__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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class StayPointRecordsHolder
{
public
StayPointRecordsHolder()
{
}
public
StayPointRecordsHolder(cn.com.glsx.devicemonitor.iceprotocol.mile.StayPointRecord[] value)
{
this.value = value;
}
public cn.com.glsx.devicemonitor.iceprotocol.mile.StayPointRecord[] 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_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public interface _DaoMileServiceDel extends Ice._ObjectDel
{
boolean beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, MileStatBeginResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, GetJourneyRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getMonthMileageRecords(GetMonthMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __obsv)
throws IceInternal.LocalExceptionWrapper;
boolean getToatlandAverageMilage(GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res, 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 `HDao_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class _DaoMileServiceDelD extends Ice._ObjectDelD implements _DaoMileServiceDel
{
public boolean JourneyMileStat(final MileStatRequest req, final MileStatResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "JourneyMileStat", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.JourneyMileStat(req, res, __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 beginUserMileStat(final MileStatBeginRequest req, final MileStatBeginResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "beginUserMileStat", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.beginUserMileStat(req, res, __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 endUserMileStat(final MileStatEndRequest req, final MileStatEndResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "endUserMileStat", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.endUserMileStat(req, res, __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 endUserMileStatByImei(final MileStatEndRequest req, final MileStatEndResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "endUserMileStatByImei", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.endUserMileStatByImei(req, res, __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 getDailyMileageRecords(final GetDailyMileRecordsReq req, final GetDailyMileRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getDailyMileageRecords", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getDailyMileageRecords(req, res, __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 getJourneyRecords(final GetJourneyRecordsReq req, final GetJourneyRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getJourneyRecords", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getJourneyRecords(req, res, __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 getMonthMileageRecords(final GetMonthMileRecordsReq req, final GetMonthMileRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getMonthMileageRecords", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getMonthMileageRecords(req, res, __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 getMonthResideRecords(final GetMonthResideRecordsReq req, final GetMonthResideRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getMonthResideRecords", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getMonthResideRecords(req, res, __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 getOverSpeedRecords(final GetOverSpeedRecordsReq req, final cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getOverSpeedRecords", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getOverSpeedRecords(req, res, __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 getStayPointRecords(final GetStayPointRecordsReq req, final GetStayPointRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getStayPointRecords", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getStayPointRecords(req, res, __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 getToatlMileage(final GetTotalMileageReq req, final GetTotalMileageResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getToatlMileage", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getToatlMileage(req, res, __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 getToatlandAverageMilage(final GetTotalandAverageMilageReq req, final GetTotalandAverageMilageResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getToatlandAverageMilage", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getToatlandAverageMilage(req, res, __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 getWorkandFamilyResideRecords(final GetResideInfoRecordReq req, final GetResideInfoRecordResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
final Ice.Current __current = new Ice.Current();
__initCurrent(__current, "getWorkandFamilyResideRecords", 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)
{
DaoMileService __servant = null;
if(__obj == null || __obj instanceof DaoMileService)
{
__servant = (DaoMileService)__obj;
}
else
{
throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
}
__result.value = __servant.getWorkandFamilyResideRecords(req, res, __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 `HDao_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
public final class _DaoMileServiceDelM extends Ice._ObjectDelM implements cn.com.glsx.devicemonitor.iceprotocol.mile._DaoMileServiceDel
{
public boolean
JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("JourneyMileStat", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponse();
res.value.__read(__is);
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
beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("beginUserMileStat", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatBeginResponse();
res.value.__read(__is);
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
endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("endUserMileStat", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponse();
res.value.__read(__is);
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
endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("endUserMileStatByImei", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponse();
res.value.__read(__is);
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
getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getDailyMileageRecords", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsRes();
res.value.__read(__is);
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
getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getJourneyRecords", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetJourneyRecordsRes();
res.value.__read(__is);
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
getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getMonthMileageRecords", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthMileRecordsRes();
res.value.__read(__is);
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
getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getMonthResideRecords", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsRes();
res.value.__read(__is);
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
getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getOverSpeedRecords", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsRes();
res.value.__read(__is);
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
getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getStayPointRecords", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsRes();
res.value.__read(__is);
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
getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getToatlMileage", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageRes();
res.value.__read(__is);
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
getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getToatlandAverageMilage", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageRes();
res.value.__read(__is);
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
getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordResHolder res, java.util.Map<String, String> __ctx, Ice.Instrumentation.InvocationObserver __observer)
throws IceInternal.LocalExceptionWrapper
{
IceInternal.Outgoing __og = __handler.getOutgoing("getWorkandFamilyResideRecords", Ice.OperationMode.Normal, __ctx, __observer);
try
{
try
{
IceInternal.BasicStream __os = __og.startWriteParams(Ice.FormatType.DefaultFormat);
req.__write(__os);
__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();
res.value = new GetResideInfoRecordRes();
res.value.__read(__is);
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 `HDao_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* total mileage
**/
public abstract class _DaoMileServiceDisp extends Ice.ObjectImpl implements cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService
{
protected void
ice_copyStateFrom(Ice.Object __obj)
throws CloneNotSupportedException
{
throw new CloneNotSupportedException();
}
public static final String[] __ids =
{
"::HDaoMile::DaoMileService",
"::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 JourneyMileStat(MileStatRequest req, MileStatResponseHolder res)
{
return JourneyMileStat(req, res, null);
}
public final boolean beginUserMileStat(MileStatBeginRequest req, MileStatBeginResponseHolder res)
{
return beginUserMileStat(req, res, null);
}
public final boolean endUserMileStat(MileStatEndRequest req, MileStatEndResponseHolder res)
{
return endUserMileStat(req, res, null);
}
public final boolean endUserMileStatByImei(MileStatEndRequest req, MileStatEndResponseHolder res)
{
return endUserMileStatByImei(req, res, null);
}
public final boolean getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, GetDailyMileRecordsResHolder res)
{
return getDailyMileageRecords(req, res, null);
}
public final boolean getJourneyRecords(GetJourneyRecordsReq req, GetJourneyRecordsResHolder res)
{
return getJourneyRecords(req, res, null);
}
public final boolean getMonthMileageRecords(GetMonthMileRecordsReq req, GetMonthMileRecordsResHolder res)
{
return getMonthMileageRecords(req, res, null);
}
public final boolean getMonthResideRecords(GetMonthResideRecordsReq req, GetMonthResideRecordsResHolder res)
{
return getMonthResideRecords(req, res, null);
}
public final boolean getOverSpeedRecords(GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res)
{
return getOverSpeedRecords(req, res, null);
}
public final boolean getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res)
{
return getStayPointRecords(req, res, null);
}
public final boolean getToatlMileage(GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res)
{
return getToatlMileage(req, res, null);
}
public final boolean getToatlandAverageMilage(GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res)
{
return getToatlandAverageMilage(req, res, null);
}
public final boolean getWorkandFamilyResideRecords(GetResideInfoRecordReq req, GetResideInfoRecordResHolder res)
{
return getWorkandFamilyResideRecords(req, res, null);
}
public static Ice.DispatchStatus ___beginUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
MileStatBeginRequest req;
req = new MileStatBeginRequest();
req.__read(__is);
__inS.endReadParams();
MileStatBeginResponseHolder res = new MileStatBeginResponseHolder();
boolean __ret = __obj.beginUserMileStat(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___endUserMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
MileStatEndRequest req;
req = new MileStatEndRequest();
req.__read(__is);
__inS.endReadParams();
MileStatEndResponseHolder res = new MileStatEndResponseHolder();
boolean __ret = __obj.endUserMileStat(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___JourneyMileStat(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
MileStatRequest req;
req = new MileStatRequest();
req.__read(__is);
__inS.endReadParams();
MileStatResponseHolder res = new MileStatResponseHolder();
boolean __ret = __obj.JourneyMileStat(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___endUserMileStatByImei(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
MileStatEndRequest req;
req = new MileStatEndRequest();
req.__read(__is);
__inS.endReadParams();
MileStatEndResponseHolder res = new MileStatEndResponseHolder();
boolean __ret = __obj.endUserMileStatByImei(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getJourneyRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
GetJourneyRecordsReq req;
req = new GetJourneyRecordsReq();
req.__read(__is);
__inS.endReadParams();
GetJourneyRecordsResHolder res = new GetJourneyRecordsResHolder();
boolean __ret = __obj.getJourneyRecords(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req;
req = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq();
req.__read(__is);
__inS.endReadParams();
GetDailyMileRecordsResHolder res = new GetDailyMileRecordsResHolder();
boolean __ret = __obj.getDailyMileageRecords(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
GetOverSpeedRecordsReq req;
req = new GetOverSpeedRecordsReq();
req.__read(__is);
__inS.endReadParams();
cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder();
boolean __ret = __obj.getOverSpeedRecords(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getMonthMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
GetMonthMileRecordsReq req;
req = new GetMonthMileRecordsReq();
req.__read(__is);
__inS.endReadParams();
GetMonthMileRecordsResHolder res = new GetMonthMileRecordsResHolder();
boolean __ret = __obj.getMonthMileageRecords(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
GetMonthResideRecordsReq req;
req = new GetMonthResideRecordsReq();
req.__read(__is);
__inS.endReadParams();
GetMonthResideRecordsResHolder res = new GetMonthResideRecordsResHolder();
boolean __ret = __obj.getMonthResideRecords(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
GetResideInfoRecordReq req;
req = new GetResideInfoRecordReq();
req.__read(__is);
__inS.endReadParams();
GetResideInfoRecordResHolder res = new GetResideInfoRecordResHolder();
boolean __ret = __obj.getWorkandFamilyResideRecords(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req;
req = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq();
req.__read(__is);
__inS.endReadParams();
cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder();
boolean __ret = __obj.getStayPointRecords(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
GetTotalMileageReq req;
req = new GetTotalMileageReq();
req.__read(__is);
__inS.endReadParams();
cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder();
boolean __ret = __obj.getToatlMileage(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
public static Ice.DispatchStatus ___getToatlandAverageMilage(cn.com.glsx.devicemonitor.iceprotocol.mile.DaoMileService __obj, IceInternal.Incoming __inS, Ice.Current __current)
{
__checkMode(Ice.OperationMode.Normal, __current.mode);
IceInternal.BasicStream __is = __inS.startReadParams();
GetTotalandAverageMilageReq req;
req = new GetTotalandAverageMilageReq();
req.__read(__is);
__inS.endReadParams();
cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res = new cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder();
boolean __ret = __obj.getToatlandAverageMilage(req, res, __current);
IceInternal.BasicStream __os = __inS.__startWriteParams(Ice.FormatType.DefaultFormat);
res.value.__write(__os);
__os.writeBool(__ret);
__inS.__endWriteParams(true);
return Ice.DispatchStatus.DispatchOK;
}
private final static String[] __all =
{
"JourneyMileStat",
"beginUserMileStat",
"endUserMileStat",
"endUserMileStatByImei",
"getDailyMileageRecords",
"getJourneyRecords",
"getMonthMileageRecords",
"getMonthResideRecords",
"getOverSpeedRecords",
"getStayPointRecords",
"getToatlMileage",
"getToatlandAverageMilage",
"getWorkandFamilyResideRecords",
"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 ___JourneyMileStat(this, in, __current);
}
case 1:
{
return ___beginUserMileStat(this, in, __current);
}
case 2:
{
return ___endUserMileStat(this, in, __current);
}
case 3:
{
return ___endUserMileStatByImei(this, in, __current);
}
case 4:
{
return ___getDailyMileageRecords(this, in, __current);
}
case 5:
{
return ___getJourneyRecords(this, in, __current);
}
case 6:
{
return ___getMonthMileageRecords(this, in, __current);
}
case 7:
{
return ___getMonthResideRecords(this, in, __current);
}
case 8:
{
return ___getOverSpeedRecords(this, in, __current);
}
case 9:
{
return ___getStayPointRecords(this, in, __current);
}
case 10:
{
return ___getToatlMileage(this, in, __current);
}
case 11:
{
return ___getToatlandAverageMilage(this, in, __current);
}
case 12:
{
return ___getWorkandFamilyResideRecords(this, in, __current);
}
case 13:
{
return ___ice_id(this, in, __current);
}
case 14:
{
return ___ice_ids(this, in, __current);
}
case 15:
{
return ___ice_isA(this, in, __current);
}
case 16:
{
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 `HDao_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* total mileage
**/
public interface _DaoMileServiceOperations
{
boolean beginUserMileStat(MileStatBeginRequest req, MileStatBeginResponseHolder res, Ice.Current __current);
boolean endUserMileStat(MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, Ice.Current __current);
boolean JourneyMileStat(MileStatRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res, Ice.Current __current);
boolean endUserMileStatByImei(MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res, Ice.Current __current);
boolean getJourneyRecords(GetJourneyRecordsReq req, GetJourneyRecordsResHolder res, Ice.Current __current);
boolean getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res, Ice.Current __current);
boolean getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res, Ice.Current __current);
boolean getMonthMileageRecords(GetMonthMileRecordsReq req, GetMonthMileRecordsResHolder res, Ice.Current __current);
boolean getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res, Ice.Current __current);
boolean getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, GetResideInfoRecordResHolder res, Ice.Current __current);
boolean getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res, Ice.Current __current);
boolean getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res, Ice.Current __current);
boolean getToatlandAverageMilage(GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res, 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 `HDao_mile.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//
package cn.com.glsx.devicemonitor.iceprotocol.mile;
/**
* total mileage
**/
public interface _DaoMileServiceOperationsNC
{
boolean beginUserMileStat(MileStatBeginRequest req, MileStatBeginResponseHolder res);
boolean endUserMileStat(MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res);
boolean JourneyMileStat(MileStatRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatResponseHolder res);
boolean endUserMileStatByImei(MileStatEndRequest req, cn.com.glsx.devicemonitor.iceprotocol.mile.MileStatEndResponseHolder res);
boolean getJourneyRecords(GetJourneyRecordsReq req, GetJourneyRecordsResHolder res);
boolean getDailyMileageRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetDailyMileRecordsResHolder res);
boolean getOverSpeedRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetOverSpeedRecordsResHolder res);
boolean getMonthMileageRecords(GetMonthMileRecordsReq req, GetMonthMileRecordsResHolder res);
boolean getMonthResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetMonthResideRecordsResHolder res);
boolean getWorkandFamilyResideRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetResideInfoRecordReq req, GetResideInfoRecordResHolder res);
boolean getStayPointRecords(cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetStayPointRecordsResHolder res);
boolean getToatlMileage(cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalMileageResHolder res);
boolean getToatlandAverageMilage(GetTotalandAverageMilageReq req, cn.com.glsx.devicemonitor.iceprotocol.mile.GetTotalandAverageMilageResHolder res);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!