|
@@ -164,9 +164,9 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
if (mDriver.Polling.SearchTryCount++ > MAX_SEARCH_COUNT) {
|
|
|
mDriver.Polling.Status = CookTopFinder_Controller.Driver.PollingList.STATUS.FirstTimeOut;
|
|
|
|
|
|
- Log.i(TAG, "--------------------------------------------------");
|
|
|
- Log.i(TAG, "SearchDevice Fail... FirstTimeOut ");
|
|
|
- Log.i(TAG, "--------------------------------------------------");
|
|
|
+// Log.i(TAG, "--------------------------------------------------");
|
|
|
+// Log.i(TAG, "SearchDevice Fail... FirstTimeOut ");
|
|
|
+// Log.i(TAG, "--------------------------------------------------");
|
|
|
|
|
|
ServiceMain.deviceInitChecker.Remove(super.DeviceName);
|
|
|
ServiceMain.deviceInitChecker.Remove(ServiceMain.cooktop_Controller.DeviceName);
|
|
@@ -179,14 +179,14 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
boolean bRet = Send_GasReplyCheck();// Send_HeatingV1ReplyCheck();
|
|
|
if (bRet) {
|
|
|
mDriver.Polling.GasReplyCount++;
|
|
|
- Log.i(TAG, "Find - HeatingV1 (Count:" + mDriver.Polling.GasReplyCount + ")");
|
|
|
+// Log.i(TAG, "Find - HeatingV1 (Count:" + mDriver.Polling.GasReplyCount + ")");
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
boolean bRet = Send_CookTopReplyCheck();
|
|
|
if (bRet) {
|
|
|
mDriver.Polling.CookTopReplyCount++;
|
|
|
- Log.i(TAG, "Find - HeatingV2 (Count:" + mDriver.Polling.CookTopReplyCount + ")");
|
|
|
+// Log.i(TAG, "Find - HeatingV2 (Count:" + mDriver.Polling.CookTopReplyCount + ")");
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -211,7 +211,7 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
/* [[ Normal ]]
|
|
|
* 평상시 */
|
|
|
else if (mDriver.Polling.Status == CookTopFinder_Controller.Driver.PollingList.STATUS.Normal) {
|
|
|
- Log.w(TAG, "do_ctr - Normal");
|
|
|
+// Log.w(TAG, "do_ctr - Normal");
|
|
|
}
|
|
|
/*
|
|
|
* 예외처리 */
|
|
@@ -239,14 +239,14 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
if( (mDriver.Polling.Status == Driver.PollingList.STATUS.First) ||
|
|
|
(mDriver.Polling.Status == Driver.PollingList.STATUS.FirstTimeOut) )
|
|
|
{
|
|
|
- Log.w(TAG, "[NoSinkCtrl] - Not Yet !!!");
|
|
|
+// Log.w(TAG, "[NoSinkCtrl] - Not Yet !!!");
|
|
|
return "FAIL;" + APIErrorCode.DEVICEISNOTREADY;
|
|
|
}
|
|
|
|
|
|
CtrDevFormat ctrDevFormat = GetCtrDevParamParsing(StrArg, 5);
|
|
|
if(ctrDevFormat.ret != APIErrorCode.C_SUCCESS)
|
|
|
{
|
|
|
- Log.w(TAG, "[NoSinkCtrl] GetCtrDevParamParsing Error (ret:" + ctrDevFormat.ret + ")");
|
|
|
+// Log.w(TAG, "[NoSinkCtrl] GetCtrDevParamParsing Error (ret:" + ctrDevFormat.ret + ")");
|
|
|
return "FAIL;" + APIErrorCode.DEFAULT_PARSING_ERR;
|
|
|
}
|
|
|
|
|
@@ -323,7 +323,7 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
result = "FAIL;"+APIErrorCode.EXCEPTION;
|
|
|
}
|
|
|
catch (Exception e) {
|
|
|
- Log.e(TAG, "[Exception Error] RefreshResult");
|
|
|
+// Log.e(TAG, "[Exception Error] RefreshResult");
|
|
|
//e.printStackTrace();
|
|
|
LogUtil.errorLogInfo("", TAG, e);
|
|
|
result = "FAIL;"+APIErrorCode.EXCEPTION;
|
|
@@ -384,7 +384,7 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- Log.i(TAG, "SearchDevice DeviceNum = " + (byte)(DeviceIdx+1) + " Fail...");
|
|
|
+// Log.i(TAG, "SearchDevice DeviceNum = " + (byte)(DeviceIdx+1) + " Fail...");
|
|
|
}
|
|
|
Sleep(1000);
|
|
|
}
|
|
@@ -476,7 +476,7 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
if(Reply.length < 11)
|
|
|
{
|
|
|
// 길이 체크
|
|
|
- Log.w(TAG, "[Send_CookTopReplyCheck] Reply.length fail ... " + Reply.length);
|
|
|
+// Log.w(TAG, "[Send_CookTopReplyCheck] Reply.length fail ... " + Reply.length);
|
|
|
return false;
|
|
|
}
|
|
|
return true;
|
|
@@ -523,16 +523,16 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
if( (DeviceID != define.DRIVERID_GAS) &&
|
|
|
(DeviceID != define.DRIVERID_COOKTOP) )
|
|
|
{
|
|
|
- Log.w(TAG, "[LoadingDriver] Param : DeviceID Out Of Range !!!(DeviceID:" + DeviceID + ")");
|
|
|
+// Log.w(TAG, "[LoadingDriver] Param : DeviceID Out Of Range !!!(DeviceID:" + DeviceID + ")");
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
|
// 2. Doing
|
|
|
if(DeviceID == define.DRIVERID_GAS)
|
|
|
{
|
|
|
- Log.i(TAG, "+++++++++++++++++++++++++++++++++++++++");
|
|
|
- Log.i(TAG, "DRIVERID_GAS - LOADING ...");
|
|
|
- Log.i(TAG, "+++++++++++++++++++++++++++++++++++++++");
|
|
|
+// Log.i(TAG, "+++++++++++++++++++++++++++++++++++++++");
|
|
|
+// Log.i(TAG, "DRIVERID_GAS - LOADING ...");
|
|
|
+// Log.i(TAG, "+++++++++++++++++++++++++++++++++++++++");
|
|
|
|
|
|
// 드라이버를 시작시킨다.
|
|
|
SendNewDriverStart(DeviceID);
|
|
@@ -546,9 +546,9 @@ public class CookTopFinder_Controller extends DeviceManager
|
|
|
else if(DeviceID == define.DRIVERID_COOKTOP)
|
|
|
{
|
|
|
// V2 로딩
|
|
|
- Log.i(TAG, "+++++++++++++++++++++++++++++++++++++++");
|
|
|
- Log.i(TAG, "DRIVERID_COOKTOP - LOADING ...");
|
|
|
- Log.i(TAG, "+++++++++++++++++++++++++++++++++++++++");
|
|
|
+// Log.i(TAG, "+++++++++++++++++++++++++++++++++++++++");
|
|
|
+// Log.i(TAG, "DRIVERID_COOKTOP - LOADING ...");
|
|
|
+// Log.i(TAG, "+++++++++++++++++++++++++++++++++++++++");
|
|
|
|
|
|
// 드라이버를 시작시킨다.
|
|
|
SendNewDriverStart(DeviceID);
|