build(SB): 备份

main
熊朝柱 2 weeks ago
commit 8b69365c4e

8
.idea/.gitignore vendored

@ -0,0 +1,8 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ASMSmaliIdeaPluginConfiguration">
<asm skipDebug="true" skipFrames="true" skipCode="false" expandFrames="false" />
<groovy codeStyle="LEGACY" />
</component>
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
<profile-state>
<expanded-state>
<State>
<id>JUnit</id>
</State>
<State>
<id>JVM 语言</id>
</State>
<State>
<id>Java</id>
</State>
<State>
<id>Java 5Java 语言级别迁移帮助Java</id>
</State>
<State>
<id>Java 8Java 语言级别迁移帮助Java</id>
</State>
<State>
<id>Java 语言级别迁移帮助Java</id>
</State>
<State>
<id>JavadocJava</id>
</State>
<State>
<id>Spring</id>
</State>
<State>
<id>Spring AOPSpring</id>
</State>
<State>
<id>TestNGJava</id>
</State>
<State>
<id>代码成熟度Java</id>
</State>
<State>
<id>性能Java</id>
</State>
<State>
<id>数值问题Java</id>
</State>
<State>
<id>类结构Java</id>
</State>
<State>
<id>线程问题Java</id>
</State>
<State>
<id>编译器问题Java</id>
</State>
</expanded-state>
<selected-state>
<State>
<id>用户定义</id>
</State>
</selected-state>
</profile-state>
</entry>
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="JavaSE-1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
SB.sdf

Binary file not shown.

@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SB", "SB\SB.vcxproj", "{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}.Debug|x64.ActiveCfg = Debug|x64
{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}.Debug|x64.Build.0 = Debug|x64
{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}.Debug|x86.ActiveCfg = Debug|Win32
{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}.Debug|x86.Build.0 = Debug|Win32
{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}.Release|x64.ActiveCfg = Release|x64
{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}.Release|x64.Build.0 = Release|x64
{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}.Release|x86.ActiveCfg = Release|Win32
{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Binary file not shown.

@ -0,0 +1,33 @@
#include <tc/tc.h>
#include <tccore\custom.h>
#include <server_exits\user_server_exits.h>
#include "Register_handler.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @fn extern "C" DLLAPI int liborigin_register_callbacks
* @return usually return ITK_ok
* @brief liborigin customization entry
* dll"_"
*/
DLLAPI int SB_register_callbacks()
{
int ifail = ITK_ok;
TC_write_syslog("*******************************************************************************\n");
TC_write_syslog("* SB register_callbacks is starting *\n");
TC_write_syslog("*******************************************************************************\n");
ITKCALL(ifail = CUSTOM_register_exit("SB", "USER_gs_shell_init_module",(CUSTOM_EXIT_ftn_t)registerHandler));
fprintf(stdout, "\n SB register registerHandler completed!\n");
return ifail;
}
#ifdef __cplusplus
}
#endif

@ -0,0 +1,30 @@
========================================================================
控制台应用程序SB 项目概述
========================================================================
应用程序向导已为您创建了此 SB 应用程序。
本文件概要介绍组成 SB 应用程序的每个文件的内容。
SB.vcxproj
这是使用应用程序向导生成的 VC++ 项目的主项目文件,其中包含生成该文件的 Visual C++ 的版本信息,以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
SB.vcxproj.filters
这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。它包含有关项目文件与筛选器之间的关联信息。在 IDE 中,通过这种关联,在特定节点下以分组形式显示具有相似扩展名的文件。例如,“.cpp”文件与“源文件”筛选器关联。
SB.cpp
这是主应用程序源文件。
/////////////////////////////////////////////////////////////////////////////
其他标准文件:
StdAfx.h, StdAfx.cpp
这些文件用于生成名为 SB.pch 的预编译头 (PCH) 文件和名为 StdAfx.obj 的预编译类型文件。
/////////////////////////////////////////////////////////////////////////////
其他注释:
应用程序向导使用“TODO:”注释来指示应添加或自定义的源代码部分。
/////////////////////////////////////////////////////////////////////////////

@ -0,0 +1,73 @@
#include <server_exits/user_server_exits.h>
#include <tccore/custom.h>
#include <tccore/item_msg.h>
#include <epm/epm.h>
#include "Register_handler.h"
#include "SB_handler.h"
/*
handler
*/
extern DLLAPI int registerHandler(int *decision, va_list args)
{
int ifail = ITK_ok;
ifail = EPM_register_action_handler("Lao", "Lao", (EPM_action_handler_t)Lao);
if (ifail == 0) {
printf("Register action handler Lao successful\n");
}
else {
printf("Register action handler Lao failed %d\n", ifail);
}
ifail = EPM_register_action_handler("Xin", "Xin", (EPM_action_handler_t)Xin);
if (ifail == 0) {
printf("Register action handler Xin successful\n");
}
else {
printf("Register action handler Xin failed %d\n", ifail);
}
ifail = EPM_register_action_handler("convertToPDF", "convertToPDF", (EPM_action_handler_t)convertToPDF);
if (ifail == 0) {
printf("Register action handler convertToPDF successful\n");
}
else {
printf("Register action handler convertToPDF failed %d\n", ifail);
}
ifail = EPM_register_action_handler("SB_controlled_Lao", "SB_controlled_Lao", (EPM_action_handler_t)SB_controlled_Lao);
if (ifail == 0) {
printf("Register action handler SB_controlled_Lao successful\n");
}
else {
printf("Register action handler SB_controlled_Lao failed %d\n", ifail);
}
ifail = EPM_register_action_handler("SB_controlled_Xin", "SB_controlled_Xin", (EPM_action_handler_t)SB_controlled_Xin);
if (ifail == 0) {
printf("Register action handler SB_controlled_Xin successful\n");
}
else {
printf("Register action handler SB_controlled_Xin failed %d\n", ifail);
}
ifail = EPM_register_action_handler("SB6_PR_AutoAssign", "SB6_PR_AutoAssign", (EPM_action_handler_t)SB6_PR_AutoAssign);
if (ifail == 0) {
printf("Register action handler SB6_PR_AutoAssign successful\n");
}
else {
printf("Register action handler SB6_PR_AutoAssign failed %d\n", ifail);
}
ifail = EPM_register_rule_handler("Origin_CheckTask_handler2", "Origin_CheckTask_handler2", (EPM_rule_handler_t)Origin_CheckTask_handler2);
if (ifail == 0) {
printf("Register rule handler Origin_CheckTask_handler2 successful\n");
}
else {
printf("Register rule handler Origin_CheckTask_handler2 failed %d\n", ifail);
}
return ifail;
}

