ITK Function Reference

(V10000.1.0.60_20160308.00)
ssf0serviceforecasting.h
Go to the documentation of this file.
1 /*
2  Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
3  ==================================================
4  Copyright 2014.
5  Siemens Product Lifecycle Management Software Inc.
6  All Rights Reserved.
7  ==================================================
8  Copyright 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.
9 */
10 
29 #ifndef SSF0SERVICEFORECASTING_H
30 #define SSF0SERVICEFORECASTING_H
31 
32 #include <unidefs.h>
33 #include <ssf0serviceforecasting/libssf0serviceforecasting_exports.h>
34 
42 #define SSF0MADISPOSITION_ATTR "disposition"
43 
45 #define SSF0MAAPPROVAL_ATTR "approval"
46 
48 #define SSF0MAAPPROVAL_VAL "Rejected"
49 
51 #define SSF0MADISPOSITION_VAL "Cancelled"
52 
54 #define SSF0MADISPOSITIONCOMPLETE_VAL "Completed"
55 
57 #define SSF0ACTIONEXTENSION_REL "SSF0ActionExtension"
58 
60 #define OBJECTSTRING_ATTR "object_string"
61 
63 #define SSF0VOIDED_REL "STP0Voided"
64 
66 #define CORRECTIVEACTION_REL "CorrectiveAction"
67 
69 #define SSF0INPROGRESS_ATTR "InProgress"
70 
72 #define INPROGRESS_REL "InProgress"
73 
75 #define ISEXTENSIONPENDING_ATTR "ssf0IsExtensionPending"
76 
78 #define SSF0MAAPPROVALCOMPLETED "Approved"
79 
81 #define SSF0COMPLETED_REL "Completed"
82 
84 #define SSF0FND0STATE_ATTR "fnd0state"
85 
87 #define SSF0FND0STATE_COMPLETE "Complete"
88 
90 #define SSF0FND0STATE_CLOSED "Closed"
91 
93 #define SSF0FND0STATE_ABORTED "Aborted"
94 
96 #define SSS0JOBACTIVITYREVISIONCLASS "SSS0JobActivityRevision"
97 
99 #define SSS0WORKORDERREVISIONCLASS "SSS0SvcWorkOrderRevision"
100 
101 
102 #ifdef __cplusplus
103  extern "C"{
104 #endif
105 
106 
111 typedef struct
112 {
128 
129 
130 
135 typedef struct
136 {
152 
153 
158 typedef struct
159 {
179 
180 
191 extern SSF0SERVICEFORECASTING_API int SSF0SERVICEFORECASTING_init_module();
192 
204 extern SSF0SERVICEFORECASTING_API int SSF0SERVICEFORECASTING_create_maintenance_action (
205  const SSF0SERVICEFORECASTING_create_maintenance_action_t * maintenance_action_info,
206  tag_t* created_maintenance_action
207  );
208 
218 extern SSF0SERVICEFORECASTING_API int SSF0SERVICEFORECASTING_cancel_maintenance_action (
219  int num_cancel_maintenance_actions,
220  const tag_t* cancel_maintenance_actions
221  );
222 
223 
233 extern SSF0SERVICEFORECASTING_API int SSF0SERVICEFORECASTING_complete_maintenance_action(
234  int num_complete_maintenance_actions,
235  const tag_t* complete_maintenance_actions
236  );
237 
238 
248 extern SSF0SERVICEFORECASTING_API int SSF0SERVICEFORECASTING_create_maintenance_extension (
249  int num_extend_maintenance_actions,
250  const tag_t* extend_maintenance_actions,
251  date_t request_date,
252  const char * note
253 );
254 
255 
256 #ifdef __cplusplus
257  }
258 #endif
259 
260 #include <ssf0serviceforecasting/libssf0serviceforecasting_undef.h>
261 
262 #endif