エンティティーの位置の更新

着信イベントからの地理的データに基づいてエンティティーの位置を更新します。

以下の例で、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 ;