~~NOTOC~~
[[zone_control_api]] > [[BS2_SetLiftLockUnlockZone]]
----
===== BS2_SetLiftLockUnlockZone =====
[+ 2.7.0] Lift스케줄 잠금/개방 구역을 설정합니다.
==== 함수 ====
#include "BS_API.h"
int BS2_SetLiftLockUnlockZone(void* context, uint32_t deviceId, BS2LiftLockUnlockZone* zones, uint32_t zoneCount);
[[zone control api#BS2LiftLockUnlockZone|BS2LiftLockUnlockZone 구조체 보기]]
==== 파라미터 ====
* [In] ''//context//'' : Context
* [In] ''//deviceId//'' : 장치 식별자
* [In] ''//zones//'' : Lift lock/unlock zone 리스트
* [In] ''//zoneCount//'' : Lift lock/unlock zone 리스트의 개수
==== 반환값 ====
성공적으로 수행될 경우 ''BS_SDK_SUCCESS''를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.
==== 함께 보기 ====
[[BS2_GetLiftLockUnlockZone]]\\ [[BS2_GetAllLiftLockUnlockZone]]\\ [[BS2_GetLiftLockUnlockZoneStatus]]\\ [[BS2_GetAllLiftLockUnlockZoneStatus]]\\ [[BS2_SetLiftLockUnlockZoneAlarm]]\\ [[BS2_RemoveLiftLockUnlockZone]]\\ [[BS2_RemoveAllLiftLockUnlockZone]]