@ -0,0 +1,13 @@
#ifndef EPM_REGISTER_HANDLER_CUSTOM
#define EPM_REGISTER_HANDLER_CUSTOM
#include <epm/epm.h>
#ifdef __cplusplus
extern "C" {
#endif
extern DLLAPI int registerHandler(int *, va_list);
#ifdef __cplusplus
}
#endif
#endif

@ -0,0 +1,11 @@
// SB.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
int main()
{
return 0;
}

@ -0,0 +1,173 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C46A29D8-C7B0-429B-9069-EF14C8E5F15A}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>SB</RootNamespace>
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;IPLIB=none;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<AdditionalIncludeDirectories>D:\WorkEnvironment\LiYuan\include;D:\WorkEnvironment\LiYuan\include_cpp;C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include;C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>D:\WorkEnvironment\LiYuan\lib\*.lib;C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\lib\*.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries>libuser_exits.ar.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Register_handler.h" />
<ClInclude Include="SB_handler.h" />
<ClInclude Include="stdafx.h" />
<ClInclude Include="string_helper.h" />
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="Main_lib.cpp" />
<ClCompile Include="Register_handler.cpp" />
<ClCompile Include="SB.cpp" />
<ClCompile Include="SB6_PR_AutoAssign.cpp" />
<ClCompile Include="SB_handler.cpp" />
<ClCompile Include="stdafx.cpp" />
<ClCompile Include="string_helper.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="stdafx.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="targetver.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="Register_handler.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="SB_handler.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="string_helper.h">
<Filter>头文件</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="stdafx.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="SB.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="Main_lib.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="Register_handler.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="SB_handler.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="string_helper.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="SB6_PR_AutoAssign.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

