본문으로 건너뛰기

BS2_ActivateFloor

Floor가 닫힐 때의 우선 순위를 설정하며, 열릴 때의 우선 순위보다 높아야 Floor가 닫힙니다.

함수​

#include "BS_API.h"

int BS2_ActivateFloor(void* context, uint32_t deviceId, BS2_FLOOR_FLAG flag, BS2_LIFT_ID liftID, uint16_t* floorIndexs, uint8_t floorIndexCount);

파라미터​

  • [In] context : Context

  • [In] deviceId : 장치 식별자

  • [In] flag : 추가하고자 하는 floor 닫힘 상태

  • [In] liftID : lift ID

  • [In] floorIndexs : floor Index 리스트

  • [In] floorIndexCount : floor Index의 개수

반환 값​

성공적으로 수행될 경우 BS_SDK_SUCCESS를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.

함께 보기​

BS2_GetLift

BS2_GetAllLift

BS2_GetLiftStatus

BS2_GetAllLiftStatus

BS2_SetLift

BS2_SetLiftAlarm

BS2_RemoveLift

BS2_RemoveAllLift

BS2_ReleaseFloor

BS2_DeActivateFloor

이 페이지가 도움이 되었나요?