~~NOTOC~~ [[zone_control_api]] > [[BS2_SetDeviceZoneAlarm]] ---- ===== BS2_SetDeviceZoneAlarm===== Ethernet 구역의 경보 상태를 갱신합니다. ==== 지원장치 종류 ==== BioStation 2 (1.5.0 only) \\ BioStatioin A2 (1.4.0 only) \\ BioEntry P2 (1.0.0 only) \\ ==== 함수 ==== #include "BS_API.h" int BS2_SetDeviceZoneAlarm(void* context, BS2_DEVICE_ID deviceId, uint8_t alarmed, BS2_ZONE_ID* zoneIds, uint32_t zoneIdCount); ==== 파라미터 ==== * [In] ''//context//'' : Context * [In] ''//deviceId//'' : 장치 식별자 * [In] ''//alarmed//'' : 경보 발생 유무 * [In] ''//zoneIds//'' : device zone id 리스트 * [In] ''//zoneIdCount//'' : device zone id 리스트의 개수 ==== 반환값 ==== 성공적으로 수행될 경우 ''BS_SDK_SUCCESS''를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다. ==== 함께 보기 ==== [[BS2_GetDeviceZone]]\\ [[BS2_GetAllDeviceZone]]\\ [[BS2_SetDeviceZone]]\\ [[BS2_RemoveDeviceZone]]\\ [[BS2_RemoveIntrusionAlarmZone]]\\ [[BS2_RemoveAllDeviceZone]]