|
@@ -61,6 +61,7 @@ import com.artncore.wallpadapi.VentiAPI;
|
|
import com.artncore.wallpadapi.WallPadAPI;
|
|
import com.artncore.wallpadapi.WallPadAPI;
|
|
import com.artncore.wallpadapi.WallPadDevAPI;
|
|
import com.artncore.wallpadapi.WallPadDevAPI;
|
|
import com.artncore.managersetting.R;
|
|
import com.artncore.managersetting.R;
|
|
|
|
+import com.util.LogUtil;
|
|
|
|
|
|
/**
|
|
/**
|
|
* A list fragment representing a list of Items. This fragment also supports
|
|
* A list fragment representing a list of Items. This fragment also supports
|
|
@@ -273,7 +274,8 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
addControllerVO(Const.CONTROLLER_TYPE_CALLAPP_TIMEOUT_ONOFF);
|
|
addControllerVO(Const.CONTROLLER_TYPE_CALLAPP_TIMEOUT_ONOFF);
|
|
|
|
|
|
if (ModelType == Version.MODEL_TYPE.IHN_D101 || ModelType == Version.MODEL_TYPE.IHN_D101_I
|
|
if (ModelType == Version.MODEL_TYPE.IHN_D101 || ModelType == Version.MODEL_TYPE.IHN_D101_I
|
|
- || ModelType == Version.MODEL_TYPE.IHN_D101K || ModelType == Version.MODEL_TYPE.IHN_D101K_I) {
|
|
|
|
|
|
+ || ModelType == Version.MODEL_TYPE.IHN_D101K || ModelType == Version.MODEL_TYPE.IHN_D101K_I
|
|
|
|
+ || ModelType == Version.MODEL_TYPE.IHN_D101_I_OCF) {
|
|
addControllerVO(Const.CONTROLLER_TYPE_SMART_DIST);
|
|
addControllerVO(Const.CONTROLLER_TYPE_SMART_DIST);
|
|
addControllerVO(Const.CONTROLLER_TYPE_SMART_DIST_LIVEM);
|
|
addControllerVO(Const.CONTROLLER_TYPE_SMART_DIST_LIVEM);
|
|
}
|
|
}
|
|
@@ -300,10 +302,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
GasAPI gasApi = mWallPadAPI.Get_GasController(); // 가스제어기 API
|
|
GasAPI gasApi = mWallPadAPI.Get_GasController(); // 가스제어기 API
|
|
deviceAPI = gasApi;
|
|
deviceAPI = gasApi;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -356,10 +362,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
tempHeatingKind = "V2";
|
|
tempHeatingKind = "V2";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(deviceAPI == null){return;}
|
|
if(deviceAPI == null){return;}
|
|
@@ -408,10 +418,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
VentiAPI ventiAPI = mWallPadAPI.Get_VentiController();
|
|
VentiAPI ventiAPI = mWallPadAPI.Get_VentiController();
|
|
deviceAPI = ventiAPI;
|
|
deviceAPI = ventiAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(deviceAPI == null){return;}
|
|
if(deviceAPI == null){return;}
|
|
@@ -458,10 +472,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
DLockAPI dLockAPI = mWallPadAPI.Get_DLockController();
|
|
DLockAPI dLockAPI = mWallPadAPI.Get_DLockController();
|
|
deviceAPI = dLockAPI;
|
|
deviceAPI = dLockAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(deviceAPI == null){return;}
|
|
if(deviceAPI == null){return;}
|
|
@@ -500,10 +518,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
RealTimeMeterAPI realTimeMeterAPI = mWallPadAPI.Get_RealTimeMeterController();
|
|
RealTimeMeterAPI realTimeMeterAPI = mWallPadAPI.Get_RealTimeMeterController();
|
|
deviceAPI = realTimeMeterAPI;
|
|
deviceAPI = realTimeMeterAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(deviceAPI == null){return;}
|
|
if(deviceAPI == null){return;}
|
|
@@ -549,10 +571,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = smartSwitchPolAPI;
|
|
deviceAPI = smartSwitchPolAPI;
|
|
AllLightSwitchType = 1;
|
|
AllLightSwitchType = 1;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -564,10 +590,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = allLightAPI;
|
|
deviceAPI = allLightAPI;
|
|
AllLightSwitchType = 2;
|
|
AllLightSwitchType = 2;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -579,10 +609,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = smartSwitchEvtAPI;
|
|
deviceAPI = smartSwitchEvtAPI;
|
|
AllLightSwitchType = 4;
|
|
AllLightSwitchType = 4;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -594,10 +628,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = smartSwitchPolAPI;
|
|
deviceAPI = smartSwitchPolAPI;
|
|
AllLightSwitchType = 1;
|
|
AllLightSwitchType = 1;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -661,10 +699,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = lightAPI;
|
|
deviceAPI = lightAPI;
|
|
LightSwitchType = 1;
|
|
LightSwitchType = 1;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -676,10 +718,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = multiSwitchAPI;
|
|
deviceAPI = multiSwitchAPI;
|
|
LightSwitchType = 2;
|
|
LightSwitchType = 2;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -692,10 +738,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
LightSwitchType = 3;
|
|
LightSwitchType = 3;
|
|
addControllerVO(Const.CONTROLLER_TYPE_HDC_ALLLIGHT);
|
|
addControllerVO(Const.CONTROLLER_TYPE_HDC_ALLLIGHT);
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -707,10 +757,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = intLightAPI;
|
|
deviceAPI = intLightAPI;
|
|
LightSwitchType = 3;
|
|
LightSwitchType = 3;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -764,14 +818,18 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = rfDoorCamAPI;
|
|
deviceAPI = rfDoorCamAPI;
|
|
DoorCamType = 1;
|
|
DoorCamType = 1;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- else if (strType.equals(Const.DOOR_CAMERA_TYPE_SMART_KEY) || strType.equals(Const.DOOR_CAMERA_TYPE_IOT_SMART) ||
|
|
|
|
|
|
+ else if (strType.equals(Const.DOOR_CAMERA_TYPE_SMART_KEY) || strType.equals(Const.DOOR_CAMERA_TYPE_SMART_KEY_EXTERNAL) || strType.equals(Const.DOOR_CAMERA_TYPE_IOT_SMART) ||
|
|
strType.equals(Const.DOOR_CAMERA_TYPE_HYOSUNG_SMART) || strType.equals(Const.DOOR_CAMERA_TYPE_DAEWOO_SMART)
|
|
strType.equals(Const.DOOR_CAMERA_TYPE_HYOSUNG_SMART) || strType.equals(Const.DOOR_CAMERA_TYPE_DAEWOO_SMART)
|
|
)
|
|
)
|
|
{
|
|
{
|
|
@@ -781,10 +839,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = smartKeyRfDoorAPI;
|
|
deviceAPI = smartKeyRfDoorAPI;
|
|
DoorCamType = 2;
|
|
DoorCamType = 2;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -856,10 +918,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
IGW200dAPI iGW200dAPI = mWallPadAPI.Get_IGW200dController();
|
|
IGW200dAPI iGW200dAPI = mWallPadAPI.Get_IGW200dController();
|
|
deviceAPI = iGW200dAPI;
|
|
deviceAPI = iGW200dAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -897,10 +963,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
AllLightHDCAPI allLightHDCAPI = mWallPadAPI.Get_AllLightHDCController();
|
|
AllLightHDCAPI allLightHDCAPI = mWallPadAPI.Get_AllLightHDCController();
|
|
deviceAPI = allLightHDCAPI;
|
|
deviceAPI = allLightHDCAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -938,10 +1008,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
EnergyMeterAPI energyMeterAPI = mWallPadAPI.Get_EnergyMeterController();
|
|
EnergyMeterAPI energyMeterAPI = mWallPadAPI.Get_EnergyMeterController();
|
|
deviceAPI = energyMeterAPI;
|
|
deviceAPI = energyMeterAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(deviceAPI == null){return;}
|
|
if(deviceAPI == null){return;}
|
|
@@ -980,10 +1054,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
CutOffConcentAPI cutOffConcentAPI = mWallPadAPI.Get_CutOffConcentController();
|
|
CutOffConcentAPI cutOffConcentAPI = mWallPadAPI.Get_CutOffConcentController();
|
|
deviceAPI = cutOffConcentAPI;
|
|
deviceAPI = cutOffConcentAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(deviceAPI == null){return;}
|
|
if(deviceAPI == null){return;}
|
|
@@ -1022,10 +1100,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
EnergyModuleAPI energyModuleAPI = mWallPadAPI.Get_EnergyModuleController();
|
|
EnergyModuleAPI energyModuleAPI = mWallPadAPI.Get_EnergyModuleController();
|
|
deviceAPI = energyModuleAPI;
|
|
deviceAPI = energyModuleAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
if(deviceAPI == null){return;}
|
|
if(deviceAPI == null){return;}
|
|
@@ -1111,10 +1193,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
SdbAPI sdbAPI = mWallPadAPI.Get_SdbController();
|
|
SdbAPI sdbAPI = mWallPadAPI.Get_SdbController();
|
|
deviceAPI = sdbAPI;
|
|
deviceAPI = sdbAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1153,10 +1239,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
Sdb_LivingRoomLightAPI sdb_livingRoomLightAPI = mWallPadAPI.Get_Sdb_LivingRoomLightAPI();
|
|
Sdb_LivingRoomLightAPI sdb_livingRoomLightAPI = mWallPadAPI.Get_Sdb_LivingRoomLightAPI();
|
|
deviceAPI = sdb_livingRoomLightAPI;
|
|
deviceAPI = sdb_livingRoomLightAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1195,10 +1285,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
ElectricRange_API electricRange_api = mWallPadAPI.Get_ElectricRange_API();
|
|
ElectricRange_API electricRange_api = mWallPadAPI.Get_ElectricRange_API();
|
|
deviceAPI = electricRange_api;
|
|
deviceAPI = electricRange_api;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1434,9 +1528,13 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
intent.setComponent(cn);
|
|
intent.setComponent(cn);
|
|
startActivity(intent);
|
|
startActivity(intent);
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
@@ -1525,10 +1623,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
GasAPI gasApi = mWallPadAPI.Get_GasController(); // 가스제어기 API
|
|
GasAPI gasApi = mWallPadAPI.Get_GasController(); // 가스제어기 API
|
|
deviceAPI = gasApi;
|
|
deviceAPI = gasApi;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1541,10 +1643,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
ElectricRange_API electricRange_api = mWallPadAPI.Get_ElectricRange_API(); // 전기레인지 API
|
|
ElectricRange_API electricRange_api = mWallPadAPI.Get_ElectricRange_API(); // 전기레인지 API
|
|
deviceAPI = electricRange_api;
|
|
deviceAPI = electricRange_api;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1557,10 +1663,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
VentiAPI ventiAPI = mWallPadAPI.Get_VentiController();
|
|
VentiAPI ventiAPI = mWallPadAPI.Get_VentiController();
|
|
deviceAPI = ventiAPI;
|
|
deviceAPI = ventiAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1586,10 +1696,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1602,10 +1716,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
DLockAPI dLockAPI = mWallPadAPI.Get_DLockController();
|
|
DLockAPI dLockAPI = mWallPadAPI.Get_DLockController();
|
|
deviceAPI = dLockAPI;
|
|
deviceAPI = dLockAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1618,10 +1736,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
RealTimeMeterAPI realTimeMeterAPI = mWallPadAPI.Get_RealTimeMeterController();
|
|
RealTimeMeterAPI realTimeMeterAPI = mWallPadAPI.Get_RealTimeMeterController();
|
|
deviceAPI = realTimeMeterAPI;
|
|
deviceAPI = realTimeMeterAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1638,10 +1760,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = smartSwitchPolAPI;
|
|
deviceAPI = smartSwitchPolAPI;
|
|
DebugLogOutput("Get_SmartSwitchPolController");
|
|
DebugLogOutput("Get_SmartSwitchPolController");
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
break;
|
|
break;
|
|
@@ -1653,10 +1779,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = allLightAPI;
|
|
deviceAPI = allLightAPI;
|
|
DebugLogOutput("Get_AllLightController");
|
|
DebugLogOutput("Get_AllLightController");
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
break;
|
|
break;
|
|
@@ -1672,10 +1802,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
deviceAPI = smartSwitchEvtAPI;
|
|
deviceAPI = smartSwitchEvtAPI;
|
|
DebugLogOutput("Get_SmartSwitchEvtController");
|
|
DebugLogOutput("Get_SmartSwitchEvtController");
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
break;
|
|
break;
|
|
@@ -1696,10 +1830,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
LightAPI lightAPI = mWallPadAPI.Get_LightController();
|
|
LightAPI lightAPI = mWallPadAPI.Get_LightController();
|
|
deviceAPI = lightAPI;
|
|
deviceAPI = lightAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
break;
|
|
break;
|
|
@@ -1710,10 +1848,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
MultiSwitchAPI multiSwitchAPI = mWallPadAPI.Get_MultiSwitchController();
|
|
MultiSwitchAPI multiSwitchAPI = mWallPadAPI.Get_MultiSwitchController();
|
|
deviceAPI = multiSwitchAPI;
|
|
deviceAPI = multiSwitchAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
break;
|
|
break;
|
|
@@ -1724,10 +1866,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
IntLightAPI intLightAPI = mWallPadAPI.Get_IntLightController();
|
|
IntLightAPI intLightAPI = mWallPadAPI.Get_IntLightController();
|
|
deviceAPI = intLightAPI;
|
|
deviceAPI = intLightAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
break;
|
|
break;
|
|
@@ -1748,10 +1894,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
RFDoorCamAPI rfDoorCamAPI = mWallPadAPI.Get_RFDoorCamController();
|
|
RFDoorCamAPI rfDoorCamAPI = mWallPadAPI.Get_RFDoorCamController();
|
|
deviceAPI = rfDoorCamAPI;
|
|
deviceAPI = rfDoorCamAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
break;
|
|
break;
|
|
@@ -1762,10 +1912,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
SmartKeyRfDoorAPI smartKeyRfDoorAPI = mWallPadAPI.Get_SmartKeyRfDoorController();
|
|
SmartKeyRfDoorAPI smartKeyRfDoorAPI = mWallPadAPI.Get_SmartKeyRfDoorController();
|
|
deviceAPI = smartKeyRfDoorAPI;
|
|
deviceAPI = smartKeyRfDoorAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
break;
|
|
break;
|
|
@@ -1798,10 +1952,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
IGW200dAPI iGW200dAPI = mWallPadAPI.Get_IGW200dController();
|
|
IGW200dAPI iGW200dAPI = mWallPadAPI.Get_IGW200dController();
|
|
deviceAPI = iGW200dAPI;
|
|
deviceAPI = iGW200dAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1814,10 +1972,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
SdbAPI sdbAPI = mWallPadAPI.Get_SdbController();
|
|
SdbAPI sdbAPI = mWallPadAPI.Get_SdbController();
|
|
deviceAPI = sdbAPI;
|
|
deviceAPI = sdbAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1831,10 +1993,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
Sdb_LivingRoomLightAPI sdb_livingRoomLightAPI = mWallPadAPI.Get_Sdb_LivingRoomLightAPI();
|
|
Sdb_LivingRoomLightAPI sdb_livingRoomLightAPI = mWallPadAPI.Get_Sdb_LivingRoomLightAPI();
|
|
deviceAPI = sdb_livingRoomLightAPI;
|
|
deviceAPI = sdb_livingRoomLightAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1847,10 +2013,13 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
AllLightHDCAPI allLightHDCAPI = mWallPadAPI.Get_AllLightHDCController();
|
|
AllLightHDCAPI allLightHDCAPI = mWallPadAPI.Get_AllLightHDCController();
|
|
deviceAPI = allLightHDCAPI;
|
|
deviceAPI = allLightHDCAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1863,10 +2032,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
EnergyMeterAPI energyMeterAPI = mWallPadAPI.Get_EnergyMeterController();
|
|
EnergyMeterAPI energyMeterAPI = mWallPadAPI.Get_EnergyMeterController();
|
|
deviceAPI = energyMeterAPI;
|
|
deviceAPI = energyMeterAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("",TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1879,10 +2052,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
CutOffConcentAPI cutOffConcentAPI = mWallPadAPI.Get_CutOffConcentController();
|
|
CutOffConcentAPI cutOffConcentAPI = mWallPadAPI.Get_CutOffConcentController();
|
|
deviceAPI = cutOffConcentAPI;
|
|
deviceAPI = cutOffConcentAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1895,10 +2072,14 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
EnergyModuleAPI energyModuleAPI = mWallPadAPI.Get_EnergyModuleController();
|
|
EnergyModuleAPI energyModuleAPI = mWallPadAPI.Get_EnergyModuleController();
|
|
deviceAPI = energyModuleAPI;
|
|
deviceAPI = energyModuleAPI;
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
Log.e(TAG, "[Device_ApiLoad] - " + e.toString());
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
DeviceSetLogOnOff(deviceAPI, position);
|
|
}
|
|
}
|
|
@@ -1922,9 +2103,13 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
}
|
|
}
|
|
devset.closeDB();
|
|
devset.closeDB();
|
|
}
|
|
}
|
|
|
|
+ catch (RuntimeException re) {
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, re);
|
|
|
|
+ }
|
|
catch(Exception e)
|
|
catch(Exception e)
|
|
{
|
|
{
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
@@ -1954,9 +2139,12 @@ public class SettingDebuggingFragment extends Fragment implements SwitchButton.S
|
|
else {
|
|
else {
|
|
Log.w(TAG, "[DeviceSetLogOnOff] position is not available!! -> position : " + position);
|
|
Log.w(TAG, "[DeviceSetLogOnOff] position is not available!! -> position : " + position);
|
|
}
|
|
}
|
|
|
|
+ } catch (RuntimeException re) {
|
|
|
|
+ Log.e(TAG, re.toString());
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
Log.e(TAG, "[Exception] DeviceSetLogOnOff(WallPadDevAPI DeviceAPI, int position)");
|
|
Log.e(TAG, "[Exception] DeviceSetLogOnOff(WallPadDevAPI DeviceAPI, int position)");
|
|
- e.printStackTrace();
|
|
|
|
|
|
+ //e.printStackTrace();
|
|
|
|
+ LogUtil.errorLogInfo("", TAG, e);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|