@ -0,0 +1,598 @@
#include "SB_handler.h"
#include "string_helper.h"
using namespace std;
#include <string>
#include <vector>
#include <map>
#include <sstream>
#include <cstring>
#include <iostream>
#define debug true
#define ITK_err 919012
bool inArrays(const std::vector<std::string>& vec, const std::string& value) {
for (const auto& item : vec) {
if (item == value) {
return true;
}
}
return false;
}
void getVector(const char* value, std::vector<std::string>& targetVector, char delimiter) {
std::string strValue(value);
std::stringstream ss(strValue);
std::string item;
// 尝试用指定的分隔符分割字符串
if (std::getline(ss, item, delimiter)) {
// 如果能成功分割,则继续分割剩余部分
targetVector.push_back(item);
while (std::getline(ss, item, delimiter)) {
targetVector.push_back(item);
}
}
else {
// 如果不能分割则将整个字符串添加到vector中
targetVector.push_back(strValue);
}
}
int getPrefStrings(const char* preference, TC_preference_search_scope_t scope, vector<string>& pref_vec)
{
int ifail = ITK_ok, i = 0, j = 0, k = 0, num = 0;
char** values;
TC_preference_search_scope_t old_scope;
//ITKCALL(ifail = PREF_ask_search_scope(&old_scope));
//ITKCALL(ifail = PREF_set_search_scope(scope));
//ITKCALL(ifail = PREF_ask_char_values(preference, &num, &values));
ITKCALL(ifail = PREF_ask_char_values_at_location(preference, scope, &num, &values));
if (ifail != ITK_ok) {
return ifail;
}
for (i = 0; i < num; i++)
{
pref_vec.push_back(values[i]);
}
MEM_free(values);
//ITKCALL(ifail = PREF_set_search_scope(old_scope));
return ifail;
}
void setProcessPointUser(std::string uerID) {
tag_t subtask; //流程节点
string id;//用户id
POM_AM__set_application_bypass(true);
tag_t tmp_select_signoff_task = NULLTAG;
ITKCALL(EPM_ask_sub_task(subtask, EPM_select_signoff_team_task, &tmp_select_signoff_task));
tag_t user;
ITKCALL(SA_find_user2(uerID.c_str(), &user));
int signoff_cnt = 0;
tag_t* signoffs = NULL;
tag_t member = NULL;
SIGNOFF_TYPE_t type;
ITKCALL(EPM_ask_signoff_member(tmp_select_signoff_task, &member, &type));
ITKCALL(EPM_remove_signoffs(tmp_select_signoff_task, 1, &member));
ITKCALL(EPM_create_adhoc_signoff(tmp_select_signoff_task, user, &signoff_cnt, &signoffs));
ITKCALL(EPM_set_adhoc_signoff_selection_done(tmp_select_signoff_task, true));
if (signoffs)
{
MEM_free(signoffs);
signoffs = NULL;
}
POM_AM__set_application_bypass(false);
}
int SB6_PR_AutoAssign(EPM_action_message_t msg) {
printf("========================= SB6_PR_AutoAssign Start ===================\n");
int ifail = ITK_ok;
char* argName = NULL, * argValue = NULL, * arg = NULL;
char objTypes[1024] = "", props[1024] = "",pre_str[1024] = "";
bool isExistRev = false;
int arg_cnt = TC_number_of_arguments(msg.arguments);
printf("参数个数为:%d\n", arg_cnt);
if (arg_cnt > 0)
{
for (int i = 0; i < arg_cnt; i++)
{
arg = TC_next_argument(msg.arguments);
ifail = ITK_ask_argument_named_value((const char*)arg, &argName, &argValue);
if (strcmp(argName, "type") == 0)
{
if (argValue != NULL)
{
strcpy(objTypes, argValue);
}
}
else if (stricmp(argName, "property") == 0)
{
if (argValue != NULL)
{
strcpy(props, argValue);
}
}
else if (stricmp(argName, "Option") == 0)
{
if (argValue != NULL)
{
strcpy(pre_str, argValue);
}
}
}
}
MEM_free(argName);
MEM_free(argValue);
std::vector<std::string> typeVector, propVector;
getVector(objTypes, typeVector, ';');
getVector(props, propVector, ';');
int prop_cnt = propVector.size();
vector<string> pre_values;
if (pre_str != "") {
getPrefStrings(pre_str, TC_preference_site, pre_values);
}
else {
EMH_store_error_s1(EMH_severity_error, ITK_err, "SB6_PR_AutoAssign流程Handler下Option配置的首选项为空!");
return ITK_err;
}
std::vector<std::vector<std::string>> preVectors;
int pre_cnt = 0;
for (const auto& value : pre_values) {
printf("首选项配置值为: %s\n", value.c_str());
std::vector<std::string> preVector;
getVector(value.c_str(), preVector, ';');
if (pre_cnt == 0) {
pre_cnt = preVector.size();
}
else if(prop_cnt != pre_cnt || pre_cnt != preVector.size()) {
EMH_store_error_s1(EMH_severity_error, ITK_err, "SB6_PR_AutoAssign流程Handler下Option的首选项配置长度不一致!");
return ITK_err;
}
preVectors.push_back(preVector);
}
tag_t attachmentTag = NULLTAG;
int attachmentCount = 0;
tag_t rootTask = NULLTAG, * attachmentTags = NULLTAG;
ITKCALL(ifail = EPM_ask_root_task(msg.task, &rootTask));
ITKCALL(ifail = EPM_ask_attachments(rootTask, EPM_target_attachment, &attachmentCount, &attachmentTags));
//遍历所有的流程目标下的对象
char* itemType = NULL;
for (int i = 0; i < attachmentCount; i++) {
attachmentTag = attachmentTags[i];
ITKCALL(ifail = AOM_ask_value_string(attachmentTag, "object_type", &itemType));
printf("当前遍历目标下的对象类型为: %s\n", itemType);
if (inArrays(typeVector, itemType)) {
ITKCALL(ifail = AOM_lock(attachmentTag));
//ITKCALL(ifail = AOM_set_value_string(attachmentTag, targetPropertyName, &propertyValue));
std::vector<std::string> valueVector;
char* tempValue = NULL;
for (const auto& prop : propVector) {
printf("==>获取属性: %s\n", prop);
ITKCALL(ifail = AOM_UIF_ask_value(attachmentTag, prop.c_str(), &tempValue));
printf("属性值为: %s\n", tempValue);
if (tempValue != NULL) {
valueVector.push_back(tempValue);
}
else {
valueVector.push_back("");
}
}
MEM_free(tempValue);
std::string userID;
boolean isMatch = false;
for (const auto& preVector : preVectors) {
printf("preVector: %d\n", preVector.size());
// 对比每个属性值是否匹配
for (size_t i = 0; i < preVector.size(); ++i) {
printf("比对属性值: %s || %s\n", preVector[i], valueVector[i]);
if (i == preVector.size() - 1) {
// 替换为分割逻辑:
std::string keyValuePair = preVector.back();
std::vector<std::string> tempVector;
getVector(keyValuePair.c_str(), tempVector, '=');
if (tempVector.size() == 2) {
if (tempVector[0] == valueVector[i]) {
userID = tempVector[1]; // 取等号后的部分
isMatch = true;
break;
}
}
else {
// 错误处理(根据需要添加)
userID = "";
printf("错误用户ID格式不正确: %s\n", keyValuePair.c_str());
EMH_store_error_s1(EMH_severity_error, ITK_err, "用户ID格式不正确");
return ITK_err;
}
}
else if (preVector[i] != valueVector[i]) {
break;
}
}
if (isMatch) {
break;
}
}
if (userID.empty()) {
continue;
}
printf("UserId : %s\n", userID);
//setProcessPointUser(userID);
POM_AM__set_application_bypass(true);
int mem_cnt = 0, signoff_cnt = 0, signmem_count = 0, * attach_type;
tag_t user_tag = NULLTAG, login_group = NULLTAG, * members = NULLTAG, * signoffs = NULLTAG, select_signoff_tag = NULLTAG, * attachmentTags = NULLTAG;
EPM_ask_sub_task(msg.task, EPM_select_signoff_team_task, &select_signoff_tag);
EPM_ask_all_attachments(select_signoff_tag, &signmem_count, &attachmentTags, &attach_type);
if (signmem_count == 0) {
ITKCALL(SA_find_user2(userID.c_str(), &user_tag));
if (user_tag != NULLTAG) {
ITKCALL(SA_ask_user_login_group(user_tag, &login_group));
ITKCALL(SA_find_groupmembers(user_tag, login_group, &mem_cnt, &members));
ITKCALL(EPM_create_adhoc_signoff(select_signoff_tag, user_tag, &signoff_cnt, &signoffs));
ITKCALL(EPM_set_adhoc_signoff_selection_done(select_signoff_tag, true));
printf("分配成功");
break;
}
else {
printf("nulll\n");
ITKCALL(EPM_promote_task(msg.task, ""));
}
}
POM_AM__set_application_bypass(false);
MEM_free(members);
MEM_free(signoffs);
ITKCALL(ifail = AOM_unlock(attachmentTag));
}
}
MEM_free(attachmentTags);
MEM_free(itemType);
return ifail;
}
#define DOFREE(obj) \
{ \
if(obj) \
{ \
MEM_free(obj); \
obj = NULL; \
} \
}
/**
*
*
* @param objtag
* @param type_name
*
*/
int checkIsTypeOrSubtype(tag_t objtag, char* type_name) {
tag_t type = NULLTAG,
item_type = NULLTAG;
int is_type = 0;
char* tag_name = NULL;
ITKCALL(AOM_ask_value_string(objtag, "object_name", &tag_name));
if (tag_name == NULL)
{
tag_name = "NULL";
}
ITKCALL(TCTYPE_ask_object_type(objtag, &type));
ITKCALL(TCTYPE_find_type(type_name, "", &item_type));
logical isok = false;
if (item_type != NULLTAG) {
logical isok = FALSE;
ITKCALL(TCTYPE_is_type_of(type, item_type, &isok));
if (isok)
{
//LOG_ECHO(("是子类%s\n", type_name));
printf("%s是子类%s\n", tag_name, type_name);
is_type = 1;
}
else
{
//LOG_ECHO(("不是子类%s\n", type_name));
printf("%s不是子类%s\n", tag_name, type_name);
is_type = 0;
}
}
DOFREE(tag_name);
return is_type;
}
/**
*
*/
bool isTypeOf1(tag_t objtag, const char* type_name) {
tag_t type = NULLTAG;
TCTYPE_ask_object_type(objtag, &type);
tag_t item_type = NULLTAG;
TCTYPE_find_type(type_name, "", &item_type);
bool is_type = false;
if (item_type != NULLTAG) {
logical isok = FALSE;
TCTYPE_is_type_of(type, item_type, &isok);
if (isok) {
is_type = true;
}
}
return is_type;
}
/**
* @brief tag_titemitemRev
* @param check_tag
* @param item_tag
* @param rev_tag
* @return
*/
int get_item_and_rev(tag_t check_tag, tag_t* item_tag, tag_t* rev_tag) {
int ifail = ITK_ok;
if (isTypeOf1(check_tag, "Item")) {
printf("====当前处理的对象是item对象\n");
*item_tag = check_tag;
ITEM_ask_latest_rev(*item_tag, rev_tag);
}
else if (isTypeOf1(check_tag, "ItemRevision")) {
printf("====当前处理的对象是Revision对象\n");
*rev_tag = check_tag;
ITEM_ask_item_of_rev(*rev_tag, item_tag);
}
return ifail;
}
/*=============================================================================*
* FUNCTION: Origin_CheckTask_handler2
* PURPOSE :
* INPUT:
* EPM_rule_message_t msg
*
* RETURN:
* int
*============================================================================*/
int Origin_CheckTask_handler2(EPM_rule_message_t msg)
{
EPM_decision_t err = EPM_go;
int ifail = ITK_ok;
int project_attachment_cnt = 0,
deliverable_cnt = 0,
sc_cnt = 0,
fold_cnt = 0,
fold_content_cnt = 0,
status_cnt = 0;
bool allowPass = true;
bool noItem = false;
bool status_is_configured = false;
tag_t* project_attachments = NULLTAG,
* deliverable_list = NULLTAG,
deliverable = NULLTAG,
* folds = NULLTAG,
* fold_contents = NULLTAG,
* status_list = NULLTAG,
item_tag = NULLTAG,
check_item = NULLTAG;
char* object_type = NULL;
//状态名称
char* status_name = NULL;
//流程下配置的状态参数
char status_config[1024] = "";
char *arg = NULL,
*argName = NULL,
*argValue = NULL;
/*LOG_ECHO(("*******************************************************************************\n"));
LOG_ECHO(("* Origin_CheckTask_handler is comming ! *\n"));
LOG_ECHO(("*******************************************************************************\n"));*/
printf("*******************************************************************************\n");
printf("* Origin_CheckTask_handler is comming ! *\n");
printf("*******************************************************************************\n");
//TODO 获取流程下配置的参数记得更新status_is_configured属性值为true
int arg_cnt = TC_number_of_arguments(msg.arguments);
if (arg_cnt > 0) {
printf("流程下配置的参数个数为:%d\n", arg_cnt);
for (int i = 0; i < arg_cnt; i++)
{
arg = TC_next_argument(msg.arguments);
ITKCALL(ITK_ask_argument_named_value((const char*)arg, &argName, &argValue));
printf("参数名称-配置值 = [%s - %s]\n", argName, argValue);
if (argName != NULL && argValue != NULL && strcmp(argName, "status") == 0) {
printf("状态名称:%s\n", argValue);
strcpy(status_config, argValue);
status_is_configured = true;
}
DOFREE(argName);
DOFREE(argValue);
}
}
else
{
printf("流程下没有配置参数\n");
}
ITKCALL(AOM_ask_value_tags(msg.task, "project_task_attachments", &project_attachment_cnt, &project_attachments));
if (project_attachment_cnt > 0)
{
ITKCALL(AOM_ask_value_tags(project_attachments[0], "sch_task_deliverable_list", &deliverable_cnt, &deliverable_list));
if (deliverable_cnt > 0)
{
ITKCALL(AOM_ask_value_tag(deliverable_list[0], "schedule_deliverable", &deliverable));
if (deliverable != NULL)
{
ITKCALL(AOM_ask_value_tags(deliverable, "deliverable_inst", &fold_cnt, &folds));
if (fold_cnt > 0)
{
allowPass = false;
ITKCALL(AOM_ask_value_tags(folds[0], "contents", &fold_content_cnt, &fold_contents));//获取交付物文件夹下的内容
//LOG_ECHO(("交付物文件夹内容数量:%d\n", fold_content_cnt));
printf("交付物文件夹内容数量:%d\n", fold_content_cnt);
if (status_is_configured) {//流程参数下配置了状态
int hi_cnt = 0;
printf("流程参数下配置了状态\n");
//遍历文件夹下的交付物
for (int i = 0; i < fold_content_cnt; i++)
{
ITKCALL(AOM_ask_value_string(fold_contents[i], "object_type", &object_type));
//根据交付物的类型获取check_item
if (checkIsTypeOrSubtype(fold_contents[i], "Item") == 1
|| checkIsTypeOrSubtype(fold_contents[i], "ItemRevision") == 1)
{
hi_cnt++;
ITKCALL(get_item_and_rev(fold_contents[i], &item_tag, &check_item));
printf("1 \n");
}
else {
continue;
}
//判断交付物对应的check_item是否发布
if (check_item != NULL)
{
printf("获取最新版本对象成功!\n");
ITKCALL(AOM_ask_value_tags(check_item, "release_status_list", &status_cnt, &status_list));
if (status_cnt > 0)
{
for (int j = 0; j < status_cnt; j++)
{
//status_list[j];//发布状态对象
ITKCALL(AOM_ask_value_string(status_list[j], "object_name", &status_name));
if (status_name == NULL) {
ITKCALL(EMH_store_error_s1(EMH_severity_user_error, ITK_err, "交付物没有发布,请先进行发布!"));
err = EPM_nogo;
break;
}
if (status_name == NULL) {
continue;
}
if (strcmp(status_name, status_config) == 0)
{
printf("交付物发布状态:[%s]与配置的发布状态[%s]相同!\n", status_name, status_config);
allowPass = true;
}
else
{
printf("交付物发布状态:[%s]与配置的发布状态[%s]不相同!\n", status_name, status_config);
allowPass = false;
string err_msg = "交付物文件夹下的对象或版本状态与要求的"+ string(status_config) +"不一致!";
ITKCALL(EMH_store_error_s1(EMH_severity_user_error, ITK_err, err_msg.c_str()));
err = EPM_nogo;
break;
}
}
}
else
{//文件夹下存在未发布的对象
ITKCALL(EMH_store_error_s1(EMH_severity_user_error, ITK_err, "交付物没有发布,请先进行发布!"));
err = EPM_nogo;
break;
}
}
else
{
printf("获取check_item 失败!");
continue;
}
DOFREE(status_name);
DOFREE(status_list);
}
if (hi_cnt == 0) {//配置状态情况下交付物文件夹下没有item\rev的子类
ITKCALL(EMH_store_error_s1(EMH_severity_user_error, ITK_err, "交付物没有提交,请先进行提交!"));
err = EPM_nogo;
}
}
else
{//流程参数下未配置状态
printf("流程参数下未配置状态\n");
int ir_cnt = 0;
if (fold_content_cnt > 0)
{
//没有配置状态参数的时候检查文件夹下是否存在item\rev的子类存在则通过不存在则提示
for (int j = 0; j < fold_content_cnt; j++) {
if (checkIsTypeOrSubtype(fold_contents[j], "Item") == 1
|| checkIsTypeOrSubtype(fold_contents[j], "ItemRevision") == 1) {
ir_cnt++;
}
}
if (ir_cnt == 0) {
ITKCALL(EMH_store_error_s1(EMH_severity_user_error, ITK_err, "交付物没有提交,请先进行提交!"));
allowPass = false;
err = EPM_nogo;
}
else {
allowPass = true;//交付物文件夹
}
}else {//未配置流程参数,交付物文件夹下也没有内容
printf("校验通过,未配置流程参数且交付物文件夹下没有内容!\n");
ITKCALL(EMH_store_error_s1(EMH_severity_user_error, ITK_err, "交付物没有提交,请先进行提交!"));
err = EPM_nogo;
}
}
}
}
}
}
//if (!allowPass && status_is_configured == false)
//{
// //LOG_ECHO(("校验不通过,存在交付物未发布!\n"));
// printf("校验不通过,存在交付物未提交!\n");
// ITKCALL(EMH_store_error_s1(EMH_severity_user_error, ITK_err, "交付物没有提交,请先进行提交!"));
// err = EPM_nogo;
//}
//else if (!allowPass) {
// printf("校验不通过,存在交付物未发布!\n");
// ITKCALL(EMH_store_error_s1(EMH_severity_user_error, ITK_err, "交付物没有发布,请先进行发布!"));
// err = EPM_nogo;
//}
//LOG_ECHO(("*******************************************************************************\n"));
//LOG_ECHO(("* Origin_CheckTask_handler is end ! *\n"));
//LOG_ECHO(("*******************************************************************************\n"));
printf("*******************************************************************************\n");
printf("* Origin_CheckTask_handler is end ! *\n");
printf("*******************************************************************************\n");
//DOFREE(status_config);
DOFREE(object_type);
DOFREE(fold_contents);
DOFREE(folds);
DOFREE(project_attachments);
DOFREE(project_attachments);
return err;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,84 @@
#pragma once
#include <ae/ae.h>
#include <ae/dataset.h>
#include <bom/bom.h>
#include <cfm\cfm.h>
#include <ctime>
#include <epm/signoff.h>
#include <epm/epm.h>
#include <epm/epm_toolkit_tc_utils.h>
#include <ps/ps.h>
#include <ps/vrule.h>
#include <sa/sa.h>
#include <sa/am.h>
#include <sstream>
#include <tccore/aom.h>
#include <tccore/aom_prop.h>
#include <tccore/custom.h>
#include <tccore/grm.h>
#include <tccore/item.h>
#include <tccore/workspaceobject.h>
#include <tccore//grm.h>
#include <tccore/grmtype.h>
#include <tccore/uom.h>
#include <fclasses/tc_basic.h>
#include <tc/tc.h>
#include <tc/folder.h>
#include <tc/tc_util.h>
#include <tc/preferences.h>
#include <time.h>
#include <ict/ict_userservice.h>
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <string.h>
#include <map>
#include <vector>
#include <locale>
#include <codecvt>
#include <iostream>
#include <regex>
#include <list>
#include <set>
#include <fstream>
#include <ctype.h>
#include <algorithm>
#include <io.h>
#include <property/prop_errors.h>
#include <fclasses/tc_date.h>
#include <ics/ics.h>
#include <ics/ics2.h>
#include <rdv/arch.h>
#include <string>
#include <vector>
#include <map>
#include <fstream>
#include <iostream>
#include <algorithm>
#include <tccore\item.h>
#include <property\prop.h>
#include <property\propdesc.h>
#include <property\prop_errors.h>
#include <property\prop_msg.h>
#include <property\PropertyInfo.hxx>
#include <pom\pom\pom.h>
#include <pom\pom\pom_errors.h>
extern "C" int POM_AM__set_application_bypass(logical bypass);
int Lao(EPM_action_message_t msg);
int Lao_excute_pdf(tag_t dateset, char *file_path, char *file_name, char* ext);
int Xin(EPM_action_message_t msg);
int Xin_excute_pdf(tag_t dateset, char *file_path, char *file_name, char* ext);
int convertToPDF(EPM_action_message_t msg);
void startConversion(tag_t item_rev_tag, tag_t dataset, tag_t rel_tag, char *ref_name, char *ext, char *jar_name);
void importPdf2(tag_t rev_tag, tag_t rel_tag, const char* pdfFile, char* datasetName, char* pdfName, tag_t owner_user);
void import_dataset_file(tag_t dataset, char* ref_name, char* ext, char* fullfilename, char* original_name);
int SB_controlled_Lao(EPM_action_message_t msg);
int SB_controlled_Xin(EPM_action_message_t msg);
int SB6_PR_AutoAssign(EPM_action_message_t msg);
int Origin_CheckTask_handler2(EPM_rule_message_t msg);
void singoff_picture(tag_t item_rev_tag, tag_t dataset, tag_t rel_tag, char *ref_name, char *ext, char *jar_name, char *dat_file);
void getVector(const char* value, std::vector<std::string>& targetVector, char delimiter);

@ -0,0 +1,8 @@
// stdafx.cpp : 只包括标准包含文件的源文件
// SB.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用

@ -0,0 +1,15 @@
// stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
//
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
// TODO: 在此处引用程序需要的其他头文件

@ -0,0 +1,96 @@
/**
* @file string_helper.cpp
* @brief string utility functions' implemention
* @author James
* @history
* ===================================================================================
* Date Name Description of Change
* 09-July-2008 James
* 14-Jau-2009 James modify Split functions, add trim blank characters
*/
#pragma warning(disable:4996)
#include "string_helper.h"
string TrimString(string strArg)
{
size_t index1 = 0;
index1 = strArg.find_first_not_of(' ');
if (index1 != string::npos)
strArg.erase(strArg.begin(), strArg.begin() + index1);
index1 = strArg.find_last_not_of(' ');
if (index1 != string::npos)
strArg.erase(strArg.begin() + index1 + 1);
return strArg;
}
void Split(string strArg, char spliter, vector<string>& ans)
{
ans.clear();
size_t index0 = 0;
string one_arg;
if (strArg.find_first_not_of(' ') == string::npos)
strArg = "";
while (strArg.size() > 0)
{
index0 = strArg.find_first_of(spliter);
if (index0 != string::npos)
{
one_arg = strArg.substr(0, index0);
strArg = strArg.substr(index0 + 1);
ans.push_back(one_arg);
}
else
{
ans.push_back(strArg);
break;
}
}
}
void Split(string strArg, string spliter, vector<string>& ans)
{
ans.clear();
size_t index0;
string one_arg;
if (strArg.find_first_not_of(" ") == string::npos)
strArg = "";
while (strArg.size() > 0)
{
index0 = strArg.find(spliter);
if (index0 != string::npos)
{
one_arg = strArg.substr(0, index0);
strArg = strArg.substr(index0 + spliter.size());
ans.push_back(one_arg);
}
else
{
ans.push_back(strArg);
break;
}
}
}
void RemoveLiner(string& in, string& out)
{
char buf[BUFSIZ] = "";
for (int i = 0; i < (int)in.size(); i++)
{
if (in[i] == '\n')
continue;
else
sprintf(buf, "%s%c", buf, in[i]);
}
out.assign(buf);
}

@ -0,0 +1,21 @@
/**
* @file string_helper.h
* @brief string utilities to help dealing with string
* @author James
* @history
* ===================================================================================
* Date Name Description of Change
* 09-July-2008 James
*/
#ifndef STRING_HELPER
#define STRING_HELPER
#include <string>
#include <vector>
using namespace std;
string TrimString(string strArg);
void Split(string strArg, char spliter, vector<string>& ans);
void Split(string strArg, string spliter, vector<string>& ans);
void RemoveLiner(string& in, string& out);
#endif

@ -0,0 +1,8 @@
#pragma once
// 包括 SDKDDKVer.h 将定义可用的最高版本的 Windows 平台。
// 如果要为以前的 Windows 平台生成应用程序,请包括 WinSDKVer.h并将
// 将 _WIN32_WINNT 宏设置为要支持的平台,然后再包括 SDKDDKVer.h。
#include <SDKDDKVer.h>

Binary file not shown.

@ -0,0 +1,21 @@
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\vc142.pdb
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\string_helper.obj
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\stdafx.obj
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb_handler.obj
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb6_pr_autoassign.obj
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.obj
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\register_handler.obj
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\main_lib.obj
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\x64\release\sb.dll
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.ipdb
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.iobj
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\x64\release\sb.pdb
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\x64\release\sb.lib
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\x64\release\sb.exp
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.tlog\cl.command.1.tlog
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.tlog\cl.read.1.tlog
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.tlog\cl.write.1.tlog
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.tlog\link.command.1.tlog
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.tlog\link.read.1.tlog
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.tlog\link.write.1.tlog
e:\itk_workspace\itk\世宝\杭州世宝\sb\sb\sb\x64\release\sb.tlog\sb.write.1u.tlog

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\x64\Release\SB.dll</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>

Binary file not shown.

Binary file not shown.

@ -0,0 +1,137 @@
 Main_lib.cpp
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include\pom\pom\pom.h(806,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include\pom\pom\pom.h(5417,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
Register_handler.cpp
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include\pom\pom\pom.h(806,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include\pom\pom\pom.h(5417,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\RootObject.hxx(90,17): warning C4251: “Teamcenter::RootObject::m_typeName”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::RootObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\RootObject.hxx(95,24): warning C4251: “Teamcenter::RootObject::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::RootObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\OperationInput.hxx(414,25): warning C4251: “Teamcenter::OperationInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::OperationInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BulkInput.hxx(120,25): warning C4251: “Teamcenter::BulkInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BulkInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BulkData.hxx(123,25): warning C4251: “Teamcenter::BulkData::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BulkData”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\CreateInput.hxx(140,25): warning C4251: “Teamcenter::CreateInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::CreateInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\SaveAsInput.hxx(93,25): warning C4251: “Teamcenter::SaveAsInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::SaveAsInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\DeepCopyData.hxx(93,25): warning C4251: “Teamcenter::DeepCopyData::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::DeepCopyData”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BusinessObject.hxx(666,25): warning C4251: “Teamcenter::BusinessObject::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BusinessObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\tccore\POM_object.hxx(253,25): warning C4251: “Teamcenter::POM_object::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::POM_object”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\property\PropertyInfo.hxx(131,25): warning C4251: “Teamcenter::PropertyInfo::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::PropertyInfo”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
SB.cpp
SB6_PR_AutoAssign.cpp
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include\pom\pom\pom.h(806,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include\pom\pom\pom.h(5417,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\RootObject.hxx(90,17): warning C4251: “Teamcenter::RootObject::m_typeName”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::RootObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\RootObject.hxx(95,24): warning C4251: “Teamcenter::RootObject::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::RootObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\OperationInput.hxx(414,25): warning C4251: “Teamcenter::OperationInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::OperationInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BulkInput.hxx(120,25): warning C4251: “Teamcenter::BulkInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BulkInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BulkData.hxx(123,25): warning C4251: “Teamcenter::BulkData::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BulkData”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\CreateInput.hxx(140,25): warning C4251: “Teamcenter::CreateInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::CreateInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\SaveAsInput.hxx(93,25): warning C4251: “Teamcenter::SaveAsInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::SaveAsInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\DeepCopyData.hxx(93,25): warning C4251: “Teamcenter::DeepCopyData::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::DeepCopyData”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BusinessObject.hxx(666,25): warning C4251: “Teamcenter::BusinessObject::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BusinessObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\tccore\POM_object.hxx(253,25): warning C4251: “Teamcenter::POM_object::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::POM_object”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\property\PropertyInfo.hxx(131,25): warning C4251: “Teamcenter::PropertyInfo::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::PropertyInfo”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(45,31): warning C4101: “old_scope”: 未引用的局部变量
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(138,34): warning C4267: “初始化”: 从“size_t”转换到“int”可能丢失数据
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(156,30): warning C4267: “=”: 从“size_t”转换到“int”可能丢失数据
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(183,12): warning C4477: “printf”: 格式字符串“%s”需要类型“char *”的参数,但可变参数 1 拥有了类型“const std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(198,12): warning C4477: “printf”: 格式字符串“%d”需要类型“int”的参数但可变参数 1 拥有了类型“unsigned __int64”
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(198,12): message : 请考虑在格式字符串中使用“%zd”
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(201,13): warning C4477: “printf”: 格式字符串“%s”需要类型“char *”的参数,但可变参数 1 拥有了类型“const _Ty”
with
[
_Ty=std::string
]
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(201,13): warning C4477: “printf”: 格式字符串“%s”需要类型“char *”的参数,但可变参数 2 拥有了类型“_Ty”
with
[
_Ty=std::string
]
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(234,11): warning C4477: “printf”: 格式字符串“%s”需要类型“char *”的参数,但可变参数 1 拥有了类型“std::string”
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB6_PR_AutoAssign.cpp(184,5): warning C4996: 'AOM_UIF_ask_value': "AOM_UIF_ask_value" deprecated in Teamcenter "11.1"; Use "AOM_ask_displayable_values" instead.
SB_handler.cpp
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include\pom\pom\pom.h(806,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include\pom\pom\pom.h(5417,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\RootObject.hxx(90,17): warning C4251: “Teamcenter::RootObject::m_typeName”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::RootObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\RootObject.hxx(95,24): warning C4251: “Teamcenter::RootObject::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::RootObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\OperationInput.hxx(414,25): warning C4251: “Teamcenter::OperationInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::OperationInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BulkInput.hxx(120,25): warning C4251: “Teamcenter::BulkInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BulkInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BulkData.hxx(123,25): warning C4251: “Teamcenter::BulkData::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BulkData”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\CreateInput.hxx(140,25): warning C4251: “Teamcenter::CreateInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::CreateInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\SaveAsInput.hxx(93,25): warning C4251: “Teamcenter::SaveAsInput::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::SaveAsInput”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\DeepCopyData.hxx(93,25): warning C4251: “Teamcenter::DeepCopyData::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::DeepCopyData”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\metaframework\BusinessObject.hxx(666,25): warning C4251: “Teamcenter::BusinessObject::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::BusinessObject”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\tccore\POM_object.hxx(253,25): warning C4251: “Teamcenter::POM_object::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::POM_object”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
C:\environment\Teamcenter-ENV\ITK_Configuration_File\LiYuan\include_cpp\property\PropertyInfo.hxx(131,25): warning C4251: “Teamcenter::PropertyInfo::name”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“Teamcenter::PropertyInfo”的客户端使用
D:\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4871): message : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(262,2): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(268,2): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(490,2): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(496,2): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(694,3): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(683,7): warning C4101: “type_class”: 未引用的局部变量
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(681,9): warning C4101: “rfTags”: 未引用的局部变量
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(683,48): warning C4101: “pdfDatasetName”: 未引用的局部变量
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(729,2): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(736,2): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(863,3): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(870,3): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(922,10): warning C4477: “printf”: 格式字符串“%s”需要类型“char *”的参数,但可变参数 1 拥有了类型“_Ty”
with
[
_Ty=std::string
]
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1011,4): warning C4476: "printf": 格式说明符中的类型字段字符“Y”未知
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1011,4): warning C4476: "printf": 格式说明符中的类型字段字符“m”未知
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1011,4): warning C4473: “printf”: 没有为格式字符串传递足够的参数
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1011,4): message : 占位符和其参数预计 1 可变参数,但提供的却是 0 参数
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1011,4): message : 缺失的可变参数 1 为格式字符串“%d”所需
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(960,13): warning C4101: “fw2”: 未引用的局部变量
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1186,4): warning C4476: "printf": 格式说明符中的类型字段字符“Y”未知
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1186,4): warning C4476: "printf": 格式说明符中的类型字段字符“m”未知
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1186,4): warning C4473: “printf”: 没有为格式字符串传递足够的参数
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1186,4): message : 占位符和其参数预计 1 可变参数,但提供的却是 0 参数
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1186,4): message : 缺失的可变参数 1 为格式字符串“%d”所需
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1137,13): warning C4101: “fw2”: 未引用的局部变量
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1352,3): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(1359,3): warning C4996: 'AOM_save': "AOM_save" deprecated in Teamcenter "11.2"; Use "AOM_save_with_extensions or AOM_save_without_extensions" instead.
stdafx.cpp
string_helper.cpp
正在创建库 E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\x64\Release\SB.lib 和对象 E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\x64\Release\SB.exp
正在生成代码
Previous IPDB not found, fall back to full compilation.
E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\SB\SB_handler.cpp(569): warning C4715: “convertToPDF”: 不是所有的控件路径都返回值
All 401 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
已完成代码的生成
SB.vcxproj -> E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\x64\Release\SB.dll

Binary file not shown.

@ -0,0 +1,2 @@
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30133:TargetPlatformVersion=10.0.19041.0:
Release|x64|E:\ITK_WorkSpace\ITK\世宝\杭州世宝\SB\SB\|

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save