|
@@ -2463,7 +2463,7 @@ public class iMapServer extends Service {
|
|
if (MgrAppRun) return;
|
|
if (MgrAppRun) return;
|
|
|
|
|
|
if (Version.getModelType() == MODEL_TYPE.IHN_1010 || Version.getModelType() == MODEL_TYPE.IHN_1010_I
|
|
if (Version.getModelType() == MODEL_TYPE.IHN_1010 || Version.getModelType() == MODEL_TYPE.IHN_1010_I
|
|
- || Version.getModelType() == MODEL_TYPE.IHN_1010_I_2443) {
|
|
|
|
|
|
+ || Version.getModelType() == MODEL_TYPE.IHN_1010_I_2443 || Version.getModelType() == MODEL_TYPE.IHN_1010_I_6410) {
|
|
WallPadInterface mWallPadInterface = new WallPadInterface();
|
|
WallPadInterface mWallPadInterface = new WallPadInterface();
|
|
int sensorMag = mWallPadInterface.DoControl(WallPadInterface.IOCTL_SENSOR_MAG0_STATE, 0);
|
|
int sensorMag = mWallPadInterface.DoControl(WallPadInterface.IOCTL_SENSOR_MAG0_STATE, 0);
|
|
if (sensorMag == 0) return;
|
|
if (sensorMag == 0) return;
|
|
@@ -2543,7 +2543,7 @@ public class iMapServer extends Service {
|
|
}
|
|
}
|
|
|
|
|
|
if (Version.getModelType() == MODEL_TYPE.IHN_1010 || Version.getModelType() == MODEL_TYPE.IHN_1010_I
|
|
if (Version.getModelType() == MODEL_TYPE.IHN_1010 || Version.getModelType() == MODEL_TYPE.IHN_1010_I
|
|
- || Version.getModelType() == MODEL_TYPE.IHN_1010_I_2443) {
|
|
|
|
|
|
+ || Version.getModelType() == MODEL_TYPE.IHN_1010_I_2443 || Version.getModelType() == MODEL_TYPE.IHN_1010_I_6410) {
|
|
WallPadInterface mWallPadInterface = new WallPadInterface();
|
|
WallPadInterface mWallPadInterface = new WallPadInterface();
|
|
int sensorMag = mWallPadInterface.DoControl(WallPadInterface.IOCTL_SENSOR_MOTIN_STATE, 0);
|
|
int sensorMag = mWallPadInterface.DoControl(WallPadInterface.IOCTL_SENSOR_MOTIN_STATE, 0);
|
|
if (sensorMag == 0) return;
|
|
if (sensorMag == 0) return;
|
|
@@ -2579,7 +2579,7 @@ public class iMapServer extends Service {
|
|
}
|
|
}
|
|
|
|
|
|
if (Version.getModelType() == MODEL_TYPE.IHN_1010 || Version.getModelType() == MODEL_TYPE.IHN_1010_I
|
|
if (Version.getModelType() == MODEL_TYPE.IHN_1010 || Version.getModelType() == MODEL_TYPE.IHN_1010_I
|
|
- || Version.getModelType() == MODEL_TYPE.IHN_1010_I_2443) {
|
|
|
|
|
|
+ || Version.getModelType() == MODEL_TYPE.IHN_1010_I_2443 || Version.getModelType() == MODEL_TYPE.IHN_1010_I_6410) {
|
|
WallPadInterface mWallPadInterface = new WallPadInterface();
|
|
WallPadInterface mWallPadInterface = new WallPadInterface();
|
|
int sensorMag = mWallPadInterface.DoControl(WallPadInterface.IOCTL_SENSOR_MOTOUT_STATE, 0);
|
|
int sensorMag = mWallPadInterface.DoControl(WallPadInterface.IOCTL_SENSOR_MOTOUT_STATE, 0);
|
|
if (sensorMag == 0) return;
|
|
if (sensorMag == 0) return;
|