Commit 257251c9 by 黄小葱

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

1 parent aba83272
Showing 104 changed files with 4827 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;
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;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!