|
@@ -703,18 +703,19 @@ public class ServiceMain extends Service {
|
|
|
|
|
|
else if(attsName.equals("CookTopFinder_Driver"))
|
|
|
{
|
|
|
- ///////////////////////////////////////////
|
|
|
- // CookTopFinder_Driver
|
|
|
- ///////////////////////////////////////////
|
|
|
-
|
|
|
- // 1. Class 생성
|
|
|
- cooktopfinder_Controller = new CookTopFinder_Controller();
|
|
|
-
|
|
|
- // 2. 등록
|
|
|
- RegistrationDeviceManager = cooktopfinder_Controller;
|
|
|
-
|
|
|
- // 3. 초기화체크 드라이버 등록
|
|
|
- ServiceMain.deviceInitChecker.Add(attsName);
|
|
|
+ //2023.03.13 jglee - 하이브리드 쿡탑 과 가스 분별하는 드라이버 사용 안함 주석 처리
|
|
|
+// ///////////////////////////////////////////
|
|
|
+// // CookTopFinder_Driver
|
|
|
+// ///////////////////////////////////////////
|
|
|
+//
|
|
|
+// // 1. Class 생성
|
|
|
+// cooktopfinder_Controller = new CookTopFinder_Controller();
|
|
|
+//
|
|
|
+// // 2. 등록
|
|
|
+// RegistrationDeviceManager = cooktopfinder_Controller;
|
|
|
+//
|
|
|
+// // 3. 초기화체크 드라이버 등록
|
|
|
+// ServiceMain.deviceInitChecker.Add(attsName);
|
|
|
|
|
|
}
|
|
|
else if (attsName.equals("GasValve_Driver")) {
|
|
@@ -735,7 +736,8 @@ public class ServiceMain extends Service {
|
|
|
// 2. 등록
|
|
|
RegistrationDeviceManager = gasValve_Controller;
|
|
|
|
|
|
- bSetDeviceHandler = false;
|
|
|
+ //2023.03.13 jglee - 하이브리드 쿡탑 과 가스 분별하는 드라이버 사용 안함 주석 처리
|
|
|
+ //bSetDeviceHandler = false;
|
|
|
|
|
|
// 3. 초기화체크 드라이버 등록
|
|
|
ServiceMain.deviceInitChecker.Add(attsName);
|
|
@@ -746,17 +748,18 @@ public class ServiceMain extends Service {
|
|
|
// CookTop_Driver
|
|
|
///////////////////////////////////////////
|
|
|
|
|
|
+ //2023.03.13 jglee - 하이브리드 쿡탑 과 가스 분별하는 드라이버 사용 안함 주석 처리
|
|
|
// 0. 로딩여부 판단
|
|
|
// 1. Class 생성
|
|
|
- cooktop_Controller = new Cooktop_Controller();
|
|
|
-
|
|
|
- // 2. 등록
|
|
|
- RegistrationDeviceManager = cooktop_Controller;
|
|
|
-
|
|
|
- bSetDeviceHandler = false;
|
|
|
-
|
|
|
- // 3. 초기화체크 드라이버 등록
|
|
|
- ServiceMain.deviceInitChecker.Add(attsName);
|
|
|
+// cooktop_Controller = new Cooktop_Controller();
|
|
|
+//
|
|
|
+// // 2. 등록
|
|
|
+// RegistrationDeviceManager = cooktop_Controller;
|
|
|
+//
|
|
|
+// bSetDeviceHandler = false;
|
|
|
+//
|
|
|
+// // 3. 초기화체크 드라이버 등록
|
|
|
+// ServiceMain.deviceInitChecker.Add(attsName);
|
|
|
}
|
|
|
else if (attsName.equals("MultiSwitch_Driver")) {
|
|
|
///////////////////////////////////////////
|
|
@@ -1458,15 +1461,21 @@ public class ServiceMain extends Service {
|
|
|
///////////////////////////////////////////
|
|
|
// Curtain_LivingRoom_Driver
|
|
|
///////////////////////////////////////////
|
|
|
+ WallpadDeviceSet mWallpadDeviceSet = new WallpadDeviceSet(svcContext);
|
|
|
+ boolean isUseShading = mWallpadDeviceSet.Get_Shading_Use();
|
|
|
+ mWallpadDeviceSet.closeDB();
|
|
|
+ if(isUseShading)
|
|
|
+ {
|
|
|
+ // 1. Class 생성 (거실)
|
|
|
+ CurtainV1_LivingRoom_controller = new CurtainV1_Controller(false);
|
|
|
|
|
|
- // 1. Class 생성 (거실)
|
|
|
- CurtainV1_LivingRoom_controller = new CurtainV1_Controller(false);
|
|
|
+ // 2. 등록
|
|
|
+ RegistrationDeviceManager = CurtainV1_LivingRoom_controller;
|
|
|
|
|
|
- // 2. 등록
|
|
|
- RegistrationDeviceManager = CurtainV1_LivingRoom_controller;
|
|
|
+ // 3. 초기화체크 드라이버 등록
|
|
|
+ ServiceMain.deviceInitChecker.Add(attsName);
|
|
|
+ }
|
|
|
|
|
|
- // 3. 초기화체크 드라이버 등록
|
|
|
- ServiceMain.deviceInitChecker.Add(attsName);
|
|
|
}
|
|
|
else if (attsName.equals("Curtain_Room_Driver")) {
|
|
|
///////////////////////////////////////////
|
|
@@ -1474,13 +1483,20 @@ public class ServiceMain extends Service {
|
|
|
///////////////////////////////////////////
|
|
|
|
|
|
// 1. Class 생성 (거실)
|
|
|
- CurtainV1_Room_controller = new CurtainV1_Controller(true);
|
|
|
+ WallpadDeviceSet mWallpadDeviceSet = new WallpadDeviceSet(svcContext);
|
|
|
+ boolean isUseShading = mWallpadDeviceSet.Get_Shading_Use();
|
|
|
+ mWallpadDeviceSet.closeDB();
|
|
|
+ if(isUseShading)
|
|
|
+ {
|
|
|
+ CurtainV1_Room_controller = new CurtainV1_Controller(true);
|
|
|
|
|
|
- // 2. 등록
|
|
|
- RegistrationDeviceManager = CurtainV1_Room_controller;
|
|
|
+ // 2. 등록
|
|
|
+ RegistrationDeviceManager = CurtainV1_Room_controller;
|
|
|
+
|
|
|
+ // 3. 초기화체크 드라이버 등록
|
|
|
+ ServiceMain.deviceInitChecker.Add(attsName);
|
|
|
+ }
|
|
|
|
|
|
- // 3. 초기화체크 드라이버 등록
|
|
|
- ServiceMain.deviceInitChecker.Add(attsName);
|
|
|
}
|
|
|
|
|
|
if (RegistrationDeviceManager != null) {
|