엔티티 위치 업데이트

수신 이벤트의 지리적 데이터를 기반으로 엔티티의 위치를 업데이트합니다.

다음 예에서 parking tariff zone 위치는 비즈니스 모델에서 다각형으로 정의됩니다. parking tariff zone 위치는 parking tariff zone update 이벤트가 이벤트를 처리하는 에이전트에 도착할 때 업데이트됩니다.

when a parking tariff zone update occurs
then   set the area of 'the parking tariff zone' to the updated area of 'the parking tariff zone update' ;

다음 예제에서 car의 위치는 비즈니스 모델에서 점으로 정의됩니다. car 위치의 경도 및 위도는 car arrival 이벤트가 이 이벤트를 처리하는 에이전트에 도달하면 업데이트됩니다.

when a car arrival occurs
if
   the arrival location of this car arrival is Valbonne
then   set the location of 'the car' to the point with 7.0095 as longitude and 43.6424 as latitude ;