|
ITK Function Reference
(V10000.1.0.60_20160308.00) |
Data Structures | |
| struct | DPV_date_time_range_t |
| struct | DPV_db_info_s |
| struct | DPV_event_s |
| struct | DPV_event_trace_value_s |
| struct | DPV_ftr_actual_value_s |
| struct | DPV_job_range_t |
| struct | DPV_job_t |
| struct | DPV_limits_s |
| struct | DPV_log_s |
| struct | DPV_mapped_ftr_data_s |
| struct | DPV_measurement_input_s |
| struct | DPV_pf_limit_s |
| struct | DPV_precal_routine_only_s |
| union | DPV_range_filter_t |
| struct | DPV_routine_set_s |
| struct | DPV_search_criteria_s |
| struct | GDIS_date_time_range_t |
| struct | GDIS_precal_routine_only_s |
Enumerations | |
| enum | DPV_range_filter_given_t { LAST_N_JOBS, LAST_N_HRS, LAST_N_MIN, DATETIME_RANGE, JSN_RANGE, JSN } |
Functions | |
| GDIS_API int | call_trigger_service (char **routines, int count) |
| GDIS_API int | DPV_add_cluster_to_cluster_group (char *cluster_group_uid, char *cluster_uid) |
| GDIS_API int | DPV_add_cluster_to_clustergroup (char *cluster_group_id, char *cluster_group_rev, char *cluster_id, char *cluster_rev) |
| GDIS_API int | DPV_cluster_get_ftratt (char *routine_id, char *routine_rev, char *cluster_uid, int *count_ftratt, char ***ftr_uid_list, char ***ftratt_code_list) |
| GDIS_API int | DPV_cluster_group_get_clusters (char *cluster_group_uid, int *count_clusters, char ***cluster_uid_list) |
| GDIS_API int | DPV_create_cluster (char *routine_id, char *routine_rev, char *cluster_name, char *cluster_desc, int num_ftratt, char **ftr_uid_list, char **ftratt_code_list, char **cluster_uid) |
| GDIS_API int | DPV_create_cluster_group (char *cluster_group_name, char *cluster_group_desc, int num_clusters, char **cluster_uid_list, char **cluster_group_uid) |
| GDIS_API int | DPV_create_cluster_on_routine (char *routine_id, char *routine_rev, char *cluster_name, char *cluster_desc, int ftr_id_cnt, char **ftr_id, char **ftr_name, char **ftratt_code, char **cluster_id, char **cluster_rev) |
| GDIS_API int | DPV_create_clustergroup (char *cluster_group_name, char *cluster_group_desc, int num_clusters, char **cluster_id, char **cluster_rev, char **cluster_group_id, char **cluster_group_rev) |
| GDIS_API int | DPV_del_cluster_frm_cluster_grp (char *cluster_group_uid, char *cluster_uid) |
| GDIS_API int | DPV_del_cluster_rev (char *cluster_id, char *cluster_rev) |
| GDIS_API int | DPV_delete_cluster (char *cluster_uid) |
| GDIS_API int | DPV_does_cluster_exist (char *cluster_id, char *cluster_rev, logical *answer) |
| GDIS_API int | DPV_edit_cluster (char *cluster_id, char *cluster_rev, int ftr_id_cnt, char **ftr_id, char **ftr_name, char **ftratt_code) |
| GDIS_API int | DPV_get_ai_token (int *ai_token) |
| GDIS_API int | DPV_get_cluster_content (char *cluster_id, char *cluster_rev, int *ret_count, char ***ftr_id, char ***ftr_name, char ***ftratt_code) |
| GDIS_API int | DPV_get_clusters_of_clustergroup (char *cluster_group_id, char *cluster_group_rev, int *ret_count, char ***cluster_id, char ***cluster_rev) |
| GDIS_API int | DPV_get_common_ai_token (int *common_ai_token) |
| GDIS_API int | DPV_get_dbinfo_for_plant (char *plant_id, DPV_db_info_p_t *db_info) |
| GDIS_API int | DPV_get_device_types (char *plant_id, char *vehicle_program, int *num_results, char ***device_types) |
| GDIS_API int | DPV_get_devices (char *plant_id, char *vehicle_program, char *device_type, char *part_name, char *routine_id, int *num_results, char ***devices) |
| GDIS_API int | DPV_get_event_types (char *plant_id, char *vehicle_program, char *device_type, char *part_name, char *routine_id, int *num_results, char ***event_types) |
| GDIS_API int | DPV_get_mapped_ftr_data (DPV_routine_set_t routine_set, DPV_mapped_ftr_data_p_t *mapped_ftr_data) |
| GDIS_API int | DPV_get_parts (char *plant_id, char *vehicle_program, char *device_type, int *num_results, char ***part_names) |
| GDIS_API int | DPV_get_phases (char *plant_id, char *vehicle_program, char *device_type, char *part_name, char *routine_id, int *num_results, char ***phase_names) |
| GDIS_API int | DPV_get_plants (int *num_results, char ***plant_ids) |
| GDIS_API int | DPV_get_prec_on_target_for_routine (char *plant_id, char *routine_id, char *routine_rev, DPV_date_time_range_t date_range, char *spec_set_code, DPV_precal_routine_only_p_t *routine_cal) |
| GDIS_API int | DPV_get_raw_data_for_routine (DPV_search_criteria_t search_criteria, DPV_range_filter_t range_filter, char **raw_data_read_ticket) |
| GDIS_API int | DPV_get_routines (char *plant_id, char *vehicle_program, char *device_type, char *part_name, int *num_results, char ***routine_ids) |
| GDIS_API int | DPV_get_vehicle_programs (char *plant_id, int *num_results, char ***vehicle_programs) |
| GDIS_API int | DPV_import_feature_data (tag_t routine_revision, char *read_ticket, char *ds_name, char *ds_description) |
| GDIS_API int | DPV_insert (DPV_measurement_input_p_t measurement_input, int *ai_token, int *common_ai_token) |
| GDIS_API int | DPV_insert_event (DPV_event_t event_row_values, char **event_sys_id) |
| GDIS_API int | DPV_insert_event_trace_values (DPV_event_trace_value_p_t event_trace_values, char *plant_id, char *event_sys_id) |
| GDIS_API int | DPV_insert_feature_actuals (DPV_ftr_actual_value_p_t feature_actuals, char *plant_id, char *event_sys_id) |
| GDIS_API int | DPV_insert_feature_actuals_new (DPV_ftr_actual_value_p_t feature_actuals, char *plant_id, char *event_sys_id, char *routine_id, logical isTrigger) |
| GDIS_API int | DPV_insert_log (DPV_log_p_t log_input, int *ai_token, int *common_ai_token) |
| GDIS_API int | DPV_insert_pf_reject_limit (DPV_pf_limit_p_t reject_limit_input) |
| GDIS_API int | DPV_insert_pf_spec_limit (DPV_pf_limit_p_t spec_limit_input) |
| GDIS_API int | DPV_is_engg_obj_available (char *engg_obj_uid, logical *answer) |
| GDIS_API int | DPV_modify_cluster (char *routine_id, char *routine_rev, char *cluster_uid, int num_ftratt, char **ftr_uid_list, char **ftratt_code_list) |
| GDIS_API int | DPV_relation_bw_Ruleset_RoutineRev (tag_t xlsbDatasetTag, tag_t routineRevTag) |
| GDIS_API int | DPV_rem_cluster_frm_cluster_grp (char *cluster_group_id, char *cluster_group_rev, char *cluster_id, char *cluster_rev) |
| GDIS_API int | DPV_rem_cluster_on_routine (char *routine_id, char *routine_rev, char *cluster_id, char *cluster_rev) |
| GDIS_API int | DPV_update_ai_token () |
| GDIS_API int | DPV_update_common_ai_token () |
| GDIS_API int | DPV_update_event_col (char *plant_id, char *event_sys_id, char *column_name, char *new_value) |
| GDIS_API int | GDIS_get_prec_on_target_for_routine (char *routine_id, char *routine_rev, GDIS_date_time_range_t date_range, char *spec_set_code, GDIS_precal_routine_only_p_t *routine_cal) |
| GDIS_API int | getCustomXLSBForXLSX (tag_t dpvExcelDsTag, tag_t *xlsbDsTag) |
GDIS API provides a programming interface for the Oracle Tables that store the "measurement" data. It is assumed that the reader is familiar with the GDIS system and terminology. The API is also highly tailored for the other components of GDIS.
| typedef struct DPV_db_info_s * DPV_db_info_p_t |
| typedef struct DPV_db_info_s DPV_db_info_t |
| typedef struct DPV_event_s * DPV_event_p_t |
| typedef struct DPV_event_s DPV_event_t |
Structure for providing the Event data during input.
| typedef struct DPV_event_trace_value_s * DPV_event_trace_value_p_t |
| typedef struct DPV_event_trace_value_s DPV_event_trace_value_t |
Structure for providing the Event Trace data during input.
| typedef struct DPV_ftr_actual_value_s * DPV_ftr_actual_value_p_t |
| typedef struct DPV_ftr_actual_value_s DPV_ftr_actual_value_t |
Structure for providing the Feature Actual data during input.
| typedef struct DPV_limits_s * DPV_limits_p_t |
| typedef struct DPV_limits_s DPV_limits_t |
Structure for providing the Feature spec limits information
| typedef struct DPV_log_s * DPV_log_p_t |
Structure for providing the Log information NOTE: For values of the type Date Time, the format expected is: dd-mon-yy HH24:MI:SS
| typedef struct DPV_mapped_ftr_data_s * DPV_mapped_ftr_data_p_t |
| typedef struct DPV_mapped_ftr_data_s DPV_mapped_ftr_data_t |
| typedef struct DPV_measurement_input_s * DPV_measurement_input_p_t |
| typedef struct DPV_measurement_input_s DPV_measurement_input_t |
Structure for providing the Event data during input. NOTE: For values of the type Date Time, the format expected is: dd-mon-yy HH24:MI:SS
| typedef struct DPV_pf_limit_s * DPV_pf_limit_p_t |
| typedef struct DPV_pf_limit_s DPV_pf_limit_t |
Structure for providing the spec set and Reject Limits NOTE: For values of the type Date Time, the format expected is: dd-mon-yy HH24:MI:SS
| typedef struct DPV_precal_routine_only_s * DPV_precal_routine_only_p_t |
| typedef struct DPV_precal_routine_only_s DPV_precal_routine_only_t |
| typedef struct DPV_routine_set_s * DPV_routine_set_p_t |
| typedef struct DPV_routine_set_s DPV_routine_set_t |
| typedef struct DPV_search_criteria_s DPV_search_criteria_t |
A structure to hold the search criteria to be used for fetching feature actuals data from measurement tables. The Routine id and the revision is used for fetching the engineering data. Routine revision is not considered for the measurement data, though
| typedef struct GDIS_precal_routine_only_s * GDIS_precal_routine_only_p_t |
| typedef struct GDIS_precal_routine_only_s GDIS_precal_routine_only_t |
An enum to hold the range filter given during the search
| GDIS_API int call_trigger_service | ( | char ** | routines, |
| int | count | ||
| ) |
This function is used for to call the trigger service.(I) Routines count
| routines | (I) Array of routines |
| GDIS_API int DPV_add_cluster_to_cluster_group | ( | char * | cluster_group_uid, |
| char * | cluster_uid | ||
| ) |
This function is used to add a cluster to a cluster-group.
| cluster_group_uid | (I) UID of the cluster-group |
| cluster_uid | (I) UID of the cluster |
| GDIS_API int DPV_add_cluster_to_clustergroup | ( | char * | cluster_group_id, |
| char * | cluster_group_rev, | ||
| char * | cluster_id, | ||
| char * | cluster_rev | ||
| ) |
This function is used to add clusters to a cluster group.
| cluster_group_id | (I) Cluster Group Id |
| cluster_group_rev | (I) Cluster Group Revision |
| cluster_id | (I) Cluster Id in which you are interested to add |
| cluster_rev | (I) Revision of above given cluster id. |
| GDIS_API int DPV_cluster_get_ftratt | ( | char * | routine_id, |
| char * | routine_rev, | ||
| char * | cluster_uid, | ||
| int * | count_ftratt, | ||
| char *** | ftr_uid_list, | ||
| char *** | ftratt_code_list | ||
| ) |
This function is used to get the feature-attributes of a cluster.
| routine_id | (I) Routine Item Id |
| routine_rev | (I) Routine Revision |
| cluster_uid | (I) UID of the cluster, whose feature attributes are to be fetched |
| count_ftratt | (O) Number of feature attributes found |
| ftr_uid_list | (OF) Array of UIDs of features |
| ftratt_code_list | (OF) Array of feature-attribute codes |
| GDIS_API int DPV_cluster_group_get_clusters | ( | char * | cluster_group_uid, |
| int * | count_clusters, | ||
| char *** | cluster_uid_list | ||
| ) |
This function is used to obtain the clusters of a cluster-group.
| cluster_group_uid | (I) UID of the cluster-group |
| count_clusters | (O) Number of clusters found |
| cluster_uid_list | (OF) Array off UIDs of clusters found |
| GDIS_API int DPV_create_cluster | ( | char * | routine_id, |
| char * | routine_rev, | ||
| char * | cluster_name, | ||
| char * | cluster_desc, | ||
| int | num_ftratt, | ||
| char ** | ftr_uid_list, | ||
| char ** | ftratt_code_list, | ||
| char ** | cluster_uid | ||
| ) |
This function is used for creating a cluster.
| routine_id | (I) Routine Item Id |
| routine_rev | (I) Routine Revision |
| cluster_name | (I) Name of the cluster to be created |
| cluster_desc | (I) Description of the cluster to be created |
| num_ftratt | (I) Number of feature attributes |
| ftr_uid_list | (I) Array of UIDs of features, whose feature attributes have to be added to the cluster |
| ftratt_code_list | (I) Array of ftratt_codes of the feature attributes to be added to the cluster |
| cluster_uid | (OF) UID of the cluster created |
| GDIS_API int DPV_create_cluster_group | ( | char * | cluster_group_name, |
| char * | cluster_group_desc, | ||
| int | num_clusters, | ||
| char ** | cluster_uid_list, | ||
| char ** | cluster_group_uid | ||
| ) |
This function is used to create a cluster-group.
| cluster_group_name | (I) Name of the cluster-group to be created |
| cluster_group_desc | (I) Description of the cluster-group to be creted. optional |
| num_clusters | (I) Number of feature attributes |
| cluster_uid_list | (I) Array of UIDs of clusters to be inserted in the cluster-group |
| cluster_group_uid | (OF) UID of the cluster-group created |
| GDIS_API int DPV_create_cluster_on_routine | ( | char * | routine_id, |
| char * | routine_rev, | ||
| char * | cluster_name, | ||
| char * | cluster_desc, | ||
| int | ftr_id_cnt, | ||
| char ** | ftr_id, | ||
| char ** | ftr_name, | ||
| char ** | ftratt_code, | ||
| char ** | cluster_id, | ||
| char ** | cluster_rev | ||
| ) |
This function is used to create cluster on routine
| routine_id | (I) routineId |
| routine_rev | (I) routineRev |
| cluster_name | (I) cluster name that you are going to create |
| cluster_desc | (I) cluster description |
| ftr_id_cnt | (I) Number of ftrs that you are sending. |
| ftr_id | (I) Array of ftr_ids |
| ftr_name | (I) Array of ftr_names |
| ftratt_code | (I) Array of ftratt_codes |
| cluster_id | (OF) Cluster Id |
| cluster_rev | (OF) Cluster Rev |
| GDIS_API int DPV_create_clustergroup | ( | char * | cluster_group_name, |
| char * | cluster_group_desc, | ||
| int | num_clusters, | ||
| char ** | cluster_id, | ||
| char ** | cluster_rev, | ||
| char ** | cluster_group_id, | ||
| char ** | cluster_group_rev | ||
| ) |
This function is used to create a cluster-group.
| cluster_group_name | (I) Cluster Group name |
| cluster_group_desc | (I) Cluster Group description |
| num_clusters | (I) Number of clusters that you are going add under cluster group |
| cluster_id | (I) Array of cluster ids |
| cluster_rev | (I) Array of cluster revisions |
| cluster_group_id | (O) Cluster Group Id |
| cluster_group_rev | (O) Revision of above given cluster group id |
| GDIS_API int DPV_del_cluster_frm_cluster_grp | ( | char * | cluster_group_uid, |
| char * | cluster_uid | ||
| ) |
This function is used to remove a cluster from a cluster-group.
| cluster_group_uid | (I) UID of the cluster-group |
| cluster_uid | (I) UID of the cluster |
| GDIS_API int DPV_del_cluster_rev | ( | char * | cluster_id, |
| char * | cluster_rev | ||
| ) |
This function is used to remove cluster rev. First it will remove the relations and references and then it deletes the cluster it self.
| cluster_id | (I) Cluster Id in which you are interested to delete |
| cluster_rev | (I) Revision of above given cluster id |
| GDIS_API int DPV_delete_cluster | ( | char * | cluster_uid | ) |
This function is used to delete a cluster.
| cluster_uid | (I) UID of the Cluster |
| GDIS_API int DPV_does_cluster_exist | ( | char * | cluster_id, |
| char * | cluster_rev, | ||
| logical * | answer | ||
| ) |
This function is used to know whether the given cluster is exist or not
| cluster_id | (I) Cluster Id in which you are interested |
| cluster_rev | (I) Revision of above given cluster id |
| answer | (O) It's a logica value.(true if exist,false if does't |
| GDIS_API int DPV_edit_cluster | ( | char * | cluster_id, |
| char * | cluster_rev, | ||
| int | ftr_id_cnt, | ||
| char ** | ftr_id, | ||
| char ** | ftr_name, | ||
| char ** | ftratt_code | ||
| ) |
This function is used to edit the cluster
| cluster_id | (I) Cluster Id which you are going to edit |
| cluster_rev | (I) Revision of above given cluster id |
| ftr_id_cnt | (I) Number of ftrs that you are sending |
| ftr_id | (I) Array of ftr_ids |
| ftr_name | (I) Array of ftr_names |
| ftratt_code | (I) Array of ftratt_codes |
| GDIS_API int DPV_get_ai_token | ( | int * | ai_token | ) |
This function is used for getting the token to return to factory link.
| ai_token | (O) current value stored in the cell |
| GDIS_API int DPV_get_cluster_content | ( | char * | cluster_id, |
| char * | cluster_rev, | ||
| int * | ret_count, | ||
| char *** | ftr_id, | ||
| char *** | ftr_name, | ||
| char *** | ftratt_code | ||
| ) |
This function is used to get the contents from the given cluster
| cluster_id | (I) Cluster Id which you are interested to get the content |
| cluster_rev | (I) Revision of above given cluster id |
| ret_count | (O) Number of ftrs that you are getting |
| ftr_id | (OF) Array of ftr_ids |
| ftr_name | (OF) Array of ftr_names |
| ftratt_code | (OF) Array of ftratt_codes |
| GDIS_API int DPV_get_clusters_of_clustergroup | ( | char * | cluster_group_id, |
| char * | cluster_group_rev, | ||
| int * | ret_count, | ||
| char *** | cluster_id, | ||
| char *** | cluster_rev | ||
| ) |
This function is used to get cluster from the cluster group
| cluster_group_id | (I) Cluster Group Id |
| cluster_group_rev | (I) Cluster Group Revision |
| ret_count | (O) Count of clusters that will return |
| cluster_id | (OF) Array of cluster ids |
| cluster_rev | (OF) Array of cluster Revisions |
| GDIS_API int DPV_get_common_ai_token | ( | int * | common_ai_token | ) |
This function is used for getting the token to return to factory link.
| common_ai_token | (O) current value stored in the cell |
| GDIS_API int DPV_get_dbinfo_for_plant | ( | char * | plant_id, |
| DPV_db_info_p_t * | db_info | ||
| ) |
This function is used to obtain the database information for a given plant id
| plant_id | (I) The plant id whose data is of interest |
| db_info | (OF) Structure with details of the measurement database |
| GDIS_API int DPV_get_device_types | ( | char * | plant_id, |
| char * | vehicle_program, | ||
| int * | num_results, | ||
| char *** | device_types | ||
| ) |
This function is used for making a query to get Device Types for a given Plant (MEPrPlant) Item Id and Vehicle Program
| plant_id | (I) Item Id of the Plant |
| vehicle_program | (I) Vehicle Program name |
| num_results | (O) Number of Device Types found |
| device_types | (OF) List of the Device Types found |
| GDIS_API int DPV_get_devices | ( | char * | plant_id, |
| char * | vehicle_program, | ||
| char * | device_type, | ||
| char * | part_name, | ||
| char * | routine_id, | ||
| int * | num_results, | ||
| char *** | devices | ||
| ) |
This function is used for making a query to get Device Identifiers for a given Plant Item Id, Vehicle Program, Device Type, Part and Routine (MEOP) Item Id
| plant_id | (I) Item Id of the Plant |
| vehicle_program | (I) Vehicle Program Name |
| device_type | (I) Device Type Name |
| part_name | (I) Part Name |
| routine_id | (I) Routine Item Id |
| num_results | (O) Number of Devices found |
| devices | (OF) List of the Device Identifiers found |
| GDIS_API int DPV_get_event_types | ( | char * | plant_id, |
| char * | vehicle_program, | ||
| char * | device_type, | ||
| char * | part_name, | ||
| char * | routine_id, | ||
| int * | num_results, | ||
| char *** | event_types | ||
| ) |
This function is used for making a query to get Event Types for a given Plant Item Id, Vehicle Program, Device Type, Part and Routine (MEOP) Item Id
| plant_id | (I) Item Id of the Plant |
| vehicle_program | (I) Vehicle Program Name |
| device_type | (I) Device Type Name |
| part_name | (I) Part Name |
| routine_id | (I) Routine Item Id |
| num_results | (O) Number of results |
| event_types | (OF) List of Event Types found |
| GDIS_API int DPV_get_mapped_ftr_data | ( | DPV_routine_set_t | routine_set, |
| DPV_mapped_ftr_data_p_t * | mapped_ftr_data | ||
| ) |
This function is used to obtain the mapped feature attributes for a given pair of routines
| routine_set | (I) R1 & R2 |
| mapped_ftr_data | (OF) Linked List of DPV_mapped_ftr_data_s structures |
| GDIS_API int DPV_get_parts | ( | char * | plant_id, |
| char * | vehicle_program, | ||
| char * | device_type, | ||
| int * | num_results, | ||
| char *** | part_names | ||
| ) |
This function is used for making a query to get Device Types for a given Plant (MEPrPlant) Item Id, Vehicle Program and Device Type
| plant_id | (I) Item Id of the Plant |
| vehicle_program | (I) Vehicle Program name |
| device_type | (I) Device Type name |
| num_results | (O) Number of Parts found |
| part_names | (OF) List of the Part Names found |
| GDIS_API int DPV_get_phases | ( | char * | plant_id, |
| char * | vehicle_program, | ||
| char * | device_type, | ||
| char * | part_name, | ||
| char * | routine_id, | ||
| int * | num_results, | ||
| char *** | phase_names | ||
| ) |
This function is used for making a query to get Phase Names for a given Plant Item Id, Vehicle Program, Device Type, Part and Routine (MEOP) Item Id
| plant_id | (I) Item Id of the Plant |
| vehicle_program | (I) Vehicle Program Name |
| device_type | (I) Device Type Name |
| part_name | (I) Part Name |
| routine_id | (I) Routine Item Id |
| num_results | (O) Number of Phases found |
| phase_names | (OF) List of names of the Phases found |
| GDIS_API int DPV_get_plants | ( | int * | num_results, |
| char *** | plant_ids | ||
| ) |
This function is used for making a query to get Plants.
| num_results | (O) Number of Vehicle Programs found |
| plant_ids | (OF) List of Vehicle Prgrams found |
| GDIS_API int DPV_get_prec_on_target_for_routine | ( | char * | plant_id, |
| char * | routine_id, | ||
| char * | routine_rev, | ||
| DPV_date_time_range_t | date_range, | ||
| char * | spec_set_code, | ||
| DPV_precal_routine_only_p_t * | routine_cal | ||
| ) |
This function is used for getting the precalculated data for a given Search Criteria.
| plant_id | (I) Plant Id |
| routine_id | (I) Routine Item Id |
| routine_rev | (I) Routine Revision |
| date_range | (I) Date range in which percentage on target |
| spec_set_code | (I) Spec set code of interest |
| routine_cal | (OF) Precalculated data |
| GDIS_API int DPV_get_raw_data_for_routine | ( | DPV_search_criteria_t | search_criteria, |
| DPV_range_filter_t | range_filter, | ||
| char ** | raw_data_read_ticket | ||
| ) |
This function is used for getting the raw data for a given Search Criteria. The raw data is written to a text file and a read ticket is given as output
| search_criteria | (I) Search Criteria for fetching measurement data of a Routine |
| range_filter | (I) Range Filter used to control the number of events to be fetched from the measurement data |
| raw_data_read_ticket | (OF) A read ticket for the Raw Data |
| GDIS_API int DPV_get_routines | ( | char * | plant_id, |
| char * | vehicle_program, | ||
| char * | device_type, | ||
| char * | part_name, | ||
| int * | num_results, | ||
| char *** | routine_ids | ||
| ) |
This function is used for making a query to get Item Ids of Routines (MEOP) for a given Plant Item Id, Vehicle Program, Device Type and Part Name
| plant_id | (I) Item Id of the Plant |
| vehicle_program | (I) Vehicle Program Name |
| device_type | (I) Device Type Name |
| part_name | (I) Part Name |
| num_results | (O) Number of Routines found |
| routine_ids | (OF) List of Item Ids of the Routines found |
| GDIS_API int DPV_get_vehicle_programs | ( | char * | plant_id, |
| int * | num_results, | ||
| char *** | vehicle_programs | ||
| ) |
This function is used for making a query to get Vehicle Programs for a given Plant (MEPrPlant) Item Id
| plant_id | (I) Item Id of the Plant |
| num_results | (O) Number of Vehicle Programs found |
| vehicle_programs | (OF) List of Vehicle Prgrams found |
| GDIS_API int DPV_import_feature_data | ( | tag_t | routine_revision, |
| char * | read_ticket, | ||
| char * | ds_name, | ||
| char * | ds_description | ||
| ) |
This function is used to import the feature data for a given routine
| routine_revision | (I) The tag of the routine revision |
| read_ticket | (I) The read ticket of the XML file |
| ds_name | (I) Name of the dataset |
| ds_description | (I) Description of the dataset |
| GDIS_API int DPV_insert | ( | DPV_measurement_input_p_t | measurement_input, |
| int * | ai_token, | ||
| int * | common_ai_token | ||
| ) |
This function is used for inserting the data into Event, Feature Actual and Event Trace tables simultaneously. It makes insertions in bulk.
| measurement_input | (I) Pointer to the Head of the linked list giving the data to be inserted NOTE: GDIS_measurement_input_p_t-event_sys_id is OF |
| ai_token | (I) A token that helps Factory Link to identify the availablity of new AI objects for download |
| common_ai_token | (I) A common token that helps Factory Link to identify the availablity of new AI objects for download |
| GDIS_API int DPV_insert_event | ( | DPV_event_t | event_row_values, |
| char ** | event_sys_id | ||
| ) |
This function is used for making a single row insert in the Event table.
| event_row_values | (I) Values of the row to be inserted in the Event Table |
| event_sys_id | (OF) Event sys id of the insertion made |
| GDIS_API int DPV_insert_event_trace_values | ( | DPV_event_trace_value_p_t | event_trace_values, |
| char * | plant_id, | ||
| char * | event_sys_id | ||
| ) |
This function is used for making a set of insertions in the Event Trace table for a given event_sys_id.
| event_trace_values | (I) Head of the linked list - Insertion to be made in Event Trace table for a given event sys id |
| plant_id | (I) Plant id of the Event to find the DBname and link information |
| event_sys_id | (I) Event sys id of the Event that measured these feature actual values |
| GDIS_API int DPV_insert_feature_actuals | ( | DPV_ftr_actual_value_p_t | feature_actuals, |
| char * | plant_id, | ||
| char * | event_sys_id | ||
| ) |
This function is used for making a set of insertions in the Feature Actual Values table for a given event_sys_id.
| feature_actuals | (I) Head of the linked list - Insertion to be made in Feature Actuals table for a given event sys id |
| plant_id | (I) Plant id of the Event to find the DBname and link information |
| event_sys_id | (I) Event sys id of the Event that measured these feature actual values |
| GDIS_API int DPV_insert_feature_actuals_new | ( | DPV_ftr_actual_value_p_t | feature_actuals, |
| char * | plant_id, | ||
| char * | event_sys_id, | ||
| char * | routine_id, | ||
| logical | isTrigger | ||
| ) |
This function is used for making a set of insertions in the Feature Actual Values table for a given event_sys_id. Here routine_id variable is used for to call call_trigger_service function. If routine id is having blank value meaning it is non triggered split routine. If routine id is having non blank value meaning it is triggered split routine and we can call call_trigger_service function.
Here isTrigger value used in the follwoing two cases isTrigger value is TRUE then we are considering it all the split data got inserted. in another case to call the call_trigger_serivice function based on routine id value.
| feature_actuals | (I) Head of the linked list - Insertion to be made in Feature Actuals table for a given event sys id |
| plant_id | (I) Plant id of the Event to find the DBname and link information |
| event_sys_id | (I) Event sys id of the Event that measured these feature actual values |
| routine_id | (I) Routine Id of the Event that measured these feature actual values |
| isTrigger | (I)This is trigger_reports property value for the routine |
| GDIS_API int DPV_insert_log | ( | DPV_log_p_t | log_input, |
| int * | ai_token, | ||
| int * | common_ai_token | ||
| ) |
This function is used for making a set of insertions in the Log table
| log_input | (I) Linked list of Log information |
| ai_token | (I) A token that helps Factory Link to identify the availablity of new AI objects for download |
| common_ai_token | (I) A common token that helps Factory Link to identify the availablity of new AI objects for download |
| GDIS_API int DPV_insert_pf_reject_limit | ( | DPV_pf_limit_p_t | reject_limit_input | ) |
This function is used for making a set of insertions in the Reject set limit table
| reject_limit_input | (I) Linked list of Reject set limits |
| GDIS_API int DPV_insert_pf_spec_limit | ( | DPV_pf_limit_p_t | spec_limit_input | ) |
This function is used for making a set of insertions in the Spec set limit table
| spec_limit_input | (I) Linked list of spec set limits |
| GDIS_API int DPV_is_engg_obj_available | ( | char * | engg_obj_uid, |
| logical * | answer | ||
| ) |
This function is used to check if a given cluster exists.
| engg_obj_uid | (I) UID of the Engineering Object |
| answer | (O) returns true if the cluster is available or false if otherwise |
| GDIS_API int DPV_modify_cluster | ( | char * | routine_id, |
| char * | routine_rev, | ||
| char * | cluster_uid, | ||
| int | num_ftratt, | ||
| char ** | ftr_uid_list, | ||
| char ** | ftratt_code_list | ||
| ) |
This function is used to modify a cluster, i.e. either to add feature-attributes to a cluster or to remove feature-atributes from a cluster.
| routine_id | (I) Routine Item Id |
| routine_rev | (I) Routine Revision |
| cluster_uid | (I) UID of the cluster to be modified |
| num_ftratt | (I) Number of feature attributes |
| ftr_uid_list | (I) Array of UIDs of features, whose feature attributes would replace the existing list |
| ftratt_code_list | (I) Array of ftratt_codes of the feature attributes which would replace the existing list in Cluster |
This function is used to create the relationship between routine revision to xlsb dataset.
| xlsbDatasetTag | (I) The tag of the xlsb dataset |
| routineRevTag | (I) The tag of the routine revision |
| GDIS_API int DPV_rem_cluster_frm_cluster_grp | ( | char * | cluster_group_id, |
| char * | cluster_group_rev, | ||
| char * | cluster_id, | ||
| char * | cluster_rev | ||
| ) |
This function is used to remove the cluster from the cluster group.
| cluster_group_id | (I) Cluster Group Id |
| cluster_group_rev | (I) Cluster Group Revision |
| cluster_id | (I) Cluster Id in which you are interested to remove |
| cluster_rev | (I) Revision of above given cluster id |
| GDIS_API int DPV_rem_cluster_on_routine | ( | char * | routine_id, |
| char * | routine_rev, | ||
| char * | cluster_id, | ||
| char * | cluster_rev | ||
| ) |
This function is used to remove the cluster from the routine.
| routine_id | (I) Routine Id which your interested cluster having relation |
| routine_rev | (I) Revision of above given routine id |
| cluster_id | (I) Cluster Id which you are interested to remove |
| cluster_rev | (I) Revision of above given cluster id |
| GDIS_API int DPV_update_ai_token | ( | ) |
This function is used for getting the token to return to factory link.
| GDIS_API int DPV_update_common_ai_token | ( | ) |
This function is used for getting the token to return to factory link.
| GDIS_API int DPV_update_event_col | ( | char * | plant_id, |
| char * | event_sys_id, | ||
| char * | column_name, | ||
| char * | new_value | ||
| ) |
This function is used for updation of measmt event values
| plant_id | (I) Plant Id of the Event to find the DBname and link information |
| event_sys_id | (I) Event Sys Id of the Event whose event type is to be updated |
| column_name | (I) Name of the column to be updated |
| new_value | (I) New value of the Column for the given Event Sys Id |
| GDIS_API int GDIS_get_prec_on_target_for_routine | ( | char * | routine_id, |
| char * | routine_rev, | ||
| GDIS_date_time_range_t | date_range, | ||
| char * | spec_set_code, | ||
| GDIS_precal_routine_only_p_t * | routine_cal | ||
| ) |
This function is used for getting the precalculated data for a given Search Criteria.
| routine_id | (I) Routine Item Id |
| routine_rev | (I) Routine Revision |
| date_range | (I) Date range in which percentage on target |
| spec_set_code | (I) Spec set code of interest |
| routine_cal | (OF) Precalculated data |