Newer
Older
module LocationAPI_Templates {
// LibCommon
import from LibCommon_BasicTypesAndValues all;
// LibMec/LocationAPI
import from LocationAPI_TypesAndValues all;
import from LocationAPI_Pixits all;
template (value) UserInfo m_user_info(
in universal charstring p_access_point_id := PX_ACCESS_POINT_ID,
in universal charstring p_zone_id := PX_ZONE_ID,
in universal charstring p_resource_url := PX_RESOURCE_URL
accessPointId := p_access_point_id,
zoneId := p_zone_id,
resourceURL := p_resource_url,
locationInfo := omit,
contextLocationInfo := omit,
ancillaryInfo := omit
} // End of template m_user_info
template (present) UserInfo mw_user_info(
template (present) universal charstring p_address := ?,
template (present) universal charstring p_access_point_id := ?,
template (present) universal charstring p_zone_id := ?,
template (present) universal charstring p_resource_url := ?
accessPointId := p_access_point_id,
zoneId := p_zone_id,
resourceURL := p_resource_url,
locationInfo := *,
contextLocationInfo := *,
ancillaryInfo := *
} // End of template mw_user_info
template (omit) UserList m_user_list(
in template (omit) UserInfos p_userInfo := omit,
in universal charstring p_resource_url
) := {
user := p_userInfo,
resourceURL := p_resource_url
} // End of template m_user_list
template UserList mw_user_list(
template UserInfos p_userInfo := *,
template (present) universal charstring p_resource_url := ?
) := {
user := p_userInfo,
resourceURL := p_resource_url
} // End of template mw_user_list
template (value) LocationInfo m_location_info(
in float p_latitude,
in float p_longitude,
in integer p_accuracy
) := {
latitude := p_latitude,
longitude := p_longitude,
altitude := omit,
accuracy := p_accuracy
} // End of template m_location_info
template (present) LocationInfo mw_location_info(
template (present) float p_latitude := ?,
template (present) float p_longitude := ?,
template (present) integer p_accuracy := ?
) := {
latitude := p_latitude,
longitude := p_longitude,
altitude := *,
accuracy := p_accuracy
} // End of template mw_location_info
template (value) ZoneInfo m_zone_info(
in universal charstring p_zone_id := PX_ZONE_ID,
in UInt32 p_number_of_access_points := PX_NB_ACCESS_POINTS,
in UInt32 p_number_of_unservicable_access_points := PX_NB_UNSERVICABLEL_ACCESS_POINTS,
in UInt32 p_number_of_users := PX_NB_USERS,
in universal charstring p_resource_url := PX_RESOURCE_URL
zoneId := p_zone_id,
numberOfAccessPoints := p_number_of_access_points,
numberOfUnservicableAccessPoints := p_number_of_unservicable_access_points,
numberOfUsers := p_number_of_users,
resourceURL := p_resource_url
} // End of template m_zone_info
template (present) ZoneInfo mw_zone_info(
template (present) universal charstring p_zone_id := ?,
template (present) UInt32 p_number_of_access_points := ?,
template (present) UInt32 p_number_of_unservicable_access_points := ?,
template (present) UInt32 p_number_of_users := ?,
template (present) universal charstring p_resource_url := ?
zoneId := p_zone_id,
numberOfAccessPoints := p_number_of_access_points,
numberOfUnservicableAccessPoints := p_number_of_unservicable_access_points,
numberOfUsers := p_number_of_users,
resourceURL := p_resource_url
} // End of template mw_zone_info
} // End of module LocationAPI_Templates