#ifndef EPM_HANDLER_COMMON #define EPM_HANDLER_COMMON #include "tinyxml.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "ocilib.h" #include "connor_itk_util.h" #import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename("EOF","adoEOF")rename("BOF","adoBOF") #pragma comment(lib, "WinInet.lib") using namespace std; #ifdef __cplusplus extern "C" { #endif #define DOFREE(obj); extern "C" int POM_AM__set_application_bypass(logical bypass); bool create_adhoc_signoff(tag_t current_task, vector userID); const char * inputFileToFtp(char * filePath); char * getLineCode(char * lineCode); //void removeChar(char* str, char c); char* U2G(const char* utf8); const char* newGUID(); string replace_all_distinct(char* strC, char* old_valueC, char* new_valueC); void split(char *src, const char *separator, char **dest, int *num); int gbk_strlen(const char* str); void stringToLenth(int value, int num, char ** result); bool count(vector values, char * value); void BOMSendToWeixin(char * userId, tag_t rootTask_tag, string message); void itemSendToWeixin(char * userId, tag_t rootTask_tag, string message); void TCFindItem(char * queryName, int n_entries, char ** qry_entries, char ** qry_values, int * n_found, tag_t ** dba_mbrs); void TCGetPropertyValue(tag_t item, char * type, char * propertyName, char ** propertyValue); int ORIGIN_set_bypass(void *returnValue); int ORIGIN_close_bypass(void *returnValue); int RB_SendErpItem(EPM_action_message_t msg); int RB_SendErpBom(EPM_action_message_t msg); int RB_CheckForCompletion(EPM_action_message_t msg); int RB_PLM2LIMS_JCSY(EPM_action_message_t msg); int RB_testquery_ID(EPM_action_message_t msg); bool startsWith(const char* str, char first, char second); char* removeChar(char* str, char charToRemove); char* removeSpaces(char* str); void removeFirstFourChars(char* str); char* getFirstStr(const char* str, int index); void getClassValue(char* value, int id, char** disValue); int RB_SendErpItem_New(EPM_action_message_t msg); int RB_SendErpBom_New(EPM_action_message_t msg); int RB_Send_MDM_GYLX_New(EPM_action_message_t msg); int RB_SendGX_New(EPM_action_message_t msg); int RB_SendErpItem_New_Rule(EPM_rule_message_t msg); int RB_SendErpBom_New_Rule(EPM_rule_message_t msg); int RB_SendErpItem_New_Rule_Release(EPM_rule_message_t msg); int RB_SendErpBom_New_Rule_Release(EPM_rule_message_t msg); int RB_BOM_TO_ERP(EPM_action_message_t msg); #ifdef __cplusplus } #endif #endif /** * @} */