showTListPhSJ函数中缺少了哪些字段,请补全
char temBuff[200];
std::string dataStr;
//mat 材质
strcpy(temBuff,pSJ.materialStr.c_str());
strtok(temBuff,"~");
theSPunch->matStr = temBuff;
//d1 杆径
strcpy(temBuff,pSJ.d1Str.c_str());
theSPunch->d1 = atof(temBuff);
theSPunch->GJD = atof(temBuff);
//L 冲头长度
strcpy(temBuff,pSJ.lStr.c_str());
strtok(temBuff,"~");
theSPunch->L = atof(temBuff);
//pPunch 刀口P
theSPunch->pPunch = p;
//B 刃口长度
strcpy(temBuff,pSJ.bStr.c_str());
theSPunch->B = atof(temBuff);
//H
strcpy(temBuff,pSJ.hStr.c_str());
theSPunch->H = atof(temBuff);
//刀口R角
theSPunch->Rpunch = R;
//pPunch 刀口W
theSPunch->wPunch = w;
//CODE_SKC=追加工SKC ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_SKC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_SKC = temBuff;
//CODE_PC=追加工PC ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_PC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_PC = temBuff;
//CODE_PC_FW=追加工PC范围 (0.5^P-0.01!0.01)
strcpy(temBuff,pSJ.CODE_PC_FW_Str.c_str());
//strtok(temBuff, "^");
theSPunch->CODE_PC_FW = atof(temBuff);
//CODE_WC=追加工WC ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_WC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_WC = temBuff;
//CODE_WC_FW=追加工WC范围 ("A"=0 || 0.8^P-0.01!0.01)
strcpy(temBuff,pSJ.CODE_WC_FW_Str.c_str());
//strtok(temBuff, "^");
theSPunch->CODE_WC_FW = atof(temBuff);
//CODE_BC=变更刃口长度 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_BC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_BC = temBuff;
//CODE_BC_FW=变更刃口长度范围 (2^B-0.1!0.1 || AX-5 AX-6 2^20!0.1)
strcpy(temBuff,pSJ.CODE_BC_FW_Str.c_str());
theSPunch->CODE_BC_FW = atof(temBuff);
//CODE_PRC=刃口侧端面R加工 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_PRC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_PRC = temBuff;
//CODE_PRC_FW=刃口侧端面R加工范围 (0.3^1!0.1)
strcpy(temBuff,pSJ.CODE_PRC_FW_Str.c_str());
theSPunch->CODE_PRC_FW = atof(temBuff);
//CODE_PCC=刃口侧端面C倒角加工 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_PCC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_PCC = temBuff;
//CODE_PCC_FW=刃口侧端面C倒角加工范围 (0.3^1!0.1)
strcpy(temBuff,pSJ.CODE_PCC_FW_Str.c_str());
theSPunch->CODE_PCC_FW = atof(temBuff);
//CODE_PKC=变更刃口尺寸公差 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_PKC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_PKC = temBuff;
//CODE_LC_FALSE=全长追加工 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_LC_FALSE_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_LC_FALSE = temBuff;
//CODE_L_LX=请选择全长追加工类型 ("LC"~"LCT"~"LMT")
strcpy(temBuff,pSJ.CODE_L_LX_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_L_LX = temBuff;
//CODE_LC_FW=全长追加工范围 ( (L-B+2)^(L-0.1)!0.1 )
theSPunch->CODE_LC_FW = theSPunch->L - theSPunch->B + 2;
//CODE_LKC_LKZ_PD=变更全长公差 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_LKC_LKZ_PD_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_LKC_LKZ_PD = temBuff;
//CODE_LKC_LKZ_XZ=变更全长公差类型 ("LKC"~"LKZ")
strcpy(temBuff,pSJ.CODE_LKC_LKZ_XZ_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_LKC_LKZ_XZ = temBuff;
//CODE_KC=追加工KC ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_KC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_KC = temBuff;
//CODE_KC_FW=追加工KC旋转角度 (1^359!1)
strcpy(temBuff,pSJ.CODE_KC_FW_Str.c_str());
theSPunch->CODE_KC_FW = atof(temBuff);
//CODE_WKC=追加工WKC ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_WKC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_WKC = temBuff;
//CODE_KFC = 追加工KFC ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_KFC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_KFC = temBuff;
//CODE_NKC = 追加工NKC ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_NKC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_NKC = temBuff;
//CODE_HC = 是否变更凸缘直径 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_HC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_HC = temBuff;
//CODE_HC_FW=变更凸缘直径范围 (D^H-0.1!0.1)
theSPunch->CODE_HC_FW = theSPunch->d1;
//CODE_TC=是否变更凸缘厚度 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_TC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_TC = temBuff;
//CODE_TC_FW=变更凸缘厚度范围 (3.5^5-0.1!0.1)
strcpy(temBuff,pSJ.CODE_TC_FW_Str.c_str());
theSPunch->CODE_TC_FW = atof(temBuff);
//CODE_TKC_TKM_PD=变更凸缘厚度公差 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_TKC_TKM_PD_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_TKC_TKM_PD = temBuff;
//CODE_TKC_TKM_XZ = 变更凸缘厚度公差类型 ("TKC"~"TKM")
strcpy(temBuff,pSJ.CODE_TKC_TKM_XZ_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_TKC_TKM_XZ = temBuff;
//CODE_TCC=凸缘部C倒角加工 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_TCC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_TCC = temBuff;
//CODE_TCC_FW=凸缘部C倒角加工范围 (0.5^(H-D)/2!0.1)
strcpy(temBuff,pSJ.CODE_TCC_FW_Str.c_str());
theSPunch->CODE_TCC_FW = atof(temBuff);
//CODE_RC=加工凸缘部配合固定块使用 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_RC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_RC = temBuff;
//CODE_AC_NC=杆部追加工 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_AC_NC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_AC_NC = temBuff;
//CODE_AC_NC_XZ=杆部追加工类型 ("AC"~"NC")
strcpy(temBuff,pSJ.CODE_AC_NC_XZ_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_AC_NC_XZ = temBuff;
//CODE_NDC=加工无导入部 ("FALSE"~"TRUE")
strcpy(temBuff,pSJ.CODE_NDC_Str.c_str());
strtok(temBuff,"~");
theSPunch->CODE_NDC = temBuff;
//SUM1
strcpy(temBuff,pSJ.SUM1_Str.c_str());
theSPunch->SUM1 = temBuff;void PunchStdHole_Punch::showTListPhSJ(int Index)
{
S_PunchSJ* thePunch = static_cast<S_PunchSJ*>(allPunch_All[Index]);
char dataBuf[256];
//Create node and node data
Node* newNode;
//型号
//material=材质
newNode = treeControlPunch->CreateNode("material=材质");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->matStr); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.materialStr); //设置第2列内容
newNode->SetForegroundColor(198);
//Shape=刃口形状
newNode = treeControlPunch->CreateNode("Shape=刃口形状");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->shape); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.shapeStr); //设置第2列内容
//d1=杆径
newNode = treeControlPunch->CreateNode("d1=杆径");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->d1);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.d1Str); //设置第2列内容
//L
newNode = treeControlPunch->CreateNode("L");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->L);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.lStr); //设置第2列内容
newNode->SetForegroundColor(198);
//P
newNode = treeControlPunch->CreateNode("P");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->pPunch);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.pStr); //设置第2列内容
//B=刃口长度
newNode = treeControlPunch->CreateNode("B=刃口长度");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->B);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.bStr); //设置第2列内容
//H
newNode = treeControlPunch->CreateNode("H");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->H);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.hStr); //设置第2列内容
//R
newNode = treeControlPunch->CreateNode("R");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->Rpunch);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.rStr); //设置第2列内容
//W
newNode = treeControlPunch->CreateNode("W");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->wPunch);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.wStr); //设置第2列内容
//CODE_SKC=追加工SKC
newNode = treeControlPunch->CreateNode("CODE_SKC=追加工SKC");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_SKC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_SKC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_PC=追加工PC
newNode = treeControlPunch->CreateNode("CODE_PC=追加工PC");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_PC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_PC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_PC_FW=追加工PC范围
newNode = treeControlPunch->CreateNode("CODE_PC_FW=追加工PC范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_PC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_PC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_WC=追加工WC
newNode = treeControlPunch->CreateNode("CODE_WC=追加工WC");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_WC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_WC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_WC_FW=追加工WC范围
newNode = treeControlPunch->CreateNode("CODE_WC_FW=追加工WC范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_WC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_WC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_BC=变更刃口长度
newNode = treeControlPunch->CreateNode("CODE_BC=变更刃口长度");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_BC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_BC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_BC_FW=变更刃口长度范围
newNode = treeControlPunch->CreateNode("CODE_BC_FW=变更刃口长度范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_BC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_BC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_PRC=刃口侧端面R加工
newNode = treeControlPunch->CreateNode("CODE_PRC=刃口侧端面R加工");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_PRC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_PRC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_PRC_FW=刃口侧端面R加工范围
newNode = treeControlPunch->CreateNode("CODE_PRC_FW=刃口侧端面R加工范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_PRC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_PRC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_PCC=刃口侧端面C倒角加工
newNode = treeControlPunch->CreateNode("CODE_PCC=刃口侧端面C倒角加工");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_PCC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_PCC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_PCC_FW=刃口侧端面C倒角加工范围
newNode = treeControlPunch->CreateNode("CODE_PCC_FW=刃口侧端面C倒角加工范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_PCC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_PCC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_PKC=变更刃口尺寸公差
newNode = treeControlPunch->CreateNode("CODE_PKC=变更刃口尺寸公差");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_PKC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_PKC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_LC_FALSE=全长追加工
newNode = treeControlPunch->CreateNode("CODE_LC_FALSE=全长追加工");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_LC_FALSE); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_LC_FALSE_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_L_LX=请选择全长追加工类型
newNode = treeControlPunch->CreateNode("CODE_L_LX=请选择全长追加工类型");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_L_LX); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_L_LX_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_LC_FW=全长追加工范围
newNode = treeControlPunch->CreateNode("CODE_LC_FW=全长追加工范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_LC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_LC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_LKC_LKZ_PD=变更全长公差
newNode = treeControlPunch->CreateNode("CODE_LKC_LKZ_PD=变更全长公差");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_LKC_LKZ_PD); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_LKC_LKZ_PD_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_LKC_LKZ_XZ=变更全长公差类型
newNode = treeControlPunch->CreateNode("CODE_LKC_LKZ_XZ=变更全长公差类型");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_LKC_LKZ_XZ); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_LKC_LKZ_XZ_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_KC=追加工KC
newNode = treeControlPunch->CreateNode("CODE_KC=追加工KC");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_KC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_KC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_KC_FW=追加工KC旋转角度
newNode = treeControlPunch->CreateNode("CODE_KC_FW=追加工KC旋转角度");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_KC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_KC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_WKC=追加工WKC
newNode = treeControlPunch->CreateNode("CODE_WKC=追加工WKC");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_WKC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_WKC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_KFC=追加工KFC
newNode = treeControlPunch->CreateNode("CODE_KFC=追加工KFC");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_KFC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_KFC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_NKC=追加工NKC
newNode = treeControlPunch->CreateNode("CODE_NKC=追加工NKC");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_NKC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_NKC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_HC=是否变更凸缘直径
newNode = treeControlPunch->CreateNode("CODE_HC=是否变更凸缘直径");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_HC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_HC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_HC_FW=变更凸缘直径范围
newNode = treeControlPunch->CreateNode("CODE_HC_FW=变更凸缘直径范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_HC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_HC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_TC=是否变更凸缘厚度
newNode = treeControlPunch->CreateNode("CODE_TC=是否变更凸缘厚度");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_TC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_TC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_TC_FW=变更凸缘厚度范围
newNode = treeControlPunch->CreateNode("CODE_TC_FW=变更凸缘厚度范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_TC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_TC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_TKC_TKM_PD=变更凸缘厚度公差
newNode = treeControlPunch->CreateNode("CODE_TKC_TKM_PD=变更凸缘厚度公差");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_TKC_TKM_PD); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_TKC_TKM_PD_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_TKC_TKM_XZ=变更凸缘厚度公差类型
newNode = treeControlPunch->CreateNode("CODE_TKC_TKM_XZ=变更凸缘厚度公差类型");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_PCC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_PCC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_TCC=凸缘部C倒角加工
newNode = treeControlPunch->CreateNode("CODE_PCC=刃口侧端面C倒角加工");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_TKC_TKM_XZ); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_TKC_TKM_XZ_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_TCC_FW=凸缘部C倒角加工范围
newNode = treeControlPunch->CreateNode("CODE_TCC_FW=凸缘部C倒角加工范围");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
sprintf(dataBuf,"%.2f",thePunch->CODE_TCC_FW);
newNode->SetColumnDisplayText(1,dataBuf); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_TCC_FW_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_RC=加工凸缘部配合固定块使用
newNode = treeControlPunch->CreateNode("CODE_RC=加工凸缘部配合固定块使用");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_RC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_RC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_AC_NC=杆部追加工
newNode = treeControlPunch->CreateNode("CODE_AC_NC=杆部追加工");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_AC_NC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_AC_NC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_AC_NC_XZ=杆部追加工类型
newNode = treeControlPunch->CreateNode("CODE_AC_NC_XZ=杆部追加工类型");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_AC_NC_XZ); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_AC_NC_XZ_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//CODE_NDC=加工无导入部
newNode = treeControlPunch->CreateNode("CODE_NDC=加工无导入部");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->CODE_NDC); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.CODE_NDC_Str); //设置第2列内容
newNode->SetForegroundColor(198);
//SUM1
newNode = treeControlPunch->CreateNode("SUM1");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->SUM1); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.SUM1_Str); //设置第2列内容
//BRAND=品牌
newNode = treeControlPunch->CreateNode("BRAND=品牌");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->m_punchSJ.brandStr); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.brandStr); //设置第2列内容
//DESCRIPTION_CN=中文名称
newNode = treeControlPunch->CreateNode("DESCRIPTION_CN=中文名称");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->m_punchSJ.descriStr); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.descriStr); //设置第2列内容
//GG=制作人
newNode = treeControlPunch->CreateNode("GG=制作人");//创建节点
treeControlPunch->InsertNode(newNode,NULL,NULL,Tree::NodeInsertOptionLast);//插入节点
newNode->SetColumnDisplayText(1,thePunch->m_punchSJ.ggStr); //设置第1列内容
newNode->SetColumnDisplayText(2,thePunch->m_punchSJ.ggStr); //设置第2列内容
}