first commit

main
李建辉 1 month ago
commit 023391edfe

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="lib" path="lib/saveAsTest.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/ojdbc7-12.1.0.1.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/orai18n.jar"/>
<classpathentry exported="true" kind="lib" path="lib/fastjson-1.2.66.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/commons-beanutils-1.9.2.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/commons-collections-3.2.1.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/commons-lang-2.6.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/commons-logging-1.1.3.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/ezmorph-1.0.6.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/json-lib-2.4-jdk15.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/Spire.Xls.jar"/>
<classpathentry kind="lib" path="poilib/hutool-all-5.0.7.jar"/>
<classpathentry kind="lib" path="poilib/aspose-cells-18.9.jar"/>
<classpathentry kind="lib" path="poilib/datepicker.jar"/>
<classpathentry kind="lib" path="poilib/jna-3.0.9.jar"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="lib" path="poilib/commons-codec-1.10.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/dom4j-1.6.1.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/jsr173_1.0_api.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/jxl_1.0.0.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/poi-3.9-20121203.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/poi-examples-3.9-20121203.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/poi-excelant-3.9-20121203.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/poi-ooxml-3.9-20121203.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/poi-ooxml-schemas-3.9-20121203.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/poi-scratchpad-3.9-20121203.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/xmlbeans-2.5.0.jar"/>
<classpathentry exported="true" kind="lib" path="poilib/commons-dbutils-1.5.jar"/>
<classpathentry kind="lib" path="poilib/com.sun.jna.platform-4.5.1.v20190425-1842.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/TcSoaCommon_12000.4.0.jar"/>
<classpathentry kind="lib" path="lib/TcSoaCoreRac_12000.4.0.jar"/>
<classpathentry kind="lib" path="lib/TcSoaCoreTypes_12000.4.0.jar"/>
<classpathentry kind="lib" path="lib/TcSoaStructureManagementRac_12000.4.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>com.connor.renben.process.plm</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

@ -0,0 +1,3 @@
eclipse.preferences.version=1
encoding//src/com/connor/renben/process/plm/util/CheckListCellRenderer.java=UTF-8
encoding//src/com/connor/renben/process/plm/util/MyComboBox.java=UTF-8

@ -0,0 +1,117 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled
org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull
org.eclipse.jdt.core.compiler.annotation.nonnull.secondary=
org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault
org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary=
org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable
org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.APILeak=warning
org.eclipse.jdt.core.compiler.problem.annotatedTypeArgumentToUnannotated=info
org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
org.eclipse.jdt.core.compiler.problem.deadCode=warning
org.eclipse.jdt.core.compiler.problem.deprecation=warning
org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore
org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
org.eclipse.jdt.core.compiler.problem.forbiddenReference=ignore
org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled
org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning
org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore
org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning
org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore
org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning
org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore
org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore
org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
org.eclipse.jdt.core.compiler.problem.suppressWarningsNotFullyAnalysed=info
org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled
org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
org.eclipse.jdt.core.compiler.problem.terminalDeprecation=warning
org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled
org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning
org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning
org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled
org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info
org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
org.eclipse.jdt.core.compiler.problem.unstableAutoModuleName=warning
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedImport=warning
org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8

@ -0,0 +1,793 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Plm
Bundle-SymbolicName: com.connor.renben.process.plm;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: com.connor.renben.process.plm.Activator
Bundle-Vendor: CONNOR
Bundle-Localization: plugin
Eclipse-ExtensibleAPI: true
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
com.teamcenter.rac.activity;bundle-version="12000.4.0",
com.teamcenter.rac.aifrcp;bundle-version="12000.4.0",
com.teamcenter.rac.external;bundle-version="12000.4.0",
com.teamcenter.rac.kernel;bundle-version="12000.4.0",
TcSoaCoreRac;bundle-version="12000.4.0",
com.teamcenter.rac.tcapps;bundle-version="12000.4.0",
TcSoaCommon;bundle-version="12000.4.0",
TcSoaStructureManagementRac;bundle-version="12000.4.0",
com.teamcenter.rac.common;bundle-version="12000.4.0",
com.teamcenter.rac.util;bundle-version="12000.4.0",
com.teamcenter.rac.workflow.processdesigner;bundle-version="12000.4.0",
com.teamcenter.rac.workflow.processviewer;bundle-version="12000.4.0",
com.teamcenter.rac.workflow;bundle-version="12000.4.0",
com.teamcenter.rac.ui.commands;bundle-version="12000.4.0",
com.teamcenter.rac.processhistory;bundle-version="12000.4.0",
com.teamcenter.rac.viewer;bundle-version="12000.4.0",
com.teamcenter.rac.schedule;bundle-version="12000.4.0",
com.teamcenter.rac.cme.bvr.connect;bundle-version="12000.4.0",
com.teamcenter.rac.vns;bundle-version="12000.4.0",
com.teamcenter.rac.ui.views;bundle-version="12000.4.0",
com.teamcenter.rac.ui;bundle-version="12000.4.0",
TcSoaCoreLoose,
TcSoaCoreTypes;bundle-version="12000.4.0",
TcSoaCadRac;bundle-version="12000.4.0",
TcSoaCadBomAlignmentLoose;bundle-version="12000.4.0",
TcSoaBomLoose;bundle-version="12000.4.0",
TcSoaBomRac;bundle-version="12000.4.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8,
JavaSE-1.7
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .,
poilib/commons-codec-1.10.jar,
poilib/commons-logging-1.1.jar,
poilib/dom4j-1.6.1.jar,
poilib/jsr173_1.0_api.jar,
poilib/jxl_1.0.0.jar,
poilib/poi-3.9-20121203.jar,
poilib/poi-examples-3.9-20121203.jar,
poilib/poi-excelant-3.9-20121203.jar,
poilib/poi-ooxml-3.9-20121203.jar,
poilib/poi-ooxml-schemas-3.9-20121203.jar,
poilib/poi-scratchpad-3.9-20121203.jar,
poilib/xmlbeans-2.5.0.jar,
poilib/commons-dbutils-1.5.jar,
poilib/commons-beanutils-1.9.2.jar,
poilib/commons-collections-3.2.1.jar,
poilib/commons-lang-2.6.jar,
poilib/commons-logging-1.1.3.jar,
poilib/ezmorph-1.0.6.jar,
poilib/json-lib-2.4-jdk15.jar,
poilib/Spire.Xls.jar,
poilib/aspose-cells-18.9.jar,
poilib/hutool-all-5.0.7.jar,
poilib/datepicker.jar,
lib/fastjson-1.2.66.jar,
poilib/orai18n.jar,
poilib/ojdbc7-12.1.0.1.jar,
lib/saveAsTest.jar
Export-Package: cn.hutool,
cn.hutool.aop,
cn.hutool.aop.aspects,
cn.hutool.aop.interceptor,
cn.hutool.aop.proxy,
cn.hutool.bloomfilter,
cn.hutool.bloomfilter.bitMap,
cn.hutool.bloomfilter.filter,
cn.hutool.cache,
cn.hutool.cache.file,
cn.hutool.cache.impl,
cn.hutool.captcha,
cn.hutool.captcha.generator,
cn.hutool.core.annotation,
cn.hutool.core.bean,
cn.hutool.core.bean.copier,
cn.hutool.core.bean.copier.provider,
cn.hutool.core.builder,
cn.hutool.core.clone,
cn.hutool.core.codec,
cn.hutool.core.collection,
cn.hutool.core.comparator,
cn.hutool.core.convert,
cn.hutool.core.convert.impl,
cn.hutool.core.date,
cn.hutool.core.date.format,
cn.hutool.core.exceptions,
cn.hutool.core.getter,
cn.hutool.core.img,
cn.hutool.core.io,
cn.hutool.core.io.checksum,
cn.hutool.core.io.file,
cn.hutool.core.io.resource,
cn.hutool.core.io.watch,
cn.hutool.core.io.watch.watchers,
cn.hutool.core.lang,
cn.hutool.core.lang.caller,
cn.hutool.core.lang.copier,
cn.hutool.core.lang.func,
cn.hutool.core.lang.loader,
cn.hutool.core.lang.mutable,
cn.hutool.core.map,
cn.hutool.core.map.multi,
cn.hutool.core.math,
cn.hutool.core.net,
cn.hutool.core.swing,
cn.hutool.core.swing.clipboard,
cn.hutool.core.text,
cn.hutool.core.text.csv,
cn.hutool.core.text.escape,
cn.hutool.core.text.replacer,
cn.hutool.core.thread,
cn.hutool.core.thread.lock,
cn.hutool.core.thread.threadlocal,
cn.hutool.core.util,
cn.hutool.cron,
cn.hutool.cron.listener,
cn.hutool.cron.pattern,
cn.hutool.cron.pattern.matcher,
cn.hutool.cron.pattern.parser,
cn.hutool.cron.task,
cn.hutool.crypto,
cn.hutool.crypto.asymmetric,
cn.hutool.crypto.digest,
cn.hutool.crypto.digest.mac,
cn.hutool.crypto.symmetric,
cn.hutool.db,
cn.hutool.db.dialect,
cn.hutool.db.dialect.impl,
cn.hutool.db.ds,
cn.hutool.db.ds.c3p0,
cn.hutool.db.ds.dbcp,
cn.hutool.db.ds.druid,
cn.hutool.db.ds.hikari,
cn.hutool.db.ds.jndi,
cn.hutool.db.ds.pooled,
cn.hutool.db.ds.simple,
cn.hutool.db.ds.tomcat,
cn.hutool.db.handler,
cn.hutool.db.meta,
cn.hutool.db.nosql.mongo,
cn.hutool.db.nosql.redis,
cn.hutool.db.sql,
cn.hutool.db.transaction,
cn.hutool.dfa,
cn.hutool.extra.emoji,
cn.hutool.extra.ftp,
cn.hutool.extra.mail,
cn.hutool.extra.qrcode,
cn.hutool.extra.servlet,
cn.hutool.extra.servlet.multipart,
cn.hutool.extra.ssh,
cn.hutool.extra.template,
cn.hutool.extra.template.engine,
cn.hutool.extra.template.engine.beetl,
cn.hutool.extra.template.engine.enjoy,
cn.hutool.extra.template.engine.freemarker,
cn.hutool.extra.template.engine.rythm,
cn.hutool.extra.template.engine.thymeleaf,
cn.hutool.extra.template.engine.velocity,
cn.hutool.extra.tokenizer,
cn.hutool.extra.tokenizer.engine,
cn.hutool.extra.tokenizer.engine.analysis,
cn.hutool.extra.tokenizer.engine.ansj,
cn.hutool.extra.tokenizer.engine.hanlp,
cn.hutool.extra.tokenizer.engine.ikanalyzer,
cn.hutool.extra.tokenizer.engine.jcseg,
cn.hutool.extra.tokenizer.engine.jieba,
cn.hutool.extra.tokenizer.engine.mmseg,
cn.hutool.extra.tokenizer.engine.mynlp,
cn.hutool.extra.tokenizer.engine.word,
cn.hutool.http,
cn.hutool.http.cookie,
cn.hutool.http.ssl,
cn.hutool.http.useragent,
cn.hutool.http.webservice,
cn.hutool.json,
cn.hutool.json.serialize,
cn.hutool.log,
cn.hutool.log.dialect.commons,
cn.hutool.log.dialect.console,
cn.hutool.log.dialect.jboss,
cn.hutool.log.dialect.jdk,
cn.hutool.log.dialect.log4j,
cn.hutool.log.dialect.log4j2,
cn.hutool.log.dialect.slf4j,
cn.hutool.log.dialect.tinylog,
cn.hutool.log.level,
cn.hutool.poi,
cn.hutool.poi.excel,
cn.hutool.poi.excel.cell,
cn.hutool.poi.excel.editors,
cn.hutool.poi.excel.sax,
cn.hutool.poi.excel.sax.handler,
cn.hutool.poi.excel.style,
cn.hutool.poi.exceptions,
cn.hutool.poi.word,
cn.hutool.script,
cn.hutool.setting,
cn.hutool.setting.dialect,
cn.hutool.setting.profile,
cn.hutool.socket,
cn.hutool.socket.aio,
cn.hutool.socket.nio,
cn.hutool.socket.protocol,
cn.hutool.system,
cn.hutool.system.oshi,
com.alibaba.fastjson,
com.alibaba.fastjson.annotation,
com.alibaba.fastjson.asm,
com.alibaba.fastjson.parser,
com.alibaba.fastjson.parser.deserializer,
com.alibaba.fastjson.serializer,
com.alibaba.fastjson.spi,
com.alibaba.fastjson.support.config,
com.alibaba.fastjson.support.hsf,
com.alibaba.fastjson.support.jaxrs,
com.alibaba.fastjson.support.moneta,
com.alibaba.fastjson.support.retrofit,
com.alibaba.fastjson.support.spring,
com.alibaba.fastjson.support.spring.annotation,
com.alibaba.fastjson.support.spring.messaging,
com.alibaba.fastjson.support.springfox,
com.alibaba.fastjson.util,
com.aspose.cells,
com.aspose.cells.a,
com.aspose.cells.a.a,
com.aspose.cells.a.b.a,
com.aspose.cells.a.c,
com.aspose.cells.a.d,
com.aspose.cells.a.d.a,
com.aspose.cells.a.d.a.a,
com.aspose.cells.a.d.a.b,
com.aspose.cells.a.d.b,
com.aspose.cells.a.e,
com.aspose.cells.a.f,
com.aspose.cells.b.a,
com.aspose.cells.b.a.a,
com.aspose.cells.b.a.b,
com.aspose.cells.b.a.b.a,
com.aspose.cells.b.a.b.a.a,
com.aspose.cells.b.a.b.b,
com.aspose.cells.b.a.b.c,
com.aspose.cells.b.a.b.d,
com.aspose.cells.b.a.b.d.a,
com.aspose.cells.b.a.b.e,
com.aspose.cells.b.a.c,
com.aspose.cells.b.a.d,
com.aspose.cells.b.a.e,
com.aspose.cells.b.a.f,
com.aspose.cells.b.a.f.a,
com.aspose.cells.b.a.f.a.a,
com.aspose.cells.b.b,
com.aspose.cells.b.c.a,
com.connor.renben.process.plm,
com.connor.renben.process.plm.bean,
com.connor.renben.process.plm.bean.packageProcess,
com.connor.renben.process.plm.sql.util,
com.connor.renben.process.plm.test,
com.connor.renben.process.plm.tmom001,
com.connor.renben.process.plm.tmom002,
com.connor.renben.process.plm.tmom003,
com.connor.renben.process.plm.tmom004,
com.connor.renben.process.plm.tmom005,
com.connor.renben.process.plm.tmom006,
com.connor.renben.process.plm.tmom007,
com.connor.renben.process.plm.tmom008,
com.connor.renben.process.plm.tmom009,
com.connor.renben.process.plm.tmom010,
com.connor.renben.process.plm.tmom011,
com.connor.renben.process.plm.tmom012,
com.connor.renben.process.plm.tmom013,
com.connor.renben.process.plm.tmom014,
com.connor.renben.process.plm.tmom015,
com.connor.renben.process.plm.tmom016,
com.connor.renben.process.plm.tmom017,
com.connor.renben.process.plm.tmom018,
com.connor.renben.process.plm.tmom019,
com.connor.renben.process.plm.tmom020,
com.connor.renben.process.plm.tmom021,
com.connor.renben.process.plm.tmom022,
com.connor.renben.process.plm.tmom023,
com.connor.renben.process.plm.tmom024,
com.connor.renben.process.plm.tmom025,
com.connor.renben.process.plm.tmom026,
com.connor.renben.process.plm.tmom027,
com.connor.renben.process.plm.tmom028,
com.connor.renben.process.plm.tmom028._new,
com.connor.renben.process.plm.tmom028.copy,
com.connor.renben.process.plm.tmom029,
com.connor.renben.process.plm.tmom029._new,
com.connor.renben.process.plm.tmom030,
com.connor.renben.process.plm.tmom031,
com.connor.renben.process.plm.tmom031.copy,
com.connor.renben.process.plm.tmom031.hzzc,
com.connor.renben.process.plm.tmom032,
com.connor.renben.process.plm.tmom032.copy,
com.connor.renben.process.plm.tmom033,
com.connor.renben.process.plm.tmom033.copy,
com.connor.renben.process.plm.tmom034,
com.connor.renben.process.plm.tmom035,
com.connor.renben.process.plm.tmom036,
com.connor.renben.process.plm.tmom037,
com.connor.renben.process.plm.tmom038,
com.connor.renben.process.plm.tmom039,
com.connor.renben.process.plm.tmom0392,
com.connor.renben.process.plm.tmom040,
com.connor.renben.process.plm.tmom041,
com.connor.renben.process.plm.tmom042,
com.connor.renben.process.plm.updataBOM,
com.connor.renben.process.plm.util,
com.connor.renben.process.plm.worklist,
com.eltima.components.ui,
com.nbtm.customization.project.N01,
com.proya.savebomcheck,
com.spire.data.table,
com.spire.data.table.common,
com.spire.license,
com.spire.ms.System,
com.spire.ms.System.Collections,
com.spire.ms.System.Collections.Generic,
com.spire.ms.System.Collections.ObjectModel,
com.spire.ms.System.Collections.Specialized,
com.spire.ms.System.Diagnostics,
com.spire.ms.System.Reflection,
com.spire.ms.System.Security.Cryptography,
com.spire.ms.System.Security.Cryptography.X509Certificates,
com.spire.ms.System.Xml,
com.spire.ms.charsets,
com.spire.ms.charsets.euc_kr,
com.spire.ms.charsets.iso_8859_1,
com.spire.ms.charsets.iso_8859_8,
com.spire.ms.charsets.ms_936,
com.spire.ms.charsets.utf_7,
com.spire.ms.core.System.Security.Cryptography.X509Certificates,
com.spire.ms.imagecodecs.bmp.spi,
com.spire.ms.imagecodecs.gif.spi,
com.spire.ms.imagecodecs.ico.spi,
com.spire.ms.imagecodecs.jpeg.spi,
com.spire.ms.imagecodecs.png.spi,
com.spire.ms.imagecodecs.tiff.spi,
com.spire.ms.lang,
com.spire.pdf,
com.spire.pdf.actions,
com.spire.pdf.annotations,
com.spire.pdf.annotations.appearance,
com.spire.pdf.attachments,
com.spire.pdf.automaticfields,
com.spire.pdf.barcode,
com.spire.pdf.bookmarks,
com.spire.pdf.collections,
com.spire.pdf.colorspace,
com.spire.pdf.exporting,
com.spire.pdf.exporting.text,
com.spire.pdf.exporting.xps.schema,
com.spire.pdf.fields,
com.spire.pdf.general,
com.spire.pdf.general.find,
com.spire.pdf.general.paper.drawing.ps,
com.spire.pdf.general.paper.font.common,
com.spire.pdf.general.paper.font.postscript.path,
com.spire.pdf.general.paper.font.rendering.hinting,
com.spire.pdf.general.paper.font.ttf.internals,
com.spire.pdf.general.paper.font.type1.internals,
com.spire.pdf.general.paper.font.type1.internals.parsing.objects,
com.spire.pdf.graphics,
com.spire.pdf.graphics.fonts,
com.spire.pdf.graphics.layer,
com.spire.pdf.grid,
com.spire.pdf.htmlconverter,
com.spire.pdf.htmlconverter.qt,
com.spire.pdf.interfacess,
com.spire.pdf.lists,
com.spire.pdf.security,
com.spire.pdf.tables,
com.spire.pdf.tables.table,
com.spire.pdf.tables.table.common,
com.spire.pdf.widget,
com.spire.pdf.xmp,
com.spire.xls,
com.spire.xls.charts,
com.spire.xls.collections,
com.spire.xls.core,
com.spire.xls.core.converter,
com.spire.xls.core.converter.exporting,
com.spire.xls.core.converter.rendering.chart.charts.common,
com.spire.xls.core.converter.rendering.chart.charts.xlscharts.general,
com.spire.xls.core.converter.rendering.chart.charts.xlsxcharts.general,
com.spire.xls.core.converter.rendering.chart.shapes.xlsshaps.general,
com.spire.xls.core.converter.rendering.chart.shapes.xlsshaps.general.gradient,
com.spire.xls.core.converter.rendering.chart.shapes.xlsxshaps.general,
com.spire.xls.core.converter.rendering.chart.shapes.xlsxshaps.general.gradient,
com.spire.xls.core.converter.spreadsheet,
com.spire.xls.core.converter.spreadsheet.autofilter,
com.spire.xls.core.converter.spreadsheet.charts,
com.spire.xls.core.converter.spreadsheet.conditionalformatting,
com.spire.xls.core.converter.spreadsheet.conditionalformatting.xlsx,
com.spire.xls.core.converter.spreadsheet.excelstyle,
com.spire.xls.core.converter.spreadsheet.extensions,
com.spire.xls.core.converter.spreadsheet.formulaop,
com.spire.xls.core.converter.spreadsheet.pagesetup,
com.spire.xls.core.converter.spreadsheet.pivottable,
com.spire.xls.core.converter.spreadsheet.query,
com.spire.xls.core.converter.spreadsheet.shapes,
com.spire.xls.core.converter.spreadsheet.shapes.msodrawing,
com.spire.xls.core.converter.spreadsheet.sparkline,
com.spire.xls.core.converter.spreadsheet.xmlmapping,
com.spire.xls.core.converter.tables,
com.spire.xls.core.interfaces,
com.spire.xls.core.interfacess,
com.spire.xls.core.spreadsheet,
com.spire.xls.core.spreadsheet.autofilter,
com.spire.xls.core.spreadsheet.charts,
com.spire.xls.core.spreadsheet.collections,
com.spire.xls.core.spreadsheet.conditionalformatting,
com.spire.xls.core.spreadsheet.pivottables,
com.spire.xls.core.spreadsheet.shapes,
com.spire.xls.core.spreadsheet.sorting,
com.spire.xls.packages,
com.sun.jna,
com.sun.jna.platform,
com.sun.jna.platform.dnd,
com.sun.jna.platform.mac,
com.sun.jna.platform.unix,
com.sun.jna.platform.unix.solaris,
com.sun.jna.platform.win32,
com.sun.jna.platform.win32.COM,
com.sun.jna.platform.win32.COM.tlb,
com.sun.jna.platform.win32.COM.tlb.imp,
com.sun.jna.platform.win32.COM.util,
com.sun.jna.platform.win32.COM.util.annotation,
com.sun.jna.platform.wince,
com.sun.jna.ptr,
com.sun.jna.win32,
javax.xml.stream,
javax.xml.stream.events,
javax.xml.stream.util,
jxl,
jxl.biff,
jxl.biff.drawing,
jxl.biff.formula,
jxl.common,
jxl.common.log,
jxl.demo,
jxl.format,
jxl.read.biff,
jxl.write,
jxl.write.biff,
net.sf.ezmorph,
net.sf.ezmorph.array,
net.sf.ezmorph.bean,
net.sf.ezmorph.object,
net.sf.ezmorph.primitive,
net.sf.ezmorph.test,
net.sf.json,
net.sf.json.filters,
net.sf.json.groovy,
net.sf.json.processors,
net.sf.json.regexp,
net.sf.json.test,
net.sf.json.util,
net.sf.json.xml,
oracle.core.lmx,
oracle.core.lvf,
oracle.i18n.text,
oracle.i18n.text.converter,
oracle.i18n.util,
oracle.i18n.util.builder,
oracle.jdbc,
oracle.jdbc.aq,
oracle.jdbc.babelfish,
oracle.jdbc.connector,
oracle.jdbc.dcn,
oracle.jdbc.diagnostics,
oracle.jdbc.driver,
oracle.jdbc.internal,
oracle.jdbc.oci,
oracle.jdbc.oracore,
oracle.jdbc.pool,
oracle.jdbc.proxy,
oracle.jdbc.proxy.annotation,
oracle.jdbc.replay,
oracle.jdbc.replay.driver,
oracle.jdbc.replay.internal,
oracle.jdbc.rowset,
oracle.jdbc.util,
oracle.jdbc.xa,
oracle.jdbc.xa.client,
oracle.jpub.runtime,
oracle.net.ano,
oracle.net.aso,
oracle.net.jdbc.TNSAddress,
oracle.net.jdbc.nl,
oracle.net.jdbc.nl.mesg,
oracle.net.jndi,
oracle.net.ns,
oracle.net.nt,
oracle.net.resolver,
oracle.security.o3logon,
oracle.security.o5logon,
oracle.sql,
oracle.sql.converter,
org.apache.commons.beanutils,
org.apache.commons.beanutils.converters,
org.apache.commons.beanutils.expression,
org.apache.commons.beanutils.locale,
org.apache.commons.beanutils.locale.converters,
org.apache.commons.codec,
org.apache.commons.codec.binary,
org.apache.commons.codec.digest,
org.apache.commons.codec.language,
org.apache.commons.codec.language.bm,
org.apache.commons.codec.net,
org.apache.commons.collections,
org.apache.commons.collections.bag,
org.apache.commons.collections.bidimap,
org.apache.commons.collections.buffer,
org.apache.commons.collections.collection,
org.apache.commons.collections.comparators,
org.apache.commons.collections.functors,
org.apache.commons.collections.iterators,
org.apache.commons.collections.keyvalue,
org.apache.commons.collections.list,
org.apache.commons.collections.map,
org.apache.commons.collections.set,
org.apache.commons.dbutils,
org.apache.commons.dbutils.handlers,
org.apache.commons.dbutils.wrappers,
org.apache.commons.lang,
org.apache.commons.lang.builder,
org.apache.commons.lang.enum,
org.apache.commons.lang.enums,
org.apache.commons.lang.exception,
org.apache.commons.lang.math,
org.apache.commons.lang.mutable,
org.apache.commons.lang.reflect,
org.apache.commons.lang.text,
org.apache.commons.lang.time,
org.apache.commons.logging,
org.apache.commons.logging.impl,
org.apache.poi,
org.apache.poi.common.usermodel,
org.apache.poi.ddf,
org.apache.poi.dev,
org.apache.poi.extractor,
org.apache.poi.hdf.event,
org.apache.poi.hdf.extractor,
org.apache.poi.hdf.extractor.data,
org.apache.poi.hdf.extractor.util,
org.apache.poi.hdf.model,
org.apache.poi.hdf.model.hdftypes,
org.apache.poi.hdf.model.hdftypes.definitions,
org.apache.poi.hdf.model.util,
org.apache.poi.hdgf,
org.apache.poi.hdgf.chunks,
org.apache.poi.hdgf.dev,
org.apache.poi.hdgf.exceptions,
org.apache.poi.hdgf.extractor,
org.apache.poi.hdgf.pointers,
org.apache.poi.hdgf.streams,
org.apache.poi.hmef,
org.apache.poi.hmef.attribute,
org.apache.poi.hmef.dev,
org.apache.poi.hmef.extractor,
org.apache.poi.hpbf,
org.apache.poi.hpbf.dev,
org.apache.poi.hpbf.extractor,
org.apache.poi.hpbf.model,
org.apache.poi.hpbf.model.qcbits,
org.apache.poi.hpsf,
org.apache.poi.hpsf.examples,
org.apache.poi.hpsf.extractor,
org.apache.poi.hpsf.wellknown,
org.apache.poi.hslf,
org.apache.poi.hslf.blip,
org.apache.poi.hslf.dev,
org.apache.poi.hslf.examples,
org.apache.poi.hslf.exceptions,
org.apache.poi.hslf.extractor,
org.apache.poi.hslf.model,
org.apache.poi.hslf.model.textproperties,
org.apache.poi.hslf.record,
org.apache.poi.hslf.usermodel,
org.apache.poi.hslf.util,
org.apache.poi.hsmf,
org.apache.poi.hsmf.datatypes,
org.apache.poi.hsmf.dev,
org.apache.poi.hsmf.examples,
org.apache.poi.hsmf.exceptions,
org.apache.poi.hsmf.extractor,
org.apache.poi.hsmf.parsers,
org.apache.poi.hssf,
org.apache.poi.hssf.converter,
org.apache.poi.hssf.dev,
org.apache.poi.hssf.eventmodel,
org.apache.poi.hssf.eventusermodel,
org.apache.poi.hssf.eventusermodel.dummyrecord,
org.apache.poi.hssf.eventusermodel.examples,
org.apache.poi.hssf.extractor,
org.apache.poi.hssf.model,
org.apache.poi.hssf.record,
org.apache.poi.hssf.record.aggregates,
org.apache.poi.hssf.record.cf,
org.apache.poi.hssf.record.chart,
org.apache.poi.hssf.record.common,
org.apache.poi.hssf.record.cont,
org.apache.poi.hssf.record.crypto,
org.apache.poi.hssf.record.pivottable,
org.apache.poi.hssf.usermodel,
org.apache.poi.hssf.usermodel.examples,
org.apache.poi.hssf.util,
org.apache.poi.hssf.view,
org.apache.poi.hssf.view.brush,
org.apache.poi.hwpf,
org.apache.poi.hwpf.converter,
org.apache.poi.hwpf.dev,
org.apache.poi.hwpf.extractor,
org.apache.poi.hwpf.model,
org.apache.poi.hwpf.model.io,
org.apache.poi.hwpf.model.types,
org.apache.poi.hwpf.sprm,
org.apache.poi.hwpf.usermodel,
org.apache.poi.openxml4j.exceptions,
org.apache.poi.openxml4j.opc,
org.apache.poi.openxml4j.opc.internal,
org.apache.poi.openxml4j.opc.internal.marshallers,
org.apache.poi.openxml4j.opc.internal.signature,
org.apache.poi.openxml4j.opc.internal.unmarshallers,
org.apache.poi.openxml4j.opc.signature,
org.apache.poi.openxml4j.util,
org.apache.poi.poifs.common,
org.apache.poi.poifs.crypt,
org.apache.poi.poifs.dev,
org.apache.poi.poifs.eventfilesystem,
org.apache.poi.poifs.filesystem,
org.apache.poi.poifs.nio,
org.apache.poi.poifs.poibrowser,
org.apache.poi.poifs.property,
org.apache.poi.poifs.storage,
org.apache.poi.sl.usermodel,
org.apache.poi.ss,
org.apache.poi.ss.examples,
org.apache.poi.ss.examples.formula,
org.apache.poi.ss.examples.html,
org.apache.poi.ss.excelant,
org.apache.poi.ss.excelant.util,
org.apache.poi.ss.extractor,
org.apache.poi.ss.format,
org.apache.poi.ss.formula,
org.apache.poi.ss.formula.atp,
org.apache.poi.ss.formula.constant,
org.apache.poi.ss.formula.eval,
org.apache.poi.ss.formula.eval.forked,
org.apache.poi.ss.formula.function,
org.apache.poi.ss.formula.functions,
org.apache.poi.ss.formula.ptg,
org.apache.poi.ss.formula.udf,
org.apache.poi.ss.usermodel,
org.apache.poi.ss.usermodel.charts,
org.apache.poi.ss.util,
org.apache.poi.ss.util.cellwalk,
org.apache.poi.util,
org.apache.poi.xslf,
org.apache.poi.xslf.extractor,
org.apache.poi.xslf.model,
org.apache.poi.xslf.model.geom,
org.apache.poi.xslf.usermodel,
org.apache.poi.xslf.usermodel.tutorial,
org.apache.poi.xslf.util,
org.apache.poi.xssf.dev,
org.apache.poi.xssf.eventusermodel,
org.apache.poi.xssf.eventusermodel.examples,
org.apache.poi.xssf.extractor,
org.apache.poi.xssf.model,
org.apache.poi.xssf.streaming,
org.apache.poi.xssf.usermodel,
org.apache.poi.xssf.usermodel.charts,
org.apache.poi.xssf.usermodel.examples,
org.apache.poi.xssf.usermodel.extensions,
org.apache.poi.xssf.usermodel.helpers,
org.apache.poi.xssf.util,
org.apache.poi.xwpf.extractor,
org.apache.poi.xwpf.model,
org.apache.poi.xwpf.usermodel,
org.apache.xmlbeans,
org.apache.xmlbeans.impl.common,
org.apache.xmlbeans.impl.config,
org.apache.xmlbeans.impl.inst2xsd,
org.apache.xmlbeans.impl.inst2xsd.util,
org.apache.xmlbeans.impl.jam,
org.apache.xmlbeans.impl.jam.annotation,
org.apache.xmlbeans.impl.jam.internal,
org.apache.xmlbeans.impl.jam.internal.classrefs,
org.apache.xmlbeans.impl.jam.internal.elements,
org.apache.xmlbeans.impl.jam.internal.javadoc,
org.apache.xmlbeans.impl.jam.internal.parser,
org.apache.xmlbeans.impl.jam.internal.reflect,
org.apache.xmlbeans.impl.jam.mutable,
org.apache.xmlbeans.impl.jam.provider,
org.apache.xmlbeans.impl.jam.visitor,
org.apache.xmlbeans.impl.jam.xml,
org.apache.xmlbeans.impl.piccolo.io,
org.apache.xmlbeans.impl.piccolo.util,
org.apache.xmlbeans.impl.piccolo.xml,
org.apache.xmlbeans.impl.regex,
org.apache.xmlbeans.impl.richParser,
org.apache.xmlbeans.impl.schema,
org.apache.xmlbeans.impl.soap,
org.apache.xmlbeans.impl.store,
org.apache.xmlbeans.impl.tool,
org.apache.xmlbeans.impl.util,
org.apache.xmlbeans.impl.validator,
org.apache.xmlbeans.impl.values,
org.apache.xmlbeans.impl.xb.ltgfmt,
org.apache.xmlbeans.impl.xb.ltgfmt.impl,
org.apache.xmlbeans.impl.xb.substwsdl,
org.apache.xmlbeans.impl.xb.substwsdl.impl,
org.apache.xmlbeans.impl.xb.xmlconfig,
org.apache.xmlbeans.impl.xb.xmlconfig.impl,
org.apache.xmlbeans.impl.xb.xmlschema,
org.apache.xmlbeans.impl.xb.xmlschema.impl,
org.apache.xmlbeans.impl.xb.xsdownload,
org.apache.xmlbeans.impl.xb.xsdownload.impl,
org.apache.xmlbeans.impl.xb.xsdschema,
org.apache.xmlbeans.impl.xb.xsdschema.impl,
org.apache.xmlbeans.impl.xpathgen,
org.apache.xmlbeans.impl.xsd2inst,
org.apache.xmlbeans.soap,
org.apache.xmlbeans.xml.stream,
org.apache.xmlbeans.xml.stream.events,
org.apache.xmlbeans.xml.stream.utils,
org.dom4j,
org.dom4j.bean,
org.dom4j.datatype,
org.dom4j.dom,
org.dom4j.dtd,
org.dom4j.io,
org.dom4j.jaxb,
org.dom4j.rule,
org.dom4j.rule.pattern,
org.dom4j.swing,
org.dom4j.tree,
org.dom4j.util,
org.dom4j.xpath,
org.dom4j.xpp,
org.openxmlformats.schemas.drawingml.x2006.chart,
org.openxmlformats.schemas.drawingml.x2006.chart.impl,
org.openxmlformats.schemas.drawingml.x2006.main,
org.openxmlformats.schemas.drawingml.x2006.main.impl,
org.openxmlformats.schemas.drawingml.x2006.picture,
org.openxmlformats.schemas.drawingml.x2006.picture.impl,
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing,
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.impl,
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing,
org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.impl,
org.openxmlformats.schemas.officeDocument.x2006.customProperties,
org.openxmlformats.schemas.officeDocument.x2006.customProperties.impl,
org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes,
org.openxmlformats.schemas.officeDocument.x2006.docPropsVTypes.impl,
org.openxmlformats.schemas.officeDocument.x2006.extendedProperties,
org.openxmlformats.schemas.officeDocument.x2006.extendedProperties.impl,
org.openxmlformats.schemas.officeDocument.x2006.relationships,
org.openxmlformats.schemas.officeDocument.x2006.relationships.impl,
org.openxmlformats.schemas.presentationml.x2006.main,
org.openxmlformats.schemas.presentationml.x2006.main.impl,
org.openxmlformats.schemas.spreadsheetml.x2006.main,
org.openxmlformats.schemas.spreadsheetml.x2006.main.impl,
org.openxmlformats.schemas.wordprocessingml.x2006.main,
org.openxmlformats.schemas.wordprocessingml.x2006.main.impl,
org.w3c.dom,
repackage,
schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707,
schemaorg_apache_xmlbeans.system.sXMLCONFIG,
schemaorg_apache_xmlbeans.system.sXMLLANG,
schemaorg_apache_xmlbeans.system.sXMLSCHEMA,
schemaorg_apache_xmlbeans.system.sXMLTOOLS,
schemasMicrosoftComOfficeExcel,
schemasMicrosoftComOfficeExcel.impl,
schemasMicrosoftComOfficeOffice,
schemasMicrosoftComOfficeOffice.impl,
schemasMicrosoftComVml,
schemasMicrosoftComVml.impl
Import-Package: com.teamcenter.rac.cm.ui,
org.osgi.service.event

1
bin/.gitignore vendored

@ -0,0 +1 @@
/com/

@ -0,0 +1,38 @@
output.. = bin/
bin.includes = plugin.xml,\
META-INF/,\
icons/,\
poilib/commons-codec-1.10.jar,\
poilib/commons-logging-1.1.jar,\
poilib/dom4j-1.6.1.jar,\
poilib/jsr173_1.0_api.jar,\
poilib/jxl_1.0.0.jar,\
poilib/poi-3.9-20121203.jar,\
poilib/poi-examples-3.9-20121203.jar,\
poilib/poi-excelant-3.9-20121203.jar,\
poilib/poi-ooxml-3.9-20121203.jar,\
poilib/poi-ooxml-schemas-3.9-20121203.jar,\
poilib/poi-scratchpad-3.9-20121203.jar,\
poilib/xmlbeans-2.5.0.jar,\
sql.properties,\
src/com/teamcenter/rac/pse/pse_user.properties,\
poilib/commons-beanutils-1.9.2.jar,\
poilib/commons-collections-3.2.1.jar,\
poilib/commons-lang-2.6.jar,\
poilib/commons-logging-1.1.3.jar,\
poilib/ezmorph-1.0.6.jar,\
poilib/json-lib-2.4-jdk15.jar,\
poilib/Spire.Xls.jar,\
.,\
plugin_zh_CN.properties,\
plugin.properties,\
lib/fastjson-1.2.66.jar,\
poilib/orai18n.jar,\
poilib/ojdbc7-12.1.0.1.jar,\
lib/TcSoaCommon_12000.4.0.jar,\
lib/TcSoaCoreRac_12000.4.0.jar,\
lib/TcSoaCoreTypes_12000.4.0.jar,\
lib/TcSoaStructureManagementRac_12000.4.0.jar,\
lib/saveAsTest.jar
source.. = src/
jars.compile.order = .

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

Binary file not shown.

@ -0,0 +1,82 @@
cjgy_display.TITLE=Create Process
cjlsgy_display.TITLE=Creating historical crafts
cjgx_display.TITLE=Create process
cjgclct_display.TITLE=Create process flow chart
cjsscgzjh_display.TITLE=Create pilot production control plan
cjsckzjh_display.TITLE=Create production control plan
cjyjkzjh_display.TITLE=Create sample control plan
cjPFMEA_display.TITLE=Create PFMEA
cjsb_display.TITLE=Create device
cjgz_display.TITLE=Create tooling
cjgzqy_display.TITLE=Create workspace
cjgytz_display.TITLE=Create process drawings
cjzyzds_display.TITLE=Create work instruction
pldctz_display.TITLE=Batch export drawings
txkzjh_display.TITLE=Fill in control plan
drkzjh_display.TITLE=Import control plan
shkzjh_display.TITLE=Audit control plan
gjmbcjgx_display.TITLE=Create an operation from a template
gjmbcjgy_display.TITLE=Create process based on template
gjgycjgy_display.TITLE=Create process based on process
zyzp_display.TITLE=resource assignment
gyfg_display.TITLE=Process division
kzjhrwff_display.TITLE=Control plan task distribution
PFMEAsj_display.TITLE=PFMEA design
cxplBOM_display.TITLE=Rearrange BOM
glkzjhk_display.TITLE=Management control plan library
glPFMEAk_display.TITLE=Manage PFMEA Library
glck_display.TITLE=Manage lexicon
ggkzjhfzr_display.TITLE=Person in charge of change control plan
bzgysj_display.TITLE=Packaging process design
qcwcbj_display.TITLE=Clear completion flag
qckzjhsysj_display.TITLE=Clear all data of control plan
xzgytz_display.TITLE=Select process drawings
gjkzjhlc_display.TITLE=Save as per control plan
gjPFMEAlc_display.TITLE=Save as per PFMEA
PFMEAyqtj_display.TITLE=Overdue statistics of PFMEA
zlrjyl_display.TITLE=Quality software Preview
bjwtd_display.TITLE=Edit order
zygyk_display.TITLE=Operation process card
zpgyk_display.TITLE=Assembly process card
zyjzs_display.TITLE=Task standard
hbgyk_display.TITLE=Horizontal plate process card
sbgyk_display.TITLE=Vertical process card
zpgyk_display.TITLE=Assembly process card
bzsq_display.TITLE=Packaging application
bzzyzds_display.TITLE=Packing operation instruction
bzgysj_display.TITLE=Packaging process design
bzfa_display.TITLE=Package plan
jclcjc_display.TITLE=Inspection process monitoring
cs_display.TITLE=test
rbgy_display.TITLE=Process
gydx_display.TITLE=Process object
gxdx_display.TITLE=working procedure object
PFMEAzz_display.TITLE=PFMEA making
kzjhzz_display.TITLE=Control plan making
gywjgl_display.TITLE=Process document management
xjkzjh_display.TITLE=newly build control plan
xtfg_display.TITLE=Collaborative division of labor
dcgyk_display.TITLE=Export process card
dcgykx_display.TITLE=Export process card (New)
bzgy_display.TITLE=Packaging process
zykwh_display.TITLE=Resource library maintenance
lssjwh_display.TITLE=Historical data maintenance
syjcwt_display.TITLE=Test / Inspection Commission
cjbzgx_display.TITLE=Create standard operation
jcfxwtd_display.TITLE=Inspection and Analysis Order
jsfxwtd_display.TITLE=Calculation Analysis Order
gzlcfl_display.TITLE=Workflow classification
sywtd_display.TITLE=Test Order
xcpgzmjqd_display.TITLE=List of new product tooling and mould
sbgykx_display.TITLE=Vertical version process card (new)
hbgykx_display.TITLE=Horizontal process card (new)
zpgykx_display.TITLE=Assembly Process Card (New)
hzzcgyk_display.TITLE=Rotary Bearing Process Card
TITLE=
TITLE=
TITLE=
TITLE=
TITLE=
TITLE=
TITLE=

File diff suppressed because it is too large Load Diff

@ -0,0 +1,82 @@
cjgy_display.TITLE=\u521b\u5efa\u5de5\u827a
cjlsgy_display.TITLE=\u521b\u5efa\u5386\u53f2\u5de5\u827a
cjgx_display.TITLE=\u521b\u5efa\u5de5\u5e8f
cjgclct_display.TITLE=\u521b\u5efa\u8fc7\u7a0b\u6d41\u7a0b\u56fe\u000d\u000a
cjsscgzjh_display.TITLE=\u521b\u5efa\u8bd5\u751f\u4ea7\u63a7\u5236\u8ba1\u5212\u000d\u000a
cjsckzjh_display.TITLE=\u521b\u5efa\u751f\u4ea7\u63a7\u5236\u8ba1\u5212
cjyjkzjh_display.TITLE=\u521b\u5efa\u6837\u4ef6\u63a7\u5236\u8ba1\u5212
cjPFMEA_display.TITLE=\u521b\u5efa\u0050\u0046\u004d\u0045\u0041
cjsb_display.TITLE=\u521b\u5efa\u8bbe\u5907
cjgz_display.TITLE=\u521b\u5efa\u5de5\u88c5
cjgzqy_display.TITLE=\u521b\u5efa\u5de5\u4f5c\u533a\u57df
cjgytz_display.TITLE=\u521b\u5efa\u5de5\u827a\u56fe\u7eb8
cjzyzds_display.TITLE=\u521b\u5efa\u4f5c\u4e1a\u6307\u5bfc\u4e66
pldctz_display.TITLE=\u6279\u91cf\u5bfc\u51fa\u56fe\u7eb8
txkzjh_display.TITLE=\u586b\u5199\u63a7\u5236\u8ba1\u5212
drkzjh_display.TITLE=\u5bfc\u5165\u63a7\u5236\u8ba1\u5212
shkzjh_display.TITLE=\u5ba1\u6838\u63a7\u5236\u8ba1\u5212
gjmbcjgx_display.TITLE=\u6839\u636e\u6a21\u677f\u521b\u5efa\u5de5\u5e8f
gjmbcjgy_display.TITLE=\u6839\u636e\u6a21\u677f\u521b\u5efa\u5de5\u827a
gjgycjgy_display.TITLE=\u6839\u636e\u5de5\u827a\u521b\u5efa\u5de5\u827a
zyzp_display.TITLE=\u8d44\u6e90\u6307\u6d3e
gyfg_display.TITLE=\u5de5\u827a\u5206\u5de5
kzjhrwff_display.TITLE=\u63a7\u5236\u8ba1\u5212\u4efb\u52a1\u5206\u53d1
PFMEAsj_display.TITLE=\u0050\u0046\u004d\u0045\u0041\u8bbe\u8ba1
cxplBOM_display.TITLE=\u91cd\u65b0\u6392\u5217\u0042\u004f\u004d
glkzjhk_display.TITLE=\u7ba1\u7406\u63a7\u5236\u8ba1\u5212\u5e93
glPFMEAk_display.TITLE=\u7ba1\u7406\u0050\u0046\u004d\u0045\u0041\u5e93
glck_display.TITLE=\u7ba1\u7406\u8bcd\u5e93
ggkzjhfzr_display.TITLE=\u66f4\u6539\u63a7\u5236\u8ba1\u5212\u8d1f\u8d23\u4eba
bzgysj_display.TITLE=\u5305\u88c5\u5de5\u827a\u8bbe\u8ba1
qcwcbj_display.TITLE=\u6e05\u9664\u5b8c\u6210\u6807\u8bb0
qckzjhsysj_display.TITLE=\u6e05\u9664\u63a7\u5236\u8ba1\u5212\u6240\u6709\u6570\u636e
xzgytz_display.TITLE=\u9009\u62e9\u5de5\u827a\u56fe\u7eb8
gjkzjhlc_display.TITLE=\u6839\u636e\u63a7\u5236\u8ba1\u5212\u53e6\u5b58
gjPFMEAlc_display.TITLE=\u6839\u636e\u0050\u0046\u004d\u0045\u0041\u53e6\u5b58
PFMEAyqtj_display.TITLE=\u0050\u0046\u004d\u0045\u0041\u903e\u671f\u7edf\u8ba1
zlrjyl_display.TITLE=\u8d28\u91cf\u8f6f\u4ef6\u9884\u89c8
bjwtd_display.TITLE=\u7f16\u8f91\u59d4\u6258\u5355
zygyk_display.TITLE=\u4f5c\u4e1a\u5de5\u827a\u5361
zygyk_new_display.TITLE=\u4F5C\u4E1A\u5DE5\u827A\u5361\uff08\u65b0\uff09
zpgyk_display.TITLE=\u88c5\u914d\u5de5\u827a\u5361
zyjzs_display.TITLE=\u4f5c\u4e1a\u57fa\u51c6\u4e66
hbgyk_display.TITLE=\u6a2a\u677f\u5de5\u827a\u5361
sbgyk_display.TITLE=\u7ad6\u7248\u5de5\u827a\u5361
zpgyk_display.TITLE=\u88c5\u914d\u5de5\u827a\u5361
zpgyk_new_display.TITLE=\u88c5\u914d\u5de5\u827a\u5361\uff08\u65b0\uff09
bzsq_display.TITLE=\u5305\u88c5\u7533\u8bf7
bzzyzds_display.TITLE=\u5305\u88c5\u4f5c\u4e1a\u6307\u5bfc\u4e66
bzgysj_display.TITLE=\u5305\u88c5\u5de5\u827a\u8bbe\u8ba1
bzfa_display.TITLE=\u5305\u88c5\u65b9\u6848
jclcjc_display.TITLE=\u68c0\u6d4b\u6d41\u7a0b\u76d1\u6d4b
cs_display.TITLE=\u6d4b\u8bd5
rbgy_display.TITLE=\u5de5\u827a
gydx_display.TITLE=\u5de5\u827a\u5bf9\u8c61
gxdx_display.TITLE=\u5de5\u5e8f\u5bf9\u8c61
PFMEAzz_display.TITLE=\u0050\u0046\u004d\u0045\u0041\u5236\u4f5c
kzjhzz_display.TITLE=\u63a7\u5236\u8ba1\u5212\u5236\u4f5c
gywjgl_display.TITLE=\u5de5\u827a\u6587\u4ef6\u7ba1\u7406
xjkzjh_display.TITLE=\u65b0\u5efa\u63a7\u5236\u8ba1\u5212
xtfg_display.TITLE=\u534f\u540c\u5206\u5de5
dcgyk_display.TITLE=\u5bfc\u51fa\u5de5\u827a\u5361
dcgykx_display.TITLE=\u5bfc\u51fa\u5de5\u827a\u5361\uff08\u65b0\uff09
bzgy_display.TITLE=\u5305\u88c5\u5de5\u827a
zykwh_display.TITLE=\u8d44\u6e90\u5e93\u7ef4\u62a4
lssjwh_display.TITLE=\u5386\u53f2\u6570\u636e\u7ef4\u62a4
syjcwt_display.TITLE=\u8bd5\u9a8c\u002f\u68c0\u6d4b\u59d4\u6258
cjbzgx_display.TITLE=\u521B\u5EFA\u6807\u51C6\u5DE5\u5E8F
jcfxwtd_display.TITLE=\u68C0\u6D4B\u5206\u6790\u59D4\u6258\u5355
jsfxwtd_display.TITLE=\u8BA1\u7B97\u5206\u6790\u59D4\u6258\u5355
sywtd_display.TITLE=\u8BD5\u9A8C\u59D4\u6258\u5355
gzlcfl_display.TITLE=\u5DE5\u4F5C\u6D41\u7A0B\u5206\u7C7B
xcpgzmjqd_display.TITLE=\u65B0\u4EA7\u54C1\u5DE5\u88C5\u6A21\u5177\u6E05\u5355
sbgykx_display.TITLE=\u7ad6\u7248\u5de5\u827a\u5361\uff08\u65b0\uff09
hbgykx_display.TITLE=\u6a2a\u7248\u5de5\u827a\u5361\uff08\u65b0\uff09
zpgykx_display.TITLE=\u88c5\u914d\u5de5\u827a\u5361\uff08\u65b0\uff09
hzzcgyk_display.TITLE=\u56de\u8f6c\u652f\u627f\u5de5\u827a\u5361
_display.TITLE=
_display.TITLE=
_display.TITLE=
_display.TITLE=
_display.TITLE=
_display.TITLE=

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.

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.

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.

Binary file not shown.

@ -0,0 +1,113 @@
INSERTSQL=insert into RB3_CONTROLPLAN values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
DELETE=delete from RB3_CONTROLPLAN where RB3_MEOPID = \'%s\' and PROCESSPUID = \'%s\'
INSERTPFMEA=INSERT INTO RB3_PFMEA VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
BOMCHECKSAVESELECT=select RB3_MEOPID,RB3_GYBH,RB3_GCMC,RB3_JQSB from RB3_CONTROLPLAN where PROCESSPUID = \'%s\' and rb3_gcmc not like (\'%s\') AND REVISIONUID=\'%s\' group by RB3_MEOPID,rb3_gybh,RB3_GCMC,RB3_JQSB
BOMCHECKSAVESELECTPERMISSIONS=select RB3_MEOPID,rb3_gybh,RB3_GCMC,RB3_GXH from RB3_PERMISSIONS where PROCESSPUID = \'%s\' group by RB3_MEOPID,rb3_gybh,RB3_GCMC,RB3_GXH ORDER BY rb3_gybh
BOMCHECKSAVESELECTPFMEA=select RB3_MEOPID,rb3_station,rb3_gybh,RB3_GCMC from RB3_PFMEA where PROCESSPUID = \'%s\'
BOMCHECKSAVESELECT2=select * from RB3_CONTROLPLAN where PROCESSPUID = \'%s\' and RB3_MEOPID not in %s
BOMCHECKSAVESELECTPERMISSIONS2 = select * from RB3_PERMISSIONS where PROCESSPUID = \'%s\' and RB3_MEOPID not in %s
BOMCHECKSAVESELECTPFMEA2=select * from RB3_PFMEA where PROCESSPUID = \'%s\' and RB3_MEOPID not in %s
BOMCHECKSAVESELECT3=select * from RB3_PFMEA where PROCESSPUID = \'%s\' and RB3_MEOPID not in %s
BOMCHECKSAVEUPDATE=update RB3_CONTROLPLAN set RB3_GYBH = ?,RB3_GCMC = ?,RB3_JQSB = ? where PROCESSPUID = \'%s\' and RB3_MEOPID = \'%s\' and rb3_gcmc not like (\'%s\')
BOMCHECKSAVEUPDATE2=update RB3_CONTROLPLAN set RB3_GYBH = ?,RB3_GCMC = ?,RB3_JQSB = ? where PROCESSPUID = \'%s\' and RB3_MEOPID = \'%s\' and rb3_gcmc like (\'%s\')
DELETEPFMEA=delete from RB3_PFMEA where RB3_MEOPID = \'%s\' and PROCESSPUID = \'%s\'
UPDATEPFMEA=update RB3_PFMEA set RB3_STATION = ? where PROCESSPUID = \'%s\' and RB3_MEOPID = \'%s\'
INSERTPERMISSIONS=INSERT INTO RB3_PERMISSIONS VALUES(?,?,?,?,?,?,?,?,?,?)
UPDATEPERMISSIONS=UPDATE RB3_PERMISSIONS SET RB3_GYBH = ?,RB3_GCMC = ? ,RB3_GXH=? WHERE PROCESSPUID = \'%s\' and RB3_MEOPID = \'%s\'
DELETEPERMISSIONS=DELETE FROM RB3_PERMISSIONS WHERE RB3_MEOPID = \'%s\' and PROCESSPUID = \'%s\'
CONTROLPLANSELECT=select t1.*,t2.rb3_user,t2.rb3_inspectionuser from rb3_controlplan t1 left join rb3_permissions t2 on t1.rb3_meopid = t2.rb3_meopid and t1.processpuid = t2.processpuid where t1.PROCESSPUID = \'%s\' and t1.type = \'%s\' and t1.revisionuid=\'%s\' order by TO_NUMBER(t1.NO),to_number(t1.RB3_HH)
CONTROLPLANUPDATE=update RB3_CONTROLPLAN set RB3_GYBH = ?,RB3_GCMC = ?,RB3_JQSB = ?,RB3_QPTBH = ?,RB3_CP = ?,RB3_GC = ?,RB3_TSTX = ?,RB3_CPGC = ?,RB3_CLFF = ?,RB3_RL = ?,RB3_PL = ?,RB3_KZFF = ?,RB3_FYJH = ?,RB3_HH = ?,RB3_HBDYG = ? where plmeid = \'%s\' and revisionuid=\'%s\'
CONTROLPLANOPERATIONSELECT=select RB3_MEOPID,rb3_gybh from RB3_CONTROLPLAN where PROCESSPUID = \'%s\' and RB3_MEOPID is not null group by RB3_MEOPID,rb3_gybh
CONTROLPLANOPERATIONSELECT2=select RB3_MEOPID,NO from RB3_CONTROLPLAN where PROCESSPUID = \'%s\' and RB3_MEOPID is not null group by RB3_MEOPID,NO
CONTROLPLANDELETE=delete from RB3_CONTROLPLAN where PLMEID = \'%s\'
OPDIVISIONDIALOGSELECT=select processpuid,rb3_meopid,rb3_gybh,rb3_gcmc,rb3_user,rb3_inspectionuser,RB3_USER_NAME,RB3_INSPECTIONUSER_NAME from RB3_PERMISSIONS where PROCESSPUID = \'%s\' group by processpuid, rb3_meopid,rb3_gybh,rb3_gcmc,rb3_user,rb3_inspectionuser,RB3_USER_NAME,RB3_INSPECTIONUSER_NAME ORDER BY to_number(RB3_GYBH)
OPDIVISIONDIALOGUPDATE=UPDATE RB3_PERMISSIONS SET RB3_USER = ?,RB3_INSPECTIONUSER = ?,RB3_USER_NAME = ?,RB3_INSPECTIONUSER_NAME = ? WHERE PROCESSPUID = \'%s\' AND RB3_MEOPID = \'%s\'
CONTROLSYNERGYSELECT=select wm_concat(rb3_meopid) as rb3_meopid,RB3_USER_ID from RB3_CONTROLSYNERGY_VIEW where PROCESSPUID = '\%s\' group by RB3_USER_ID
CONTROLSYNERGYUPDATE=UPDATE RB3_PERMISSIONS SET RB3_CONTROLPLANUSER = ? WHERE PLMEID = \'%s\'
SETPFMEASELECT=SELECT * FROM RB3_PFMEA WHERE PROCESSPUID = \'%s\' AND REVISIONID=\'%s\' ORDER BY to_number(NO),to_number(RB3_HH)
SETPFMEADELETE=delete from RB3_PFMEA where PLMEID = \'%s\'
SETPFMEASELECT2=SELECT RB3_MEOPID,RB3_REQUIREMENT from RB3_PFMEA where PROCESSPUID = \'%s\' group by RB3_MEOPID,RB3_REQUIREMENT
SETPFMEAUPDATE=update RB3_PFMEA set RB3_GYBH = ?,RB3_GCMC = ?,RB3_STATION = ?,RB3_REQUIREMENT = ?,RB3_QZSXMS = ?,RB3_QZSXHG = ?,RB3_YZD = ?,RB3_JB = ?,RB3_QZSXQY = ?,RB3_XXGCKZYF = ?,RB3_PDS = ?,RB3_XXGCKZTC = ?,RB3_TCD = ?,RB3_RPN = ?,RB3_JYCS = ?,RB3_ZZR = ?,RB3_JHWCRQ = ?,RB3_CQDCS = ?,RB3_NEW_SEV = ?,RB3_NEW_OCC = ?,RB3_NEW_DET = ?,RB3_NEW_RPN = ?,RB3_IDEAL_STATE = ?,RB3_SPECIAL = ?,RB3_HH = ?,RB3_HBDYG = ? ,OCCURRRENCE = ?,DETECTION = ?,PRIORITY = ?,P1 = ?,P2 = ?,P3 = ?,P4 = ?,P5 = ? where plmeid = \'%s\' AND revisionid=\'%s\'
PFMEALIBRARYSELECT2=SELECT * FROM RB3_PFMEALIBRARY WHERE PUID = \'%s\' order by NUM
TM2CONTROLPLANTREESELECT=select * from RB3_CONTROLPLAN_TREE ORDER BY PARENT_ID,ID
CONTROLPLANLIBRARYSELECT=SELECT * FROM RB3_CONTROLPLAN_NODE WHERE PARENT_ID = \'%s\' order BY ID
CONTROLPLANLIBRARYDELETE=delete from RB3_CONTROLPLAN_NODE where PLMEID = \'%s\'
CONTROLPLANLIBRARYUPDATE=update RB3_CONTROLPLAN_NODE set ID = ?,RB3_JQSB = ?,RB3_SMJY = ?, RB3_QPTBH = ?,RB3_CC = ?,RB3_NO = ?,RB3_CP = ?,RB3_GC = ?,RB3_TSTX = ?,RB3_CPGC = ?,RB3_CLFF = ?,RB3_RL = ?,RB3_PL = ?,RB3_FZR = ?,RB3_KZFF = ?,RB3_CZGF = ?,RB3_FYJH = ?,RB3_SJSJ = ?,RB3_GCSJ = ?,RB3_MJSJ = ?,RB3_SPECIAL = ? where plmeid = \'%s\'
CONTROLPLANLIBRARYINSERT=INSERT INTO RB3_CONTROLPLAN_NODE VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
!++++++++++++++++++++++++++++++
RB3_TESTFORMSELECT=select * from RB3_TESTFORM WHERE PUID = \'%s\' order by P1
RB3_TESTFORMUPDATE=update RB3_TESTFORM set P1 = ?, P2 = ?, P3 = ?, P4 = ?, P5 = ?WHERE PLMID = \'%s\'
RB3_TESTFORMINSERT=INSERT INTO RB3_TESTFORM VALUES(?,?,?,?,?,?,?)
RB3_TESTFORMDELETE=DELETE FROM RB3_TESTFORM WHERE PLMID = \'%s\'
!+++++++++++++++++++++++++++++++
RB3_TESTDATASELECT=select * from RB3_TESTDATA WHERE PUID = \'%s\' order by P1
RB3_TESTDATAUPDATE=update RB3_TESTDATA set PLMEID = ?, PUID = ?,TYPE = ?, P1 = ? ,P2 = ?,P3 = ?,P4 = ? ,P5 = ?,P6 = ? WHERE PUID = \'%s\'
RB3_TESTDATAINSERT=INSERT INTO RB3_TESTDATA VALUES(?,?,?,?,?,?,?,?,?,?)
RB3_TESTDATADELETE=DELETE FROM RB3_TESTDATA WHERE TYPE = \'%s\' AND PUID = \'%s\' AND NODE = \'%s\'
!++++++++++++++++++++++++++++++
TM2PFMEATREESELECT=select * from RB3_PFMEA_TREE ORDER BY PARENT_ID,ID
PFMEALIBRARYSELECT=SELECT * FROM RB3_PFMEA_NODE WHERE PARENT_ID = \'%s\' order BY ID
PFMEALIBRARYDELETE=delete from RB3_PFMEA_NODE where PLMEID = \'%s\'
PFMEALIBRARYUPDATE=update RB3_PFMEA_NODE set ID = ?, RB3_STATION = ?,RB3_REQUIREMENT = ?,RB3_QZSXMS = ?,RB3_QZSXHG = ?,RB3_YZD = ?,RB3_JB = ?,RB3_QZSXQY = ?,RB3_XXGCKZYF = ?,RB3_PDS = ?,RB3_XXGCKZTC = ?,RB3_TCD = ?,RB3_RPN = ?,RB3_JYCS = ?,RB3_ZZR = ?,RB3_JHWCRQ = ?,RB3_CQDCS = ?,RB3_NEW_SEV = ?,RB3_NEW_OCC = ?,RB3_NEW_DET = ?,RB3_NEW_RPN = ?,RB3_IDEAL_STATE = ?,RB3_SPECIAL = ?,P1 = ?,P2 = ?,P3 = ?,P4 = ?,P5 = ?,P6 = ?,P7 = ?,P8 = ? where plmeid = \'%s\'
PFMEALIBRARYINSERT=INSERT INTO RB3_PFMEA_NODE VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
CONTROLPLANOUTPUTSELECT =select t1.*,t2.rb3_user,t2.rb3_inspectionuser from rb3_controlplan t1 left join rb3_permissions t2 on t1.rb3_meopid = t2.rb3_meopid and t1.processpuid = t2.processpuid where t1.RB3_MEOPID = \'%s\' and t1.type = \'%s\' order by to_number(t1.RB3_GYBH),to_number(t1.RB3_HH)
!==============================================TMOM022================================================!
TM2THESAURUSTREESELECT=select * from RB3_THESAURUS_TREE ORDER BY PARENT_ID,ID
TM2THESAURUSNODESELECT=SELECT * FROM RB3_THESAURUS_NODE WHERE PARENT_ID = \'%s\' order BY ID
TM2THESAURUSNODEDELETE=delete from RB3_THESAURUS_NODE where PLMEID = \'%s\'
TM2THESAURUSNODEDUPDATE=update RB3_THESAURUS_NODE set ID = ?, RB3_VALUE = ?, RB3_VALUE2 = ?, RB3_EXAMPLE = ? where plmeid = \'%s\'
TM2THESAURUSNODEDINSERT=INSERT INTO RB3_THESAURUS_NODE VALUES(?,?,?,?,?,?)
!==============================================TMOM027================================================!
RB3_ENTRUSTMENTFORMSELECT=select * from RB3_ENTRUSTMENTFORM WHERE PUID = \'%s\'
RB3_ENTRUSTMENTFORMUPDATE=update RB3_ENTRUSTMENTFORM set P1 = ?, P2 = ?, P3 = ?, P4 = ?, P5 = ?, P6 = ?, P7 = ?, P8 = ?, P9 = ?, P10 = ?, P11 = ?, P12 = ?, P13 = ?, P14 = ?, P15 = ?, P16 = ?, P17 = ?, P18 = ?, P19 = ?, P20 = ?, P21 = ?, P22 = ?, P23 = ?, P24 = ?, P25 = ?, P26 = ?, P27 = ?, P28 = ?, P29 = ?, P30 = ?, P31 = ?, P32 = ?, P33 = ?, P34 = ?, P35 = ?, P36 = ?, P37 = ?, P38 = ?, P39 = ?, P40 = ?, P41 = ?, P42 = ?, P43 = ?, P44 = ?, P45 = ?, P46 = ?, P47 = ?, P48 = ?, P49 = ?, P50 = ?, P51 = ?, P52 = ?, P53 = ?, P54 = ?, P55 = ?, P56 = ?, P57 = ?, P58 = ?, P59 = ?, P60 = ?, P61 = ?, P62 = ?, P63 = ?, P64 = ?, P65 = ?, P66 = ?, P67 = ?, P68 = ? , P69 = ?, P70 = ?, P71 = ?,P72 = ?WHERE PUID = \'%s\'
RB3_ENTRUSTMENTFORMINSERT=INSERT INTO RB3_ENTRUSTMENTFORM VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
RB3_ENTRUSTMENTFORMSELECTA=select * from RB3_ENTRUSTMENTFORM WHERE PUID = \'%s\' AND P72 =\'%s\'
RB3_ENTRUSTMENTFORMUPDATEA=update RB3_ENTRUSTMENTFORM set P1 = ?, P2 = ?, P3 = ?, P4 = ?, P5 = ?, P6 = ?, P7 = ?, P8 = ?, P9 = ?, P10 = ?, P11 = ?, P12 = ?, P13 = ?, P14 = ?, P15 = ?, P16 = ?, P17 = ?, P18 = ?, P19 = ?, P20 = ?, P21 = ?, P22 = ?, P23 = ?, P24 = ?, P25 = ?, P26 = ?, P27 = ?, P28 = ?, P29 = ?, P30 = ?, P31 = ?, P32 = ?, P33 = ?, P34 = ?, P35 = ?, P36 = ?, P37 = ?, P38 = ?, P39 = ?, P40 = ?, P41 = ?, P42 = ?, P43 = ?, P44 = ?, P45 = ?, P46 = ?, P47 = ?, P48 = ?, P49 = ?, P50 = ?, P51 = ?, P52 = ?, P53 = ?, P54 = ?, P55 = ?, P56 = ?, P57 = ?, P58 = ?, P59 = ?, P60 = ?, P61 = ?, P62 = ?, P63 = ?, P64 = ?, P65 = ?, P66 = ?, P67 = ?, P68 = ? , P69 = ?, P70 = ?, P71 = ?WHERE PUID = \'%s\' AND P72 = \'%s\'
RB3_ENTRUSTMENTFORMINSERTA=INSERT INTO RB3_ENTRUSTMENTFORM VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
RB3_ENTRUSTMENTSELECT=select * from RB3_ENTRUSTMENT WHERE PUID = \'%s\'
RB3_ENTRUSTMENTSELECTTYPE=select * from RB3_ENTRUSTMENT WHERE TYPE=\'%s\' AND PUID = \'%s\'
RB3_ENTRUSTMENTUPDATE=update RB3_ENTRUSTMENT set PLMEID = ?, PUID = ?,P1 = ?, P2 = ?,TYPE = ? WHERE PUID = \'%s\'
RB3_ENTRUSTMENTINSERT=INSERT INTO RB3_ENTRUSTMENT VALUES(?,?,?,?,?)
RB3_ENTRUSTMENTDELETE=DELETE FROM RB3_ENTRUSTMENT WHERE TYPE = \'%s\' AND PUID = \'%s\'
!==============================================TMOM028================================================!
RB3_CONTROLPLANDATASELECT=SELECT RB3_QPTBH,RB3_CP, RB3_GC,RB3_TSTX,RB3_CPGC,RB3_KZFF,RB3_HH,RB3_CLFF,CASE WHEN RB3_KZFF LIKE '%%\u9996\u68C0%%' THEN RB3_RL END AS SJ,CASE WHEN RB3_KZFF LIKE '%%\u81EA\u68C0%%' THEN RB3_RL || '/' || RB3_PL END AS ZJ,CASE WHEN RB3_KZFF LIKE '%%\u5DE1\u68C0%%' THEN RB3_RL || '/' || RB3_PL END AS XJ,RB3_PL,RB3_RL,RB3_FYJH FROM RB3_CONTROLPLAN WHERE PROCESSPUID = \'%s\' AND RB3_MEOPID = \'%s\' AND TYPE = \'%s\' AND REVISIONUID= \'%s\' ORDER BY RB3_QPTBH+0,RB3_HH+0
RB3_TOOLINGDETAILSELECT=select * from RB3_TOOLINGDETAIL WHERE PUID = \'%s\' ORDER BY ID+0
RB3_TOOLINGDETAILUPDATE=update RB3_TOOLINGDETAIL set ID = ?, NAME = ?, SPECIFICATION = ?, SPECIALITY = ?, P1 = ? WHERE PLMEID = \'%s\'
RB3_TOOLINGDETAILINSERT=INSERT INTO RB3_TOOLINGDETAIL VALUES(?,?,?,?,?,?,?)
RB3_TOOLINGDETAILDELETE=DELETE FROM RB3_TOOLINGDETAIL WHERE PLMEID = \'%s\'
RB3_MACHININGPARAMETERSELECT=select * from RB3_MACHININGPARAMETER WHERE PUID = \'%s\' ORDER BY ID+0
RB3_MACHININGPARAMETERUPDATE=update RB3_MACHININGPARAMETER set ID = ?, NAME = ?, SPECIALITY = ?,VALUE = ?, P1 = ? WHERE PLMEID = \'%s\'
RB3_MACHININGPARAMETERINSERT=INSERT INTO RB3_MACHININGPARAMETER VALUES(?,?,?,?,?,?,?)
RB3_MACHININGPARAMETERDELETE=DELETE FROM RB3_MACHININGPARAMETER WHERE PLMEID = \'%s\'
RB3_CONTROLREQUIREMENTSELECT=select * from RB3_CONTROLREQUIREMENT WHERE PUID = \'%s\' ORDER BY ID+0
RB3_CONTROLREQUIREMENTUPDATE=update RB3_CONTROLREQUIREMENT set ID = ?, PROJECT = ?, SPECIALITY = ?,MANAGEMENT_REQUIREMENTS = ?, CHECK_METHOD = ?, FIRST_INSPECTION = ?, SELF_INSPECTION = ?, ROUTING_INSPECTION = ?, REACTION_PLAN = ?,REMARKS=? WHERE PLMEID = \'%s\'
RB3_CONTROLREQUIREMENTINSERT=INSERT INTO RB3_CONTROLREQUIREMENT (PLMEID,PUID,ID,PROJECT,SPECIALITY,MANAGEMENT_REQUIREMENTS,CHECK_METHOD,FIRST_INSPECTION,SELF_INSPECTION,ROUTING_INSPECTION,REACTION_PLAN,REMARKS) VALUES(?,?,?,?,?,?,?,?,?,?,?,?)
RB3_CONTROLREQUIREMENTUPDATE2=update RB3_CONTROLREQUIREMENT set ID = ?, PROJECT = ?, SPECIALITY = ?,MANAGEMENT_REQUIREMENTS = ?, CHECK_METHOD = ?, FIRST_INSPECTION = ?, SELF_INSPECTION = ?, ROUTING_INSPECTION = ?, REACTION_PLAN = ?,REMARKS=?,PROCESS_SPECIFICATIONS=?,MANAGEMENT_POINTS=?,STEP_CONTENT=? WHERE PLMEID = \'%s\'
RB3_CONTROLREQUIREMENTINSERT2=INSERT INTO RB3_CONTROLREQUIREMENT VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
RB3_CONTROLREQUIREMENTDELETE=DELETE FROM RB3_CONTROLREQUIREMENT WHERE PLMEID = \'%s\'
!==============================================TMOM034================================================!
RB3_PACKAGINGPROJECTSELECT=select * from RB3_PACKAGINGPROJECT WHERE PUID = \'%s\'
RB3_PACKAGINGPROJECTUPDATE=update RB3_PACKAGINGPROJECT set P1 = ?, P2 = ?, P3 = ?, P4 = ? WHERE PLMEID = \'%s\'
RB3_PACKAGINGPROJECTINSERT=INSERT INTO RB3_PACKAGINGPROJECT VALUES(?,?,?,?,?,?)
RB3_PACKAGINGPROJECTDELETE=DELETE FROM RB3_PACKAGINGPROJECT WHERE PLMEID = \'%s\'

@ -0,0 +1,50 @@
package com.connor.renben.process.plm;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractUIPlugin {
// The plug-in ID
public static final String PLUGIN_ID = "com.connor.renben.process.plm"; //$NON-NLS-1$
// The shared instance
private static Activator plugin;
/**
* The constructor
*/
public Activator() {
}
/*
* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
}
/*
* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
}
/**
* Returns the shared instance
*
* @return the shared instance
*/
public static Activator getDefault() {
return plugin;
}
}

@ -0,0 +1,74 @@
package com.connor.renben.process.plm.bean;
public class CXBean {
private int no;
private String jcxm;
private String jsyq;
private String clqj;
private String zjpc;
private String xjpc;
private String tstx;
private boolean sj;
private boolean mj;
public int getNo() {
return no;
}
public void setNo(int no) {
this.no = no;
}
public String getJcxm() {
return jcxm;
}
public void setJcxm(String jcxm) {
this.jcxm = jcxm;
}
public String getJsyq() {
return jsyq;
}
public void setJsyq(String jsyq) {
this.jsyq = jsyq;
}
public String getClqj() {
return clqj;
}
public void setClqj(String clqj) {
this.clqj = clqj;
}
public String getZjpc() {
return zjpc;
}
public void setZjpc(String zjpc) {
this.zjpc = zjpc;
}
public String getXjpc() {
return xjpc;
}
public void setXjpc(String xjpc) {
this.xjpc = xjpc;
}
public String getTstx() {
return tstx;
}
public void setTstx(String tstx) {
this.tstx = tstx;
}
public boolean isSj() {
return sj;
}
public void setSj(boolean sj) {
this.sj = sj;
}
public boolean isMj() {
return mj;
}
public void setMj(boolean mj) {
this.mj = mj;
}
public void print()
{
System.out.println("no:"+no+",jcxm:"+jcxm+",jsyq:"+jsyq+",clqj:"+clqj+",zjpc:"+zjpc+",xjpc:"+xjpc+",tstx:"+tstx+",sj:"+sj+",mj:"+mj);
}
}

@ -0,0 +1,43 @@
package com.connor.renben.process.plm.bean;
import java.util.List;
public class CXListBean {
private List<CXBean> cxBeans;
private String cpmc;
private String cpdh;
private String khmc;
private String khth;
public List<CXBean> getCxBeans() {
return cxBeans;
}
public void setCxBeans(List<CXBean> cxBeans) {
this.cxBeans = cxBeans;
}
public String getCpmc() {
return cpmc;
}
public void setCpmc(String cpmc) {
this.cpmc = cpmc;
}
public String getCpdh() {
return cpdh;
}
public void setCpdh(String cpdh) {
this.cpdh = cpdh;
}
public String getKhmc() {
return khmc;
}
public void setKhmc(String khmc) {
this.khmc = khmc;
}
public String getKhth() {
return khth;
}
public void setKhth(String khth) {
this.khth = khth;
}
}

@ -0,0 +1,181 @@
package com.connor.renben.process.plm.bean;
public class CheckTable implements Cloneable{
private String processPuid;
private String productId;
private String productName;
private String meopId;
private String meopName;
private String serialNo;
private String cp;
private String cpgc;
private String max;
private String min;
private String afterMax;//收减前的最大值
private String afterMin;//收减前的最小值
private String percentage;//收减百分比
private String afterGcgc;//收减后的过程公差
private String clff;
private String rl;
private String pl;
private String tstx;
private String type;//检查表类型
private String version;//内部版本
private String fzr;//负责人
private String meopNo;//工艺编号
private String hh;//行号
public String getHh() {
return hh;
}
public void setHh(String hh) {
this.hh = hh;
}
public String getProcessPuid() {
return processPuid;
}
public void setProcessPuid(String processPuid) {
this.processPuid = processPuid;
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public String getMeopName() {
return meopName;
}
public void setMeopName(String meopName) {
this.meopName = meopName;
}
public String getMeopId() {
return meopId;
}
public void setMeopId(String meopId) {
this.meopId = meopId;
}
public String getSerialNo() {
return serialNo;
}
public void setSerialNo(String serialNo) {
this.serialNo = serialNo;
}
public String getCp() {
return cp;
}
public void setCp(String cp) {
this.cp = cp;
}
public String getCpgc() {
return cpgc;
}
public void setCpgc(String cpgc) {
this.cpgc = cpgc;
}
public String getMax() {
return max;
}
public void setMax(String max) {
this.max = max;
}
public String getMin() {
return min;
}
public void setMin(String min) {
this.min = min;
}
public String getAfterMax() {
return afterMax;
}
public void setAfterMax(String afterMax) {
this.afterMax = afterMax;
}
public String getAfterMin() {
return afterMin;
}
public void setAfterMin(String afterMin) {
this.afterMin = afterMin;
}
public String getPercentage() {
return percentage;
}
public void setPercentage(String percentage) {
this.percentage = percentage;
}
public String getAfterGcgc() {
return afterGcgc;
}
public void setAfterGcgc(String afterGcgc) {
this.afterGcgc = afterGcgc;
}
public String getClff() {
return clff;
}
public void setClff(String clff) {
this.clff = clff;
}
public String getRl() {
return rl;
}
public void setRl(String rl) {
this.rl = rl;
}
public String getPl() {
return pl;
}
public void setPl(String pl) {
this.pl = pl;
}
public String getTstx() {
return tstx;
}
public void setTstx(String tstx) {
this.tstx = tstx;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public String getFzr() {
return fzr;
}
public void setFzr(String fzr) {
this.fzr = fzr;
}
public String getMeopNo() {
return meopNo;
}
public void setMeopNo(String meopNo) {
this.meopNo = meopNo;
}
@Override
public CheckTable clone() throws CloneNotSupportedException {
return (CheckTable) super.clone();
}
@Override
public String toString() {
return "CheckTable [processPuid=" + processPuid + ", productId="
+ productId + ", productName=" + productName + ", meopId="
+ meopId + ", meopName=" + meopName + ", serialNo=" + serialNo
+ ", cp=" + cp + ", cpgc=" + cpgc + ", max=" + max + ", min="
+ min + ", clff=" + clff + ", rl=" + rl + ", pl=" + pl
+ ", tstx=" + tstx + ", type=" + type + ", version=" + version
+ ", fzr=" + fzr + ", meopNo=" + meopNo + ", hh=" + hh + "]";
}
}

@ -0,0 +1,233 @@
package com.connor.renben.process.plm.bean;
import java.util.List;
import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
public class ControlPlanBean {
private boolean sc;//生产
private boolean ssc;//试生产
private boolean yj;//样件
private String kzjhbh;//控制计划编号
private String zylxr;//主要联系人
private String zylxrdh;//主要联系人电话
private String bzriq;//日期(编制)
private String xdrq;//日期(修订)
private String sorhm;//SOR号码
private String ljh;//零件号
private String hxxz;//核心小组
private String gkgcpz;//顾客工程批准/日期
private String khtzbh;//客户图纸编号
private String ljmc;//零件名称/描述
private String gfpzrq;//供方/工厂批准/日期
private String gkzlpz;//顾客质量批准/日期
private String gfgc;//供方/工厂
private String gfdh;//供方代号
private String xgdj;//修改等级
private String cx;//车型/年度
private String gkpz;//顾客批准/日期
private String qtpz;//其他批准/日期
private String qtpzrq;//其他批准日期
private List<ProcessBean> processList;
public boolean isSc() {
return sc;
}
public void setSc(boolean sc) {
this.sc = sc;
}
public boolean isSsc() {
return ssc;
}
public void setSsc(boolean ssc) {
this.ssc = ssc;
}
public boolean isYj() {
return yj;
}
public void setYj(boolean yj) {
this.yj = yj;
}
public String getKzjhbh() {
return kzjhbh;
}
public void setKzjhbh(String kzjhbh) {
this.kzjhbh = kzjhbh;
}
public String getZylxr() {
return zylxr;
}
public void setZylxr(String zylxr) {
this.zylxr = zylxr;
}
public String getZylxrdh() {
return zylxrdh;
}
public void setZylxrdh(String zylxrdh) {
this.zylxrdh = zylxrdh;
}
public String getBzriq() {
return bzriq;
}
public void setBzriq(String bzriq) {
this.bzriq = bzriq;
}
public String getXdrq() {
return xdrq;
}
public void setXdrq(String xdrq) {
this.xdrq = xdrq;
}
public String getSorhm() {
return sorhm;
}
public void setSorhm(String sorhm) {
this.sorhm = sorhm;
}
public String getLjh() {
return ljh;
}
public void setLjh(String ljh) {
this.ljh = ljh;
}
public String getHxxz() {
return hxxz;
}
public void setHxxz(String hxxz) {
this.hxxz = hxxz;
}
public String getGkgcpz() {
return gkgcpz;
}
public void setGkgcpz(String gkgcpz) {
this.gkgcpz = gkgcpz;
}
public String getKhtzbh() {
return khtzbh;
}
public void setKhtzbh(String khtzbh) {
this.khtzbh = khtzbh;
}
public String getLjmc() {
return ljmc;
}
public void setLjmc(String ljmc) {
this.ljmc = ljmc;
}
public String getGfpzrq() {
return gfpzrq;
}
public void setGfpzrq(String gfpzrq) {
this.gfpzrq = gfpzrq;
}
public String getGkzlpz() {
return gkzlpz;
}
public void setGkzlpz(String gkzlpz) {
this.gkzlpz = gkzlpz;
}
public String getGfgc() {
return gfgc;
}
public void setGfgc(String gfgc) {
this.gfgc = gfgc;
}
public String getGfdh() {
return gfdh;
}
public void setGfdh(String gfdh) {
this.gfdh = gfdh;
}
public String getXgdj() {
return xgdj;
}
public void setXgdj(String xgdj) {
this.xgdj = xgdj;
}
public String getCx() {
return cx;
}
public void setCx(String cx) {
this.cx = cx;
}
public String getGkpz() {
return gkpz;
}
public void setGkpz(String gkpz) {
this.gkpz = gkpz;
}
public String getQtpz() {
return qtpz;
}
public void setQtpz(String qtpz) {
this.qtpz = qtpz;
}
public String getQtpzrq() {
return qtpzrq;
}
public void setQtpzrq(String qtpzrq) {
this.qtpzrq = qtpzrq;
}
public List<ProcessBean> getProcessList() {
return processList;
}
public void setProcessList(List<ProcessBean> processList) {
this.processList = processList;
}
}

@ -0,0 +1,26 @@
package com.connor.renben.process.plm.bean;
public class ControlPlanComboBoxBean {
private String itemId;
private String itemName;
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public String getItemName() {
return itemName;
}
public void setItemName(String itemName) {
this.itemName = itemName;
}
@Override
public String toString() {
// TODO Auto-generated method stub
return this.itemName;
//return super.toString();
}
}

@ -0,0 +1,524 @@
package com.connor.renben.process.plm.bean;
public class EntrustmentFormBean {
private String puid;
private String itemId;
private String p1 = "";
private String p2 = "";
private String p3 = "";
private String p4 = "";
private String p5 = "";
private String p6 = "";
private String p7 = "";
private String p8 = "";
private String p9 = "";
private String p10 = "";
private String p11 = "";
private String p12 = "";
private String p13 = "";
private String p14 = "";
private String p15 = "";
private String p16 = "";
private String p17 = "";
private String p18 = "";
private String p19 = "";
private String p20 = "";
private String p21 = "";
private String p22 = "";
private String p23 = "";
private String p24 = "";
private String p25 = "";
private String p26 = "";
private String p27 = "";
private String p28 = "";
private String p29 = "";
private String p30 = "";
private String p31 = "";
private String p32 = "";
private String p33 = "";
private String p34 = "";
private String p35 = "";
private String p36 = "";
private String p37 = "";
private String p38 = "";
private String p39 = "";
private String p40 = "";
private String p41 = "";
private String p42 = "";
private String p43 = "";
private String p44 = "";
private String p45 = "";
private String p46 = "";
private String p47 = "";
private String p48 = "";
private String p49 = "";
private String p50 = "";
private String p51 = "";
private String p52 = "";
private String p53 = "";
private String p54 = "";
private String p55 = "";
private String p56 = "";
private String p57 = "";
private String p58 = "";
private String p59 = "";
private String p60 = "";
private String p61 = "";
private String p62 = "";
private String p63 = "";
private String p64 = "";
private String p65 = "";
private String p66 = "";
private String p67 = "";
private String p68 = "";
private String p69 = "";
private String p70 = "";
private String p71 = "";
private String p72 = "";
public String getPuid() {
return puid;
}
public void setPuid(String puid) {
this.puid = puid;
}
public String getItemId() {
return itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public String getP1() {
return p1;
}
public void setP1(String p1) {
this.p1 = p1;
}
public String getP2() {
return p2;
}
public void setP2(String p2) {
this.p2 = p2;
}
public String getP3() {
return p3;
}
public void setP3(String p3) {
this.p3 = p3;
}
public String getP4() {
return p4;
}
public void setP4(String p4) {
this.p4 = p4;
}
public String getP5() {
return p5;
}
public void setP5(String p5) {
this.p5 = p5;
}
public String getP6() {
return p6;
}
public void setP6(String p6) {
this.p6 = p6;
}
public String getP7() {
return p7;
}
public void setP7(String p7) {
this.p7 = p7;
}
public String getP8() {
return p8;
}
public void setP8(String p8) {
this.p8 = p8;
}
public String getP9() {
return p9;
}
public void setP9(String p9) {
this.p9 = p9;
}
public String getP10() {
return p10;
}
public void setP10(String p10) {
this.p10 = p10;
}
public String getP11() {
return p11;
}
public void setP11(String p11) {
this.p11 = p11;
}
public String getP12() {
return p12;
}
public void setP12(String p12) {
this.p12 = p12;
}
public String getP13() {
return p13;
}
public void setP13(String p13) {
this.p13 = p13;
}
public String getP14() {
return p14;
}
public void setP14(String p14) {
this.p14 = p14;
}
public String getP15() {
return p15;
}
public void setP15(String p15) {
this.p15 = p15;
}
public String getP16() {
return p16;
}
public void setP16(String p16) {
this.p16 = p16;
}
public String getP17() {
return p17;
}
public void setP17(String p17) {
this.p17 = p17;
}
public String getP18() {
return p18;
}
public void setP18(String p18) {
this.p18 = p18;
}
public String getP19() {
return p19;
}
public void setP19(String p19) {
this.p19 = p19;
}
public String getP20() {
return p20;
}
public void setP20(String p20) {
this.p20 = p20;
}
public String getP21() {
return p21;
}
public void setP21(String p21) {
this.p21 = p21;
}
public String getP22() {
return p22;
}
public void setP22(String p22) {
this.p22 = p22;
}
public String getP23() {
return p23;
}
public void setP23(String p23) {
this.p23 = p23;
}
public String getP24() {
return p24;
}
public void setP24(String p24) {
this.p24 = p24;
}
public String getP25() {
return p25;
}
public void setP25(String p25) {
this.p25 = p25;
}
public String getP26() {
return p26;
}
public void setP26(String p26) {
this.p26 = p26;
}
public String getP27() {
return p27;
}
public void setP27(String p27) {
this.p27 = p27;
}
public String getP28() {
return p28;
}
public void setP28(String p28) {
this.p28 = p28;
}
public String getP29() {
return p29;
}
public void setP29(String p29) {
this.p29 = p29;
}
public String getP30() {
return p30;
}
public void setP30(String p30) {
this.p30 = p30;
}
public String getP31() {
return p31;
}
public void setP31(String p31) {
this.p31 = p31;
}
public String getP32() {
return p32;
}
public void setP32(String p32) {
this.p32 = p32;
}
public String getP33() {
return p33;
}
public void setP33(String p33) {
this.p33 = p33;
}
public String getP34() {
return p34;
}
public void setP34(String p34) {
this.p34 = p34;
}
public String getP35() {
return p35;
}
public void setP35(String p35) {
this.p35 = p35;
}
public String getP36() {
return p36;
}
public void setP36(String p36) {
this.p36 = p36;
}
public String getP37() {
return p37;
}
public void setP37(String p37) {
this.p37 = p37;
}
public String getP38() {
return p38;
}
public void setP38(String p38) {
this.p38 = p38;
}
public String getP39() {
return p39;
}
public void setP39(String p39) {
this.p39 = p39;
}
public String getP40() {
return p40;
}
public void setP40(String p40) {
this.p40 = p40;
}
public String getP41() {
return p41;
}
public void setP41(String p41) {
this.p41 = p41;
}
public String getP42() {
return p42;
}
public void setP42(String p42) {
this.p42 = p42;
}
public String getP43() {
return p43;
}
public void setP43(String p43) {
this.p43 = p43;
}
public String getP44() {
return p44;
}
public void setP44(String p44) {
this.p44 = p44;
}
public String getP45() {
return p45;
}
public void setP45(String p45) {
this.p45 = p45;
}
public String getP46() {
return p46;
}
public void setP46(String p46) {
this.p46 = p46;
}
public String getP47() {
return p47;
}
public void setP47(String p47) {
this.p47 = p47;
}
public String getP48() {
return p48;
}
public void setP48(String p48) {
this.p48 = p48;
}
public String getP49() {
return p49;
}
public void setP49(String p49) {
this.p49 = p49;
}
public String getP50() {
return p50;
}
public void setP50(String p50) {
this.p50 = p50;
}
public String getP51() {
return p51;
}
public void setP51(String p51) {
this.p51 = p51;
}
public String getP52() {
return p52;
}
public void setP52(String p52) {
this.p52 = p52;
}
public String getP53() {
return p53;
}
public void setP53(String p53) {
this.p53 = p53;
}
public String getP54() {
return p54;
}
public void setP54(String p54) {
this.p54 = p54;
}
public String getP55() {
return p55;
}
public void setP55(String p55) {
this.p55 = p55;
}
public String getP56() {
return p56;
}
public void setP56(String p56) {
this.p56 = p56;
}
public String getP57() {
return p57;
}
public void setP57(String p57) {
this.p57 = p57;
}
public String getP58() {
return p58;
}
public void setP58(String p58) {
this.p58 = p58;
}
public String getP59() {
return p59;
}
public void setP59(String p59) {
this.p59 = p59;
}
public String getP60() {
return p60;
}
public void setP60(String p60) {
this.p60 = p60;
}
public String getP61() {
return p61;
}
public void setP61(String p61) {
this.p61 = p61;
}
public String getP62() {
return p62;
}
public void setP62(String p62) {
this.p62 = p62;
}
public String getP63() {
return p63;
}
public void setP63(String p63) {
this.p63 = p63;
}
public String getP64() {
return p64;
}
public void setP64(String p64) {
this.p64 = p64;
}
public String getP65() {
return p65;
}
public void setP65(String p65) {
this.p65 = p65;
}
public String getP66() {
return p66;
}
public void setP66(String p66) {
this.p66 = p66;
}
public String getP67() {
return p67;
}
public void setP67(String p67) {
this.p67 = p67;
}
public String getP68() {
return p68;
}
public void setP68(String p68) {
this.p68 = p68;
}
public String getP69() {
return p69;
}
public void setP69(String p69) {
this.p69 = p69;
}
public String getP70() {
return p70;
}
public void setP70(String p70) {
this.p70 = p70;
}
public String getP71() {
return p71;
}
public void setP71(String p71) {
this.p71 = p71;
}
public String getP72() {
return p72;
}
public void setP72(String p72) {
this.p72 = p72;
}
}

@ -0,0 +1,124 @@
package com.connor.renben.process.plm.bean;
import java.util.List;
public class JobProcessFormBean {
private String gsmc;
private String ljdh;
private String sbxh;
private String bgx;
private String sbmc;
private String xdgx;
private String wjbh;
private String bbh;
private String cxqy;
private String bz;
private String sh;
private String pz;
private String fbrq;
private List<List<String>> toolingDetailData;
private List<List<String>> machiningParameterData;
private List<List<String>> controlRequirementData;
public String getGsmc() {
return gsmc;
}
public void setGsmc(String gsmc) {
this.gsmc = gsmc;
}
public String getLjdh() {
return ljdh;
}
public void setLjdh(String ljdh) {
this.ljdh = ljdh;
}
public String getSbxh() {
return sbxh;
}
public void setSbxh(String sbxh) {
this.sbxh = sbxh;
}
public String getBgx() {
return bgx;
}
public void setBgx(String bgx) {
this.bgx = bgx;
}
public String getSbmc() {
return sbmc;
}
public void setSbmc(String sbmc) {
this.sbmc = sbmc;
}
public String getXdgx() {
return xdgx;
}
public void setXdgx(String xdgx) {
this.xdgx = xdgx;
}
public String getWjbh() {
return wjbh;
}
public void setWjbh(String wjbh) {
this.wjbh = wjbh;
}
public String getBbh() {
return bbh;
}
public void setBbh(String bbh) {
this.bbh = bbh;
}
public String getCxqy() {
return cxqy;
}
public void setCxqy(String cxqy) {
this.cxqy = cxqy;
}
public String getBz() {
return bz;
}
public void setBz(String bz) {
this.bz = bz;
}
public String getSh() {
return sh;
}
public void setSh(String sh) {
this.sh = sh;
}
public String getPz() {
return pz;
}
public void setPz(String pz) {
this.pz = pz;
}
public String getFbrq() {
return fbrq;
}
public void setFbrq(String fbrq) {
this.fbrq = fbrq;
}
public List<List<String>> getToolingDetailData() {
return toolingDetailData;
}
public void setToolingDetailData(List<List<String>> toolingDetailData) {
this.toolingDetailData = toolingDetailData;
}
public List<List<String>> getMachiningParameterData() {
return machiningParameterData;
}
public void setMachiningParameterData(List<List<String>> machiningParameterData) {
this.machiningParameterData = machiningParameterData;
}
public List<List<String>> getControlRequirementData() {
return controlRequirementData;
}
public void setControlRequirementData(List<List<String>> controlRequirementData) {
this.controlRequirementData = controlRequirementData;
}
}

@ -0,0 +1,144 @@
package com.connor.renben.process.plm.bean;
public class PFMEABean {
private String companyName; // 公司名称
private String project; // 项目
private String address;//制造地址
private String pfmeaNumber;//pfmea号
private String pfmeaStartDate;// PFMEA开始日期
private String pfmeaUpdateDate; // PFMEA修订日期
private String processDuty; // 过程职责
private String customerName; // 顾客名称
private String securityClassification;// 保密级别
private String modelPlatform;// 车型/平台
private String functionalTeams;// 跨职能团队
//数组属性
private String[] no;//序号
private String[] meop;//工序
private String[] newValue;//修改前的值
private String[] oldValue;//修改后的值
private String[] alterDatel;//修改时间
private String[] change;//修改的内容
private String[] changeUser;//修改责任人
private String expiryDate;//逾期日期
public String[] getNo() {
return no;
}
public void setNo(String[] no) {
this.no = no;
}
public String[] getMeop() {
return meop;
}
public void setMeop(String[] meop) {
this.meop = meop;
}
public String[] getNewValue() {
return newValue;
}
public void setNewValue(String[] newValue) {
this.newValue = newValue;
}
public String[] getOldValue() {
return oldValue;
}
public void setOldValue(String[] oldValue) {
this.oldValue = oldValue;
}
public String[] getAlterDatel() {
return alterDatel;
}
public void setAlterDatel(String[] alterDatel) {
this.alterDatel = alterDatel;
}
public String[] getChange() {
return change;
}
public void setChange(String[] change) {
this.change = change;
}
public String[] getChangeUser() {
return changeUser;
}
public void setChangeUser(String[] changeUser) {
this.changeUser = changeUser;
}
public String getPfmeaNumber() {
return pfmeaNumber;
}
public void setPfmeaNumber(String pfmeaNumber) {
this.pfmeaNumber = pfmeaNumber;
}
public String getExpiryDate() {
return expiryDate;
}
public void setExpiryDate(String expiryDate) {
this.expiryDate = expiryDate;
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName;
}
public String getProject() {
return project;
}
public void setProject(String project) {
this.project = project;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getPfmeaStartDate() {
return pfmeaStartDate;
}
public void setPfmeaStartDate(String pfmeaStartDate) {
this.pfmeaStartDate = pfmeaStartDate;
}
public String getPfmeaUpdateDate() {
return pfmeaUpdateDate;
}
public void setPfmeaUpdateDate(String pfmeaUpdateDate) {
this.pfmeaUpdateDate = pfmeaUpdateDate;
}
public String getProcessDuty() {
return processDuty;
}
public void setProcessDuty(String processDuty) {
this.processDuty = processDuty;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
public String getSecurityClassification() {
return securityClassification;
}
public void setSecurityClassification(String securityClassification) {
this.securityClassification = securityClassification;
}
public String getModelPlatform() {
return modelPlatform;
}
public void setModelPlatform(String modelPlatform) {
this.modelPlatform = modelPlatform;
}
public String getFunctionalTeams() {
return functionalTeams;
}
public void setFunctionalTeams(String functionalTeams) {
this.functionalTeams = functionalTeams;
}
}

@ -0,0 +1,286 @@
package com.connor.renben.process.plm.bean;
public class PFMEADataBean {
private String meopId;//工序ItemID
private String gybh;//工序号
private String gcmc;//过程功能
private String station;//station
private String requirement;//要求
private String qzsxms;//潜在失效模式
private String qzsxhg;//潜在失效后果
private String yzd;//严重度
private String jb;//级别
private String qzsxqy;//潜在失效起因/机理
private String xxgckzyf;//现行过程控制预防
private String pds;//频度数O
private String xxgckztc;//现行过程控制探测
private String tcd;//探测度D
private String tm2Rpn;//RPN
private String jycs;//建议措施
private String zrr;//责任人
private String jhwcrq;//计划完成日期
private String cqdcs;//采取的措施
private String newSev;//S
private String newOcc;//O
private String newDel;//D
private String newRpn;//RPN
private String idealState;//IDEAL_STATE
private String hh;//行号
private String hbdyg;//合并单元格
private String hhc;//行号差
private String special;//特殊字符
private String type;//类型s
private String bak;//预留
private String P1;//预留
private String P2;//预留
private String P3;//预留
private String P4;//预留
private String P5;//预留
private String revisionid;//预留
private String NO;//查找编号
private String occurrence;//发生频率
private String detection;//检测频率
private String priority;//优先级
public String getMeopId() {
return meopId;
}
public void setMeopId(String meopId) {
this.meopId = meopId;
}
public String getNO() {
return NO;
}
public void setNO(String NO) {
this.NO = NO;
}
public String getRevisionid() {
return revisionid;
}
public void setRevisionid(String revisionid) {
this.revisionid = revisionid;
}
public String getGybh() {
return gybh;
}
public void setGybh(String gybh) {
this.gybh = gybh;
}
public String getGcmc() {
return gcmc;
}
public void setGcmc(String gcmc) {
this.gcmc = gcmc;
}
public String getQzsxms() {
return qzsxms;
}
public void setQzsxms(String qzsxms) {
this.qzsxms = qzsxms;
}
public String getQzsxhg() {
return qzsxhg;
}
public void setQzsxhg(String qzsxhg) {
this.qzsxhg = qzsxhg;
}
public String getYzd() {
return yzd;
}
public void setYzd(String yzd) {
this.yzd = yzd;
}
public String getJb() {
return jb;
}
public void setJb(String jb) {
this.jb = jb;
}
public String getQzsxqy() {
return qzsxqy;
}
public void setQzsxqy(String qzsxqy) {
this.qzsxqy = qzsxqy;
}
public String getXxgckzyf() {
return xxgckzyf;
}
public void setXxgckzyf(String xxgckzyf) {
this.xxgckzyf = xxgckzyf;
}
public String getPds() {
return pds;
}
public void setPds(String pds) {
this.pds = pds;
}
public String getXxgckztc() {
return xxgckztc;
}
public void setXxgckztc(String xxgckztc) {
this.xxgckztc = xxgckztc;
}
public String getTcd() {
return tcd;
}
public void setTcd(String tcd) {
this.tcd = tcd;
}
public String getTm2Rpn() {
return tm2Rpn;
}
public void setTm2Rpn(String tm2Rpn) {
this.tm2Rpn = tm2Rpn;
}
public String getJycs() {
return jycs;
}
public void setJycs(String jycs) {
this.jycs = jycs;
}
public String getCqdcs() {
return cqdcs;
}
public void setCqdcs(String cqdcs) {
this.cqdcs = cqdcs;
}
public String getHh() {
return hh;
}
public void setHh(String hh) {
this.hh = hh;
}
public String getHbdyg() {
return hbdyg;
}
public void setHbdyg(String hbdyg) {
this.hbdyg = hbdyg;
}
public String getHhc() {
return hhc;
}
public void setHhc(String hhc) {
this.hhc = hhc;
}
public String getSpecial() {
return special;
}
public void setSpecial(String special) {
this.special = special;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getBak() {
return bak;
}
public void setBak(String bak) {
this.bak = bak;
}
public String getP1() {
return P1;
}
public void setP1(String p1) {
P1 = p1;
}
public String getP2() {
return P2;
}
public void setP2(String p2) {
P2 = p2;
}
public String getP3() {
return P3;
}
public void setP3(String p3) {
P3 = p3;
}
public String getP4() {
return P4;
}
public void setP4(String p4) {
P4 = p4;
}
public String getP5() {
return P5;
}
public void setP5(String p5) {
P5 = p5;
}
public String getStation() {
return station;
}
public void setStation(String station) {
this.station = station;
}
public String getRequirement() {
return requirement;
}
public void setRequirement(String requirement) {
this.requirement = requirement;
}
public String getZrr() {
return zrr;
}
public void setZrr(String zrr) {
this.zrr = zrr;
}
public String getJhwcrq() {
return jhwcrq;
}
public void setJhwcrq(String jhwcrq) {
this.jhwcrq = jhwcrq;
}
public String getNewSev() {
return newSev;
}
public void setNewSev(String newSev) {
this.newSev = newSev;
}
public String getNewOcc() {
return newOcc;
}
public void setNewOcc(String newOcc) {
this.newOcc = newOcc;
}
public String getNewDel() {
return newDel;
}
public void setNewDel(String newDel) {
this.newDel = newDel;
}
public String getNewRpn() {
return newRpn;
}
public void setNewRpn(String newRpn) {
this.newRpn = newRpn;
}
public String getIdealState() {
return idealState;
}
public void setIdealState(String idealState) {
this.idealState = idealState;
}
public String getOccurrence() {
return occurrence;
}
public void setOccurrence(String occurrence) {
this.occurrence = occurrence;
}
public String getDetection() {
return detection;
}
public void setDetection(String detection) {
this.detection = detection;
}
public String getPriority() {
return priority;
}
public void setPriority(String priority) {
this.priority = priority;
}
}

@ -0,0 +1,222 @@
package com.connor.renben.process.plm.bean;
public class ProcessBean {
private String processPuid;//工艺的PUID
private String meopId;//工序的ItemID
private String gybh;//工艺编号
private String gcmc;//过程名称
private String jqsb;//机器,设备,工装,夹具
private String smjy;//首末检验
private String qptbh;//气泡图编号
private String cc;//尺寸
private String no;//序号
private String cp;//产品
private String gc;//过程
private String tstx;//特殊特性
private String cpgc;//产品/过程/规格/公差
private String pgclff;//评估测量方法
private String rl;//容量
private String pl;//频率
private String sjsj;//首件缩减
private String gcsj;//过程缩减
private String mjsj;//末件缩减
private String fzr;//负责人
private String kzff;//控制方法
private String czgf;//操作规范
private String fyjh;//反应计划
private String hh;//行号
private String hbdyg;//合并单元格
private String sfwc;//是否完成
private String hhc;//行号差
private String special;//特殊字符
private String type;//类型s
private String revisionuid;//控制计划uid用来区别版本
private String NO;//查找编号
public String getGybh() {
return gybh;
}
public void setGybh(String gybh) {
this.gybh = gybh;
}
public String getRevisionuid() {
return revisionuid;
}
public void setRevisionuid(String revisionuid) {
this.revisionuid = revisionuid;
}
public String getGcmc() {
return gcmc;
}
public void setGcmc(String gcmc) {
this.gcmc = gcmc;
}
public String getJqsb() {
return jqsb;
}
public void setJqsb(String jqsb) {
this.jqsb = jqsb;
}
public String getQptbh() {
return qptbh;
}
public void setQptbh(String qptbh) {
this.qptbh = qptbh;
}
public String getCc() {
return cc;
}
public void setCc(String cc) {
this.cc = cc;
}
public String getCp() {
return cp;
}
public void setCp(String cp) {
this.cp = cp;
}
public String getGc() {
return gc;
}
public void setGc(String gc) {
this.gc = gc;
}
public String getTstx() {
return tstx;
}
public void setTstx(String tstx) {
this.tstx = tstx;
}
public String getCpgc() {
return cpgc;
}
public void setCpgc(String cpgc) {
this.cpgc = cpgc;
}
public String getPgclff() {
return pgclff;
}
public void setPgclff(String pgclff) {
this.pgclff = pgclff;
}
public String getRl() {
return rl;
}
public void setRl(String rl) {
this.rl = rl;
}
public String getPl() {
return pl;
}
public void setPl(String pl) {
this.pl = pl;
}
public String getFzr() {
return fzr;
}
public void setFzr(String fzr) {
this.fzr = fzr;
}
public String getKzff() {
return kzff;
}
public void setKzff(String kzff) {
this.kzff = kzff;
}
public String getCzgf() {
return czgf;
}
public void setCzgf(String czgf) {
this.czgf = czgf;
}
public String getFyjh() {
return fyjh;
}
public void setFyjh(String fyjh) {
this.fyjh = fyjh;
}
public String getProcessPuid() {
return processPuid;
}
public void setProcessPuid(String processPuid) {
this.processPuid = processPuid;
}
public String getMeopId() {
return meopId;
}
public void setMeopId(String meopId) {
this.meopId = meopId;
}
public String getSmjy() {
return smjy;
}
public void setSmjy(String smjy) {
this.smjy = smjy;
}
public String getSjsj() {
return sjsj;
}
public void setSjsj(String sjsj) {
this.sjsj = sjsj;
}
public String getGcsj() {
return gcsj;
}
public void setGcsj(String gcsj) {
this.gcsj = gcsj;
}
public String getMjsj() {
return mjsj;
}
public void setMjsj(String mjsj) {
this.mjsj = mjsj;
}
public String getHh() {
return hh;
}
public void setHh(String hh) {
this.hh = hh;
}
public String getHbdyg() {
return hbdyg;
}
public void setHbdyg(String hbdyg) {
this.hbdyg = hbdyg;
}
public String getSfwc() {
return sfwc;
}
public void setSfwc(String sfwc) {
this.sfwc = sfwc;
}
public String getHhc() {
return hhc;
}
public void setHhc(String hhc) {
this.hhc = hhc;
}
public String getSpecial() {
return special;
}
public void setSpecial(String special) {
this.special = special;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getNo() {
return no;
}
public void setNo(String no) {
this.no = no;
}
public String getNO() {
return NO;
}
public void setNO(String NO) {
this.NO = NO;
}
}

@ -0,0 +1,244 @@
package com.connor.renben.process.plm.bean;
import java.util.List;
public class TMomControlPlanBean {
public static final int PROP_COUNT = 40;
public static final int PROP_COUNT_T = 37;
private String controlType = "";// 控制计划类型 rb3_cpjd
private String controlPlanNo = "";// 控制计划编号
private String keyPersion = "";// 主要联系人
private String custromApprovalDateStr = "";// 客户批准日期
private String keyPhone = "";// 主要联系人电话
private String createDateStr = "";// 编制日期
private String updateDateStr = "";// 修改日期
private String sorName = "";// SOR名称
private String partNumber = "";// 零件号最终版本
private String coreTeam = "";// 核心小组
private String custromEngineeringApprovalDateStr = "";// 客户工程师批准日期
private String custromDrawingNumber = "";// 客户图纸编号
private String custromPartNumber = "";// 客户零件号
private String partNameDesc = "";// 零件名称描述
private String supplierApprovalDateStr = "";// 供方批准日期
private String custromQuantyApprovalDateStr = "";// 客户质量批准日期
private String supplier = "";// 供方
private String supplierCode = "";// 供方代号
private String changeLev = "";// 修改等级
private String mode = "";// 车型
private String otherApprovalDateStr = "";// 其他批准
private String otherApprovalIfDateStr = "";// 其他是否批准
private List<TMomControlPlanSimpleBean> simpleBeanList;// 数组属性
// --------------------------------------------------
public String getControlType() {
return controlType;
}
public String getChangeLev() {
return changeLev;
}
public void setChangeLev(String changeLev) {
this.changeLev = changeLev;
}
public static int getPropCount() {
return PROP_COUNT;
}
public String getCustromDrawingNumber() {
return custromDrawingNumber;
}
public void setCustromDrawingNumber(String custromDrawingNumber) {
this.custromDrawingNumber = custromDrawingNumber;
}
public String getKeyPersion() {
return keyPersion;
}
public void setKeyPersion(String keyPersion) {
this.keyPersion = keyPersion;
}
public String getCustromApprovalDateStr() {
return custromApprovalDateStr;
}
public void setCustromApprovalDateStr(String custromApprovalDateStr) {
this.custromApprovalDateStr = custromApprovalDateStr;
}
public void setControlType(String controlType) {
this.controlType = controlType;
}
public String getControlPlanNo() {
return controlPlanNo;
}
public void setControlPlanNo(String controlPlanNo) {
this.controlPlanNo = controlPlanNo;
}
public String getKeyPhone() {
return keyPhone;
}
public void setKeyPhone(String keyPhone) {
this.keyPhone = keyPhone;
}
public String getCreateDateStr() {
return createDateStr;
}
public void setCreateDateStr(String createDateStr) {
this.createDateStr = createDateStr;
}
public String getUpdateDateStr() {
return updateDateStr;
}
public void setUpdateDateStr(String updateDateStr) {
this.updateDateStr = updateDateStr;
}
public String getSorName() {
return sorName;
}
public void setSorName(String sorName) {
this.sorName = sorName;
}
public String getPartNumber() {
return partNumber;
}
public void setPartNumber(String partNumber) {
this.partNumber = partNumber;
}
public String getCoreTeam() {
return coreTeam;
}
public void setCoreTeam(String coreTeam) {
this.coreTeam = coreTeam;
}
public String getCustromEngineeringApprovalDateStr() {
return custromEngineeringApprovalDateStr;
}
public void setCustromEngineeringApprovalDateStr(
String custromEngineeringApprovalDateStr) {
this.custromEngineeringApprovalDateStr = custromEngineeringApprovalDateStr;
}
public String getCustromPartNumber() {
return custromPartNumber;
}
public void setCustromPartNumber(String custromPartNumber) {
this.custromPartNumber = custromPartNumber;
}
public String getPartNameDesc() {
return partNameDesc;
}
public void setPartNameDesc(String partNameDesc) {
this.partNameDesc = partNameDesc;
}
public String getSupplierApprovalDateStr() {
return supplierApprovalDateStr;
}
public void setSupplierApprovalDateStr(String supplierApprovalDateStr) {
this.supplierApprovalDateStr = supplierApprovalDateStr;
}
public String getCustromQuantyApprovalDateStr() {
return custromQuantyApprovalDateStr;
}
public void setCustromQuantyApprovalDateStr(
String custromQuantyApprovalDateStr) {
this.custromQuantyApprovalDateStr = custromQuantyApprovalDateStr;
}
public String getSupplier() {
return supplier;
}
public void setSupplier(String supplier) {
this.supplier = supplier;
}
public String getSupplierCode() {
return supplierCode;
}
public void setSupplierCode(String supplierCode) {
this.supplierCode = supplierCode;
}
public String getMode() {
return mode;
}
public void setMode(String mode) {
this.mode = mode;
}
public String getOtherApprovalDateStr() {
return otherApprovalDateStr;
}
public void setOtherApprovalDateStr(String otherApprovalDateStr) {
this.otherApprovalDateStr = otherApprovalDateStr;
}
public String getOtherApprovalIfDateStr() {
return otherApprovalIfDateStr;
}
public void setOtherApprovalIfDateStr(String otherApprovalIfDateStr) {
this.otherApprovalIfDateStr = otherApprovalIfDateStr;
}
public List<TMomControlPlanSimpleBean> getSimpleBeanList() {
return simpleBeanList;
}
public void setSimpleBeanList(List<TMomControlPlanSimpleBean> simpleBeanList) {
this.simpleBeanList = simpleBeanList;
}
@Override
public String toString() {
return "TMomControlPlanBean [controlType=" + controlType
+ ", controlPlanNo=" + controlPlanNo + ", keyPhone=" + keyPhone
+ ", createDateStr=" + createDateStr + ", updateDateStr="
+ updateDateStr + ", sorName=" + sorName + ", partNumber="
+ partNumber + ", coreTeam=" + coreTeam
+ ", custromEngineeringApprovalDateStr="
+ custromEngineeringApprovalDateStr + ", custromPartNumber="
+ custromPartNumber + ", partNameDesc=" + partNameDesc
+ ", supplierApprovalDateStr=" + supplierApprovalDateStr
+ ", custromQuantyApprovalDateStr="
+ custromQuantyApprovalDateStr + ", supplier=" + supplier
+ ", supplierCode=" + supplierCode + ", mode=" + mode
+ ", otherApprovalDateStr=" + otherApprovalDateStr
+ ", otherApprovalIfDateStr=" + otherApprovalIfDateStr
+ ", simpleBeanList=" + simpleBeanList + "]";
}
}

@ -0,0 +1,253 @@
package com.connor.renben.process.plm.bean;
public class TMomControlPlanSimpleBean {
public static final int PROP_COUNT = 19;// 数组的属性的个数
private String meopId = "";//工艺ID
private String partProcessNumber = "";// 零件工艺编号
private String processName = "";// 过程名称
private String machineDevice = "";// 机器设备
private String smjy = "";//首末检验
private String bubbledPrintNo = "";// 起泡图编号
private String size = "";// 5 尺寸
private String No = "";// 编号
private String product = "";// 产品
private String process = "";// 过程
private String specialClass = "";// 特殊分类
private String productProcessSpecificationTolerance = "";// 10 产品过程特殊分类公差
private String upProductProcessSpecificationTolerance = "";// 产品过程特殊分类公差(上偏差)
private String downProductProcessSpecificationTolerance = "";// 产品过程特殊分类公差(下偏差)
private String evaluationMeasurementTechnique = "";// 评估测量方法
private String sampleSize = "";// 样品容量
private String sampleFreq = "";// 15 样品频率
private String resp = "";// 负责人
private String controlMethod = "";// 控制方法
private String operationCriteria = "";// 操作规范
private String reactionPlan = "";// 反应计划
private String hbdyg = "";
private String special = "";
private String conceal = "0";//是否隐藏
// ---------------------------
public String getProductProcessSpecificationTolerance() {
return productProcessSpecificationTolerance;
}
public void setProductProcessSpecificationTolerance(
String productProcessSpecificationTolerance) {
this.productProcessSpecificationTolerance = productProcessSpecificationTolerance;
}
public String getPartProcessNumber() {
return partProcessNumber;
}
public void setPartProcessNumber(String partProcessNumber) {
this.partProcessNumber = partProcessNumber;
}
public String getProcessName() {
return processName;
}
public void setProcessName(String processName) {
this.processName = processName;
}
public String getMachineDevice() {
return machineDevice;
}
public void setMachineDevice(String machineDevice) {
this.machineDevice = machineDevice;
}
public String getBubbledPrintNo() {
return bubbledPrintNo;
}
public void setBubbledPrintNo(String bubbledPrintNo) {
this.bubbledPrintNo = bubbledPrintNo;
}
public String getSize() {
return size;
}
public void setSize(String size) {
this.size = size;
}
public String getNo() {
return No;
}
public void setNo(String no) {
No = no;
}
public String getProduct() {
return product;
}
public void setProduct(String product) {
this.product = product;
}
public String getProcess() {
return process;
}
public void setProcess(String process) {
this.process = process;
}
public String getSpecialClass() {
return specialClass;
}
public void setSpecialClass(String specialClass) {
this.specialClass = specialClass;
}
public String getUpProductProcessSpecificationTolerance() {
return upProductProcessSpecificationTolerance;
}
public void setUpProductProcessSpecificationTolerance(
String upProductProcessSpecificationTolerance) {
this.upProductProcessSpecificationTolerance = upProductProcessSpecificationTolerance;
}
public String getDownProductProcessSpecificationTolerance() {
return downProductProcessSpecificationTolerance;
}
public void setDownProductProcessSpecificationTolerance(
String downProductProcessSpecificationTolerance) {
this.downProductProcessSpecificationTolerance = downProductProcessSpecificationTolerance;
}
public String getEvaluationMeasurementTechnique() {
return evaluationMeasurementTechnique;
}
public void setEvaluationMeasurementTechnique(
String evaluationMeasurementTechnique) {
this.evaluationMeasurementTechnique = evaluationMeasurementTechnique;
}
public String getSampleSize() {
return sampleSize;
}
public void setSampleSize(String sampleSize) {
this.sampleSize = sampleSize;
}
public String getSampleFreq() {
return sampleFreq;
}
public void setSampleFreq(String sampleFreq) {
this.sampleFreq = sampleFreq;
}
public String getResp() {
return resp;
}
public void setResp(String resp) {
this.resp = resp;
}
public String getControlMethod() {
return controlMethod;
}
public void setControlMethod(String controlMethod) {
this.controlMethod = controlMethod;
}
public String getOperationCriteria() {
return operationCriteria;
}
public void setOperationCriteria(String operationCriteria) {
this.operationCriteria = operationCriteria;
}
public String getReactionPlan() {
return reactionPlan;
}
public void setReactionPlan(String reactionPlan) {
this.reactionPlan = reactionPlan;
}
public String getHbdyg() {
return hbdyg;
}
public void setHbdyg(String hbdyg) {
this.hbdyg = hbdyg;
}
public String getSpecial() {
return special;
}
public void setSpecial(String special) {
this.special = special;
}
public String getConceal() {
return conceal;
}
public void setConceal(String conceal) {
this.conceal = conceal;
}
public String getSmjy() {
return smjy;
}
public void setSmjy(String smjy) {
this.smjy = smjy;
}
@Override
public String toString() {
return "TMomControlPlanSimpleBean [partProcessNumber="
+ partProcessNumber + ", processName=" + processName
+ ", machineDevice=" + machineDevice + ", bubbledPrintNo="
+ bubbledPrintNo + ", size=" + size + ", No=" + No
+ ", product=" + product + ", process=" + process
+ ", specialClass=" + specialClass
+ ", productProcessSpecificationTolerance="
+ productProcessSpecificationTolerance
+ ", upProductProcessSpecificationTolerance="
+ upProductProcessSpecificationTolerance
+ ", downProductProcessSpecificationTolerance="
+ downProductProcessSpecificationTolerance
+ ", evaluationMeasurementTechnique="
+ evaluationMeasurementTechnique + ", sampleSize=" + sampleSize
+ ", sampleFreq=" + sampleFreq + ", resp=" + resp
+ ", controlMethod=" + controlMethod + ", operationCriteria="
+ operationCriteria + ", reactionPlan=" + reactionPlan + "]";
}
public String getMeopId() {
return meopId;
}
public void setMeopId(String meopId) {
this.meopId = meopId;
}
}

@ -0,0 +1,44 @@
package com.connor.renben.process.plm.bean;
import com.teamcenter.rac.kernel.TCPropertyDescriptor;
public class TMomCreatePropBean {
private String displayName;
private String name;
private String value;
private TCPropertyDescriptor descriptor;
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public TCPropertyDescriptor getDescriptor() {
return descriptor;
}
public void setDescriptor(TCPropertyDescriptor descriptor) {
this.descriptor = descriptor;
}
}

@ -0,0 +1,130 @@
package com.connor.renben.process.plm.bean;
import java.util.Map;
import com.teamcenter.rac.kernel.TCComponentFolder;
import com.teamcenter.rac.kernel.TCComponentItem;
public class TMomItemBean {
private TCComponentItem item;
private String itemID;// 零组件ID
private String revID;// 版本ID
private String name;// 名称
private String unitDis;// 单位显示
private String unit;// 单位
private String typeDis;// 类型显示
private String type;// 类型
private Map<String, Object> itemProps;// 零组件属性
private Map<String, Object> revProps;// 版本属性
private Map<String, Object> formProps;// 版本表单属性
private TCComponentFolder folder;
public TCComponentFolder getFolder() {
return folder;
}
public void setFolder(TCComponentFolder folder) {
this.folder = folder;
}
public String getTypeDis() {
return typeDis;
}
public void setTypeDis(String typeDis) {
this.typeDis = typeDis;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getUnitDis() {
return unitDis;
}
public void setUnitDis(String unitDis) {
this.unitDis = unitDis;
}
public String getUnit() {
return unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
public TCComponentItem getItem() {
return item;
}
public void setItem(TCComponentItem item) {
this.item = item;
}
// ----------------------------------------------------
public String getItemID() {
return itemID;
}
public void setItemID(String itemID) {
this.itemID = itemID;
}
public String getRevID() {
return revID;
}
public void setRevID(String revID) {
this.revID = revID;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Map<String, Object> getItemProps() {
return itemProps;
}
public void setItemProps(Map<String, Object> itemProps) {
this.itemProps = itemProps;
}
public Map<String, Object> getRevProps() {
return revProps;
}
public void setRevProps(Map<String, Object> revProps) {
this.revProps = revProps;
}
public Map<String, Object> getFormProps() {
return formProps;
}
public void setFormProps(Map<String, Object> formProps) {
this.formProps = formProps;
}
@Override
public String toString() {
return "TMom001DeriveItemBean [itemID=" + itemID + ", revID=" + revID
+ ", name=" + name + ", itemProps=" + itemProps + ", revProps="
+ revProps + ", formProps=" + formProps + "]";
}
// ------------------------------
}

@ -0,0 +1,25 @@
package com.connor.renben.process.plm.bean;
import java.util.List;
public class TMomPropExplictBean {
private String Type = "";
private List<String> PropList;
public String getType() {
return Type;
}
public void setType(String type) {
Type = type;
}
public List<String> getPropList() {
return PropList;
}
public void setPropList(List<String> propList) {
PropList = propList;
}
}

@ -0,0 +1,69 @@
package com.connor.renben.process.plm.bean;
import javax.swing.ImageIcon;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentGroup;
import com.teamcenter.rac.kernel.TCComponentPerson;
import com.teamcenter.rac.kernel.TCComponentRole;
import com.teamcenter.rac.kernel.TCComponentUser;
import com.teamcenter.rac.kernel.TCException;
public class TMomUserBean {
private TCComponent User;
private TCComponent Parent;
private ImageIcon ImageIcon;
private String UserName;
public TCComponent getParent() {
return Parent;
}
public void setParent(TCComponent Parent) {
this.Parent = Parent;
}
public TCComponent getUser() {
return User;
}
public void setUser(TCComponent user) {
User = user;
}
public TMomUserBean() {
}
public TMomUserBean(TCComponent user, TCComponent Parent) {
this.Parent = Parent;
this.User = user;
if (user != null) {
try {
if (user instanceof TCComponentRole) {
this.ImageIcon = new ImageIcon("icons\\role_16.png");
} else if (user instanceof TCComponentPerson) {
this.ImageIcon = new ImageIcon("icons\\persons_16.png");
} else if (user instanceof TCComponentGroup) {
this.ImageIcon = new ImageIcon("icons\\group_16.png");
} else if (user instanceof TCComponentUser) {
this.ImageIcon = new ImageIcon("icons\\persons_16.png");
}
this.UserName = user.getStringProperty("object_string");
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
@Override
public String toString() {
return UserName;
}
}

@ -0,0 +1,77 @@
package com.connor.renben.process.plm.bean;
import java.util.List;
public class TreeBean {
private String plmeid;
private String id;
private String P1;
private String P2;
private String P3;
private String P4;
private String P5;
private String name;
private String parentId;
private List<TreeBean> chidrenBeans;
public String getPlmeid() {
return plmeid;
}
public void setPlmeid(String plmeid) {
this.plmeid = plmeid;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getP1() {
return P1;
}
public void setP1(String P1) {
this.P1 = P1;
}
public String getP2() {
return P2;
}
public void setP2(String P2) {
this.P2 = P2;
}
public String getP3() {
return P3;
}
public void setP3(String P3) {
this.P3 = P3;
}
public String getP4() {
return P4;
}
public void setP4(String P4) {
this.P4 = P4;
}
public String getP5() {
return P5;
}
public void setP5(String P5) {
this.P5 = P5;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getParentId() {
return parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public List<TreeBean> getChidrenBeans() {
return chidrenBeans;
}
public void setChidrenBeans(List<TreeBean> chidrenBeans) {
this.chidrenBeans = chidrenBeans;
}
}

@ -0,0 +1,81 @@
package com.connor.renben.process.plm.bean;
import java.util.Date;
import com.teamcenter.rac.kernel.TCComponent;
public class Workflow_InfoBean {
private String puid;
private int wf_type;
private String userId;
private String timeinfo;
private String logTime;
private TCComponent comp;
private Date date;
public String getLogTime() {
return logTime;
}
public void setLogTime(String logTime) {
this.logTime = logTime;
}
public String getPuid() {
return puid;
}
public void setPuid(String puid) {
this.puid = puid;
}
public int getWf_type() {
return wf_type;
}
public void setWf_type(int wf_type) {
this.wf_type = wf_type;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getTimeinfo() {
return timeinfo;
}
public void setTimeinfo(String timeinfo) {
this.timeinfo = timeinfo;
}
public TCComponent getComp() {
return comp;
}
public void setComp(TCComponent comp) {
this.comp = comp;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
@Override
public String toString() {
return "Workflow_InfoBean [puid=" + puid + ", wf_type=" + wf_type + ", userId=" + userId + ", timeinfo="
+ timeinfo + ", logTime=" + logTime + ", comp=" + comp + ", date=" + date + "]";
}
}

@ -0,0 +1,194 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.11.29 at 12:34:01 PM CST
//
package com.connor.renben.process.plm.bean.packageProcess;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;choice maxOccurs="unbounded" minOccurs="0">
* &lt;element name="Electronform">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="prt4MaterialCode" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/choice>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"electronform"
})
@XmlRootElement(name = "Electronforms")
public class Electronforms {
@XmlElement(name = "Electronform")
protected List<Electronforms.Electronform> electronform;
/**
* Gets the value of the electronform property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the electronform property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getElectronform().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Electronforms.Electronform }
*
*
*/
public List<Electronforms.Electronform> getElectronform() {
if (electronform == null) {
electronform = new ArrayList<Electronforms.Electronform>();
}
return this.electronform;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="prt4MaterialCode" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Electronform {
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "table")
protected String table;
@XmlAttribute(name = "prt4MaterialCode")
protected String prt4MaterialCode;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the table property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTable() {
return table;
}
/**
* Sets the value of the table property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTable(String value) {
this.table = value;
}
/**
* Gets the value of the prt4MaterialCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrt4MaterialCode() {
return prt4MaterialCode;
}
/**
* Sets the value of the prt4MaterialCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrt4MaterialCode(String value) {
this.prt4MaterialCode = value;
}
}
}

@ -0,0 +1,76 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.04.10 at 02:42:15 PM CST
//
package com.connor.renben.process.plm.bean.packageProcess;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;choice maxOccurs="unbounded" minOccurs="0">
* &lt;element ref="{}preferences"/>
* &lt;/choice>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"preferences"
})
@XmlRootElement(name = "NewDataSet")
public class NewDataSet {
protected List<Preferences> preferences;
/**
* Gets the value of the preferences property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the preferences property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPreferences().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Preferences }
*
*
*/
public List<Preferences> getPreferences() {
if (preferences == null) {
preferences = new ArrayList<Preferences>();
}
return this.preferences;
}
}

@ -0,0 +1,79 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.04.10 at 02:42:15 PM CST
//
package com.connor.renben.process.plm.bean.packageProcess;
import javax.xml.bind.annotation.XmlRegistry;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the PackageProcess.bean package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: PackageProcess.bean
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Preferences }
*
*/
public Preferences createPreferences() {
return new Preferences();
}
/**
* Create an instance of {@link Preferences.PackageProcess }
*
*/
public Preferences.PackageProcess createPreferencesPackageProcess() {
return new Preferences.PackageProcess();
}
/**
* Create an instance of {@link Preferences.PackageProcess.TextFieldButton }
*
*/
public Preferences.PackageProcess.TextFieldButton createPreferencesPackageProcessTextFieldButton() {
return new Preferences.PackageProcess.TextFieldButton();
}
/**
* Create an instance of {@link NewDataSet }
*
*/
public NewDataSet createNewDataSet() {
return new NewDataSet();
}
/**
* Create an instance of {@link Preferences.PackageProcess.TextFieldButton.Value }
*
*/
public Preferences.PackageProcess.TextFieldButton.Value createPreferencesPackageProcessTextFieldButtonValue() {
return new Preferences.PackageProcess.TextFieldButton.Value();
}
}

@ -0,0 +1,534 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.04.10 at 02:42:15 PM CST
//
package com.connor.renben.process.plm.bean.packageProcess;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="packageProcess" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="textFieldButton" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="value" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="property1" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property2" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property3" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property4" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property5" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property6" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"packageProcess"
})
@XmlRootElement(name = "preferences")
public class Preferences {
protected List<Preferences.PackageProcess> packageProcess;
@XmlAttribute(name = "version")
protected String version;
/**
* Gets the value of the packageProcess property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the packageProcess property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPackageProcess().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Preferences.PackageProcess }
*
*
*/
public List<Preferences.PackageProcess> getPackageProcess() {
if (packageProcess == null) {
packageProcess = new ArrayList<Preferences.PackageProcess>();
}
return this.packageProcess;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
return version;
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="textFieldButton" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="value" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="property1" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property2" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property3" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property4" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property5" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property6" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"textFieldButton"
})
public static class PackageProcess {
protected List<Preferences.PackageProcess.TextFieldButton> textFieldButton;
@XmlAttribute(name = "name")
protected String name;
/**
* Gets the value of the textFieldButton property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the textFieldButton property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTextFieldButton().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Preferences.PackageProcess.TextFieldButton }
*
*
*/
public List<Preferences.PackageProcess.TextFieldButton> getTextFieldButton() {
if (textFieldButton == null) {
textFieldButton = new ArrayList<Preferences.PackageProcess.TextFieldButton>();
}
return this.textFieldButton;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="value" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="property1" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property2" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property3" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property4" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property5" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property6" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
public static class TextFieldButton {
protected List<Preferences.PackageProcess.TextFieldButton.Value> value;
@XmlAttribute(name = "name")
protected String name;
/**
* Gets the value of the value property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the value property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getValue().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Preferences.PackageProcess.TextFieldButton.Value }
*
*
*/
public List<Preferences.PackageProcess.TextFieldButton.Value> getValue() {
if (value == null) {
value = new ArrayList<Preferences.PackageProcess.TextFieldButton.Value>();
}
return this.value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attribute name="property1" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property2" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property3" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property4" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property5" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="property6" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Value {
@XmlAttribute(name = "property1")
protected String property1;
@XmlAttribute(name = "property2")
protected String property2;
@XmlAttribute(name = "property3")
protected String property3;
@XmlAttribute(name = "property4")
protected String property4;
@XmlAttribute(name = "property5")
protected String property5;
@XmlAttribute(name = "property6")
protected String property6;
/**
* Gets the value of the property1 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProperty1() {
return property1;
}
/**
* Sets the value of the property1 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProperty1(String value) {
this.property1 = value;
}
/**
* Gets the value of the property2 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProperty2() {
return property2;
}
/**
* Sets the value of the property2 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProperty2(String value) {
this.property2 = value;
}
/**
* Gets the value of the property3 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProperty3() {
return property3;
}
/**
* Sets the value of the property3 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProperty3(String value) {
this.property3 = value;
}
/**
* Gets the value of the property4 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProperty4() {
return property4;
}
/**
* Sets the value of the property4 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProperty4(String value) {
this.property4 = value;
}
/**
* Gets the value of the property5 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProperty5() {
return property5;
}
/**
* Sets the value of the property5 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProperty5(String value) {
this.property5 = value;
}
/**
* Gets the value of the property6 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProperty6() {
return property6;
}
/**
* Sets the value of the property6 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProperty6(String value) {
this.property6 = value;
}
}
}
}
}

@ -0,0 +1,622 @@
package com.connor.renben.process.plm.message;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.List;
import java.awt.BorderLayout;
import java.awt.Window;
import java.io.File;
import java.io.FileInputStream;
import java.util.Locale;
import java.util.ResourceBundle;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JDialog;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
import javax.swing.SwingUtilities;
import javax.swing.filechooser.FileSystemView;
import org.apache.commons.collections.map.LinkedMap;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import java.util.ArrayList;
import com.teamcenter.rac.kernel.TCComponentProcess;
import com.connor.renben.process.plm.util.TMomMethodUtil;
//import com.connor.rb.plm.util.SoaServerUtil;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aif.AbstractAIFDialog;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.kernel.AIFComponentContext;
import com.teamcenter.rac.aif.kernel.InterfaceAIFComponent;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.ServiceData;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentBOMLine;
import com.teamcenter.rac.kernel.TCComponentBOMWindow;
import com.teamcenter.rac.kernel.TCComponentBOMWindowType;
import com.teamcenter.rac.kernel.TCComponentFolder;
import com.teamcenter.rac.kernel.TCComponentFolderType;
import com.teamcenter.rac.kernel.TCComponentItem;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
import com.teamcenter.rac.kernel.TCComponentItemRevisionType;
import com.teamcenter.rac.kernel.TCComponentItemType;
import com.teamcenter.rac.kernel.TCComponentTask;
import com.teamcenter.rac.kernel.TCComponentType;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
import com.teamcenter.soa.client.model.ErrorStack;
import com.teamcenter.soa.client.model.ModelObject;
import com.teamcenter.services.rac.core.DataManagementService;
public class DelReferenceDialog extends AbstractAIFDialog {
StringBuilder logContent = new StringBuilder();
private String lineSeparator = System.lineSeparator();// 换行符
private JButton importButton;
private JButton okButton;
private JButton celButton;
private JLabel selectUploadLabel;
private JComponent uploadInput;
private String[] RB3_Delete_Relation;
private TCSession session;
private AbstractAIFApplication app;
public DelReferenceDialog(AbstractAIFApplication app, TCSession session, String[] RB3_Delete_Relation)
throws Exception {
this.session = session;
this.app = app;
this.RB3_Delete_Relation = RB3_Delete_Relation;
initUi();
}
public void initializationComponent() {
selectUploadLabel = new JLabel("选择导入的excel:");
uploadInput = new JTextField(14);
importButton = new JButton("选择");
okButton = new JButton("确定");
celButton = new JButton("取消");
SwingUtilities.getWindowAncestor(importButton);
}
/**
*
*/
public void initUi() {
initializationComponent();
JDialog dialog = new JDialog((JFrame) SwingUtilities.getWindowAncestor(importButton), "批量解除关系", true);
dialog.setLayout(null);
// 创建标签
selectUploadLabel.setBounds(30, 40, 150, 25);
dialog.add(selectUploadLabel);
// 创建输入框
uploadInput.setBounds(180, 40, 220, 25);
dialog.add(uploadInput);
// 创建选择按钮
importButton.setBounds(450, 40, 90, 25);
importButton.addActionListener(e -> {
JFileChooser fileChooser = new JFileChooser();
// 设置为仅选择文件,而非目录
fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
fileChooser.setAcceptAllFileFilterUsed(false); // 不显示 "所有文件" 选项
// 设置默认打开的文件夹为桌面
File desktopDir = new File(System.getProperty("user.home"), "Desktop");
fileChooser.setCurrentDirectory(desktopDir);
int result = fileChooser.showOpenDialog(dialog);
if (result == JFileChooser.APPROVE_OPTION) {
((JTextField) uploadInput).setText(fileChooser.getSelectedFile().getAbsolutePath());
}
});
dialog.add(importButton, BorderLayout.EAST);
okButton.addActionListener(e -> {
Locale defaultLocale = Locale.getDefault();
// ResourceBundle
// rb=ResourceBundle.getBundle("com.connor.renben.process.plm.message.Message",defaultLocale);
String path = ((JTextField) uploadInput).getText();
if (path.isEmpty()) {
JOptionPane.showMessageDialog(dialog, "请选择文件上传路径");
} else {
// 检查文件是否为目录
try {
File file = new File(path);
if (file.isFile() && file.getName().endsWith(".xlsx")) {
// 处理选择的文件
System.out.println("选择的文件是:" + file.getAbsolutePath());
// 读取EXCEL
FileInputStream fis = new FileInputStream(file);
XSSFWorkbook wb = new XSSFWorkbook(fis);
// 读取excel文档
// 找到第一个工作页
XSSFSheet sheet = wb.getSheetAt(0);
int rowIndex = 1;// 从第二行开始读
XSSFRow firstRow = sheet.getRow(0);
System.out.println("firstRow===========" + firstRow);
System.out.println("firstRow.getCell(0)===========" + firstRow.getCell(0));
System.out.println("firstRow.getCell(1)===========" + firstRow.getCell(1));
// if (firstRow == null || firstRow.getCell(0)==null ||
// firstRow.getCell(1)==null || !firstRow.getCell(0).equals("对象ID") ||
// !firstRow.getCell(1).equals("版本")) {
if (firstRow == null || firstRow.getCell(0) == null || firstRow.getCell(1) == null) {
MessageBox.post("请选择正确的excel", "提示", MessageBox.INFORMATION);
return;
}
TMomMethodUtil.setByPass(session, true);
// SoaServerUtil.openByPass(session);
while (true) {
XSSFRow nextRow = sheet.getRow(rowIndex);
// 循环结束的判断 读到空数据
if (nextRow == null || nextRow.getCell(0) == null
|| nextRow.getCell(0).getCellType() == XSSFCell.CELL_TYPE_BLANK
|| nextRow.getCell(1) == null
|| nextRow.getCell(1).getCellType() == XSSFCell.CELL_TYPE_BLANK) {
break;
}
String id = nextRow.getCell(0).toString();
String version = nextRow.getCell(1).toString();
System.out.println(id + "->" + version);
logContent.append("==================遍历:" + id + "->" + version + lineSeparator);
// 对应修改ID
try {
TCComponentItemType itemType = (TCComponentItemType) session.getTypeComponent("Item");
TCComponentItem item = itemType.find(id);// 通过id获取item
String objectType = item.getStringProperty("object_type");
TCComponentItemRevision itemRevisionFromItem = getItemRevisionFromItem(item, version);
if (itemRevisionFromItem == null) {
System.out.println("未找到对应版本!");
logContent.append("ID" + id + "未找到对应版本" + version + lineSeparator);
} else {
TCComponent[] relatedComponents = itemRevisionFromItem.getRelatedComponents("release_status_list");
if(relatedComponents.length > 0 && (relatedComponents[0].getProperty("name").equalsIgnoreCase("TCM Released") || relatedComponents[0].getProperty("name").equals("TCM 已发布"))) {
logContent.append("ID" + id + "对应版本" + version +"已发布"+ lineSeparator);
rowIndex++;
continue;
}
//rev.getRelatedComponents("release_status_list")[0].getProperty("name").equalsIgnoreCase("TCM Released") || rev.getRelatedComponents("release_status_list")[0].getProperty("name").equals("TCM 已发布")
//循环bom删除 使用
TCComponent[] whereUsed = itemRevisionFromItem.whereUsed((short)0);
for (int j = 0; j < whereUsed.length; j++) {
TCComponentType type = whereUsed[j].getTypeComponent();
if(type instanceof TCComponentItemType) {
//判断是否父级
TCComponentItem userItem = (TCComponentItem)whereUsed[j];
String itemId = userItem.getStringProperty("item_id");
if(itemId.equals(id)) {
continue;
}
}else if(type instanceof TCComponentItemRevisionType) {
TCComponentItemRevision userRevision = (TCComponentItemRevision)whereUsed[j];
TCComponentBOMWindowType viewType = (TCComponentBOMWindowType) session.getTypeComponent("BOMWindow");
TCComponentBOMWindow view = viewType.create(null);
TCComponentBOMLine topLine = view.setWindowTopLine(userRevision.getItem(), userRevision, null, null);
String parentId = userRevision.getStringProperty("item_id");
topLine.lock();
AIFComponentContext[] childrens = topLine.getChildren();
for (int k = 0; k < childrens.length; k++) {
InterfaceAIFComponent comp = childrens[k].getComponent();
if(comp instanceof TCComponentBOMLine) {
TCComponentBOMLine line = (TCComponentBOMLine) comp;
String bomItemId = line.getStringProperty("bl_item_item_id");
if(bomItemId != null && bomItemId.equals(id)) {
topLine.remove("", line);
logContent.append("解除了ID:"+id+"对应版本"+version+"父级"+parentId+"的使用关系"+ lineSeparator);
}
}
}
topLine.save();
topLine.unlock();
view.save();
view.close();
}
}
System.out.println("objectType==="+objectType);
//特殊逻辑 特殊对象去掉引用
if(objectType.equals("RB3_SSCKZJH") || objectType.equals("RB3_SCKZJH") || objectType.equals("RB3_ZYJZS") || objectType.equals("RB3_ZPGYK") || objectType.equals("RB3_ZYGYK") || objectType.equals("RB3_HZZCGYK") || objectType.equals("RB3_PFMEA")) {
AIFComponentContext[] whereReferenced = item.whereReferenced();
System.out.println("whereReferenced=============" + whereReferenced.length);
for (int z = 0; z < whereReferenced.length; z++) {
InterfaceAIFComponent component = whereReferenced[z].getComponent();
// 判断是否父级 或者 前版本
if (component instanceof TCComponentItemRevision) {
TCComponentItemRevision referenceItemrevision = (TCComponentItemRevision) component;
try {
TCComponent[] relationComponent = referenceItemrevision
.getTCProperty("IMAN_reference")
.getReferenceValueArray();
System.out.println(
"relationComponent2==========" + relationComponent.length);
String refId = referenceItemrevision.getStringProperty("item_id");
if (relationComponent != null && relationComponent.length > 0) {
referenceItemrevision.remove("IMAN_reference",
item);
logContent.append("解除了ID:" + id + "对应版本" + version + "中"
+ "与ID:"+refId+"之间的 IMAN_reference 关系" + lineSeparator);
}
} catch (Exception e2) {
// TODO: handle exception
System.out.println("111111");
}
}
}
}
AIFComponentContext[] whereReferenced = itemRevisionFromItem.whereReferenced();
System.out.println("whereReferenced=============" + whereReferenced.length);
String revisionId = itemRevisionFromItem.getStringProperty("item_id");
for (int z = 0; z < whereReferenced.length; z++) {
InterfaceAIFComponent component = whereReferenced[z].getComponent();
// 判断是否父级 或者 前版本
if (component instanceof TCComponentItem) {
System.out.println("----------TCComponentItem-----------");
TCComponentItem referenceItem = (TCComponentItem) component;
String itemId = referenceItem.getStringProperty("item_id");
if (itemId.equals(revisionId)) {
continue;
}
for (int i = 0; i < RB3_Delete_Relation.length; i++) {
System.out.println(
"RB3_Delete_Relation[i]=====" + RB3_Delete_Relation[i]);
try {
TCComponent[] relationComponent = referenceItem
.getTCProperty(RB3_Delete_Relation[i])
.getReferenceValueArray();
System.out.println(
"relationComponent1==========" + relationComponent.length);
if (relationComponent != null && relationComponent.length > 0) {
referenceItem.remove(RB3_Delete_Relation[i],
itemRevisionFromItem);
logContent.append("解除了ID:" + id + "对应版本" + version + "中"
+ RB3_Delete_Relation[i] + "关系" + lineSeparator);
}
} catch (Exception e2) {
// TODO: handle exception
System.out.println("111111");
}
}
}
// 判断是否父级 或者 前版本
if (component instanceof TCComponentItemRevision) {
TCComponentItemRevision referenceItemrevision = (TCComponentItemRevision) component;
System.out.println("----------TCComponentItemRevision-----------");
for (int i = 0; i < RB3_Delete_Relation.length; i++) {
System.out.println(
"RB3_Delete_Relation[i]=====" + RB3_Delete_Relation[i]);
try {
TCComponent[] relationComponent = referenceItemrevision
.getTCProperty(RB3_Delete_Relation[i])
.getReferenceValueArray();
System.out.println(
"relationComponent2==========" + relationComponent.length);
if (relationComponent != null && relationComponent.length > 0) {
referenceItemrevision.remove(RB3_Delete_Relation[i],
itemRevisionFromItem);
logContent.append("解除了ID:" + id + "对应版本" + version + "中"
+ RB3_Delete_Relation[i] + "关系" + lineSeparator);
}
} catch (Exception e2) {
// TODO: handle exception
System.out.println("111111");
}
}
}
// 判断是否父级 或者 前版本
if (component instanceof TCComponentFolder) {
TCComponentFolder referenceFolder = (TCComponentFolder) component;
System.out.println("----------TCComponentFolder-----------");
for (int i = 0; i < RB3_Delete_Relation.length; i++) {
System.out.println(
"RB3_Delete_Relation[i]=====" + RB3_Delete_Relation[i]);
try {
TCComponent[] relationComponent = referenceFolder
.getTCProperty(RB3_Delete_Relation[i])
.getReferenceValueArray();
System.out.println(
"relationComponent3==========" + relationComponent.length);
if (relationComponent != null && relationComponent.length > 0) {
referenceFolder.remove(RB3_Delete_Relation[i],
itemRevisionFromItem);
logContent.append("解除了ID:" + id + "对应版本" + version + "中"
+ RB3_Delete_Relation[i] + "关系" + lineSeparator);
}
} catch (Exception e2) {
// TODO: handle exception
System.out.println("111111");
}
}
}
if (component instanceof TCComponentTask
|| component.getType().equals("EPMTask")) {
TCComponentTask referenceTask = (TCComponentTask) component;
System.out.println("----------TCComponentTask-----------");
AIFComponentContext[] taskReferenced = referenceTask.whereReferenced();
System.out.println("taskReferenced.length=============="+taskReferenced.length);
if(taskReferenced.length > 0) {
if(taskReferenced[0].getComponent().getType().equals("Job") || taskReferenced[0].getComponent().getType().equals("EPMJob")) {
ArrayList<TCComponent> delList = new ArrayList<TCComponent>();
delList.add((TCComponentProcess)taskReferenced[0].getComponent());
DataManagementService service = DataManagementService.getService(session);
TCComponent[] components = delList.toArray(new TCComponent[0]);
System.out.println("components============"+components.length);
ServiceData serviceData = service.deleteObjects(components);
if(serviceData.sizeOfPartialErrors() > 0){
StringBuilder errInfo = new StringBuilder();
for (int i = 0; i < serviceData.sizeOfPartialErrors(); i++) {
for (String msg : serviceData.getPartialError(i).getMessages()) {
errInfo.append(msg + "\n");
}
}
logContent.append("失败------------------->解除ID:"+id+"对应版本"+version+"的"+referenceTask.getStringProperty("object_name")+"的流程失败,请查看"+errInfo.toString()+ lineSeparator);
}else {
logContent.append("解除了ID:"+id+"对应版本"+version+"的"+referenceTask.getStringProperty("object_name")+"的流程"+ lineSeparator);
}
}
}
/*
* for (int i = 0; i < RB3_Delete_Relation.length; i++) {
*
* System.out.println("RB3_Delete_Relation[i]====="+RB3_Delete_Relation[i]);
* try { TCComponent[] relationComponent =
* referenceTask.getTCProperty(RB3_Delete_Relation[i]).
* getReferenceValueArray();
* System.out.println("relationComponent4=========="+relationComponent.
* length); if(relationComponent != null && relationComponent.length > 0) {
* referenceTask.remove(RB3_Delete_Relation[i], itemRevisionFromItem);
* logContent.append("解除了ID:"+id+"对应版本"+version+"中"+RB3_Delete_Relation[i]+
* "关系"+lineSeparator); } } catch (Exception e2) { // TODO: handle exception
* System.out.println("----------"+RB3_Delete_Relation[i]);
* e2.printStackTrace();
*
* }
*
*
* ArrayList<TCComponent> list = new ArrayList<TCComponent>();
* list.add(itemRevisionFromItem);
* referenceTask.removeAttachments(list.toArray(new TCComponent[0]));
*
*
* }
*/
}
}
String findType = itemRevisionFromItem.getType();
if(findType.equals("MEProcessRevision")) {
TCComponent[] relationComponent = itemRevisionFromItem
.getTCProperty("IMAN_METarget")
.getReferenceValueArray();
System.out.println(
"IMAN_METarget==========" + relationComponent.length);
if (relationComponent != null && relationComponent.length > 0) {
itemRevisionFromItem.remove("IMAN_METarget",
relationComponent);
logContent.append("解除了ID:" + id + "对应版本" + version + "的IMAN_METarget 关系" + lineSeparator);
}
AIFComponentContext[] itemWhereReferenced = item.whereReferenced();
System.out.println("itemWhereReferenced=============" + itemWhereReferenced.length);
for (int z = 0; z < itemWhereReferenced.length; z++) {
InterfaceAIFComponent component = itemWhereReferenced[z].getComponent();
// 判断是否父级 或者 前版本
if (component instanceof TCComponentItem) {
System.out.println("----------TCComponentItem-2----------");
TCComponentItem referenceItem = (TCComponentItem) component;
String refId = referenceItem.getStringProperty("item_id");
String refType = referenceItem.getType();
System.out.println("refType========="+refType);
if (refType.equals("RB3_ZC")) {
referenceItem.remove("IMAN_reference",
item);
logContent.append("解除了ID:"+refId+"与" + id +"的IMAN_reference 关系" + lineSeparator);
}
}
}
}
/*
* if (serviceData.sizeOfPartialErrors() > 0) { for (int j = 0; j <
* serviceData.sizeOfPartialErrors(); j++) { ErrorStack partialError =
* serviceData.getPartialError(j); ModelObject associatedObject =
* partialError.getAssociatedObject(); } }
*/
}
} catch (Exception e1) {
e1.printStackTrace();
// MessageBox.post("ID:"+version.toString()+rb.getString("zxtzbcz.TITLE"), "提示",
// MessageBox.INFORMATION);
/*
* MessageBox.post("ID:" + version.toString() + e1.getMessage(), "提示",
* MessageBox.INFORMATION);
*/
logContent.append("失败------------------->ID:" + version.toString() + e1.getMessage() + lineSeparator);
}
rowIndex++;
}
// SoaServerUtil.closeByPass(session);
// MessageBox.post(rb.getString("idxgcg.TITLE"), "提示", MessageBox.INFORMATION);
log();
MessageBox.post("解除完成!", "提示", MessageBox.INFORMATION);
dialog.dispose();
TMomMethodUtil.setByPass(session, false);
} else {
// MessageBox.post(rb.getString("qxzexcel.TITLE"), "提示",
// MessageBox.INFORMATION);
MessageBox.post("请选择正确的文件!", "提示", MessageBox.INFORMATION);
}
} catch (Exception e2) {
e2.printStackTrace();
}
}
});
celButton.addActionListener(e -> {
dialog.dispose();
});
// 创建确定和取消按钮
okButton.setBounds(180, 90, 100, 25);
celButton.setBounds(300, 90, 100, 25);
dialog.add(okButton);
dialog.add(celButton);
// 设置对话框大小和位置
dialog.pack();
dialog.setSize(600, 190);
// 获取 importButton 的祖先窗口
Window ancestor = SwingUtilities.getWindowAncestor(importButton);
if (ancestor instanceof JFrame) {
dialog.setLocationRelativeTo((JFrame) ancestor);
} else {
// 如果祖先不是 JFrame可以选择居中显示在屏幕中央
dialog.setLocationRelativeTo(null);
}
dialog.setVisible(true);
}
public TCComponentItemRevision getItemRevisionFromItem(TCComponentItem item, String rev) throws TCException {
if (item != null) {
// System.out.println("rev-----" + rev);
AIFComponentContext[] contexts = item.getChildren("revision_list");
if (contexts != null && contexts.length > 0) {
for (int i = 0; i < contexts.length; i++) {
InterfaceAIFComponent component = contexts[i].getComponent();
if (component instanceof TCComponentItemRevision) {
TCComponentItemRevision revision = (TCComponentItemRevision) component;
if (revision.getProperty("item_revision_id").equals(rev)) {
return (TCComponentItemRevision) revision;
}
}
}
}
}
return null;
}
public void log() {
// 文件夹路径和文件名
File tempPath = FileSystemView.getFileSystemView().getHomeDirectory();
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
String fileName = "DelRelation_" + timeStamp + ".txt";
// 创建文件夹对象
File folder = new File("S:\\桌面l\\tcLog");
if (!folder.exists()) {
folder.mkdirs(); // 创建多级目录
}
// 创建文件路径
File logFile = new File(folder, fileName);
// 写入日志到文件
System.out.println("logContent.toString()1=="+logContent.toString());
try (BufferedWriter writer = new BufferedWriter(new FileWriter(logFile))) {
writer.write(logContent.toString());
System.out.println("日志已成功写入到文件1" + logFile.getAbsolutePath());
} catch (IOException e) {
System.err.println("写入日志文件时发生错误!");
// TODO: handle exception
// 创建文件夹对象
File folder2 = new File(tempPath.toString()+"\\tcLog");
if (!folder2.exists()) {
folder2.mkdirs(); // 创建多级目录
}
// 创建文件路径
File logFile2 = new File(folder2, fileName);
System.out.println("logContent.toString()2=="+logContent.toString());
// 写入日志到文件
try (BufferedWriter writer = new BufferedWriter(new FileWriter(logFile2))) {
writer.write(logContent.toString());
System.out.println("日志已成功写入到文件2" + logFile2.getAbsolutePath());
} catch (IOException e2) {
System.err.println("写入日志文件时发生错误!");
e2.printStackTrace();
}
}
}
}

@ -0,0 +1,44 @@
package com.connor.renben.process.plm.message;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
public class DelReferenceHandler extends AbstractHandler{
@Override
public Object execute(ExecutionEvent arg0) throws ExecutionException {
final AbstractAIFApplication app = AIFUtility.getCurrentApplication();
final TCSession session = (TCSession) app.getSession();
final String[] RB3_Delete_Relation = session.getPreferenceService().getStringValues("RB3_Delete_Relation");
if (RB3_Delete_Relation.length <= 0) {
MessageBox.post("ÇëÅäÖÃÊ×Ñ¡ÏîRB3_Delete_Relation", "Ìáʾ", MessageBox.INFORMATION);
return null;
}
try {
new Thread() {
@Override
public void run() {
try {
new DelReferenceDialog(app, session, RB3_Delete_Relation);
} catch (Exception e) {
e.printStackTrace();
}
}
}.start();
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
}

@ -0,0 +1,635 @@
xljid_display.TITLE=New Item ID
bbid_display.TITLE=Revision ID
mc_display.TITLE=Name
jlzjid_display.TITLE=Old Item ID
qd_display.TITLE=Sure
qx_display.TITLE=Cancel
cxdr_display.TITLE=Re-import
hbgykdc_display.TITLE=Export horizontal plate process card
sbgykdc_display.TITLE=Export vertical process card
zpgykdc_display.TITLE=Export of assembly process card
zyjzsdc_display.TITLE=Operation reference book export
xzdctp_display.TITLE=Select export picture
sc08_display.TITLE=Delete
lx_display.TITLE=Type
dw_display.TITLE=Unit
scgc_display.TITLE=Production plant
xljxx_display.TITLE=New Item Information
jy_display.TITLE=Based_on
lzjxx_display.TITLE=Item Information
sx_display.TITLE=Attribute
sxsj_display.TITLE=Refresh
ssckzjh_display.TITLE=Pilot production control plan
sckzjh_display.TITLE=Production control plan
dc_display.TITLE=Export
xzlj_display.TITLE=Select path
xzwjj_display.TITLE=Select Folder:
pldctz_display.TITLE=Batch export drawings
dcd_display.TITLE=Export to:
ll_display.TITLE=Browse...
txkzjh_display.TITLE=Fill in control plan
bc_display.TITLE=Save
CP/kzjh_display.TITLE=CONTROL PLAN/Control plan
yj_display.TITLE=Sample
ssc_display.TITLE=Trial production
sc_display.TITLE=Production
kzjhbh_display.TITLE=Control plan number
zylxrbzr_display.TITLE=Main contact / Preparer
zylxrdhbzrdh_display.TITLE=Main contact telephone number / Preparer telephone number
rq(bz)_display.TITLE=Date (Preparation)
rq(xd)_display.TITLE=Date (Revised)
SORhmmc_display.TITLE=SOR Number / Name
ljhzzbb_display.TITLE=Part number / Final version
hxxz_display.TITLE=Core group
gkgcpzrq_display.TITLE=Customer engineering approval / Date
khtzbh_display.TITLE=Customer drawing number
ljmcms_display.TITLE=Item name / Description
gfgcpzrq_display.TITLE=Supplier / Factory approval / Date
gkzlpzrq_display.TITLE=Customer quality approval / Date
gfgc_display.TITLE=Supplier / Factory
gfdh_display.TITLE=Supplier code
gkpzrq_display.TITLE=Customer approval / Date
qtpzrq_display.TITLE=Other approval / Date
tjh_display.TITLE=Add rows
tjdh_display.TITLE=Add multiple lines
tjhbh_display.TITLE=Add merge row
tjdghbh_display.TITLE=Add multiple merged rows
tjgx_display.TITLE=Add procedure
hbh_display.TITLE=Merge lines
cfhbdyg_display.TITLE=Split and merge cells
yczh_display.TITLE=Remove entire row
sxxzl_display.TITLE=Zoom out the selected column
qxsxxzl_display.TITLE=Cancel narrowing selected column
txbz_display.TITLE=Filling standard
dcnbkzjh_display.TITLE=Export internal control plan
fqsh_display.TITLE=Initiate audit
kzjhk_display.TITLE=Control plan library
ck_display.TITLE=Lexicon
cxjz_display.TITLE=Reload
qksj_display.TITLE=Clear all data
cjgy_display.TITLE=Create technology
xh_display.TITLE=Model
cpmc_display.TITLE=Product name
cxyj_display.TITLE=Forming press
khmc_display.TITLE=Customer name
khth_display.TITLE=Customer drawing number
zxyj_display.TITLE=Integral press
khxmh_display.TITLE=Customer project number
clbz_display.TITLE=Material standard
sjry_display.TITLE=Designers
cjrq_display.TITLE=Creation date
cx06_display.TITLE=Query
cph06_display.TITLE=Product ID
gybh06_display.TITLE=Process number
mc06_display.TITLE=Name
gyfg08_display.TITLE=Process division
xzz08_display.TITLE=Selection value:
yhm08_display.TITLE=User name:
ss08_display.TITLE=Search
txPFMEA10_display.TITLE=Fill in PFMEA
qzsxmsjhgfx10_display.TITLE=Potential failure mode and consequence analysis
gsmc10_display.TITLE=Corporate name
xm10_display.TITLE=Project
PFMEAIDbh10_display.TITLE=PFMEA ID number
zzdz10_display.TITLE=Manufacturing address
PFMEAksrq10_display.TITLE=PFMEA start date
PFMEAxdrq10_display.TITLE=PFMEA revision date
gczz10_display.TITLE=Process responsibilities
gkmc10_display.TITLE=Customer name
bmjb10_display.TITLE=Security level
cxpt10_display.TITLE=Model / Platform
kzntd10_display.TITLE=Cross functional team
ll10_display.TITLE=PFMEA experience database
wc10_display.TITLE=Complete
dcPFMEA10_display.TITLE=Export PFMEA
PFMEAc10_display.TITLE=PFMEA Library
xztsfh10_display.TITLE=Select special symbol
cz10_display.TITLE=Search
fzdh10_display.TITLE=Copy multiple lines
crhs10_display.TITLE=Insert rows
ych12_display.TITLE=Remove row
tjjd12_display.TITLE=Add node
ycjd12_display.TITLE=Remove node
gxjd12_display.TITLE=Update node
jdmc12_display.TITLE=Node name
jdID12_display.TITLE=Node ID
xztsfh12_display.TITLE=Select special symbol
bzgy17_display.TITLE=Packaging technology
cpdh17_display.TITLE=Product code
cpmc17_display.TITLE=Product name
yhth17_display.TITLE=User drawing number
chmc17_display.TITLE=Customer name
jszg17_display.TITLE=Technical director
sjxzljtp17_display.TITLE=Double click to select the part image
bzfs17_display.TITLE=Packing method
jyfs17_display.TITLE=Oil immersion method
mxsl17_display.TITLE=Quantity per case
jx17_display.TITLE=Pieces / case
wzxm17_display.TITLE=Name of outer carton
bzde17_display.TITLE=Packaging quota
xs17_display.TITLE=Case / hour
nldm17_display.TITLE=Name of nylon bag
cpdz17_display.TITLE=Unit weight of finished product
xsm17_display.TITLE=Blister name
zxmz17_display.TITLE=Gross weight of full container
wxbq17_display.TITLE=Outer box label
rktp17_display.TITLE=Storage tray
xc17_display.TITLE=Box / layer
ct17_display.TITLE=Floor / tray
sjxztp17_display.TITLE=Double click to select Picture
bzsm17_display.TITLE=Step description
zysx17_display.TITLE=Matters needing attention
bzry17_display.TITLE=Staffing
pzry17_display.TITLE=Approved personnel
xgrq17_display.TITLE=Modification date
bz17_display.TITLE=Remarks
ysbzlx17_display.TITLE=Type of transport package
dbfs17_display.TITLE=Packing method
tpgg17_display.TITLE=Tray specification
jgfs17_display.TITLE=Reinforcement method
sjxzdbt17_display.TITLE=Double click to select packing map
dybzxx17_display.TITLE=Unit packaging information
ysbzxx17_display.TITLE=Transport package information
dh17_display.TITLE=Code-named
cckcg17_display.TITLE=Length * width * height (CM)
hd17_display.TITLE=Thickness (MM)
cl17_display.TITLE=Material
gg17_display.TITLE=Specifications
ks17_display.TITLE=Number of holes
cp17_display.TITLE=Product
xgdj18_display.TITLE=Revision level
cxnd18_display.TITLE=Model / year
bz18_display.TITLE=Tagging
ycbz18_display.TITLE=Remove dimension
kzjhdc19_display.TITLE=Control plan export
gx19_display.TITLE=Procedure
cx19_display.TITLE=Query
kzjhwjmc19_display.TITLE=Name of control plan document
drkzjh20_display.TITLE=Import control plan
xzkzjhwj20_display.TITLE=Select control plan file
qcwcbj21_display.TITLE=Clear completion flag
xzgytz23_display.TITLE=Select process drawings
gytz23_display.TITLE=Process drawings:
xz24_display.TITLE=Select
kzjh24_display.TITLE=Control plan
yqrq25_display.TITLE=Overdue date
PDMEAtj25_display.TITLE=PFMEA statistics
dcbb25_display.TITLE=Export report
gb25_display.TITLE=Close
jcfxwtd27_display.TITLE=Inspection and analysis order
wtdbh27_display.TITLE=Relegated bill number
jclx27_display.TITLE=Testing type
jcbm27_display.TITLE=Testing department
wtdw27_display.TITLE=Entrusted unit
wtr27_display.TITLE=Entrusted person
wtdz27_display.TITLE=Entrusted address
wtrlxfs27_display.TITLE=Contact information of client
wtrq27_display.TITLE=Date of commission
xwwcsj27_display.TITLE=Expected completion time
jcyt27_display.TITLE=Testing purpose
jcjg27_display.TITLE=Testing result
xmdj27_display.TITLE=Project level
khdj27_display.TITLE=Customer level
xmbh27_display.TITLE=Project number
yyly27_display.TITLE=Application area
xmmc27_display.TITLE=Project name
cph27_display.TITLE=Product ID
wlh27_display.TITLE=Material number
cplx27_display.TITLE=Product type
scdw27_display.TITLE=Production unit
ypsl27_display.TITLE=Number of samples
ypzt27_display.TITLE=Sample status
wldh27_display.TITLE=Logistics order No
ypbh27_display.TITLE=Sample number
ypclfs27_display.TITLE=Sample handling method
sybw27_display.TITLE=Application site
syhj27_display.TITLE=Use environment
gzzh27_display.TITLE=Working load
zhlx27_display.TITLE=Load type
xzfs27_display.TITLE=Rotation way
xzsd27_display.TITLE=Rotation speed
gzwd27_display.TITLE=Working temperature
xzwtnr27_display.TITLE=Select delegation content
bz27_display.TITLE=Remarks
ypydxc27_display.TITLE=The sample has arrived at the scene
sysj27_display.TITLE=Sample receiving time
syr27_display.TITLE=Sample receiver
ypshjg27_display.TITLE=Sample audit results
yqwcsj27_display.TITLE=Expected completion time
thyy27_display.TITLE=Reason for return
jcrwzb27_display.TITLE=Host of testing task
jcrwxb27_display.TITLE=Testing task jointly
jhkssj27_display.TITLE=Planned start time
jhwcsj27_display.TITLE=Planned completion time
djdywtd27_display.TITLE=Click Print Order
djdyypbs27_display.TITLE=Click to print sample identification
sjwcsj27_display.TITLE=Actual completion time
jcjgsm27_display.TITLE=Description of test results
ypcz27_display.TITLE=Sample disposal
cywz27_display.TITLE=Sample storage location
shsj27_display.TITLE=Audit time
shy27_display.TITLE=Auditor
shjg27_display.TITLE=Audit results
wtxx27_display.TITLE=Delegation information
clfx27_display.TITLE=Material analysis
jljc27_display.TITLE=Metrological testing
wtnr27_display.TITLE=Content of entrustment
zygyk28_display.TITLE=Operation process card
gsmc28_display.TITLE=Corporate name
ljdh28_display.TITLE=Part number
sbxh28_display.TITLE=Product name
bgx28_display.TITLE=This process
sbmc28_display.TITLE=Equipment name
gzmx28_display.TITLE=Tooling details
jgcs28_display.TITLE=Processing parameters
cptxkzyq28_display.TITLE=Product characteristic control requirements
zpgyk29_display.TITLE=Assembly process card
gsmc29_display.TITLE=Corporate name
ljdh29_display.TITLE=Part code
sbxh29_display.TITLE=Equipment model
zyjzs30_display.TITLE=Operation standard
xzdclj31_display.TITLE=Select export path
wjmc31_display.TITLE=File name
jyjzs33_display.TITLE=Inspection standard
bzbz34_display.TITLE=Packaging standard
ljh34_display.TITLE=Part number
ljmc34_display.TITLE=Part name
gys34_display.TITLE=Supplier
gysdh34_display.TITLE=Supplier Code
syzcdmmc34_display.TITLE=Applicable assembly code / name
ljdw(tg)34_display.TITLE=Parts unit (set / piece)
ljgg34_display.TITLE=Part specification (mm)
ljzl34_display.TITLE=Weight of parts (kg)
bzbzclfhdjyms34_display.TITLE=Brief description of packaging, packaging materials, protection, etc
bqgshwz34_display.TITLE=Label format and location
zt35_display.TITLE=Status
wtdsh35_display.TITLE=Authorization form approval
gzfp35_display.TITLE=Assignment of work
scjl35_display.TITLE=Upload record
wtrq35_display.TITLE=Date of commission
wtdh35_display.TITLE=Odd Numbers of commission
wtdw35_display.TITLE=entrusted unit
jclx35_display.TITLE=Test type
xmdj35_display.TITLE=Project level
ycwcrq35_display.TITLE=Expected completion date
jhwcrq35_display.TITLE=Planned completion date
zbry35_display.TITLE=Sponsor
lcjs35_display.TITLE=Process monitoring
dqzt35_display.TITLE=Current status
wtdhypsh35_display.TITLE=Order and sample audit
gzfp35_display.TITLE=Assignment of work
scjg35_display.TITLE=Upload results
sywtd41_display.TITLE=Test order
wtdbh41_display.TITLE=Order No:
scdw41_display.TITLE=Production unit
ccxh41_display.TITLE=Bearing model
sych41_display.TITLE=Use occasion
xmmc41_display.TITLE=entry name
xmbh41_display.TITLE=Project number
xmdj41_display.TITLE=Project level
wtsylx41_display.TITLE=Type of commission test
yzsy41_display.TITLE=Verification test
tzxxsy41_display.TITLE=Special new type test
khyq41_display.TITLE=Customer requirements
sybj41_display.TITLE=Background of the experiment
symd41_display.TITLE=Purpose of the experiment
sygfsjry41_display.TITLE=Test specification (designer)
yjgsyry41_display.TITLE=handed over to the tester
qtsyyq41_display.TITLE=Other test requirements
wtr41_display.TITLE=client
lxfs41_display.TITLE=contact information
gsdz41_display.TITLE=Company address
gscz41_display.TITLE=Company fax
shr41_display.TITLE=Reviewer
shrq41_display.TITLE=Audit date
zjlpz41_display.TITLE=Approved by general manager
sywtftx41_display.TITLE=Fill in by test client
psjl41_display.TITLE=Review record
jhkssj41_display.TITLE=Planned start time
jhjssj41_display.TITLE=Planned end time
syfzr41_display.TITLE=Person in charge of the test
lxdh41_display.TITLE=contact number
psrq41_display.TITLE=Review / date
pzrq41_display.TITLE=Approval / date
swtftx41_display.TITLE=Fill in by client
bz41_display.TITLE=Remarks
gzsjtd41_display.TITLE=Tooling design team
xzscgztz41_display.TITLE=Select upload tooling drawing
qxzyscdwj41_display.TITLE=Please select the file to upload
qd41_display.TITLE=determine
gzsjwcrq141_display.TITLE=Tooling design completion date
gzsj141_display.TITLE=Tooling design
gzdhrq41_display.TITLE=Tooling arrival date
gzsjrq41_display.TITLE=Tooling inspection date
gzsjwcrq41_display.TITLE=Tooling inspection completion date
gzjcbgbh41_display.TITLE=Tooling test report (record) No
gzsj41_display.TITLE=Tooling inspection
ypdyrq41_display.TITLE=Sample arrival date
syqypjcwcrq41_display.TITLE=Sample test completion date before test
syqypjcbgbh41_display.TITLE=Sample test report (record) No. before test
syksrq41_display.TITLE=Test start date
sywcrq41_display.TITLE=Test completion date
syss41_display.TITLE=Test implementation
syhypjcwcrq41_display.TITLE=Completion date of sample test after test
syhypjcbg41_display.TITLE=Sample test report (record) No. after test
ypjc41_display.TITLE=Sample testing
xzscsybg41_display.TITLE=Select upload test report
sywcrq241_display.TITLE=Test completion date
sybgbh41_display.TITLE=Test report no
sybg241_display.TITLE=Test report
sywtd241_display.TITLE=Test order
sykxljap41_display.TITLE=The test is feasible,and arrange immediately
sybkx41_display.TITLE=The test is not feasible
zybcfjywwsy41_display.TITLE=The resources are not enough, suggest to subcontract the test
qijy241_display.TITLE=Other suggestions
btxxbnwk41_display.TITLE=Required item cannot be empty!
gzcg41_display.TITLE=Tooling procurement
xqsp41_display.TITLE=Requirement approval
fxwtd40_display.TITLE=Analysis order
CEAwtd40_display.TITLE=CAE order
wtdbh40_display.TITLE=Order No:
kemc40_display.TITLE=Customer name
xmsstd40_display.TITLE=Project team
xmmc40_display.TITLE=Project name
xmjl40_display.TITLE=Project manager
xmdj40_display.TITLE=Project level
sjbsstd40_display.TITLE=Team of design department
xmbh40_display.TITLE=Project number
sjfzr40_display.TITLE=Design director
xmlx40_display.TITLE=Project type
qwwcsj40_display.TITLE=Expected completion time
jbxx40_display.TITLE=1.Basic Information
scfxry40_display.TITLE=Last analyst
scbgsj40_display.TITLE=Last report time
ggd40_display.TITLE=Change point
ggyy40_display.TITLE=Reason for change
srzl40_display.TITLE=2.Input information
cjtd40_display.TITLE=Undertaking team
xmwtsj40_display.TITLE=Project entrustment time
cjr40_display.TITLE=Undertaker
xmggcs40_display.TITLE=Number of project changes
xbr40_display.TITLE=Co sponsor
jhkssj40_display.TITLE=Planned start time
Romaxjf40_display.TITLE=Romax integral
jsxqts40_display.TITLE=Calculate demand days
yxyjf40_display.TITLE=Finite element integration
jswcsj40_display.TITLE=Calculate completion time
xmcjxx40_display.TITLE=3. Project undertaking information
bghjgmc40_display.TITLE=Report or result name
bgbh40_display.TITLE=Report no
bghjgscsj40_display.TITLE=Report or result upload time
bghjgfk40_display.TITLE=4.Report or result feedback
jdr40_display.TITLE=Check reader
jdsj40_display.TITLE=Check reading time
jdjg40_display.TITLE=Check reading results
thyy40_display.TITLE=Reason for return
bghjgjd40_display.TITLE=5.Report or result check
khmc40_display.TITLE=Customer name
xmbssty40_display.TITLE=Team of project department
sybw40_display.TITLE=Application site
srzl40_display.TITLE=2.Input information
bxqrbgxxx40_display.TITLE=Information must be confirmed and checked
jsscxm40_display.TITLE=Calculate output items
kgxxx40_display.TITLE=Checkable information
ydndqjddjgzwd40_display.TITLE=Kinematic viscosity, cleanliness grade, working temperature
EPtjj40_display.TITLE=EP additive
ysr40_display.TITLE=Pre judge
yssj40_display.TITLE=Preliminary hearing time
ysjg40_display.TITLE=Preliminary results
zbdzys40_display.TITLE=1.Pre-review by team leader
wtdbh240_display.TITLE=Order No
jhwcsj40_display.TITLE=Planned completion time
xmcjxx240_display.TITLE=2.Project undertaking information
jsfxjm40_display.TITLE=Computational analysis modeling
bczlsj40_display.TITLE=Supplementary information time
zyss40_display.TITLE=3.Work implementation
bghjgfk240_display.TITLE=4.Report or result feedback
bghjgjd240_display.TITLE=5.Report or result check
CAEfxxqwtd40_display.TITLE=CAE analysis demand order
jsfxtdcjd40_display.TITLE=Calculation and analysis team acceptance order
ggxmwtd40_display.TITLE=Change project order
tk_display.TITLE=Picture library
wjbh_display.TITLE=Document Number
fbrq_display.TITLE=Release Date
pz_display.TITLE=Approve
sh_display.TITLE=Examine
bz_display.TITLE=Establishment
xgx_display.TITLE=Next process
cxqy_display.TITLE=Production line/area
bbh_display.TITLE=Version
ljgybh04_display.TITLE=Part / process number
gcmc04_display.TITLE=Process name
jqsbgzjj04_display.TITLE=Machine, equipment, tooling, fixture
smjyzyzb04_display.TITLE=Initial and final inspection / operation preparation
bh04_display.TITLE=Number
cp04_display.TITLE=product
gc04_display.TITLE=process
tstxfl04_display.TITLE=Classification of special characteristics
cpgcgfgc04_display.TITLE=Product / process / specification / tolerance
pgclff04_display.TITLE=Evaluation / measurement method
rl04_display.TITLE=capacity
pl04_display.TITLE=frequency
kzff04_display.TITLE=Control method
fyjh04_display.TITLE=Response plan
tsfhwz04_display.TITLE=Special symbol location
sfwc04_display.TITLE=Complete
fjdID04_display.TITLE=Parent node ID
tszfszwz04_display.TITLE=Location of special characters
xh04_display.TITLE=Serial number
z04_display.TITLE=value
mc04_display.TITLE=name
gysjfdygc34_display.TITLE=Composition of supplier delivery unit
yjbz34_display.TITLE=Primary packaging
ejbz34_display.TITLE=Secondary packaging
sjbz34_display.TITLE=Tertiary packaging
wxzcpdxqcxxz02_display.TITLE=Product object is not selected, please Reselect!
qxzzcdxhcj021_display.TITLE=Please select the preferred RB3_CreatProcessTypes configuration type for creation
gy02_display.TITLE=Technology
qjcsjksxxutil_display.TITLE=Please check whether the database preferences are configured correctly
qxzgxbbhcd01_display.TITLE=Please select an operation version and transfer it!
wzdyfbdkzjh01_display.TITLE=No published control plan found!
myxqITEMdx02_display.TITLE=No ITEM object is selected. Please select it and perform this operation
qxzgxdxhcd02_display.TITLE=Please select an operation object and transfer it
qxzzcdxhcj02_display.TITLE=Please select the assembly object to create
dqzhwqxtjgx02_display.TITLE=The current account has no permission to add an operation!
qzjgglqz02_display.TITLE=Please select the process BOM in the structure management area and create it
qxzwjjhcj02_display.TITLE=Please select a folder to create
xzdxzmyyfbd03_display.TITLE=There are no latest released drawings in the selected objects!
nmyqxzxccz03_display.TITLE=You have no permission to perform this operation! Please contact the administrator
pldctzsb03_display.TITLE=Failed to batch export drawings!
qxzkzjhbbdx04_display.TITLE=Please select control plan version object!
wzdsxx04_display.TITLE=No preferences found!
kzjhzzbj04_display.TITLE=The control plan is being edited! (Checked Out)
wqxtjh04_display.TITLE=No permission to add rows!
sfscxzh04_display.TITLE=Delete the selected row?
wqxtjgx04_display.TITLE=No permission to add operation!
wqxsch04_display.TITLE=No permission to delete rows!
wqxhbdyg04_display.TITLE=No permission to merge cells!
wqxcfdyg04_display.TITLE=No permission to split cells!
yfb04_display.TITLE=Published, unable to save!
wzdkzjhmb04_display.TITLE=Control plan template not found!
kzjhbbyqc04_display.TITLE=Control plan version checked out
gxyqc04_display=Operation checked out
czsw04_display.TITLE=Operation error, please exit and re operate
qxzyhbddyg04_display.TITLE=Please select the cells to be merged!
qxzycfddyg04_display.TITLE=Please select the cell to split!
dcexcelcg04_display.TITLE=Excel export succeeded!
qsrzqdsz04_display.TITLE=Please enter the correct number!
qsrgcmc04_display.TITLE=Please enter the process name!
wxzdx05_display.TITLE=No object selected!
xzgyBOM05_display.TITLE=Please select the process BOM in the structure management area and create it
qxzgyBOMhcj05_display.TITLE=Please select the process BOM to create
znxzyggx05_display.TITLE=Only one operation can be selected! Please delete "Content in Component ID" and select again.
qxzgxdx05_display.TITLE=Please select an operation object!
gjmbcjgxcg05_display.TITLE=Successfully created an operation according to the template!
qxzgydx06_display.TITLE=Please select process object!
gjmbcjgycg06_display.TITLE=Successfully created the process according to the template!
gjmbcjgysb06_display.TITLE=Failed to create process according to template!
qxzgydx06_display.TITLE=Please select process object!
gjgycjgycg06_display.TITLE=Create process successfully according to process!
qxzcpdx06_display.TITLE=Please select a Assembly,Part,Roller,Steel ball,Standard Parts,Roller parts,Steel ball parts,Standard components object!
wzdzcdx06_display.TITLE=Assembly object not found!
cxdxcc06_display.TITLE=Error querying object! Please contact the system administrator!
qxzh06_display.TITLE=Please select a row!
qxzzqdgy06_display.TITLE=Please select the correct process!
gjgycjgysb06_display.TITLE=Failed to create process according to process!
xzgxBOM_display.TITLE=Please select the operation BOM in the structure management area and create it
qxzgxbomhcj07_display.TITLE=Please select an operation BOM and create it
zyzpcg07_display.TITLE=Resource assignment succeeded!
qxzPFMEAbbdx10_display.TITLE=Please select PFMEA version object!
PFMEAzzbj10_display.TITLE=PFMEA is editing! (Checked Out)
wqxsch10_display.TITLE=No permission to delete rows!
wqxtjh10_display.TITLE=No permission to add rows!
wqxhbh10_display.TITLE=No permission to merge rows!
wqxczh10_display.TITLE=No permission to operate rows!
wqxbc10_display.TITLE=No permission to save!
wqx10_display.TITLE=No permission!
wqxck10_display.TITLE=No permission to view!
wzdPFMEAmb10_display.TITLE=PFMEA template not found!
qxzyhbddyg10_display.TITLE=Please select the cells to be merged!
wqxhbdyg10_display.TITLE=No permission to merge cells
qxzycfddyg10_display.TITLE=Please select the cell to split!
qxzbbdx10_display.TITLE=Please select PFMEA version object, please re select!
txPFMEAsb10_display.TITLE=Failed to fill in PFNEA!
qxzdc11_display.TITLE=Please select the top BOM!
cxplcg11_display.TITLE=BOM rearrangement succeeded!
cxplczbhsb11_display.TITLE=Failed to rearrange BOM search number!
wglqx12_display.TITLE=No management permission! Please contact the system administrator.
txkzjhksb12_display.TITLE=Failed to fill in control plan library!
txPFMEAksb13_display.TITLE=Failed to fill in PFMEA library!
qxzbzgyzyzds17_display.TITLE=Please select the version object of the packaging process operation instruction!
wzdsxx17_display.TITLE=No preferences found!
bccg17_display.TITLE=Save successfully!
dccg17_display.TITLE=Export succeeded!
txbzgycw17_display.TITLE=Filling in packaging process error!
glcksb22_display.TITLE=Failed to manage thesaurus!
gwtdzzbbj27_display.TITLE=This order is being edited!
btxbnwk27_display.TITLE=Required item cannot be blank!
txwtdsb27_display.TITLE=Failed to fill in the entrustment form!
qxzwtdbb27_display.TITLE=Please select the order version!
zygykzzbj28_display.TITLE=Operation process card is being edited! (Checked Out)
wzdgy28_display.TITLE=Process not found!
qwskzjh28_display.TITLE=Please improve the number of the corresponding operation in the control plan, or the process card will not survive.
wfbj28_display.TITLE=The object has been published and cannot be edited!
wfbjbc28_display.TITLE=Object has been published, unable to edit and save!
wfcxdr28_display.TITLE=Object has been published, unable to re import!
cxdrhscxysj28_display.TITLE=Re import will delete the existing data and reload the control plan data. Please confirm whether to re import.
qxzljdc28_display.TITLE=The object has been published, please select a path to export!
wfxz28_display.TITLE=Object has been published and cannot be selected
yczdct28_display.TITLE=Export picture already exists, do you want to select again?
wftjh28_display.TITLE=The object has been published, unable to add rows!
wfych28_display.TITLE=Object has been published, row cannot be removed!
qxxzdct_display.TITLE=Please select the export picture first!
dzt28_display.TITLE=There are multiple export maps under this job card.
dcexcelcg28_display.TITLE=Excel export succeeded!
qsrzqdsz28_display.TITLE=Please enter the correct number!
srhs28_display.TITLE=The number of input lines cannot be less than 0
wpzxydsxx28_display.TITLE=No preferences configured
wzdtk28_display.TITLE=No gallery found
wxzzygykbbdx28_display.TITLE=ZYGYKRevision object is not selected, please select again!
txzygyksb28_display.TITLE=Failed to fill in the operation process card!
qxzzygykbb28_display.TITLE=Please select the version of operation process card!
zzbj29_display.TITLE=Editing! (Checked Out)
wzdgy29_display.TITLE=Process not found
wxzzpgyk29_display.TITLE=ZPGYKRevision object is not selected, please select again!
txsb29_display.TITLE=Failed to fill in the assembly process card!
qxzbb29_display.TITLE=Please select the assembly process card version!
wzdgx30_display.TITLE=Operation not found!
wxzzyjzs30_display.TITLE=ZYJZSRevision object is not selected, please select again!
txzyjzssb30_display.TITLE=Failed to fill in the operation benchmark book!
bb30_display.TITLE=Please select the version of the Operation Benchmark!
dcsb33_display.TITLE=Failed to export job benchmark!
sb32_display.TITLE=Failed to export assembly process card!
sb31_display.TITLE=Failed to export job process card!
dclj34_display.TITLE=Please select the export path first
qxzbzbb34_display.TITLE=Please select the packaging version object, please re select!
bjsb34_display.TITLE=Failed to edit packaging scheme!
bb34_display.TITLE=Please select the packaging scheme version!
zzbj40_display.TITLE=This order is being edited!
btxbnwk40_display.TITLE=Required item cannot be blank!
sb40_display.TITLE=Failed to fill in the entrustment form!
bb40_display.TITLE=Please select the calculation and analysis commission document version!
wdsc41_display.TITLE=Please select Word, PDF, Excel and Text documents to upload!
sccg41_display.TITLE=Upload succeeded!
dclj42_display.TITLE=Please select the export path
dycg42_display.TITLE=Printing succeeded!
qxzdx42_display.TITLE=Please select an object
dcqdsb42_display.TITLE=Failed to export the list!
bb42_display.TITLE=Please select the process version!
sjjutil_display.TITLE=Dataset has no named and referenced files or there are too many files, please check!
drexcel_display.TITLE=ImportExcel
pmidnotsame.TITLE=PFMEA ID number is inconsistent
excel_display.TITLE=Excel import failed, please check if the format meets the requirements
_display.TITLE=
tmommethod01=Export Template Selection
tmommethod02=Chinese
tmommethod03=English
tmommethod04=Please choose to export Chinese/English templates:
tmommethod05=Operation cancelled
issue=Issue
historyChangeAuthorization=History/Change Authorization (if applicable)
processItemSystem=1. Process Item System, Subsystem, Component Element or Process Name
processStepWorkstation=2. Process Step Workstation Number and Focus Element Name
processWorkElement4M=3. Process Work Element 4M Method
processItemFunction=1. Function of Process Item System, Subsystem, Component Element or Process
processStepFunction=2. Function of Process Step and Product Characteristics (optional)
processWorkElementFunction=3. Function of Process Work Element and Process Characteristics
failureEffectHigherLevel=1. Failure Effect (FE) on Higher-level or End User
severityFailureEffect=Severity (S) of Failure Effect
failureModeFocusElement=2. Failure Mode (FM) of Focus Element
failureCauseWorkElement=3. Failure Cause (FC) of Work Element
preventiveControlFailureCause=Current Preventive Control (PC) for Failure Cause
occurrenceFailureCause=Occurrence (O) of Failure Cause
detectionControlFailureCause=Current Detection Control (DC) for Failure Cause or Failure Mode
detectabilityFailureCause=Detection (D) of Failure Cause/Failure Mode
pfmeaActionPriority=PFMEA Action Priority
productCharacteristics=Product Characteristics
filterCode=Filter Code (optional)
preventiveMeasures=Preventive Measures
detectionMeasures=Detection Measures
responsiblePersonName=Responsible Person Name
targetCompletionDate=Target Completion Date
status=Status
evidenceBasedActionsTaken=Evidence-based Actions Taken
completionDate=Completion Date
severityValue=Severity (S)
occurrenceValue=Occurrence (O)
detectabilityValue=Detection (D)
parentNodeID=Parent Node ID
lookupNumber=Lookup Number
plmid=PLMID
serialNumber=Serial Number
date=Date
chapter=Chapter
revisionReason=Revision Reason
revisionContent=Revision Content
revisedVersion=Revised Version
revisedBy=Revised By
approvedBy=Approved By
name=Name
remark=notes

@ -0,0 +1,644 @@
xljid_display.TITLE=\u5DE5\u5E8FID
bbid_display.TITLE=\u7248\u672c\u0049\u0044
mc_display.TITLE=\u540d\u79f0
jlzjid_display.TITLE=\u65e7\u96f6\u7ec4\u4ef6\u0049\u0044
qd_display.TITLE=\u786e\u5b9a
qx_display.TITLE=\u53d6\u6d88
bc_display.TITLE=\u4FDD\u5B58
cxdr_display.TITLE=\u91CD\u65B0\u5BFC\u5165
hbgykdc_display.TITLE=\u6A2A\u7248\u5DE5\u827A\u5361\u5BFC\u51FA
hzzcgykdc_display.TITLE=\u56DE\u8F6C\u652F\u627F\u5DE5\u827A\u5361\u5BFC\u51FA
hzzcgyk_display.TITLE=\u56DE\u8F6C\u652F\u627F\u5DE5\u827A\u5361
sbgykdc_display.TITLE=\u7AD6\u7248\u5DE5\u827A\u5361\u5BFC\u51FA
zpgykdc_display.TITLE=\u88C5\u914D\u5DE5\u827A\u5361\u5BFC\u51FA
zyjzsdc_display.TITLE=\u4F5C\u4E1A\u57FA\u51C6\u4E66\u5BFC\u51FA
xzdctp_display.TITLE=\u9009\u62E9\u5BFC\u51FA\u56FE\u7247
sc08_display.TITLE=\u5220\u9664
lx_display.TITLE=\u7c7b\u578b
dw_display.TITLE=\u5355\u4f4d
scgc_display.TITLE=\u751F\u4EA7\u5DE5\u5382
xljxx_display.TITLE=\u65b0\u96f6\u4ef6\u4fe1\u606f
jy_display.TITLE=\u57fa\u4e8e
lzjxx_display.TITLE=\u96f6\u7ec4\u4ef6\u4fe1\u606f
sx_display.TITLE=\u5c5e\u6027
sxsj_display.TITLE=\u5237\u65B0
ssckzjh_display.TITLE=\u8bd5\u751f\u4ea7\u63a7\u5236\u8ba1\u5212
sckzjh_display.TITLE=\u751f\u4ea7\u63a7\u5236\u8ba1\u5212
dc_display.TITLE=\u5bfc\u51fa
xzlj_display.TITLE=\u9009\u62E9\u8DEF\u5F84
xzwjj_display.TITLE=\u9009\u62e9\u6587\u4ef6\u5939\u003a
pldctz_display.TITLE=\u6279\u91cf\u5bfc\u51fa\u56fe\u7eb8
dcd_display.TITLE=\u5BFC\u51FA\u5230\uFF1A
ll_display.TITLE=\u6D4F\u89C8...
txkzjh_display.TITLE=\u586B\u5199\u63A7\u5236\u8BA1\u5212
CP/kzjh_display.TITLE=\u0043\u004f\u004e\u0054\u0052\u004f\u004c\u0020\u0050\u004c\u0041\u004e\u002f\u63a7\u5236\u8ba1\u5212
yj_display.TITLE=\u6837\u4EF6
ssc_display.TITLE=\u8BD5\u751F\u4EA7
sc_display.TITLE=\u751F\u4EA7
kzjhbh_display.TITLE=\u63A7\u5236\u8BA1\u5212\u7F16\u53F7
zylxrbzr_display.TITLE=\u4E3B\u8981\u8054\u7CFB\u4EBA/\u7F16\u5236\u4EBA
zylxrdhbzrdh_display.TITLE=\u4E3B\u8981\u8054\u7CFB\u4EBA\u7535\u8BDD/\u7F16\u5236\u4EBA\u7535\u8BDD
rq(bz)_display.TITLE=\u65E5\u671F\uFF08\u7F16\u5236\uFF09
rq(xd)_display.TITLE=\u65E5\u671F\uFF08\u4FEE\u8BA2\uFF09
SORhmmc_display.TITLE=SOR\u53F7\u7801/\u540D\u79F0
ljhzzbb_display.TITLE=\u96F6\u4EF6\u53F7/\u6700\u7EC8\u7248\u672C
hxxz_display.TITLE=\u6838\u5FC3\u5C0F\u7EC4
gkgcpzrq_display.TITLE=\u987E\u5BA2\u5DE5\u7A0B\u6279\u51C6/\u65E5\u671F
khtzbh_display.TITLE=\u5BA2\u6237\u56FE\u7EB8\u7F16\u53F7
ljmcms_display.TITLE=\u96F6\u4EF6\u540D\u79F0/\u63CF\u8FF0
gfgcpzrq_display.TITLE=\u4F9B\u65B9/\u5DE5\u5382\u6279\u51C6/\u65E5\u671F
gkzlpzrq_display.TITLE=\u987E\u5BA2\u8D28\u91CF\u6279\u51C6/\u65E5\u671F
gfgc_display.TITLE=\u4F9B\u65B9/\u5DE5\u5382
gfdh_display.TITLE=\u4F9B\u65B9\u4EE3\u53F7
gkpzrq_display.TITLE=\u987E\u5BA2\u6279\u51C6/\u65E5\u671F
qtpzrq_display.TITLE=\u5176\u4ED6\u6279\u51C6/\u65E5\u671F
tjh_display.TITLE=\u6DFB\u52A0\u884C
tjdh_display.TITLE=\u6DFB\u52A0\u591A\u884C
tjhbh_display.TITLE=\u6DFB\u52A0\u5408\u5E76\u884C
tjdghbh_display.TITLE=\u6DFB\u52A0\u591A\u4E2A\u5408\u5E76\u884C
tjgx_display.TITLE=\u6DFB\u52A0\u5DE5\u5E8F
hbh_display.TITLE=\u5408\u5E76\u884C
cfhbdyg_display.TITLE=\u62C6\u5206\u5408\u5E76\u5355\u5143\u683C
yczh_display.TITLE=\u79FB\u9664\u6574\u884C
sxxzl_display.TITLE=\u7F29\u5C0F\u9009\u4E2D\u5217
qxsxxzl_display.TITLE=\u53D6\u6D88\u7F29\u5C0F\u9009\u4E2D\u5217
txbz_display.TITLE=\u586B\u5199\u6807\u51C6
dcnbkzjh_display.TITLE=\u5BFC\u51FA\u63A7\u5236\u8BA1\u5212
fqsh_display.TITLE=\u53D1\u8D77\u5BA1\u6838
kzjhk_display.TITLE=\u63A7\u5236\u8BA1\u5212\u5E93
ck_display.TITLE=\u8BCD\u5E93
cxjz_display.TITLE=\u91CD\u65B0\u52A0\u8F7D
qksj_display.TITLE=\u6E05\u7A7A\u6570\u636E
cjgy_display.TITLE=\u521B\u5EFA\u5DE5\u827A
xh_display.TITLE=\u578B\u53F7
cpmc_display.TITLE=\u4EA7\u54C1\u540D\u79F0
cxyj_display.TITLE=\u6210\u5F62\u538B\u673A
khmc_display.TITLE=\u5BA2\u6237\u540D\u79F0
khth_display.TITLE=\u5BA2\u6237\u56FE\u53F7
zxyj_display.TITLE=\u6574\u578B\u538B\u673A
khxmh_display.TITLE=\u5BA2\u6237\u9879\u76EE\u53F7
clbz_display.TITLE=\u6750\u6599\u6807\u51C6
sjry_display.TITLE=\u8BBE\u8BA1\u4EBA\u5458
cjrq_display.TITLE=\u521B\u5EFA\u65E5\u671F
cx06_display.TITLE=\u67E5\u8BE2
cph06_display.TITLE=\u4EA7\u54C1\u53F7
gybh06_display.TITLE=\u5DE5\u827A\u7F16\u53F7
mc06_display.TITLE=\u540D\u79F0
gyfg08_display.TITLE=\u5DE5\u827A\u5206\u5DE5
xzz08_display.TITLE=\u9009\u62E9\u503C\uFF1A
yhm08_display.TITLE=\u7528\u6237\u540D\uFF1A
ss08_display.TITLE=\u641C\u7D22
txPFMEA10_display.TITLE=\u586B\u5199PFMEA
qzsxmsjhgfx10_display.TITLE=\u6F5C\u5728\u5931\u6548\u6A21\u5F0F\u53CA\u540E\u679C\u5206\u6790
gsmc10_display.TITLE=\u516C\u53F8\u540D\u79F0
xm10_display.TITLE=\u9879\u76EE
PFMEAIDbh10_display.TITLE=PFMEA ID\u7F16\u53F7
zzdz10_display.TITLE=\u5236\u9020\u5730\u5740
PFMEAksrq_display.TITLE=PFMEA\u5F00\u59CB\u65E5\u671F
PFMEAxdrq10_display.TITLE=PFMEA\u4FEE\u8BA2\u65E5\u671F
gczz10_display.TITLE=\u8FC7\u7A0B\u804C\u8D23
gkmc10_display.TITLE=\u987E\u5BA2\u540D\u79F0
bmjb10_display.TITLE=\u4FDD\u5BC6\u7EA7\u522B
cxpt10_display.TITLE=\u8F66\u578B/\u5E73\u53F0
kzntd10_display.TITLE=\u8DE8\u804C\u80FD\u56E2\u961F
ll10_display.TITLE=PFMEA\u7ECF\u9A8C\u6570\u636E\u5E93
wc10_display.TITLE=\u5B8C\u6210
dcPFMEA10_display.TITLE=\u5BFC\u51FAPFMEA
PFMEAc10_display.TITLE=PFMEA\u5E93
xztsfh10_display.TITLE=\u9009\u62E9\u7279\u6B8A\u7B26\u53F7
cz10_display.TITLE=\u67E5\u627E
fzdh10_display.TITLE=\u590D\u5236\u591A\u884C
crhs10_display.TITLE=\u63D2\u5165\u884C\u6570
ych12_display.TITLE=\u79FB\u9664\u884C
tjjd12_display.TITLE=\u6DFB\u52A0\u8282\u70B9
ycjd12_display.TITLE=\u79FB\u9664\u8282\u70B9
gxjd12_display.TITLE=\u66F4\u65B0\u8282\u70B9
jdmc12_display.TITLE=\u8282\u70B9\u540D\u79F0
jdID12_display.TITLE=\u8282\u70B9ID
xztsfh12_display.TITLE=\u9009\u62E9\u7279\u6B8A\u7B26\u53F7
bzgy17_display.TITLE=\u5305\u88C5\u5DE5\u827A
cpdh17_display.TITLE=\u4EA7\u54C1\u4EE3\u53F7
cpmc17_display.TITLE=\u4EA7\u54C1\u540D\u79F0
yhth17_display.TITLE=\u7528\u6237\u56FE\u53F7
chmc17_display.TITLE=\u5BA2\u6237\u540D\u79F0
jszg17_display.TITLE=\u6280\u672F\u4E3B\u7BA1
sjxzljtp17_display.TITLE=\u53CC\u51FB\u9009\u62E9\u96F6\u4EF6\u56FE\u7247
bzfs17_display.TITLE=\u5305\u88C5\u65B9\u5F0F
jyfs17_display.TITLE=\u6D78\u6CB9\u65B9\u5F0F
mxsl17_display.TITLE=\u6BCF\u7BB1\u6570\u91CF
jx17_display.TITLE=\u4EF6/\u7BB1
wzxm17_display.TITLE=\u5916\u7EB8\u7BB1\u540D
bzde17_display.TITLE=\u5305\u88C5\u5B9A\u989D
xs17_display.TITLE=\u7BB1/\u65F6
nldm17_display.TITLE=\u5C3C\u9F99\u888B\u540D
cpdz17_display.TITLE=\u6210\u54C1\u5355\u91CD
xsm17_display.TITLE= \u5438\u5851\u540D
zxmz17_display.TITLE=\u6574\u7BB1\u6BDB\u91CD
wxbq17_display.TITLE=\u5916\u7BB1\u6807\u7B7E
rktp17_display.TITLE=\u5165\u5E93\u6258\u76D8
xc17_display.TITLE=\u7BB1/\u5C42
ct17_display.TITLE=\u5C42/\u6258
sjxztp17_display.TITLE=\u53CC\u51FB\u9009\u62E9\u56FE\u7247
bzsm17_display.TITLE=\u6B65\u9AA4\u8BF4\u660E
zysx17_display.TITLE=\u6CE8\u610F\u4E8B\u9879
bzry17_display.TITLE=\u7F16\u5236\u4EBA\u5458
pzry17_display.TITLE=\u6279\u51C6\u4EBA\u5458
xgrq17_display.TITLE=\u4FEE\u6539\u65E5\u671F
bz17_display.TITLE=\u5907 \u6CE8
ysbzlx17_display.TITLE=\u8FD0\u8F93\u5305\u88C5\u7C7B\u578B
dbfs17_display.TITLE=\u6253\u5305\u65B9\u5F0F
tpgg17_display.TITLE=\u6258\u76D8\u89C4\u683C
jgfs17_display.TITLE=\u52A0\u56FA\u65B9\u5F0F
sjxzdbt17_display.TITLE=\u53CC\u51FB\u9009\u62E9\u6253\u5305\u56FE
dybzxx17_display.TITLE=\u5355\u5143\u5305\u88C5\u4FE1\u606F
ysbzxx17_display.TITLE=\u8FD0\u8F93\u5305\u88C5\u4FE1\u606F
dh17_display.TITLE=\u4EE3\u53F7
cckcg17_display.TITLE=\u957F*\u5BBD*\u9AD8\uFF08cm\uFF09
hd17_display.TITLE=\u539A\u5EA6\uFF08mm\uFF09
cl17_display.TITLE=\u6750\u6599
gg17_display.TITLE=\u89C4\u683C
ks17_display.TITLE=\u5B54\u6570
cp17_display.TITLE=\u4EA7\u54C1
xgdj18_display.TITLE=\u4FEE\u6539\u7B49\u7EA7
cxnd18_display.TITLE=\u8F66\u578B/\u5E74\u5EA6
bz18_display.TITLE=\u6807\u6CE8
ycbz18_display.TITLE=\u79FB\u9664\u6807\u6CE8
kzjhdc19_display.TITLE=\u63A7\u5236\u8BA1\u5212\u5BFC\u51FA
gx19_display.TITLE=\u5DE5\u5E8F:
cx19_display.TITLE=\u67E5\u8BE2
kzjhwjmc19_display.TITLE=\u63A7\u5236\u8BA1\u5212\u6587\u4EF6\u540D\u79F0
drkzjh20_display.TITLE=\u5BFC\u5165\u63A7\u5236\u8BA1\u5212
xzkzjhwj20_display.TITLE=\u9009\u62E9\u63A7\u5236\u8BA1\u5212\u6587\u4EF6
qcwcbj21_display.TITLE=\u6E05\u9664\u5B8C\u6210\u6807\u8BB0
xzgytz23_display.TITLE=\u9009\u62E9\u5DE5\u827A\u56FE\u7EB8
gytz23_display.TITLE=\u5DE5\u827A\u56FE\u7EB8\uFF1A
xz24_display.TITLE=\u9009\u62E9
kzjh24_display.TITLE=\u63A7\u5236\u8BA1\u5212
yqrq25_display.TITLE=\u903E\u671F\u65E5\u671F
PDMEAtj25_display.TITLE=PFMEA\u7EDF\u8BA1
dcbb25_display.TITLE=\u5BFC\u51FA\u62A5\u8868
gb25_display.TITLE=\u5173\u95ED
jcfxwtd27_display.TITLE=\u68C0\u6D4B\u5206\u6790\u59D4\u6258\u5355
wtdbh27_display.TITLE=\u59D4\u6258\u5355\u7F16\u53F7\uFF1A
jclx27_display.TITLE=\u68C0\u6D4B\u7C7B\u578B
jcbm27_display.TITLE=\u68C0\u6D4B\u90E8\u95E8
wtdw27_display.TITLE=\u59D4\u6258\u5355\u4F4D
wtr27_display.TITLE=\u59D4\u6258\u4EBA
wtdz27_display.TITLE=\u59D4\u6258\u5730\u5740
wtrlxfs27_display.TITLE=\u59D4\u6258\u4EBA\u8054\u7CFB\u65B9\u5F0F
wtrq27_display.TITLE=\u59D4\u6258\u65E5\u671F
xwwcsj27_display.TITLE=\u5E0C\u671B\u5B8C\u6210\u65F6\u95F4
jcyt27_display.TITLE=\u68C0\u6D4B\u7528\u9014
jcjg27_display.TITLE=\u68C0\u6D4B\u7ED3\u679C
xmdj27_display.TITLE=\u9879\u76EE\u7B49\u7EA7
khdj27_display.TITLE=\u5BA2\u6237\u7B49\u7EA7
xmbh27_display.TITLE=\u9879\u76EE\u7F16\u53F7
yyly27_display.TITLE=\u5E94\u7528\u9886\u57DF
xmmc27_display.TITLE=\u9879\u76EE\u540D\u79F0
cph27_display.TITLE=\u4EA7\u54C1\u53F7
wlh27_display.TITLE=\u7269\u6599\u53F7
cplx27_display.TITLE=\u4EA7\u54C1\u7C7B\u578B
scdw27_display.TITLE=\u751F\u4EA7\u5355\u4F4D
ypsl27_display.TITLE=\u6837\u54C1\u6570\u91CF
ypzt27_display.TITLE=\u6837\u54C1\u72B6\u6001
wldh27_display.TITLE=\u7269\u6D41\u5355\u53F7
ypbh27_display.TITLE=\u6837\u54C1\u7F16\u53F7
ypclfs27_display.TITLE=\u6837\u54C1\u5904\u7406\u65B9\u5F0F
sybw27_display.TITLE=\u4F7F\u7528\u90E8\u4F4D
syhj27_display.TITLE=\u4F7F\u7528\u73AF\u5883
gzzh27_display.TITLE=\u5DE5\u4F5C\u8F7D\u8377
zhlx27_display.TITLE=\u8F7D\u8377\u7C7B\u578B
xzfs27_display.TITLE=\u65CB\u8F6C\u65B9\u5F0F
xzsd27_display.TITLE=\u65CB\u8F6C\u901F\u5EA6
gzwd27_display.TITLE=\u5DE5\u4F5C\u6E29\u5EA6
xzwtnr27_display.TITLE=\u9009\u62E9\u59D4\u6258\u5185\u5BB9
bz27_display.TITLE=\u5907\u6CE8
ypydxc27_display.TITLE=\u6837\u54C1\u5DF2\u5230\u8FBE\u73B0\u573A
sysj27_display.TITLE=\u6536\u6837\u65F6\u95F4
syr27_display.TITLE=\u6536\u6837\u4EBA
ypshjg27_display.TITLE=\u6837\u54C1\u5BA1\u6838\u7ED3\u679C
yqwcsj27_display.TITLE=\u9884\u671F\u5B8C\u6210\u65F6\u95F4
thyy27_display.TITLE=\u9000\u56DE\u539F\u56E0
jcrwzb27_display.TITLE=\u68C0\u6D4B\u4EFB\u52A1\u4E3B\u529E
jcrwxb27_display.TITLE=\u68C0\u6D4B\u4EFB\u52A1\u534F\u529E
jhkssj27_display.TITLE=\u8BA1\u5212\u5F00\u59CB\u65F6\u95F4
jhwcsj27_display.TITLE=\u8BA1\u5212\u5B8C\u6210\u65F6\u95F4
djdywtd27_display.TITLE=\u70B9\u51FB\u6253\u5370\u59D4\u6258\u5355
djdyypbs27_display.TITLE=\u70B9\u51FB\u6253\u5370\u6837\u54C1\u6807\u8BC6
sjwcsj27_display.TITLE=\u5B9E\u9645\u5B8C\u6210\u65F6\u95F4
jcjgsm27_display.TITLE=\u68C0\u6D4B\u7ED3\u679C\u8BF4\u660E
ypcz27_display.TITLE=\u6837\u54C1\u5904\u7F6E
cywz27_display.TITLE=\u5B58\u6837\u4F4D\u7F6E
shsj27_display.TITLE=\u5BA1\u6838\u65F6\u95F4
shy27_display.TITLE=\u5BA1\u6838\u5458
shjg27_display.TITLE=\u5BA1\u6838\u7ED3\u679C
wtxx27_display.TITLE=\u59D4\u6258\u4FE1\u606F
clfx27_display.TITLE=\u6750\u6599\u5206\u6790
jljc27_display.TITLE=\u8BA1\u91CF\u68C0\u6D4B
wtnr27_display.TITLE=\u59D4\u6258\u5185\u5BB9
zygyk28_display.TITLE=\u4F5C\u4E1A\u5DE5\u827A\u5361
gsmc28_display.TITLE=\u516C\u53F8\u540D\u79F0
ljdh28_display.TITLE=\u4ea7\u54c1\u578b\u53f7
sbxh28_display.TITLE=\u8bbe\u5907\u578b\u53f7
bgx28_display.TITLE=\u672C\u5DE5\u5E8F
sbmc28_display.TITLE=\u8BBE\u5907\u540D\u79F0
gzmx28_display.TITLE=\u5DE5\u88C5\u660E\u7EC6
jgcs28_display.TITLE=\u52A0\u5DE5\u53C2\u6570
cptxkzyq28_display.TITLE=\u4EA7\u54C1\u7279\u6027\u63A7\u5236\u8981\u6C42
zpgyk29_display.TITLE=\u88C5\u914D\u5DE5\u827A\u5361
gsmc29_display.TITLE=\u516C\u53F8\u540D\u79F0
ljdh29_display.TITLE=\u4ea7\u54c1\u578b\u53f7
sbxh29_display.TITLE=\u8BBE\u5907\u578B\u53F7
zyjzs30_display.TITLE=\u4F5C\u4E1A\u57FA\u51C6\u4E66
xzdclj31_display.TITLE=\u9009\u62E9\u5BFC\u51FA\u8DEF\u5F84
wjmc31_display.TITLE=\u6587\u4EF6\u540D\u79F0
jyjzs33_display.TITLE=\u68C0\u9A8C\u57FA\u51C6\u4E66
bzbz34_display.TITLE=\u5305\u88C5\u6807\u51C6
ljh34_display.TITLE=\u96F6\u4EF6\u53F7
ljmc34_display.TITLE=\u96F6\u4EF6\u540D\u79F0
gys34_display.TITLE=\u4F9B\u5E94\u5546
gysdh34_display.TITLE=\u4F9B\u5E94\u5546\u4EE3\u53F7
syzcdmmc34_display.TITLE=\u9002\u7528\u603B\u6210\u4EE3\u7801/\u540D\u79F0
ljdw(tg)34_display.TITLE=\u96F6\u4EF6\u5355\u4F4D\uFF08\u5957/\u4E2A\uFF09
ljgg34_display.TITLE=\u96F6\u4EF6\u89C4\u683C\uFF08mm\uFF09
ljzl34_display.TITLE=\u96F6\u4EF6\u91CD\u91CF\uFF08kg\uFF09
bzbzclfhdjyms34_display.TITLE=\u5305\u88C5\u3001\u5305\u88C5\u6750\u6599\u3001\u9632\u62A4\u7B49\u7B80\u8981\u63CF\u8FF0
bqgshwz34_display.TITLE=\u6807\u7B7E\u683C\u5F0F\u548C\u4F4D\u7F6E
zt35_display.TITLE=\u72B6\u6001
wtdsh35_display.TITLE=\u59D4\u6258\u5355\u5BA1\u6838
gzfp35_display.TITLE=\u5DE5\u4F5C\u5206\u914D
scjl35_display.TITLE=\u4E0A\u4F20\u8BB0\u5F55
wtrq35_display.TITLE=\u59D4\u6258\u65E5\u671F
wtdh35_display.TITLE=\u59D4\u6258\u5355\u53F7
wtdw35_display.TITLE=\u59D4\u6258\u5355\u4F4D
jclx35_display.TITLE=\u68C0\u6D4B\u7C7B\u578B
xmdj35_display.TITLE=\u9879\u76EE\u7B49\u7EA7
ycwcrq35_display.TITLE=\u9884\u671F\u5B8C\u6210\u65E5\u671F
jhwcrq35_display.TITLE=\u8BA1\u5212\u5B8C\u6210\u65E5\u671F
zbry35_display.TITLE=\u4E3B\u529E\u4EBA\u5458
lcjs35_display.TITLE=\u6D41\u7A0B\u76D1\u89C6
dqzt35_display.TITLE=\u5F53\u524D\u72B6\u6001
wtdhypsh35_display.TITLE=\u59D4\u6258\u5355\u548C\u6837\u54C1\u5BA1\u6838
gzfp35_display.TITLE=\u5DE5\u4F5C\u5206\u914D
scjg35_display.TITLE=\u4E0A\u4F20\u7ED3\u679C
sywtd41_display.TITLE=\u8BD5\u9A8C\u59D4\u6258\u5355
wtdbh41_display.TITLE=\u59D4\u6258\u5355\u7F16\u53F7\uFF1A
scdw41_display.TITLE=\u751F\u4EA7\u5355\u4F4D
ccxh41_display.TITLE=\u8F74\u627F\u578B\u53F7
sych41_display.TITLE=\u4F7F\u7528\u573A\u5408
xmmc41_display.TITLE=\u9879\u76EE\u540D\u79F0
xmbh41_display.TITLE=\u9879\u76EE\u7F16\u53F7
xmdj41_display.TITLE=\u9879\u76EE\u7B49\u7EA7
wtsylx41_display.TITLE=\u59D4\u6258\u8BD5\u9A8C\u7C7B\u578B
yzsy41_display.TITLE=\u9A8C\u8BC1\u8BD5\u9A8C
tzxxsy41_display.TITLE=\u7279\u79CD\u65B0\u578B\u8BD5\u9A8C
khyq41_display.TITLE=\u5BA2\u6237\u8981\u6C42
sybj41_display.TITLE=\u8BD5\u9A8C\u80CC\u666F
symd41_display.TITLE=\u8BD5\u9A8C\u76EE\u7684
sygfsjry41_display.TITLE=\u8BD5\u9A8C\u89C4\u8303\uFF08\u8BBE\u8BA1\u4EBA\u5458\uFF09
yjgsyry41_display.TITLE=\u5DF2\u4EA4\u7ED9\u8BD5\u9A8C\u4EBA\u5458
qtsyyq41_display.TITLE=\u5176\u4ED6\u8BD5\u9A8C\u8981\u6C42
wtr41_display.TITLE=\u59D4\u6258\u4EBA
lxfs41_display.TITLE=\u8054\u7CFB\u65B9\u5F0F
gsdz41_display.TITLE=\u516C\u53F8\u5730\u5740
gscz41_display.TITLE=\u516C\u53F8\u4F20\u771F
shr41_display.TITLE=\u5BA1\u6838\u4EBA
shrq41_display.TITLE=\u5BA1\u6838\u65E5\u671F
zjlpz41_display.TITLE=\u603B\u7ECF\u7406\u6279\u51C6
sywtftx41_display.TITLE=\u8BD5\u9A8C\u59D4\u6258\u65B9\u586B\u5199
psjl41_display.TITLE=\u8BC4\u5BA1\u8BB0\u5F55
jhkssj41_display.TITLE=\u8BA1\u5212\u5F00\u59CB\u65F6\u95F4
jhjssj41_display.TITLE=\u8BA1\u5212\u7ED3\u675F\u65F6\u95F4
syfzr41_display.TITLE=\u8BD5\u9A8C\u8D1F\u8D23\u4EBA
lxdh41_display.TITLE=\u8054\u7CFB\u7535\u8BDD
psrq41_display.TITLE=\u8BC4\u5BA1/\u65E5\u671F
pzrq41_display.TITLE=\u6279\u51C6/\u65E5\u671F
swtftx41_display.TITLE=\u53D7\u59D4\u6258\u65B9\u586B\u5199
bz41_display.TITLE=\u5907\u6CE8
gzsjtd41_display.TITLE=\u5DE5\u88C5\u8BBE\u8BA1\u56E2\u961F
xzscgztz41_display.TITLE=\u9009\u62E9\u4E0A\u4F20\u5DE5\u88C5\u56FE\u7EB8
qxzyscdwj41_display.TITLE=\u8BF7\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6...
qd41_display.TITLE=\u786E\u5B9A
gzsjwcrq141_display.TITLE=\u5DE5\u88C5\u8BBE\u8BA1\u5B8C\u6210\u65E5\u671F
gzsj141_display.TITLE=\u5DE5\u88C5\u8BBE\u8BA1
gzdhrq41_display.TITLE=\u5DE5\u88C5\u5230\u8D27\u65E5\u671F
gzsjrq41_display.TITLE=\u5DE5\u88C5\u9001\u68C0\u65E5\u671F
gzsjwcrq41_display.TITLE=\u5DE5\u88C5\u9001\u68C0\u5B8C\u6210\u65E5\u671F
gzjcbgbh41_display.TITLE=\u5DE5\u88C5\u68C0\u6D4B\u62A5\u544A\uFF08\u8BB0\u5F55\uFF09\u7F16\u53F7
gzsj41_display.TITLE=\u5DE5\u88C5\u9001\u68C0
ypdyrq41_display.TITLE=\u6837\u54C1\u5230\u6837\u65E5\u671F
syqypjcwcrq41_display.TITLE=\u8BD5\u9A8C\u524D\u6837\u54C1\u68C0\u6D4B\u5B8C\u6210\u65E5\u671F
syqypjcbgbh41_display.TITLE=\u8BD5\u9A8C\u524D\u6837\u54C1\u68C0\u6D4B\u62A5\u544A\uFF08\u8BB0\u5F55\uFF09\u7F16\u53F7
syksrq41_display.TITLE=\u8BD5\u9A8C\u5F00\u59CB\u65E5\u671F
sywcrq41_display.TITLE=\u8BD5\u9A8C\u5B8C\u6210\u65E5\u671F
syss41_display.TITLE=\u8BD5\u9A8C\u5B9E\u65BD
syhypjcwcrq41_display.TITLE=\u8BD5\u9A8C\u540E\u6837\u54C1\u68C0\u6D4B\u5B8C\u6210\u65E5\u671F
syhypjcbg41_display.TITLE=\u8BD5\u9A8C\u540E\u6837\u54C1\u68C0\u6D4B\u62A5\u544A\uFF08\u8BB0\u5F55\uFF09\u7F16\u53F7
ypjc41_display.TITLE=\u6837\u54C1\u68C0\u6D4B
xzscsybg41_display.TITLE=\u9009\u62E9\u4E0A\u4F20\u8BD5\u9A8C\u62A5\u544A
sywcrq241_display.TITLE=\u8BD5\u9A8C\u5B8C\u6210\u65E5\u671F
sybgbh41_display.TITLE=\u8BD5\u9A8C\u62A5\u544A\u7F16\u53F7
sybg241_display.TITLE=\u8BD5\u9A8C\u62A5\u544A
sywtd241_display.TITLE=\u8BD5\u9A8C\u59D4\u6258\u5355
sykxljap41_display.TITLE=\u8BD5\u9A8C\u53EF\u884C\uFF0C\u7ACB\u5373\u5B89\u6392
sybkx41_display.TITLE=\u8BD5\u9A8C\u4E0D\u53EF\u884C
zybcfjywwsy41_display.TITLE=\u8D44\u6E90\u4E0D\u5145\u5206\uFF0C\u5EFA\u8BAE\u59D4\u5916\u8BD5\u9A8C
qijy241_display.TITLE=\u5176\u4ED6\u5EFA\u8BAE
btxxbnwk41_display.TITLE=\u5FC5\u586B\u9879\u4E0D\u80FD\u4E3A\u7A7A\uFF01
gzcg41_display.TITLE=\u5DE5\u88C5\u91C7\u8D2D
xqsp41_display.TITLE=\u9700\u6C42\u5BA1\u6279
wjbh_display.TITLE=\u6587\u4ef6\u7f16\u53f7
bbh_display.TITLE=\u7248\u672c\u53f7
cxqy_display.TITLE=\u4ea7\u7ebf/\u533a\u57df
xgx_display.TITLE=\u4e0b\u5de5\u5e8f
bz_display.TITLE=\u7F16\u5236
sh_display.TITLE=\u5BA1\u6838
pz_display.TITLE=\u6279\u51C6
fbrq_display.TITLE=\u53D1\u5E03\u65E5\u671F
fxwtd40_display.TITLE=\u5206\u6790\u59D4\u6258\u5355
CEAwtd40_display.TITLE=CAE\u59D4\u6258\u5355
wtdbh40_display.TITLE=\u59D4\u6258\u5355\u7F16\u53F7\uFF1A
kemc40_display.TITLE=\u5BA2\u6237\u540D\u79F0
xmsstd40_display.TITLE=\u9879\u76EE\u6240\u5C5E\u56E2\u961F
xmmc40_display.TITLE=\u9879\u76EE\u540D\u79F0
xmjl40_display.TITLE=\u9879\u76EE\u7ECF\u7406
xmdj40_display.TITLE=\u9879\u76EE\u7B49\u7EA7
sjbsstd40_display.TITLE=\u8BBE\u8BA1\u90E8\u6240\u5C5E\u56E2\u961F
xmbh40_display.TITLE=\u9879\u76EE\u7F16\u53F7
sjfzr40_display.TITLE=\u8BBE\u8BA1\u8D1F\u8D23\u4EBA
xmlx40_display.TITLE=\u9879\u76EE\u7C7B\u578B
qwwcsj40_display.TITLE=\u671F\u671B\u5B8C\u6210\u65F6\u95F4
jbxx40_display.TITLE=1.\u57FA\u672C\u4FE1\u606F
scfxry40_display.TITLE=\u4E0A\u6B21\u5206\u6790\u4EBA\u5458
scbgsj40_display.TITLE=\u4E0A\u6B21\u62A5\u544A\u65F6\u95F4
ggd40_display.TITLE=\u66F4\u6539\u70B9
ggyy40_display.TITLE=\u66F4\u6539\u539F\u56E0
srzl40_display.TITLE=2.\u8F93\u5165\u8D44\u6599
cjtd40_display.TITLE=\u627F\u63A5\u56E2\u961F
xmwtsj40_display.TITLE=\u9879\u76EE\u59D4\u6258\u65F6\u95F4
cjr40_display.TITLE=\u627F\u63A5\u4EBA
xmggcs40_display.TITLE=\u9879\u76EE\u66F4\u6539\u6B21\u6570
xbr40_display.TITLE=\u534F\u529E\u4EBA
jhkssj40_display.TITLE=\u8BA1\u5212\u5F00\u59CB\u65F6\u95F4
Romaxjf40_display.TITLE=Romax\u79EF\u5206
jsxqts40_display.TITLE=\u8BA1\u7B97\u9700\u6C42\u5929\u6570
yxyjf40_display.TITLE=\u6709\u9650\u5143\u79EF\u5206
jswcsj40_display.TITLE=\u8BA1\u7B97\u5B8C\u6210\u65F6\u95F4
xmcjxx40_display.TITLE=3.\u9879\u76EE\u627F\u63A5\u4FE1\u606F
bghjgmc40_display.TITLE=\u62A5\u544A\u6216\u7ED3\u679C\u540D\u79F0
bgbh40_display.TITLE=\u62A5\u544A\u7F16\u53F7
bghjgscsj40_display.TITLE=\u62A5\u544A\u6216\u7ED3\u679C\u4E0A\u4F20\u65F6\u95F4
bghjgfk40_display.TITLE=4.\u62A5\u544A\u6216\u7ED3\u679C\u53CD\u9988
jdr40_display.TITLE=\u6821\u5BF9\u4EBA
jdsj40_display.TITLE=\u6821\u5BF9\u65F6\u95F4
jdjg40_display.TITLE=\u6821\u5BF9\u7ED3\u679C
thyy40_display.TITLE=\u9000\u56DE\u539F\u56E0
bghjgjd40_display.TITLE=5.\u62A5\u544A\u6216\u7ED3\u679C\u6821\u5BF9
khmc40_display.TITLE=\u5BA2\u6237\u540D\u79F0
xmbssty40_display.TITLE=\u9879\u76EE\u90E8\u6240\u5C5E\u56E2\u961F
sybw40_display.TITLE=\u4F7F\u7528\u90E8\u4F4D
srzl40_display.TITLE=2.\u8F93\u5165\u8D44\u6599
bxqrbgxxx40_display.TITLE=\u5FC5\u987B\u786E\u8BA4\u5E76\u52FE\u9009\u4FE1\u606F
jsscxm40_display.TITLE=\u8BA1\u7B97\u8F93\u51FA\u9879\u76EE
kgxxx40_display.TITLE=\u53EF\u52FE\u9009\u4FE1\u606F
ydndqjddjgzwd40_display.TITLE=\u8FD0\u52A8\u7C98\u5EA6\u3001\u6E05\u6D01\u5EA6\u7B49\u7EA7\u3001\u5DE5\u4F5C\u6E29\u5EA6
EPtjj40_display.TITLE=EP\u6DFB\u52A0\u5242
ysr40_display.TITLE=\u9884\u5BA1\u4EBA
yssj40_display.TITLE=\u9884\u5BA1\u65F6\u95F4
ysjg40_display.TITLE=\u9884\u5BA1\u7ED3\u679C
zbdzys40_display.TITLE=1.\u503C\u73ED\u56E2\u961F\u957F\u9884\u5BA1
wtdbh240_display.TITLE=\u59D4\u6258\u5355\u7F16\u53F7
jhwcsj40_display.TITLE=\u8BA1\u5212\u5B8C\u6210\u65F6\u95F4
xmcjxx240_display.TITLE=2.\u9879\u76EE\u627F\u63A5\u4FE1\u606F
jsfxjm40_display.TITLE=\u8BA1\u7B97\u5206\u6790\u5EFA\u6A21
bczlsj40_display.TITLE=\u8865\u5145\u8D44\u6599\u65F6\u95F4
zyss40_display.TITLE=3.\u4F5C\u4E1A\u5B9E\u65BD
bghjgfk240_display.TITLE=4.\u62A5\u544A\u6216\u7ED3\u679C\u53CD\u9988
bghjgjd240_display.TITLE=5.\u62A5\u544A\u6216\u7ED3\u679C\u6821\u5BF9
CAEfxxqwtd40_display.TITLE=CAE\u5206\u6790\u9700\u6C42\u59D4\u6258\u5355
jsfxtdcjd40_display.TITLE=\u8BA1\u7B97\u5206\u6790\u56E2\u961F\u627F\u63A5\u5355
ggxmwtd40_display.TITLE=\u66F4\u6539\u9879\u76EE\u59D4\u6258\u5355
tk_display.TITLE=\u56FE\u5E93
ljgybh04_display.TITLE=\u96F6\u4EF6/\u5DE5\u827A\u7F16\u53F7
gcmc04_display.TITLE=\u8FC7\u7A0B\u540D\u79F0
jqsbgzjj04_display.TITLE=\u673A\u5668,\u8BBE\u5907,\u5DE5\u88C5\uFF0C\u5939\u5177
smjyzyzb04_display.TITLE=\u9996\u672B\u68C0\u9A8C/\u4F5C\u4E1A\u51C6\u5907
bh04_display.TITLE=\u7F16\u53F7
cp04_display.TITLE=\u4EA7\u54C1
gc04_display.TITLE=\u8FC7\u7A0B
tstxfl04_display.TITLE=\u7279\u6B8A\u7279\u6027\u5206\u7C7B
cpgcgfgc04_display.TITLE=\u4EA7\u54C1/\u8FC7\u7A0B/\u89C4\u683C/\u516C\u5DEE
pgclff04_display.TITLE=\u8BC4\u4F30/\u6D4B\u91CF\u65B9\u6CD5
rl04_display.TITLE=\u5BB9\u91CF
pl04_display.TITLE=\u9891\u7387
kzff04_display.TITLE=\u63A7\u5236\u65B9\u6CD5
fyjh04_display.TITLE=\u53CD\u5E94\u8BA1\u5212
tsfhwz04_display.TITLE=\u7279\u6B8A\u7B26\u53F7\u4F4D\u7F6E
sfwc04_display.TITLE=\u662F\u5426\u5B8C\u6210
fjdID04_display.TITLE=\u7236\u8282\u70B9ID
tszfszwz04_display.TITLE=\u7279\u6B8A\u5B57\u7B26\u6240\u5728\u4F4D\u7F6E
xh04_display.TITLE=\u5E8F\u53F7
z04_display.TITLE=\u503C
mc04_display.TITLE=\u540D\u79F0
gysjfdygc34_display.TITLE=\u4F9B\u5E94\u5546\u4EA4\u4ED8\u5355\u5143\u6784\u6210
yjbz34_display.TITLE=\u4E00\u7EA7\u5305\u88C5
ejbz34_display.TITLE=\u4E8C\u7EA7\u5305\u88C5
sjbz34_display.TITLE=\u4E09\u7EA7\u5305\u88C5
excel_display.TITLE = excel\u5bfc\u5165\u5931\u8d25\uff0c\u6e05\u67e5\u770b\u683c\u5f0f\u662f\u5426\u7b26\u5408\u8981\u6c42
wxzcpdxqcxxz02_display.TITLE=\u672A\u9009\u4E2D\u4EA7\u54C1\u5BF9\u8C61\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\uFF01
qxzzcdxhcj021_display.TITLE=\u8bf7\u9009\u62e9\u9996\u9009\u9879RB3_CreateProcessTypes\u914d\u7f6e\u7684\u7c7b\u578b\u8fdb\u884c\u521b\u5efa
gy02_display.TITLE=\u5DE5\u827A
qjcsjksxxutil_display.TITLE=\u8BF7\u68C0\u67E5\u6570\u636E\u5E93\u9996\u9009\u9879\u662F\u5426\u914D\u7F6E\u6B63\u786E
qxzgxbbhcd01_display.TITLE=\u8BF7\u9009\u62E9\u5DE5\u5E8F\u7248\u672C\u540E\u4F20\u9012\uFF01
wzdyfbdkzjh01_display.TITLE=\u672A\u627E\u5230\u5DF2\u53D1\u5E03\u7684\u63A7\u5236\u8BA1\u5212\uFF01
myxqITEMdx02_display.TITLE=\u6CA1\u6709\u9009\u53D6ITEM\u5BF9\u8C61\uFF0C\u8BF7\u9009\u62E9\u540E\u6267\u884C\u6B64\u64CD\u4F5C
qxzgxdxhcd02_display.TITLE=\u8BF7\u9009\u62E9\u5DE5\u5E8F\u5BF9\u8C61\u540E\u4F20\u9012
qxzzcdxhcj02_display.TITLE=\u8BF7\u9009\u62E9\u603B\u6210\u5BF9\u8C61\u540E\u521B\u5EFA
dqzhwqxtjgx02_display.TITLE=\u5F53\u524D\u8D26\u6237\u65E0\u6743\u9650\u6DFB\u52A0\u5DE5\u5E8F\uFF01
qzjgglqz02_display.TITLE=\u8BF7\u5728\u7ED3\u6784\u7BA1\u7406\u533A\u4E2D\u9009\u4E2D\u5DE5\u827ABOM\u540E\u521B\u5EFA
qxzwjjhcj02_display.TITLE=\u8BF7\u9009\u4E2D\u6587\u4EF6\u5939\u540E\u521B\u5EFA
xzdxzmyyfbd03_display.TITLE=\u9009\u4E2D\u5BF9\u8C61\u4E2D\u6CA1\u6709\u5DF2\u53D1\u5E03\u7684\u6700\u65B0\u7248\u672C\u7684\u56FE\u7EB8\uFF01
nmyqxzxccz03_display.TITLE=\u4F60\u6CA1\u6709\u6743\u9650\u6267\u884C\u6B64\u64CD\u4F5C\uFF01\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458
pldctzsb03_display.TITLE=\u6279\u91CF\u5BFC\u51FA\u56FE\u7EB8\u5931\u8D25\uFF01
qxzkzjhbbdx04_display.TITLE=\u8BF7\u9009\u62E9\u63A7\u5236\u8BA1\u5212\u7248\u672C\u5BF9\u8C61\uFF01
wzdsxx04_display.TITLE=\u672A\u627E\u9996\u9009\u9879\uFF01
kzjhzzbj04_display.TITLE=\u63A7\u5236\u8BA1\u5212\u6B63\u5728\u7F16\u8F91\uFF01(\u5DF2\u7B7E\u51FA)
wqxtjh04_display.TITLE=\u65E0\u6743\u9650\u6DFB\u52A0\u884C\uFF01
sfscxzh04_display.TITLE=\u662F\u5426\u5220\u9664\u9009\u4E2D\u884C\uFF1F
wqxtjgx04_display.TITLE=\u65E0\u6743\u9650\u6DFB\u52A0\u5DE5\u5E8F\uFF01
wqxsch04_display.TITLE=\u65E0\u6743\u9650\u5220\u9664\u884C\uFF01
wqxhbdyg04_display.TITLE=\u65E0\u6743\u9650\u5408\u5E76\u5355\u5143\u683C\uFF01
wqxcfdyg04_display.TITLE=\u65E0\u6743\u9650\u62C6\u5206\u5355\u5143\u683C\uFF01
yfb04_display.TITLE=\u5DF2\u53D1\u5E03\uFF0C\u65E0\u6CD5\u4FDD\u5B58\uFF01
wzdkzjhmb04_display.TITLE=\u672A\u627E\u5230\u63A7\u5236\u8BA1\u5212\u6A21\u677F\uFF01
kzjhbbyqc04_display.TITLE=\u63A7\u5236\u8BA1\u5212\u7248\u672C\u5DF2\u7B7E\u51FA
gxyqc04_display.TITLE=\u5DE5\u5E8F\u5DF2\u7B7E\u51FA
czsw04_display.TITLE=\u64CD\u4F5C\u5931\u8BEF\uFF0C\u8BF7\u9000\u51FA\u91CD\u65B0\u64CD\u4F5C
qxzyhbddyg04_display.TITLE=\u8BF7\u9009\u62E9\u8981\u5408\u5E76\u7684\u5355\u5143\u683C\uFF01
qxzycfddyg04_display.TITLE=\u8BF7\u9009\u62E9\u8981\u62C6\u5206\u7684\u5355\u5143\u683C\uFF01
dcexcelcg04_display.TITLE=\u5BFC\u51FAExcel\u6210\u529F\uFF01
qsrzqdsz04_display.TITLE=\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6570\u5B57!
qsrgcmc04_display.TITLE=\u8BF7\u8F93\u5165\u8FC7\u7A0B\u540D\u79F0!
wxzdx05_display.TITLE=\u672A\u9009\u4E2D\u5BF9\u8C61!
xzgyBOM05_display.TITLE=\u8BF7\u5728\u7ED3\u6784\u7BA1\u7406\u533A\u4E2D\u9009\u4E2D\u5DE5\u827ABOM\u540E\u521B\u5EFA
qxzgyBOMhcj05_display.TITLE=\u8BF7\u9009\u4E2D\u5DE5\u827ABOM\u540E\u521B\u5EFA
znxzyggx05_display.TITLE=\u53EA\u80FD\u9009\u62E9\u4E00\u4E2A\u5DE5\u5E8F\uFF01\u8BF7\u5220\u9664\u201C\u7EC4\u4EF6ID\u4E2D\u5185\u5BB9\u201D\u91CD\u65B0\u9009\u62E9\u3002
qxzgxdx05_display.TITLE=\u8BF7\u9009\u62E9\u5DE5\u5E8F\u5BF9\u8C61\uFF01
gjmbcjgxcg05_display.TITLE=\u6839\u636E\u6A21\u677F\u521B\u5EFA\u5DE5\u5E8F\u6210\u529F\uFF01
qxzgydx06_display.TITLE=\u8BF7\u9009\u62E9\u5DE5\u827A\u5BF9\u8C61\uFF01
gjmbcjgycg06_display.TITLE=\u6839\u636E\u6A21\u677F\u521B\u5EFA\u5DE5\u827A\u6210\u529F\uFF01
gjmbcjgysb06_display.TITLE=\u6839\u636E\u6A21\u677F\u521B\u5EFA\u5DE5\u827A\u5931\u8D25\uFF01
qxzgydx06_display.TITLE=\u8BF7\u9009\u62E9\u5DE5\u827A\u5BF9\u8C61\uFF01
gjgycjgycg06_display.TITLE=\u6839\u636E\u5DE5\u827A\u521B\u5EFA\u5DE5\u827A\u6210\u529F\uFF01
qxzcpdx06_display.TITLE=\u8bf7\u9009\u62e9\u603b\u6210,\u96f6\u90e8\u4ef6,\u6eda\u5b50,\u94a2\u7403,\u6807\u51c6\u4ef6,\u6eda\u5b50\u90e8\u4ef6,\u94a2\u7403\u90e8\u4ef6,\u6807\u51c6\u4ef6\u90e8\u4ef6\u5bf9\u8c61\uff01
wzdzcdx06_display.TITLE=\u672A\u627E\u5230\u603B\u6210\u5BF9\u8C61\uFF01
cxdxcc06_display.TITLE=\u67E5\u8BE2\u5BF9\u8C61\u51FA\u9519\uFF01\u8BF7\u8054\u7CFB\u7CFB\u7EDF\u7BA1\u7406\u5458\uFF01
qxzh06_display.TITLE=\u8BF7\u9009\u62E9\u884C\uFF01
qxzzqdgy06_display.TITLE=\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u5DE5\u827A\uFF01
gjgycjgysb06_display.TITLE=\u6839\u636E\u5DE5\u827A\u521B\u5EFA\u5DE5\u827A\u5931\u8D25\uFF01
xzgxBOM_display.TITLE=\u8BF7\u5728\u7ED3\u6784\u7BA1\u7406\u533A\u4E2D\u9009\u4E2D\u5DE5\u5E8FBOM\u540E\u521B\u5EFA
qxzgxbomhcj07_display.TITLE=\u8BF7\u9009\u4E2D\u5DE5\u5E8FBOM\u540E\u521B\u5EFA
zyzpcg07_display.TITLE=\u8D44\u6E90\u6307\u6D3E\u6210\u529F\uFF01
qxzPFMEAbbdx10_display.TITLE=\u8BF7\u9009\u62E9PFMEA\u7248\u672C\u5BF9\u8C61\uFF01
PFMEAzzbj10_display.TITLE=PFMEA\u6B63\u5728\u7F16\u8F91\uFF01(\u5DF2\u7B7E\u51FA)
wqxsch10_display.TITLE=\u65E0\u6743\u9650\u5220\u9664\u884C\uFF01
wqxtjh10_display.TITLE=\u65E0\u6743\u9650\u6DFB\u52A0\u884C\uFF01
wqxhbh10_display.TITLE=\u65E0\u6743\u9650\u5408\u5E76\u884C\uFF01
wqxczh10_display.TITLE=\u65E0\u6743\u9650\u64CD\u4F5C\u884C\uFF01
wqxbc10_display.TITLE=\u65E0\u6743\u9650\u4FDD\u5B58\uFF01
wqx10_display.TITLE=\u65E0\u6743\u9650\uFF01
wqxck10_display.TITLE=\u65E0\u6743\u9650\u67E5\u770B\uFF01
wzdPFMEAmb10_display.TITLE=\u672A\u627E\u5230PFMEA\u6A21\u677F\uFF01
qxzyhbddyg10_display.TITLE=\u8BF7\u9009\u62E9\u8981\u5408\u5E76\u7684\u5355\u5143\u683C\uFF01
wqxhbdyg10_display.TITLE=\u65E0\u6743\u9650\u5408\u5E76\u5355\u5143\u683C
qxzycfddyg10_display.TITLE=\u8BF7\u9009\u62E9\u8981\u62C6\u5206\u7684\u5355\u5143\u683C\uFF01
qxzbbdx10_display.TITLE=\u8BF7\u9009\u4E2DPFMEA\u7248\u672C\u5BF9\u8C61\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\uFF01
txPFMEAsb10_display.TITLE=\u586B\u5199PFNEA\u5931\u8D25\uFF01
qxzdc11_display.TITLE=\u8BF7\u9009\u62E9\u9876\u5C42BOM\uFF01
cxplcg11_display.TITLE=\u91CD\u65B0\u6392\u5217BOM\u6210\u529F\uFF01
cxplczbhsb11_display.TITLE=\u91CD\u65B0\u6392\u5217BOM\u67E5\u627E\u7F16\u53F7\u5931\u8D25\uFF01
wglqx12_display.TITLE=\u65E0\u7BA1\u7406\u6743\u9650\uFF01\u8BF7\u8054\u7CFB\u7CFB\u7EDF\u7BA1\u7406\u5458\u3002
txkzjhksb12_display.TITLE=\u586B\u5199\u63A7\u5236\u8BA1\u5212\u5E93\u5931\u8D25\uFF01
txPFMEAksb13_display.TITLE=\u586B\u5199PFMEA\u5E93\u5931\u8D25\uFF01
qxzbzgyzyzds17_display.TITLE=\u8BF7\u9009\u62E9\u5305\u88C5\u5DE5\u827A\u4F5C\u4E1A\u6307\u5BFC\u4E66\u7248\u672C\u5BF9\u8C61!
wzdsxx17_display.TITLE=\u672A\u627E\u9996\u9009\u9879\uFF01
bccg17_display.TITLE=\u4FDD\u5B58\u6210\u529F\uFF01
dccg17_display.TITLE=\u5BFC\u51FA\u6210\u529F\uFF01
txbzgycw17_display.TITLE=\u586B\u5199\u5305\u88C5\u5DE5\u827A\u9519\u8BEF\uFF01
glcksb22_display.TITLE=\u7BA1\u7406\u8BCD\u5E93\u5931\u8D25\uFF01
gwtdzzbbj27_display.TITLE=\u8BE5\u59D4\u6258\u5355\u6B63\u5728\u88AB\u7F16\u8F91\uFF01
btxbnwk27_display.TITLE=\u5FC5\u586B\u9879\u4E0D\u80FD\u4E3A\u7A7A\uFF01
txwtdsb27_display.TITLE=\u586B\u5199\u59D4\u6258\u5355\u5931\u8D25\uFF01
qxzwtdbb27_display.TITLE=\u8BF7\u9009\u4E2D\u59D4\u6258\u5355\u7248\u672C\uFF01
zygykzzbj28_display.TITLE=\u4F5C\u4E1A\u5DE5\u827A\u5361\u6B63\u5728\u7F16\u8F91\uFF01(\u5DF2\u7B7E\u51FA)
wzdgy28_display.TITLE=\u672A\u627E\u5230\u5DE5\u827A\uFF01
qwskzjh28_display.TITLE=\u8BF7\u5B8C\u5584\u63A7\u5236\u8BA1\u5212\u4E2D\u76F8\u5E94\u5DE5\u5E8F\u7684\u7F16\u53F7\uFF0C\u5426\u5219\u65E0\u6CD5\u751F\u6210\u5DE5\u827A\u5361\u3002
wfbj28_display.TITLE=\u5BF9\u8C61\u5DF2\u53D1\u5E03\uFF0C\u65E0\u6CD5\u7F16\u8F91\uFF01
wfbjbc28_display.TITLE=\u5BF9\u8C61\u5DF2\u53D1\u5E03\uFF0C\u65E0\u6CD5\u7F16\u8F91\u4FDD\u5B58\uFF01
wfcxdr28_display.TITLE=\u5BF9\u8C61\u5DF2\u53D1\u5E03\uFF0C\u65E0\u6CD5\u91CD\u65B0\u5BFC\u5165\uFF01
cxdrhscxysj28_display.TITLE=\u91CD\u65B0\u5BFC\u5165\u4F1A\u5220\u9664\u73B0\u6709\u6570\u636E\uFF0C\u91CD\u65B0\u52A0\u8F7D\u63A7\u5236\u8BA1\u5212\u6570\u636E\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u91CD\u65B0\u5BFC\u5165\u3002
qxzljdc28_display.TITLE=\u5BF9\u8C61\u5DF2\u53D1\u5E03\uFF0C\u8BF7\u9009\u62E9\u8DEF\u5F84\u5BFC\u51FA\uFF01
wfxz28_display.TITLE=\u5BF9\u8C61\u5DF2\u53D1\u5E03\uFF0C\u65E0\u6CD5\u9009\u62E9
yczdct28_display.TITLE=\u5DF2\u5B58\u5728\u5BFC\u51FA\u56FE\uFF0C\u662F\u5426\u91CD\u65B0\u9009\u62E9\uFF1F
wftjh28_display.TITLE=\u5BF9\u8C61\u5DF2\u53D1\u5E03\uFF0C\u65E0\u6CD5\u6DFB\u52A0\u884C\uFF01
wfych28_display.TITLE=\u5BF9\u8C61\u5DF2\u53D1\u5E03\uFF0C\u65E0\u6CD5\u79FB\u9664\u884C\uFF01
qxxzdct_display.TITLE=\u8BF7\u5148\u9009\u62E9\u5BFC\u51FA\u56FE\uFF01
dzt28_display.TITLE=\u8BE5\u5DE5\u4F5C\u5361\u4E0B\u5B58\u5728\u591A\u5F20\u5BFC\u51FA\u56FE\u3002
dcexcelcg28_display.TITLE=\u5BFC\u51FAExcel\u6210\u529F\uFF01
qsrzqdsz28_display.TITLE=\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6570\u5B57!
srhs28_display.TITLE=\u8F93\u5165\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0
wpzxydsxx28_display.TITLE=\u672A\u914D\u7F6E\u76F8\u5E94\u9996\u9009\u9879
wzdtk28_display.TITLE=\u672A\u627E\u5230\u56FE\u5E93
wxzzygykbbdx28_display.TITLE=\u672A\u9009\u4E2D\u4F5C\u4E1A\u5DE5\u827A\u5361\u7248\u672C\u5BF9\u8C61\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\uFF01
wxzzcgykbbdx28_display.TITLE=\u672A\u9009\u4E2D\u56DE\u8F6C\u652F\u627F\u5DE5\u827A\u5361\u7248\u672C\u5BF9\u8C61\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\uFF01
txzygyksb28_display.TITLE=\u586B\u5199\u4F5C\u4E1A\u5DE5\u827A\u5361\u5931\u8D25\uFF01
txhzzcgyksb28_display.TITLE=\u586B\u5199\u56DE\u8F6C\u652F\u627F\u5DE5\u827A\u5361\u5931\u8D25\uFF01
qxzzygykbb28_display.TITLE=\u8BF7\u9009\u4E2D\u4F5C\u4E1A\u5DE5\u827A\u5361\u7248\u672C\uFF01
qxzhzzcgykbb28_display.TITLE=\u8BF7\u9009\u4E2D\u56DE\u8F6C\u652F\u627F\u5DE5\u827A\u5361\u7248\u672C\uFF01
zzbj29_display.TITLE=\u6B63\u5728\u7F16\u8F91\uFF01(\u5DF2\u7B7E\u51FA)
wzdgy29_display.TITLE=\u672A\u627E\u5230\u5DE5\u827A\uFF01
wxzzpgyk29_display.TITLE=\u672A\u9009\u4E2D\u88C5\u914D\u5DE5\u827A\u5361\u7248\u672C\u5BF9\u8C61\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\uFF01
txsb29_display.TITLE=\u586B\u5199\u88C5\u914D\u5DE5\u827A\u5361\u5931\u8D25\uFF01
qxzbb29_display.TITLE=\u8BF7\u9009\u4E2D\u88C5\u914D\u5DE5\u827A\u5361\u7248\u672C\uFF01
wzdgx30_display.TITLE=\u672A\u627E\u5230\u5DE5\u5E8F\uFF01
wxzzyjzs30_display.TITLE=\u672A\u9009\u4E2D\u4F5C\u4E1A\u57FA\u51C6\u4E66\u7248\u672C\u5BF9\u8C61\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\uFF01
txzyjzssb30_display.TITLE=\u586B\u5199\u4F5C\u4E1A\u57FA\u51C6\u4E66\u5931\u8D25\uFF01
bb30_display.TITLE=\u8BF7\u9009\u4E2D\u4F5C\u4E1A\u57FA\u51C6\u4E66\u7248\u672C\uFF01
dcsb33_display.TITLE=\u5BFC\u51FA\u4F5C\u4E1A\u57FA\u51C6\u4E66\u5931\u8D25\uFF01
sb32_display.TITLE=\u5BFC\u51FA\u88C5\u914D\u5DE5\u827A\u5361\u5931\u8D25\uFF01
sb31_display.TITLE=\u5BFC\u51FA\u4F5C\u4E1A\u5DE5\u827A\u5361\u5931\u8D25\uFF01
dclj34_display.TITLE=\u8BF7\u5148\u9009\u62E9\u5BFC\u51FA\u8DEF\u5F84
qxzbzbb34_display.TITLE=\u8BF7\u9009\u4E2D\u5305\u88C5\u7248\u672C\u5BF9\u8C61\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\uFF01
bjsb34_display.TITLE=\u7F16\u8F91\u5305\u88C5\u65B9\u6848\u5931\u8D25\uFF01
bb34_display.TITLE=\u8BF7\u9009\u4E2D\u5305\u88C5\u65B9\u6848\u7248\u672C\uFF01
zzbj40_display.TITLE=\u8BE5\u59D4\u6258\u5355\u6B63\u5728\u88AB\u7F16\u8F91\uFF01
btxbnwk40_display.TITLE=\u5FC5\u586B\u9879\u4E0D\u80FD\u4E3A\u7A7A\uFF01
sb40_display.TITLE=\u586B\u5199\u59D4\u6258\u5355\u5931\u8D25\uFF01
bb40_display.TITLE=\u8BF7\u9009\u4E2D\u8BA1\u7B97\u5206\u6790\u59D4\u6258\u5355\u7248\u672C\uFF01
wdsc41_display.TITLE=\u8BF7\u9009\u62E9Word\u3001PDF\u3001Excel\u3001Text\u7C7B\u578B\u7684\u6587\u6863\u4E0A\u4F20\uFF01
sccg41_display.TITLE=\u4E0A\u4F20\u6210\u529F!
dclj42_display.TITLE=\u8BF7\u9009\u62E9\u5BFC\u51FA\u8DEF\u5F84
dycg42_display.TITLE=\u6253\u5370\u6210\u529F!
qxzdx42_display.TITLE=\u8BF7\u9009\u4E2D\u5BF9\u8C61
dcqdsb42_display.TITLE=\u5BFC\u51FA\u6E05\u5355\u5931\u8D25\uFF01
bb42_display.TITLE=\u8BF7\u9009\u4E2D\u5DE5\u827A\u7248\u672C\uFF01
sjjutil_display.TITLE=\u6570\u636E\u96C6\u6CA1\u6709\u547D\u540D\u5F15\u7528\u7684\u6587\u4EF6\u6216\u6587\u4EF6\u8FC7\u591A\uFF0C\u8BF7\u68C0\u67E5\uFF01
drexcel_display.TITLE=\u5bfc\u5165\u0065\u0078\u0063\u0065\u006c
pmidnotsame.TITLE=\u0050\u0046\u004d\u0045\u0041\u0020\u0049\u0044\u7f16\u53f7\u4e0d\u4e00\u81f4
_display.TITLE=
tmommethod01=\u5bfc\u51fa\u6a21\u677f\u9009\u62e9
tmommethod02=\u4e2d\u6587
tmommethod03=\u82f1\u6587
tmommethod04=\u8bf7\u9009\u62e9\u5bfc\u51fa\u4e2d\u6587/\u82f1\u6587\u6a21\u677f:
tmommethod05=\u64cd\u4f5c\u5df2\u53d6\u6d88
issue=\u95ee\u9898
historyChangeAuthorization=\u5386\u53f2/\u53d8\u66f4\u6388\u6743(\u9002\u7528\u65f6)
processItemSystem=1. \u8fc7\u7a0b\u9879\u7cfb\u7edf\u3001\u5b50\u7cfb\u7edf\u3001\u96f6\u4ef6\u8981\u7d20\u6216\u8fc7\u7a0b\u540d\u79f0
processStepWorkstation=2. \u8fc7\u7a0b\u6b65\u9aa4\u5de5\u4f4d\u7f16\u53f7\u548c\u5173\u6ce8\u8981\u7d20\u540d\u79f0
processWorkElement4M=3. \u8fc7\u7a0b\u5de5\u4f5c\u8981\u7d204M\u6cd5
processItemFunction=1.\u8fc7\u7a0b\u9879\u7684\u529f\u80fd\u7cfb\u7edf\u3001\u5b50\u7cfb\u7edf\u3001\u7ec4\u4ef6\u8981\u7d20\u6216\u8fc7\u7a0b\u7684\u529f\u80fd
processStepFunction=2.\u8fc7\u7a0b\u6b65\u9aa4\u7684\u529f\u80fd\u548c\u4ea7\u54c1\u7279\u6027(\u91cf\u503c\u4e3a\u53ef\u9009\u9879)
processWorkElementFunction=3.\u8fc7\u7a0b\u5de5\u4f5c\u8981\u7d20\u7684\u529f\u80fd\u548c\u8fc7\u7a0b\u7279\u6027
failureEffectHigherLevel=1.\u5bf9\u4e0a\u4e00\u8f83\u9ad8\u7ea7\u522b\u8981\u548c/\u6216\u7ec8\u7aef\u7528\u6237\u5931\u6548\u5f71\u54cd(FE)
severityFailureEffect=\u5931\u6548\u5f71\u54cd\u7684\u4e25\u91cd\u5ea6(S)
failureModeFocusElement=2.\u5173\u6ce8\u8981\u7d20\u7684\u5931\u6548\u6a21\u5f0f(FM)
failureCauseWorkElement=3.\u5de5\u4f5c\u8981\u7d20\u7684\u5931\u6548\u8d77\u56e0(FC)
preventiveControlFailureCause=\u5bf9\u5931\u6548\u8d77\u56e0\u7684\u5f53\u524d\u9884\u9632\u63a7\u5236(PC)
occurrenceFailureCause=\u5931\u6548\u8d77\u56e0\u7684\u9891\u5ea6(O)
detectionControlFailureCause=\u5bf9\u5931\u6548\u8d77\u56e0\u6216\u5931\u6548\u6a21\u5f0f\u7684\u5f53\u524d\u63a2\u6d4b\u63a7\u5236(DC)
detectabilityFailureCause=\u5931\u6548\u8d77\u56e0/\u5931\u6548\u6a21\u5f0f\u7684\u53ef\u63a2\u6d4b\u5ea6(D)
pfmeaActionPriority=PFMEA\u63aa\u65bd\u4f18\u5148\u7ea7
productCharacteristics=\u4ea7\u54c1\u7279\u6027
filterCode=\u7b5b\u9009\u5668\u4ee3\u7801(\u53ef\u9009)
preventiveMeasures=\u9884\u9632\u63aa\u65bd
detectionMeasures=\u63a2\u6d4b\u63aa\u65bd
responsiblePersonName=\u8d1f\u8d23\u4eba\u59d3\u540d
targetCompletionDate=\u76ee\u6807\u5b8c\u6210\u65e5\u671f
status=\u72b6\u6001
evidenceBasedActionsTaken=\u91c7\u53d6\u57fa\u4e8e\u8bc1\u636e\u7684\u63aa\u65bd
completionDate=\u5b8c\u6210\u65e5\u671f
severityValue=\u4e25\u91cd\u5ea6(S)
occurrenceValue=\u9891\u5ea6(O)
detectabilityValue=\u53ef\u63a2\u6d4b\u5ea6(D)
parentNodeID=\u7236\u8282\u70b9ID
lookupNumber=\u67e5\u627e\u7f16\u53f7
plmid=PLMID
serialNumber=\u5e8f\u53f7
date=\u65e5\u671f
chapter=\u7ae0\u8282
revisionReason=\u4fee\u8ba2\u539f\u56e0
revisionContent=\u4fee\u8ba2\u5185\u5bb9
revisedVersion=\u4fee\u8ba2\u540e\u7248\u672c
revisedBy=\u5236/\u4fee\u8ba2\u4eba
approvedBy=\u6838\u51c6\u4eba
name=\u540d\u79f0
remark=\u5907\u6ce8

@ -0,0 +1,568 @@
package com.connor.renben.process.plm.sql.util;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Locale;
import java.util.ResourceBundle;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCPreferenceService;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
import com.teamcenter.rac.util.Registry;
/**
* final,,便使 PreparedStatementResultSet
*
* @author hub 2015-02-06
*/
public final class SqlUtil {
public static Connection connection = null;
public static PreparedStatement ps = null;
public static ResultSet rs = null;
private static Registry reg = Registry.getRegistry(SqlUtil.class);
/**
* new
*/
private SqlUtil() {
}
static {
String driver = reg.getString("ORACEL_DRIVER"); // Util.getProperties("DRIVER");
if (driver == null) {
driver = "oracle.jdbc.driver.OracleDriver";
}
System.out.println("driver " + driver);
try {
Class.forName(driver);
} catch (ClassNotFoundException e) {
System.out.println("ORACEL DRIVER IS EXCEPTION");
e.printStackTrace();
}
}
/**
*
*/
public static Connection getConnectionTC() {
try {
AbstractAIFUIApplication app = AIFUtility.getCurrentApplication();
TCSession session = (TCSession) app.getSession();
TCPreferenceService service = session.getPreferenceService();
String[] array = service.getStringArray(
TCPreferenceService.TC_preference_site, "TC_Oracel_MSG");
String driver_temp = null;
String url = null;
String dbName = null;
String dbPassword = null;
if (array != null)
for (String str : array) {
if (str != null && str.startsWith("ORACEL_DRIVER=")) {
driver_temp = str.substring(str.indexOf("=" + 1,
str.length()));
} else if (str != null && str.startsWith("ORACEL_URL=")) {
url = str.substring(str.indexOf("=" + 1, str.length()));
} else if (str != null && str.startsWith("ORACEL_NAME=")) {
dbName = str.substring(str.indexOf("=" + 1,
str.length()));
} else if (str != null
&& str.startsWith("ORACEL_PASSWORD=")) {
dbPassword = str.substring(str.indexOf("=" + 1,
str.length()));
}
}
// String driver_temp = reg.getString("ORACEL_DRIVER");
// String url = reg.getString("ORACEL_URL");// getProperties("URL");
// String dbName = reg.getString("ORACEL_NAME");//
// Util.getProperties("dbName");
// String dbPassword = reg.getString("ORACEL_PASSWORD");//
// Util.getProperties("dbPassword");
if (driver_temp == null || url == null || dbName == null
|| dbPassword == null) {
Locale defaultLocale = Locale.getDefault();
ResourceBundle rb = ResourceBundle.getBundle("com.connor.renben.process.plm.message.Message", defaultLocale);
MessageBox.post(rb.getString("qjcsjksxxutil_display.TITLE"), "错误提示", MessageBox.ERROR);
}
// else{
// MessageBox.post(driver_temp+" | "+url+" | "+dbName+" | "+dbPassword,"错误提示",MessageBox.ERROR);
//
// }
System.out.println(url + dbName + dbPassword);
connection = DriverManager.getConnection(url, dbName, dbPassword);
connection.setAutoCommit(false);
} catch (SQLException e) {
System.out.println("ORACEL CONNECT EXCEPTION");
e.printStackTrace();
return null;
// MessageBox.post("ORACEL CONNECT EXCEPTION \n"+e.getMessage(),"ERROR",MessageBox.ERROR);
}
return connection;
}
/**
*
*/
public static Connection getConnection() {
try {
String driver_temp = reg.getString("ORACEL_DRIVER");
String url = reg.getString("ORACEL_URL");// getProperties("URL");
String dbName = reg.getString("ORACEL_NAME");// Util.getProperties("dbName");
String dbPassword = reg.getString("ORACEL_PASSWORD");// Util.getProperties("dbPassword");
if (driver_temp == null || url == null || dbName == null
|| dbPassword == null) {
Locale defaultLocale = Locale.getDefault();
ResourceBundle rb = ResourceBundle.getBundle("com.connor.renben.process.plm.message.Message", defaultLocale);
MessageBox.post(rb.getString("qjcsjksxxutil_display.TITLE"), "错误提示", MessageBox.ERROR);
}
// else{
// MessageBox.post(driver_temp+" | "+url+" | "+dbName+" | "+dbPassword,"错误提示",MessageBox.ERROR);
//
// }
System.out.println(url + dbName + dbPassword);
connection = DriverManager.getConnection(url, dbName, dbPassword);
connection.setAutoCommit(false);
} catch (SQLException e) {
System.out.println("ORACEL CONNECT EXCEPTION");
e.printStackTrace();
return null;
// MessageBox.post("ORACEL CONNECT EXCEPTION \n"+e.getMessage(),"ERROR",MessageBox.ERROR);
}
return connection;
}
/**
*
*/
public static Connection getConnection(String url, String dbName,
String dbPassword) {
try {
String driver_temp = reg.getString("ORACEL_DRIVER");
System.out.println(url + dbName + dbPassword);
connection = DriverManager.getConnection(url, dbName, dbPassword);
connection.setAutoCommit(false);
} catch (SQLException e) {
System.out.println("ORACEL CONNECT EXCEPTION");
e.printStackTrace();
// MessageBox.post("ORACEL CONNECT EXCEPTION \n"+e.getMessage(),"ERROR",MessageBox.ERROR);
return null;
}
return connection;
}
/**
* SELECT
*
* @param tableName
* @param selectElement
* @param args
* @return
*/
public static String getSelectSql(String tableName, String[] selectElement,
String... args) {
StringBuffer valuesSB = new StringBuffer("SELECT ");
if (selectElement != null) {
for (String element : selectElement) {
valuesSB.append(element).append(",");
}
valuesSB.delete(valuesSB.length() - 1, valuesSB.length());
}
valuesSB.append(" FROM ");
valuesSB.append(tableName);
valuesSB.append(" WHERE");
for (int i = 0; i < args.length; i++) {
valuesSB.append(" ");
valuesSB.append(args[i]);
valuesSB.append("=? ");
valuesSB.append("AND");
}
valuesSB.delete(valuesSB.length() - 3, valuesSB.length());
return valuesSB.toString();
}
/**
* SELECT
*
* @param tableName
* @param args
* @return
*/
public static String getSelectSql(String tableName, String... args) {
StringBuffer valuesSB = new StringBuffer("SELECT * FROM ");
valuesSB.append(tableName);
valuesSB.append(" WHERE");
for (int i = 0; i < args.length; i++) {
valuesSB.append(" ");
valuesSB.append(args[i]);
valuesSB.append("=? ");
valuesSB.append("AND");
}
valuesSB.delete(valuesSB.length() - 3, valuesSB.length());
return valuesSB.toString();
}
/**
*
*
* @param tableName
* @param args
* @param args2
* @return
*/
public static String getUpdataSQL(String tableName, String[] args,
String[] args2) {
StringBuffer updateSB = new StringBuffer("UPDATE ");
updateSB.append(tableName);
updateSB.append(" SET ");
// 拼接更新语句
for (int i = 0; i < args.length; i++) {
if (args[i].toUpperCase().equals("OPERATE_TIME")
|| args[i].toUpperCase().equals("LAST_UPDATE_DATE")) {
updateSB.append(args[i]).append(
"=to_date(?,'yyyy-MM-dd HH24:mi:ss') ,");
} else {
updateSB.append(args[i]).append("=? ,");
}
}
updateSB.delete(updateSB.length() - 2, updateSB.length());
;
updateSB.append(" WHERE ");
for (int i = 0; i < args2.length; i++) {
updateSB.append(args2[i]).append("=? AND ");
}
updateSB.delete(updateSB.length() - 4, updateSB.length());
return updateSB.toString();
}
/**
* SQLinsert
*
* @param tableName
* @param args
* @return
*/
public static String getInsertSql(String tableName, String... args) {
StringBuffer insertSql = new StringBuffer("insert into ");
StringBuffer values = new StringBuffer("values(");
if (tableName != null && args != null && args.length > 0) {
insertSql.append(tableName);
insertSql.append("(");
for (int i = 0; i < args.length; i++) {
insertSql.append(args[i]);
insertSql.append(", ");
if (args[i].toUpperCase().equals("COMMIT_TIME")
|| args[i].toUpperCase().equals("CREATE_DATE")
|| args[i].toUpperCase().equals("INVALID_DATE")) {
values.append("to_date(?,'yyyy-MM-dd HH24:mi:ss'), ");
} else {
values.append("?, ");
}
}
} else {
return null;
}
insertSql.delete(insertSql.length() - 2, insertSql.length());
values.delete(values.length() - 2, values.length());
insertSql.append(") ").append(values).append(")");
return insertSql.toString();
}
/**
*
*
* @param tableName
* @param args
*
* @param args2
*
* @return
*/
public final static String GetCreateTableSQL(String tableName,
String[] args, String[] args2) {
if (args == null || args2 == null || args.length != args2.length) {
System.out.println("THE INPUT PRAGREMS IS ERROR");
return null;
}
StringBuffer createSQL = new StringBuffer("create table ");
createSQL.append(tableName);
createSQL.append("(");
for (int i = 0; i < args.length; i++) {
createSQL.append(args[i] + " ");
createSQL.append(args2[i] + ", ");
}
createSQL.delete(createSQL.length() - 2, createSQL.length());
createSQL.append(")");
return createSQL.toString();
}
/**
* Statement
*/
public final static PreparedStatement getPs(String sql) throws SQLException {
return getPs(sql, null);
}
/**
* Statement
*/
public final static PreparedStatement getPs(Object[] argments, String sql)
throws SQLException {
return getPs(sql, argments);
}
/**
* Statement
*/
public final static PreparedStatement getPs(String sql, Object[] argments)
throws SQLException {
SqlUtil.ps = SqlUtil.connection.prepareStatement(sql);
if (argments != null) {
for (int i = 0; i < argments.length; i++) {
SqlUtil.ps.setObject(i + 1, argments[i]);
}
}
return SqlUtil.ps;
}
/**
*
*/
public final static int write(String sql) {
return write(sql, null);
}
/**
*
*/
public final static int write(Object[] argments, String sql) {
return write(sql, argments);
}
/**
*
*/
public final static int write(String sql, Object[] argments) {
return update(sql, argments);
}
/**
*
*/
public final static int delete(String sql) {
return delete(sql, null);
}
/**
*
*/
public final static int delete(Object[] argments, String sql) {
return delete(sql, argments);
}
/**
*
*/
public final static int delete(String sql, Object[] argments) {
return update(sql, argments);
}
/**
*
*/
public final static int update(String sql) {
return update(sql, null);
}
/**
*
*/
public final static int update(String[] argments, String sql) {
return update(sql, argments);
}
/**
* (Connection)
*/
public final static int update(String sql, Object[] argments) {
int i = -1;
try {
i = SqlUtil.getPs(argments, sql).executeUpdate();
// 2015-11-19
// SqlUtil.connection.commit();
} catch (SQLException e) {
e.printStackTrace();
} finally {
free(SqlUtil.rs, SqlUtil.ps);
}
return i;
}
/**
*
*/
public final static ResultSet read(String sql) throws SQLException {
return read(sql, null);
}
/**
*
*/
public final static ResultSet read(Object[] argments, String sql)
throws SQLException {
return read(sql, argments);
}
/**
* (便finally)
*
* @throws SQLException
*/
public final static ResultSet read(String sql, Object[] argments)
throws SQLException {
return SqlUtil.rs = SqlUtil.getPs(argments, sql).executeQuery();
}
/**
*
*/
public final static boolean createTable(String sql) {
return go(sql, null);
}
/**
*
*/
public final static boolean dropTable(String sql) {
return go(sql, null);
}
/**
*
*/
public final static boolean alterTable(String sql) {
return go(sql, null);
}
/**
* DDL(,,)
*/
private final static boolean go(String sql, Object[] argments) {
boolean flag = false;
try {
flag = SqlUtil.getPs(sql, argments).execute();
} catch (SQLException e) {
e.printStackTrace();
} finally {
free(SqlUtil.rs, SqlUtil.ps);
}
if (flag) {
try {
SqlUtil.connection.commit();
} catch (SQLException e) {
e.printStackTrace();
}
}
return flag;
}
/**
*
*/
public final static void free(ResultSet resultSet) {
free(resultSet, null, null);
}
/**
*
*/
public final static void free(Statement statement) {
free(null, statement, null);
}
/**
*
*/
public final static void free(Connection connection) {
free(null, null, connection);
}
/**
*
*/
public final static void free(ResultSet resultSet, Statement statement) {
free(resultSet, statement, null);
}
/**
*
*/
public final static void free(Statement statement, Connection connection) {
free(null, statement, connection);
}
/**
* ()
*/
public final static void free() {
free(SqlUtil.rs, SqlUtil.ps);
}
/**
* ()
*/
public final static void freeAll() {
free(SqlUtil.rs, SqlUtil.ps, SqlUtil.connection);
}
/**
* ()
*/
public final static void free(ResultSet resultSet, Statement statement,
Connection connection) {
try {
if (resultSet != null) {
try {
resultSet.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
} finally {
try {
if (statement != null) {
try {
statement.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
} finally {
if (connection != null) {
try {
connection.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
}
}
}
}

@ -0,0 +1,749 @@
package com.connor.renben.process.plm.sql.util;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Locale;
import java.util.Properties;
import java.util.ResourceBundle;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCPreferenceService;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
import com.teamcenter.soaictstubs.commitDatasetFileInfo_s;
/**
* final,,便使 PreparedStatementResultSet
*
* @author hub 2015-02-06
*/
public final class SqlUtilT {
public static Connection connection = null;
public static PreparedStatement ps = null;
public static ResultSet rs = null;
// private static Registry reg = Registry.getRegistry(SqlUtilT.class);
/**
* new
*/
private SqlUtilT() {
}
static {
String driver = "oracle.jdbc.driver.OracleDriver"; // Util.getProperties("DRIVER");
if (driver == null) {
driver = "oracle.jdbc.driver.OracleDriver";
}
System.out.println("driver " + driver);
try {
Class.forName(driver);
} catch (ClassNotFoundException e) {
System.out.println("ORACEL DRIVER IS EXCEPTION");
e.printStackTrace();
}
}
/**
*
*/
public static Connection getConnectionTC12() {
// connection = com.connor.rb.DBTest.GetConn.getConnAction();
try {
AbstractAIFUIApplication app = AIFUtility.getCurrentApplication();
TCSession session = (TCSession) app.getSession();
TCPreferenceService service = session.getPreferenceService();
String[] array = service.getStringArray(
TCPreferenceService.TC_preference_site, "TC12_Oracle_MSG");
String driver_temp = null;
String url = null;
String dbName = null;
String dbPassword = null;
if (array != null)
for (String str : array) {
System.out.println(" ORACLE = " + str);
if (str != null && str.startsWith("ORACEL_DRIVER=")) {
driver_temp = str.substring(str.indexOf("=") + 1,
str.length());
} else if (str != null && str.startsWith("ORACEL_URL=")) {
url = str.substring(str.indexOf("=") + 1, str.length());
} else if (str != null && str.startsWith("ORACEL_NAME=")) {
dbName = str.substring(str.indexOf("=") + 1,
str.length());
} else if (str != null
&& str.startsWith("ORACEL_PASSWORD=")) {
dbPassword = str.substring(str.indexOf("=") + 1,
str.length());
}
}
// String driver_temp = reg.getString("ORACEL_DRIVER");
// String url = reg.getString("ORACEL_URL");// getProperties("URL");
// String dbName = reg.getString("ORACEL_NAME");//
// Util.getProperties("dbName");
// String dbPassword = reg.getString("ORACEL_PASSWORD");//
// Util.getProperties("dbPassword");
if (driver_temp == null || url == null || dbName == null
|| dbPassword == null) {
Locale defaultLocale = Locale.getDefault();
ResourceBundle rb = ResourceBundle.getBundle("com.connor.renben.process.plm.message.Message", defaultLocale);
MessageBox.post(rb.getString("qjcsjksxxutil_display.TITLE"), "错误提示", MessageBox.ERROR);
}
// else{
// MessageBox.post(driver_temp+" | "+url+" | "+dbName+" | "+dbPassword,"错误提示",MessageBox.ERROR);
//
// }
System.out.println(url + dbName + dbPassword);
connection = DriverManager.getConnection(url, dbName, dbPassword);
connection.setAutoCommit(false);
} catch (SQLException e) {
System.out.println("ORACEL CONNECT EXCEPTION");
e.printStackTrace();
return null;
// MessageBox.post("ORACEL CONNECT EXCEPTION \n"+e.getMessage(),"ERROR",MessageBox.ERROR);
}
return connection;
}
/**
*
*/
public static Connection getConnectionTC() {
try {
AbstractAIFUIApplication app = AIFUtility.getCurrentApplication();
TCSession session = (TCSession) app.getSession();
TCPreferenceService service = session.getPreferenceService();
String[] array = service.getStringArray(
TCPreferenceService.TC_preference_site, "TC_Oracel_MSG");
String driver_temp = null;
String url = null;
String dbName = null;
String dbPassword = null;
if (array != null)
for (String str : array) {
System.out.println(" ORACLE = " + str);
if (str != null && str.startsWith("ORACEL_DRIVER=")) {
driver_temp = str.substring(str.indexOf("=") + 1,
str.length());
} else if (str != null && str.startsWith("ORACEL_URL=")) {
url = str.substring(str.indexOf("=") + 1, str.length());
} else if (str != null && str.startsWith("ORACEL_NAME=")) {
dbName = str.substring(str.indexOf("=") + 1,
str.length());
} else if (str != null
&& str.startsWith("ORACEL_PASSWORD=")) {
dbPassword = str.substring(str.indexOf("=") + 1,
str.length());
}
}
// String driver_temp = reg.getString("ORACEL_DRIVER");
// String url = reg.getString("ORACEL_URL");// getProperties("URL");
// String dbName = reg.getString("ORACEL_NAME");//
// Util.getProperties("dbName");
// String dbPassword = reg.getString("ORACEL_PASSWORD");//
// Util.getProperties("dbPassword");
if (driver_temp == null || url == null || dbName == null
|| dbPassword == null) {
Locale defaultLocale = Locale.getDefault();
ResourceBundle rb = ResourceBundle.getBundle("com.connor.renben.process.plm.message.Message", defaultLocale);
MessageBox.post(rb.getString("qjcsjksxxutil_display.TITLE"), "错误提示", MessageBox.ERROR);
}
// else{
// MessageBox.post(driver_temp+" | "+url+" | "+dbName+" | "+dbPassword,"错误提示",MessageBox.ERROR);
//
// }
System.out.println(url + dbName + dbPassword);
connection = DriverManager.getConnection(url, dbName, dbPassword);
connection.setAutoCommit(false);
} catch (SQLException e) {
System.out.println("ORACEL CONNECT EXCEPTION");
e.printStackTrace();
return null;
// MessageBox.post("ORACEL CONNECT EXCEPTION \n"+e.getMessage(),"ERROR",MessageBox.ERROR);
}
return connection;
}
/**
*
*/
public static Connection getConnection() {
try {
String driver_temp = "oracle.jdbc.driver.OracleDriver";
String url = "jdbc:oracle:thin:@192.168.1.248:1521:TOPPROD";// getProperties("URL");
String dbName = "jfgroup";// Util.getProperties("dbName");
String dbPassword = "jfgroup";// Util.getProperties("dbPassword");
/*
* if(driver_temp == null ||url==null|| dbName == null ||dbPassword
* == null ){
*
* MessageBox.post("请检查数据库首选项是否配置正确","错误提示",MessageBox.ERROR);
*
* }
*/
System.out.println(url + dbName + dbPassword);
connection = DriverManager.getConnection(url, dbName, dbPassword);
connection.setAutoCommit(false);
} catch (SQLException e) {
System.out.println("ORACEL CONNECT EXCEPTION");
e.printStackTrace();
return null;
// MessageBox.post("ORACEL CONNECT EXCEPTION \n"+e.getMessage(),"ERROR",MessageBox.ERROR);
}
return connection;
}
/**
*
*/
public static Connection getConnection(String url, String dbName,
String dbPassword) {
try {
String driver_temp = "oracle.jdbc.driver.OracleDriver";
System.out.println(url + dbName + dbPassword);
connection = DriverManager.getConnection(url, dbName, dbPassword);
connection.setAutoCommit(false);
} catch (SQLException e) {
// MessageBox.post("MSG ==>"+url + dbName + dbPassword,"",1);
System.out.println("ORACEL CONNECT EXCEPTION");
e.printStackTrace();
MessageBox.post(" MSG = >" + e.getMessage(), "222", 1);
// MessageBox.post("ORACEL CONNECT EXCEPTION \n"+e.getMessage(),"ERROR",MessageBox.ERROR);
return null;
}
return connection;
}
/**
* TC
*/
public static Connection getTCConnection() {
try {
if(connection == null || connection.isClosed())
{
SqlUtilT.getConnectionTC12();
// SqlUtilT.getConnection("jdbc:Oracle:thin:@localhost:1521:TC10","tc10", "infodba");
}
} catch (Exception e) {
// MessageBox.post("MSG ==>"+url + dbName + dbPassword,"",1);
System.out.println("ORACEL CONNECT EXCEPTION");
e.printStackTrace();
MessageBox.post(" MSG = >" + e.getMessage(), "222", 1);
// MessageBox.post("ORACEL CONNECT EXCEPTION \n"+e.getMessage(),"ERROR",MessageBox.ERROR);
return null;
}
return connection;
}
/**
* SELECT
*
* @param tableName
* @param selectElement
* @param args
* @return
*/
public static String getSelectSql(String tableName, String[] selectElement,
String... args) {
StringBuffer valuesSB = new StringBuffer("SELECT ");
if (selectElement != null) {
for (String element : selectElement) {
valuesSB.append(element).append(",");
}
valuesSB.delete(valuesSB.length() - 1, valuesSB.length());
}
valuesSB.append(" FROM ");
valuesSB.append(tableName);
valuesSB.append(" WHERE");
for (int i = 0; i < args.length; i++) {
valuesSB.append(" ");
valuesSB.append(args[i]);
valuesSB.append("=? ");
valuesSB.append("AND");
}
valuesSB.delete(valuesSB.length() - 3, valuesSB.length());
return valuesSB.toString();
}
/**
* SELECT
*
* @param tableName
* @param args
* @return
*/
public static String getSelectSql(String tableName, String... args) {
StringBuffer valuesSB = new StringBuffer("SELECT * FROM ");
valuesSB.append(tableName);
valuesSB.append(" WHERE");
for (int i = 0; i < args.length; i++) {
valuesSB.append(" ");
valuesSB.append(args[i]);
valuesSB.append("=? ");
valuesSB.append("AND");
}
valuesSB.delete(valuesSB.length() - 3, valuesSB.length());
return valuesSB.toString();
}
/**
*
*
* @param tableName
* @param args
* @param args2
* @return
*/
public static String getUpdataSQL(String tableName, String[] args,
String[] args2) {
StringBuffer updateSB = new StringBuffer("UPDATE ");
updateSB.append(tableName);
updateSB.append(" SET ");
// 拼接更新语句
for (int i = 0; i < args.length; i++) {
if (args[i].toUpperCase().equals("CREATED_DATE")
|| args[i].toUpperCase().equals("LAST_UPDATE_DATE")) {
updateSB.append(args[i]).append(
"=to_date(?,'yyyy-MM-dd HH24:mi:ss') ,");
} else {
updateSB.append(args[i]).append("=? ,");
}
}
updateSB.delete(updateSB.length() - 2, updateSB.length());
;
updateSB.append(" WHERE ");
for (int i = 0; i < args2.length; i++) {
updateSB.append(args2[i]).append("=? AND ");
}
updateSB.delete(updateSB.length() - 4, updateSB.length());
return updateSB.toString();
}
/**
* SQLinsert
*
* @param tableName
* @param args
* @return
*/
public static String getInsertSql(String tableName, String... args) {
StringBuffer insertSql = new StringBuffer("insert into ");
StringBuffer values = new StringBuffer("values(");
if (tableName != null && args != null && args.length > 0) {
insertSql.append(tableName);
insertSql.append("(");
for (int i = 0; i < args.length; i++) {
insertSql.append(args[i]);
insertSql.append(", ");
if (args[i].toUpperCase().equals("LAST_UPDATE_DATE")
|| args[i].toUpperCase().equals("CREATED_DATE")) {
values.append("to_date(?,'yyyy-MM-dd HH24:mi:ss'), ");
} else {
values.append("?, ");
}
}
} else {
return null;
}
insertSql.delete(insertSql.length() - 2, insertSql.length());
values.delete(values.length() - 2, values.length());
insertSql.append(") ").append(values).append(")");
return insertSql.toString();
}
/**
*
*
* @param tableName
* @param args
*
* @param args2
*
* @return
*/
public final static String GetCreateTableSQL(String tableName,
String[] args, String[] args2) {
if (args == null || args2 == null || args.length != args2.length) {
System.out.println("THE INPUT PRAGREMS IS ERROR");
return null;
}
StringBuffer createSQL = new StringBuffer("create table ");
createSQL.append(tableName);
createSQL.append("(");
for (int i = 0; i < args.length; i++) {
createSQL.append(args[i] + " ");
createSQL.append(args2[i] + ", ");
}
createSQL.delete(createSQL.length() - 2, createSQL.length());
createSQL.append(")");
return createSQL.toString();
}
/**
* Statement
*/
public final static PreparedStatement getPs(String sql) throws SQLException {
return getPs(sql, null);
}
/**
* Statement
*/
public final static PreparedStatement getPs(Object[] argments, String sql)
throws SQLException {
return getPs(sql, argments);
}
/**
* Statement
*/
public final static PreparedStatement getPs(String sql, Object[] argments)
throws SQLException {
SqlUtilT.ps = SqlUtilT.connection.prepareStatement(sql,ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_ONLY);
SqlUtilT.ps.setFetchSize(1000);
SqlUtilT.ps.setFetchDirection(ResultSet.FETCH_REVERSE);
if (argments != null) {
for (int i = 0; i < argments.length; i++) {
SqlUtilT.ps.setObject(i + 1, argments[i]);
}
}
return SqlUtilT.ps;
}
/**
*
*/
public final static int write(String sql) {
return write(sql, null);
}
/**
*
*/
public final static int write(Object[] argments, String sql) {
return write(sql, argments);
}
/**
*
*/
public final static int forWrite(Object[] argments, String sql) {
return forWrite(sql, argments);
}
/**
*
*/
public final static int write2(Object[] argments, String sql) {
return write2(sql, argments);
}
/**
*
*/
public final static int write(String sql, Object[] argments) {
return update(sql, argments);
}
public final static int forWrite(String sql, Object[] argments) {
return forUpdate(sql, argments);
}
/**
*
*/
public final static int write2(String sql, Object[] argments) {
return update2(sql, argments);
}
/**
*
*/
public final static int delete(String sql) {
return delete(sql, null);
}
/**
*
*/
public final static int delete(Object[] argments, String sql) {
return delete(sql, argments);
}
/**
*
*/
public final static int delete(String sql, Object[] argments) {
return update(sql, argments);
}
/**
*
*/
public final static int delete2(String sql) {
int i = -1;
try {
i = SqlUtilT.getPs(null,sql).executeUpdate();
SqlUtilT.connection.commit();
} catch (SQLException e) {
e.printStackTrace();
}
return i;
}
/**
*
*/
public final static int update(String sql) {
return update(sql, null);
}
/**
*
*/
public final static int update(String[] argments, String sql) {
return update(sql, argments);
}
/**
* (Connection),
*/
public final static int update2(String sql, Object[] argments) {
int i = -1;
try {
PreparedStatement statement=null;
while(statement==null) {
statement=SqlUtilT.getPs(argments, sql);
if(statement==null) {
getTCConnection();
System.out.println("+++++++++++++++++statement为空");
}
}
i = statement.executeUpdate();
//i = SqlUtilT.getPs(argments, sql).executeUpdate();
} catch (SQLException e) {
e.printStackTrace();
} finally {
free(SqlUtilT.rs, SqlUtilT.ps);
}
return i;
}
/**
* (Connection)
*/
public final static int update(String sql, Object[] argments) {
int i = -1;
try {
PreparedStatement statement=null;
while(statement==null) {
statement=SqlUtilT.getPs(argments, sql);
if(statement==null) {
getTCConnection();
System.out.println("+++++++++++++++++statement为空");
}
}
i = statement.executeUpdate();
//i = SqlUtilT.getPs(argments, sql).executeUpdate();
SqlUtilT.connection.commit();
} catch (SQLException e) {
e.printStackTrace();
} finally {
free(SqlUtilT.rs, SqlUtilT.ps);
}
return i;
}
public final static int forUpdate(String sql, Object[] argments) {
int i = -1;
try {
PreparedStatement statement=null;
while(statement==null) {
statement=SqlUtilT.getPs(argments, sql);
if(statement==null) {
getTCConnection();
System.out.println("+++++++++++++++++statement为空");
}
}
i = statement.executeUpdate();
//i = SqlUtilT.getPs(argments, sql).executeUpdate();
SqlUtilT.connection.commit();
} catch (SQLException e) {
e.printStackTrace();
}
return i;
}
/**
*
*/
public final static ResultSet read(String sql) throws SQLException {
return read(sql, null);
}
/**
*
*/
public final static ResultSet read(Object[] argments, String sql)
throws SQLException {
return read(sql, argments);
}
/**
* (便finally)
*
* @throws SQLException
*/
public final static ResultSet read(String sql, Object[] argments)
throws SQLException {
System.out.println("sql:"+sql);
return SqlUtilT.rs = SqlUtilT.getPs(argments, sql).executeQuery();
}
/**
*
*/
public final static boolean createTable(String sql) {
return go(sql, null);
}
/**
*
*/
public final static boolean dropTable(String sql) {
return go(sql, null);
}
/**
*
*/
public final static boolean alterTable(String sql) {
return go(sql, null);
}
/**
* DDL(,,)
*/
private final static boolean go(String sql, Object[] argments) {
boolean flag = false;
try {
flag = SqlUtilT.getPs(sql, argments).execute();
} catch (SQLException e) {
e.printStackTrace();
} finally {
free(SqlUtilT.rs, SqlUtilT.ps);
}
if (flag) {
try {
SqlUtilT.connection.commit();
} catch (SQLException e) {
e.printStackTrace();
}
}
return flag;
}
/**
*
*/
public final static void free(ResultSet resultSet) {
free(resultSet, null, null);
}
/**
*
*/
public final static void free(Statement statement) {
free(null, statement, null);
}
/**
*
*/
public final static void free(Connection connection) {
free(null, null, connection);
}
/**
*
*/
public final static void free(ResultSet resultSet, Statement statement) {
free(resultSet, statement, null);
}
/**
*
*/
public final static void free(Statement statement, Connection connection) {
free(null, statement, connection);
}
/**
* ()
*/
public final static void free() {
free(SqlUtilT.rs, SqlUtilT.ps);
}
/**
* ()
*/
public final static void freeAll() {
free(SqlUtilT.rs, SqlUtilT.ps, SqlUtilT.connection);
}
/**
* ()
*/
public final static void free(ResultSet resultSet, Statement statement,
Connection connection) {
try {
if (resultSet != null) {
try {
resultSet.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
} finally {
try {
if (statement != null) {
try {
statement.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
} finally {
if (connection != null) {
try {
connection.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
}
}
}
}

@ -0,0 +1,4 @@
driverClassName=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:@192.168.211.239:1521:tc121
username=infodba
password=infodba

@ -0,0 +1,428 @@
package com.connor.renben.process.plm.test;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.Image;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.Vector;
import javax.imageio.ImageIO;
import javax.swing.DefaultListSelectionModel;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import com.connor.renben.process.plm.util.CTextFieldButton;
import com.connor.renben.process.plm.util.ImageFilter;
import com.teamcenter.rac.util.PropertyLayout;
public class BZGY {
private static String imagePath;
// 页面所需控件
private static JFileChooser jfc;// 文件选择器
private static JPanel titlePanel;// 标题
private static JLabel titleLabel;
private static JPanel mainPanel;// 属性填写
private static JPanel panel1;// 第一行属性
private static JLabel bzfsLabel;// 包装方式
private static JComboBox<Object> bzfsComboBox;
private static JLabel qyfsLabel;// ?油方式
private static JComboBox<Object> qyfsComboBox;
private static JLabel numberLabel;// 每箱数量
private static JTextField numberTextField;
private static JLabel label;// 件/箱
private static JPanel panel2;// 第二行属性
private static JLabel cartonNameLabel;// 外纸箱名
private static CTextFieldButton cartonNameField;
private static JLabel packageQuotaLabel;// 包装定额
private static JTextField packageQuotaField;
private static JLabel label1;// 箱/时
private static JPanel panel3;// 第三行属性
private static JLabel nylonBagNameLabel;// 尼龙袋名
private static CTextFieldButton nylonBagNameField;
private static JLabel finishedProductWeightLabel;// 成品单重
private static JTextField finishedProductWeightField;
private static JLabel label2;// g
private static JPanel panel4;// 第四行属性
private static JLabel plasticUptakeNameLabel;// 吸塑名
private static CTextFieldButton plasticUptakeNameField;
private static JTextField plasticUptakeName2Field;
private static JLabel roughWeightLabel;// 整箱毛重
private static JTextField roughWeightField;
private static JLabel label3;// kg
private static JPanel panel5;// 第五行属性
private static JLabel outerBoxLabel;// 外箱标签
private static JComboBox<Object> outerBoxComboBox;// 外箱标签
private static JPanel panel6;// 第六行属性
private static JLabel explainLabel;//步骤说明
static JTextArea explainArea;
static JLabel attentionLabel;//注意事项
static JTextArea attentionArea;
//static JLabel
//private static JPanel panel6;// 图片
private static JLabel imageLabel;
private static JPanel rootPanel;
//按钮
private static JButton okButton;
//下拉Table
static boolean isshown = false;
static JScrollPane jspTable;
static JTable table;
static JFrame dialog;
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
dialog = new JFrame();
dialog.setSize(800,500);
dialog.setLocationRelativeTo(null);
dialog.setLayout(new BorderLayout());
dialog.setTitle("包装工艺");
//dialog.setPreferredSize(new Dimension(1000, 800));
titlePanel = new JPanel();
//titlePanel.setPreferredSize(new Dimension(520,300));
titleLabel = new JLabel("包装工艺");
titleLabel.setFont(new Font("宋体", 1, 18));
titlePanel.add(titleLabel);
panel1 = new JPanel(new PropertyLayout());
bzfsLabel = new JLabel("包装方式");
bzfsComboBox = new JComboBox<>();
bzfsComboBox.setPreferredSize(new Dimension(173, 20));
qyfsLabel = new JLabel("?油方式");
qyfsComboBox = new JComboBox<>();
qyfsComboBox.setPreferredSize(new Dimension(171, 20));
numberLabel = new JLabel("每箱数量");
numberTextField = new JTextField(8);
label = new JLabel("件/箱");
panel1.add("1.1.left.top", bzfsLabel);
panel1.add("1.2.left.top", bzfsComboBox);
panel1.add("1.3.left.top", qyfsLabel);
panel1.add("1.4.left.top", qyfsComboBox);
panel1.add("1.5.left.top", numberLabel);
panel1.add("1.6.left.top", numberTextField);
panel1.add("1.7.left.top", label);
panel2 = new JPanel(new PropertyLayout());
cartonNameLabel = new JLabel("外纸箱名");
cartonNameField = new CTextFieldButton (36){
@Override
public void handleClick(CTextFieldButton textFieldButton) {
// TODO Auto-generated method stub
if (isshown) {
dialog.getLayeredPane().remove(jspTable);
isshown = false;
} else {
jspTable = getJspTable();
int x = mainPanel.getX()+numberLabel.getWidth();
int y = mainPanel.getY()+5 + numberTextField.getHeight()*2;
System.out.println("X==============================="+x+"Y==============="+y);
jspTable.setLocation(x, y);
dialog.getLayeredPane().add(jspTable, 0);
isshown = true;
table.requestFocus();
}
dialog.getLayeredPane().validate();
dialog.getLayeredPane().repaint();
}};
packageQuotaLabel = new JLabel("包装定额");
packageQuotaField = new JTextField(8);
label1 = new JLabel("箱/时");
panel2.add("1.1.left.top", cartonNameLabel);
panel2.add("1.2.left.top", cartonNameField);
panel2.add("1.3.left.top", packageQuotaLabel);
panel2.add("1.4.left.top", packageQuotaField);
panel2.add("1.5.left.top", label1);
panel3 = new JPanel(new PropertyLayout());
nylonBagNameLabel = new JLabel("尼龙袋名");
nylonBagNameField = new CTextFieldButton (36){
@Override
public void handleClick(CTextFieldButton textFieldButton) {
if (isshown) {
dialog.getLayeredPane().remove(jspTable);
isshown = false;
} else {
jspTable = getJspTable();
int x = mainPanel.getX()+packageQuotaLabel.getWidth();
int y = mainPanel.getY()+10 + nylonBagNameField.getHeight()*3;
System.out.println("X==============================="+x+"Y==============="+y);
jspTable.setLocation(x, y);
dialog.getLayeredPane().add(jspTable, 0);
isshown = true;
table.requestFocus();
}
dialog.getLayeredPane().validate();
dialog.getLayeredPane().repaint();
}};
finishedProductWeightLabel = new JLabel("成品单重");
finishedProductWeightField = new JTextField(8);
label2 = new JLabel("g");
panel3.add("1.1.left.top", nylonBagNameLabel);
panel3.add("1.2.left.top", nylonBagNameField);
panel3.add("1.3.left.top", finishedProductWeightLabel);
panel3.add("1.4.left.top", finishedProductWeightField);
panel3.add("1.5.left.top", label2);
panel4 = new JPanel(new PropertyLayout());
plasticUptakeNameLabel = new JLabel(" 吸塑名");
plasticUptakeNameField = new CTextFieldButton (30){
@Override
public void handleClick(CTextFieldButton textFieldButton) {
// TODO Auto-generated method stub
}};
plasticUptakeName2Field = new JTextField();
plasticUptakeName2Field.setPreferredSize(new Dimension(62, 20));
roughWeightLabel = new JLabel("整箱毛重");
roughWeightField = new JTextField(8);
label3 = new JLabel("kg");
panel4.add("1.1.left.top", plasticUptakeNameLabel);
panel4.add("1.2.left.top", plasticUptakeNameField);
panel4.add("1.3.left.top", plasticUptakeName2Field);
panel4.add("1.4.left.top", roughWeightLabel);
panel4.add("1.5.left.top", roughWeightField);
panel4.add("1.6.left.top", label3);
panel5 = new JPanel(new PropertyLayout());
outerBoxLabel = new JLabel("外箱标签");
outerBoxComboBox = new JComboBox<>();
outerBoxComboBox.setPreferredSize(new Dimension(400, 20));
panel5.add("1.1.left.top", outerBoxLabel);
panel5.add("1.2.left.top", outerBoxComboBox);
imageLabel = new JLabel("请选择图片");
imageLabel.setPreferredSize(new Dimension(200,130));
Image image = getImage();
if(image!=null)
{
ImageIcon icon = new ImageIcon(image);
icon.setImage(icon.getImage().getScaledInstance((int)imageLabel.getPreferredSize().getWidth(),(int)imageLabel.getPreferredSize().getHeight(), Image.SCALE_DEFAULT));
imageLabel.setIcon(icon);
}
imageLabel.setOpaque(true);
imageLabel.setBackground(Color.WHITE);
imageLabel.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent arg0) {
// TODO Auto-generated method stub
if(arg0.getClickCount() == 2)
{
selectFileButtonEvent(arg0);
}
//super.mouseClicked(arg0);
}
});
//panel6.add("2.2.left.top", panel10);
rootPanel = new JPanel(new FlowLayout());
okButton = new JButton("保存");
okButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent arg0) {
// TODO Auto-generated method stub
//获取数据库连接
// SqlUtilT.getConnectionTC10();
//SqlUtilT.getConnection("jdbc:Oracle:thin:@localhost:1521:TC10","tc10", "infodba");
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:Oracle:thin:@localhost:1521:TC10","tc10", "infodba");
//建立数据库联机其中denglu为数据库名sa为连接数据库的帐号及密码。
Statement stmt=con.createStatement(); //建立Statement对象
FileInputStream str=new FileInputStream(imagePath);
String sql="insert into rb3_test values(?)";
PreparedStatement pstmt=con.prepareStatement(sql);
pstmt.setBinaryStream(1, str, str.available());
pstmt.execute();
} catch (Exception e) {
e.printStackTrace();
} //图片文件路径
}
});
rootPanel.add(okButton);
mainPanel = new JPanel(new PropertyLayout());
mainPanel.add("1.1.left.top", panel1);
mainPanel.add("2.1.left.top", panel2);
mainPanel.add("3.1.left.top", panel3);
mainPanel.add("4.1.left.top", panel4);
mainPanel.add("5.1.left.top", panel5);
JPanel panel = new JPanel(new PropertyLayout());
panel.add("1.1.left.top",mainPanel);
panel.add("1.2.left.top",imageLabel);
panel6 = new JPanel(new PropertyLayout());
explainLabel = new JLabel("步骤说明");
explainArea = new JTextArea();
explainArea.setPreferredSize(new Dimension(450, 200));
panel6.add("1.1.left.top", explainLabel);
panel6.add("2.1.left.top", explainArea);
JPanel panel7 = new JPanel(new PropertyLayout());
attentionLabel = new JLabel("注意事项");
attentionArea = new JTextArea();
attentionArea.setPreferredSize(new Dimension(400, 100));
panel7.add("1.1.left.top", attentionLabel);
panel7.add("2.1.left.top", attentionArea);
JPanel panel8 = new JPanel(new PropertyLayout());
panel8.add("1.1.left.top", panel6);
panel8.add("1.2.left.top", panel7);
JPanel panel9 = new JPanel(new PropertyLayout());
panel9.add("1.1.left.top", panel);
panel9.add("2.1.left.top", panel8);
dialog.add(titlePanel,BorderLayout.NORTH);
dialog.add(rootPanel, BorderLayout.SOUTH);
dialog.add(panel9, BorderLayout.CENTER);
dialog.show();
}
/**
*
* @param e
*/
public static void selectFileButtonEvent(MouseEvent e) {
jfc = new JFileChooser();
jfc.setFileFilter(new ImageFilter());
jfc.setCurrentDirectory(new File("c:\\"));// 文件选择器的初始目录定为d盘
int state = jfc.showOpenDialog(null);// 此句是打开文件选择器界面的触发语句
if (state == 1) {
return;
} else {
File f = jfc.getSelectedFile();// f为选择到的目录
imagePath = f.getAbsolutePath();
System.out.println(f.getAbsolutePath());
ImageIcon icon = new ImageIcon(f.getAbsolutePath());
icon.setImage(icon.getImage().getScaledInstance(icon.getIconWidth(),
icon.getIconHeight(), Image.SCALE_DEFAULT));
((JLabel)e.getSource()).setIcon(icon);
}
}
static Image getImage()
{
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con=DriverManager.getConnection("jdbc:Oracle:thin:@localhost:1521:TC10","tc10", "infodba");
Statement stmt=con.createStatement();
ResultSet rs=null;
String sql = "select * from RB3_PACKAGEPROCESS";
rs=stmt.executeQuery(sql);
if(rs.next()) {
//图片输出的输出流
InputStream in = rs.getBinaryStream("RB3_PACK_IMAGE");
//byte b[] = new byte[0x7a120];
// for(int i = in.read(b); i != -1;)
// {
// //将缓冲区的输入输出到页面
// in.read(b);
// }
return ImageIO.read(in);
}
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}
return null;
}
private static JScrollPane getJspTable() {
if (jspTable == null) {
Vector<Vector> rowdata = new Vector<Vector>();
for (int i = 0; i < 10; i++) {
Vector<String> row = new Vector<String>();
row.add("000" + i);
row.add("CustomName" + i);
row.add("CustomAddress" + i);
rowdata.add(row);
}
Vector<String> header = new Vector<String>();
header.add("孔数");
header.add("型号");
header.add("规格");
header.add("产品");
table = new JTable(rowdata, header);
table.setSelectionMode(DefaultListSelectionModel.SINGLE_SELECTION);
table.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
if (e.getClickCount() == 1) {
int row = table.getSelectedRow();
nylonBagNameField.setText(table.getValueAt(row, 1).toString()
+ "" + table.getValueAt(row, 2).toString()
+ "");
dialog.getLayeredPane().remove(jspTable);
isshown = false;
dialog.getLayeredPane().validate();
dialog.getLayeredPane().repaint();
}
}
});
table.addFocusListener(new FocusListener() {
public void focusGained(FocusEvent e) {
}
public void focusLost(FocusEvent e) {
Component target = e.getOppositeComponent();
if (target == nylonBagNameField) {
return;
} else {
dialog.getLayeredPane().remove(jspTable);
isshown = false;
dialog.getLayeredPane().validate();
dialog.getLayeredPane().repaint();
}
}
});
jspTable = new JScrollPane(table);
//jspTable.setViewportView(table);
jspTable.setSize(new Dimension(350, 100));
}
return jspTable;
}
}

@ -0,0 +1,525 @@
package com.connor.renben.process.plm.test;
import java.awt.print.PageFormat;
import java.awt.print.Paper;
import java.awt.print.PrinterException;
import java.awt.print.PrinterJob;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.math.BigDecimal;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.JFileChooser;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.Name;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.util.AreaReference;
import org.apache.poi.ss.util.CellReference;
import org.apache.poi.xssf.usermodel.XSSFCell;
import org.apache.poi.xssf.usermodel.XSSFCellStyle;
import org.apache.poi.xssf.usermodel.XSSFDataFormat;
import org.apache.poi.xssf.usermodel.XSSFFont;
import org.apache.poi.xssf.usermodel.XSSFRichTextString;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import com.spire.xls.Workbook;
public class D {
public static void main(String[] args) throws IOException, SQLException {
// boolean is_many = false;
// int num = 0;
// StringBuilder sql =
// new StringBuilder()
// .append("select rb3_qptbh,rb3_cp,rb3_cpgc,rb3_clff ,rb3_rl,rb3_pl,rb3_special,rb3_tstx,rb3_jqsb ,rb3_sjsj,rb3_gcsj,rb3_mjsj from rb3_controlplan where rb3_meopid='A0044_MEOP999' and type='RB3_SSCKZJH'") ;//and RB3_smjy like '%首件%'";
// System.out.println(sql.toString());
// ResultSet rs = null;
// com.connor.renben.process.plm.sql.util.SqlUtilT.getTCConnection();
//
// rs = com.connor.renben.process.plm.sql.util.SqlUtilT
// .read(sql.toString());
// ArrayList<ArrayList<String>> data = new ArrayList<>();
//
//
// while(rs.next()){
// ArrayList<String> arr = new ArrayList<>();
// String qptbh = getDate(rs.getString("RB3_QPTBH"));
//// arr.add(qptbh);
// arr.add(getDate(rs.getString("RB3_CP")));
// if(rs.getString("RB3_CPGC").indexOf("-")!=-1){
// num = Integer.valueOf(getNum(rs.getString("RB3_CPGC").split("-")[0]));
//
// }
// arr.add(getDate(rs.getString("RB3_CPGC"))+"special"+rs.getString("RB3_SPECIAL"));
//
// arr.add(qptbh);
//// if(!have_rb3_jqsb)
//// rb3_jqsb = getDate(rs.getString("RB3_JQSB"));
//
//
//// checkClFF(data,arr,qptbh,qptbhs,cpgc,1,is_first);
//// is_first = false;
//// qptbhs.add(qptbh);
// if(num!=0)
// for(int i = 0 ;i<num;i++){
//
// data.add(arr);
// }
// else
// data.add(arr);
//
// }
// System.out.println(data.toString());
//
//// ArrayList<ArrayList<String>> data = new ArrayList<>();
//// ArrayList<String> arr = new ArrayList<>();
//// arr.add("1");
//// arr.add("2-1");
//// arr.add("1");
//// arr.add("1");
//// arr.add("1");
//// arr.add("1");
//// data.add(arr);
// ArrayList<String> list = new ArrayList<>();
// list.add(" ");
// writeExcelForCXCheckTable("C:\\222222.xlsx", data, true,list);
printFileAction();
}
private static void printFileAction()
{
JFileChooser fileChooser = new JFileChooser();
int state = fileChooser.showOpenDialog(null);// 弹出文件选择对话框
if (state == fileChooser.APPROVE_OPTION)// 如果用户选定了文件
{
File file = fileChooser.getSelectedFile();// 获取选择的文件
//加载excel工作簿
// Document doc = new Document();
// PDDocument doc = PDDocument.load(file);
//加载现有的PDF文件
//d.loadFromFile(file.getAbsolutePath());
//保存为Doc文件格式
//doc.saveToFile("C:\\ToDoc.doc",FileFormat.DOC);
Workbook workbook = new Workbook();
workbook.loadFromFile(file.getAbsolutePath());
//
//创建 PrinterJob对象
PrinterJob printerJob = PrinterJob.getPrinterJob();
//指定打印页面为默认大小和方向
PageFormat pageFormat = printerJob.defaultPage();
//设置相关打印选项
Paper paper = pageFormat.getPaper();
paper.setImageableArea(0, 0, pageFormat.getWidth(), pageFormat.getHeight());
pageFormat.setPaper(paper);
printerJob.printDialog();
// FileInputStream fis = new FileInputStream(file);// 构造待打印的文件流
//
// DocAttributeSet das = new HashDocAttributeSet();
//
// Doc doc = new SimpleDoc(fis, flavor, das);// 建立打印文件格式
printerJob.setCopies(1);
printerJob.setPrintable(workbook, pageFormat);
//执行打印
try {
printerJob.print();
} catch (PrinterException e) {
e.printStackTrace();
}
}
// // 构造一个文件选择器,默认为当前目录
//
//// PrinterJob printerJob = PrinterJob.getPrinterJob();
// JFileChooser fileChooser = new JFileChooser();
//
// int state = fileChooser.showOpenDialog(null);// 弹出文件选择对话框
//
// if (state == fileChooser.APPROVE_OPTION)// 如果用户选定了文件
//
// {
//
// File file = fileChooser.getSelectedFile();// 获取选择的文件
//
// // 构建打印请求属性集
//
// PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
// // 设置打印格式,因为未确定文件类型,这里选择 AUTOSENSE
//
// DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
//
// // 查找所有的可用打印服务
//
// PrintService printService[] =
//
// PrintServiceLookup.lookupPrintServices(null, pras);
//
// // 定位默认的打印服务
//
// PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
//
// // 显示打印对话框
//
// PrintService service = ServiceUI.printDialog(null, 200, 200, printService
//
// , defaultService, null, pras);
//
// if (service != null)
//
// {
//
// try
//
// {
// DocPrintJob job = service.createPrintJob();// 创建打印作业
//
// FileInputStream fis = new FileInputStream(file);// 构造待打印的文件流
//
// DocAttributeSet das = new HashDocAttributeSet();
//
// Doc doc = new SimpleDoc(fis, flavor, das);// 建立打印文件格式
//
// job.print(doc, pras);// 进行文件的打印
//
// }
//
// catch (Exception e)
//
// {
//
// e.printStackTrace();
//
// }
//
// }
//
// }
}
private static void writeExcelForCXCheckTable(String write_Address,ArrayList<ArrayList<String>> date,boolean hava_minAndMax, ArrayList<String> shousuobi_list){
try {
InputStream is = D.class.getResourceAsStream("成形工序过程自检记录表(操作工).xlsx");
XSSFWorkbook wb = new XSSFWorkbook(is);
is.close();
OutputStream output = new FileOutputStream(new File(write_Address));
XSSFCellStyle style = wb.createCellStyle();
// if(rb3_jqsb!=null)
// ExcelUtil07.writeExcelWithOneCellName(wb, "生产设备", rb3_jqsb);
style.setBorderBottom(XSSFCellStyle.BORDER_THIN);
style.setBorderTop(XSSFCellStyle.BORDER_THIN);
style.setBorderRight(XSSFCellStyle.BORDER_THIN);
style.setBorderLeft(XSSFCellStyle.BORDER_THIN);
style.setAlignment(XSSFCellStyle.ALIGN_CENTER);
XSSFFont font = wb.createFont();
// XSSFCellStyle style =wb.createCellStyle();
XSSFDataFormat df = wb.createDataFormat();
font.setFontHeightInPoints((short) 8);
style.setFont(font);
XSSFSheet sheet = wb.getSheetAt(0);
sheet.setForceFormulaRecalculation(true);
sheet.protectSheet("");
style.setLocked(false);
for (int i = 0; i < date.size(); i++) {
ArrayList<String> cell_Date = date.get(i);
System.out.println(cell_Date.toString());
for (int j = 0; j < cell_Date.size(); j++) {
int namedCellIdx = wb.getNameIndex("head"
+ String.valueOf(j + 1));
Name aNamedCell = wb.getNameAt(namedCellIdx);
AreaReference[] arefs = AreaReference
.generateContiguous(aNamedCell.getRefersToFormula());
CellReference[] crefs = arefs[0].getAllReferencedCells();
for (int k = 0; k < crefs.length; k++) {
Sheet s = wb.getSheet(crefs[k].getSheetName());
Row r = s.getRow(crefs[k].getRow() + i + 1);
Cell c = r.getCell(crefs[k].getCol());
if(j==1){
// int num = 0;
//
// if(cell_Date.get(j).indexOf("-")!=-1){
// num = Integer.valueOf(getNum(cell_Date.get(j).split("-")[0]));
// date.add(i+1,cell_Date);
// System.out.println(date.toString());
// }
// for(int z = 0;z<num;z++){
ArrayList<String> arr = getCPGCMaxAndMix(cell_Date.get(j)," ");
// if(shousuobi_list.get(i)!=" "){
//// if(cell_Date.get(j).indexOf("±")!=-1){
//// c.setCellValue(cell_Date.get(j).split("±")[0]+"±"+String.valueOf(after_shousuo));
//// }
//// else{
c.setCellValue(cell_Date.get(j));
//// }
//
// }
if(hava_minAndMax){
String ss = cell_Date.get(j+1);
// DecimalFormat df;
// if(ss.indexOf("卡尺")!=-1||ss.indexOf("百分表")!=-1||ss.indexOf("千分表")!=-1)
// df = new DecimalFormat("##0.00");
// else
// df = new DecimalFormat("##0.00");
// System.out.println(df.format(Double.valueOf(arr.get(1))*((100-Float.valueOf(shousuobi.split("%")[0]))/100.0)));
Cell minCell = null;
minCell = r.getCell(crefs[k].getCol()+1);
Cell maxCell = null;
maxCell = r.getCell(crefs[k].getCol()+2);
if(minCell == null)
{
minCell = r.createCell(crefs[k].getCol()+1);
}
if(maxCell == null)
{
maxCell = r.getCell(crefs[k].getCol()+2);
}
XSSFCellStyle cellstyle = wb.createCellStyle();
cellstyle = (XSSFCellStyle) minCell.getCellStyle();
cellstyle = (XSSFCellStyle) maxCell.getCellStyle();
// cellstyle.setBorderBottom(XSSFCellStyle.BORDER_THIN);
// cellstyle.setBorderTop(XSSFCellStyle.BORDER_THIN);
// cellstyle.setBorderRight(XSSFCellStyle.BORDER_THIN);
// cellstyle.setBorderLeft(XSSFCellStyle.BORDER_THIN);
// cellstyle.setAlignment(XSSFCellStyle.ALIGN_CENTER);
String format = "0.0000000000";
// if(position==0){
// cellstyle.setDataFormat(df.getFormat(format.substring(0, position+2)));
// }
// if(ss.indexOf("卡尺")!=-1||ss.indexOf("百分表")!=-1||ss.indexOf("千分表")!=-1)
// cellstyle.setDataFormat(df.getFormat("0.00"));
// else if(ss.indexOf("千分尺")!=-1)
// cellstyle.setDataFormat(df.getFormat("0.000"));
// else
// cellstyle.setDataFormat(df.getFormat("0.0000"));
// if(!" ".equals(shousuobi_list.get(i))){
// minCell.setCellValue(df.format(Double.valueOf(arr.get(0))*(Float.valueOf(shousuobi_list.get(i)))));
// maxCell.setCellValue(df.format(Double.valueOf(arr.get(1))*(Float.valueOf(shousuobi_list.get(i)))));
// }
// else{
if(arr.get(0) != null && arr.get(0) != " " && arr.get(0)!="OK")
{
minCell.setCellType(XSSFCell.CELL_TYPE_NUMERIC);
minCell.setCellStyle(cellstyle);
minCell.setCellValue(Double.parseDouble(arr.get(0)));
}
else
minCell.setCellValue(arr.get(0));
if(arr.get(1)!=null&&arr.get(1)!= " " && arr.get(1)!="OK"){
maxCell.setCellType(XSSFCell.CELL_TYPE_NUMERIC);
maxCell.setCellStyle(cellstyle);
maxCell.setCellValue(Double.parseDouble(arr.get(1)));
}
else
maxCell.setCellValue(arr.get(1));
// }
// maxCell.setCellValue(arr.get(1));
}
}
else
c.setCellValue(cell_Date.get(j));
}
}
}
wb.write(output);
output.close();
System.out.println("-------WRITE EXCEL OVER-------");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public static XSSFRichTextString setCellFont(XSSFWorkbook wb, String s,
int firstIndex, int lastIndex, int fontSize, String FontName) {
XSSFRichTextString ts = new XSSFRichTextString(s);
XSSFFont font1 = (XSSFFont) wb.createFont();
font1.setFontHeightInPoints((short) 8); // 字体高度
font1.setFontName("宋体"); // 字体
// font1.setBoldweight(XSSFFont.BOLDWEIGHT_BOLD); // 宽度
XSSFFont font = (XSSFFont) wb.createFont();
font.setFontHeightInPoints((short) fontSize); // 字体高度
font.setFontName(FontName); // 字体
// font.setBoldweight(XSSFFont.BOLDWEIGHT_BOLD); // 宽度
ts.applyFont(firstIndex, lastIndex, font);
ts.applyFont(lastIndex, ts.length(), font1);
return ts;
}
/**
*
* @param str
* @return
*/
public static ArrayList<String> getCPGCMaxAndMix(String str,String gc) {
ArrayList<String> data = new ArrayList<>();
List<String> list = new ArrayList<>();
if(str.indexOf("±")!=-1){
String[] ss = str.split("±");
System.out.println(ss.length);
for(String s :ss){
System.out.println(s);
list.add(getNum(s));
}
if(list.size()>=2){
BigDecimal b0 = new BigDecimal(list.get(0));
BigDecimal b1 = new BigDecimal(list.get(1));
String v1 = null;
String v2 = null;
if(!" ".equals(gc)){
String s1 = getNum(list.get(1));
BigDecimal b2 = null;
if(gc.indexOf("%")!=-1)
b2 = new BigDecimal(getNum((Double.valueOf(gc.split("%")[0])/100)+""));
else
b2 = new BigDecimal(getNum(gc));
v1 = String.valueOf(b0.subtract(new BigDecimal(Double.toString(b1.multiply(b2).doubleValue()))));
v2 = String.valueOf(b0.add(new BigDecimal(Double.toString(b1.multiply(b2).doubleValue()))));
data.add(v1);
data.add(v2);
}
else{
v1 = String.valueOf(b0.subtract(b1));
v2 = String.valueOf(b0.add(b1));
data.add(v1);
data.add(v2);
}
int position1 = v1.length() - v1.indexOf(".")-1 ;
int position2 = v2.length() - v2.indexOf(".")-1 ;
}
return data;
}
if(str.toUpperCase().indexOf("MAX")!=-1||str.indexOf("≤")!=-1||str.indexOf("<")!=-1||str.indexOf("")!=-1){
if(!" ".equals(gc)){
String s1 = getNum(str);
BigDecimal b1 = new BigDecimal(getNum(str));
BigDecimal b2 = new BigDecimal(getNum(gc));
String val = String.valueOf(b1.multiply(b2).doubleValue());
data.add("0");
data.add(val);
}
else{
data.add("0");
data.add(getNum(str));
}
return data;
}
if(str.toUpperCase().indexOf("MIN")!=-1||str.indexOf("≥")!=-1||str.indexOf(">")!=-1||str.indexOf("")!=-1){
if(!" ".equals(gc)&&!"0".equals(gc)){
String s1 = getNum(str);
BigDecimal b1 = new BigDecimal(getNum(str));
BigDecimal b2 = new BigDecimal(getNum(gc));
// String val = String.valueOf(b1.multiply(b2).doubleValue());
String val = String.valueOf(b1.divide(b2,10,BigDecimal.ROUND_HALF_UP).doubleValue());
data.add(val);
data.add("0");
}
else{
data.add(getNum(str));
data.add(" ");
}
return data;
}
if(str.indexOf("~")!=-1){
data.add(getNum(str.split("~")[0]));
data.add(getNum(str.split("~")[1]));
return data;
}
if(getNum(str)!=""){
if(!" ".equals(gc)){
String s1 = getNum(str);
BigDecimal b1 = new BigDecimal(getNum(str));
BigDecimal b2 = new BigDecimal(getNum(gc));
String val = String.valueOf(b1.multiply(b2).doubleValue());
data.add("0");
data.add(val);
}
else{
data.add("0");
data.add(getNum(str));
}
return data;
}
if(getNum(str)==""){
data.add("OK");
data.add("OK");
return data;
}
return data;
}
private static String getNum(String str) {
Pattern p = Pattern.compile("(\\d+\\.\\d+)");
//Matcher类的构造方法也是私有的,不能随意创建,只能通过Pattern.matcher(CharSequence input)方法得到该类的实例.
Matcher m = p.matcher(str);
//m.find用来判断该字符串中是否含有与"(\\d+\\.\\d+)"相匹配的子串
if (m.find()) {
//如果有相匹配的,则判断是否为null操作
//group()中的参数0表示匹配整个正则1表示匹配第一个括号的正则,2表示匹配第二个正则,在这只有一个括号,即1和0是一样的
str = m.group(1) == null ? "" : m.group(1);
} else {
//如果匹配不到小数,就进行整数匹配
p = Pattern.compile("(\\d+)");
m = p.matcher(str);
if (m.find()) {
//如果有整数相匹配
str = m.group(1) == null ? "" : m.group(1);
} else {
//如果没有小数和整数相匹配,即字符串中没有整数和小数,就设为空
str = "";
}
}
return str;
}
private static String getDate(String str){
if(str!=null)
return str.split("\n")[0];
return " ";
}
}

@ -0,0 +1,99 @@
package com.connor.renben.process.plm.test;
import java.awt.BorderLayout;
import java.awt.Dialog;
import java.awt.Dimension;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode;
import com.connor.renben.process.plm.util.ExcelUtil07;
import com.connor.renben.process.plm.util.TMomMethodUtil;
public class DialogTest extends JFrame {
public DialogTest(Dialog owner) {
// TODO Auto-generated constructor stub
init();
}
private void init() {
// TODO Auto-generated method stub
this.add(new MultiComboBox(new String[] {"1"},new String[] {"1"}));
this.pack();
this.show();
}
private JPanel createIterationPane() {
JPanel pane = new JPanel();
pane.add(BorderLayout.WEST, new JLabel("迭代"));
JComboBox iterationBox = new JComboBox();
iterationBox.setPreferredSize(new Dimension(200, 20));
iterationBox.setEditable(true);
// 定义几个初始节点
File file = new File("C:\\Users\\Administrator\\Desktop\\web\\委托单下拉选项.xlsx");
DefaultMutableTreeNode parentNode = null;
try {
parentNode = ExcelUtil07.readExcelNodeByEntrustment(file, "应用领域");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
// DefaultMutableTreeNode parentNode = new DefaultMutableTreeNode(
// "Agile.201304.WI");
//
// DefaultMutableTreeNode iteration1 = new DefaultMutableTreeNode("迭代1");
//
// DefaultMutableTreeNode iteration2 = new DefaultMutableTreeNode("迭代2");
//
// DefaultMutableTreeNode iteration3 = new DefaultMutableTreeNode("迭代3");
//
// // 通过add方法建立树节点之间的父子关系
//
// parentNode.add(iteration1);
//
// parentNode.add(iteration2);
//
// parentNode.add(iteration3);
// 以根节点创建树
JTree tree = new JTree(parentNode);
// 设置是否显示根节点的“展开/折叠”图标,默认是false
tree.setShowsRootHandles(true);
// 设置节点是否可见,默认是true
tree.setRootVisible(true);
iterationBox.addItem(parentNode);// 添加到下拉框
pane.add(iterationBox);
return pane;
}
}

@ -0,0 +1,208 @@
package com.connor.renben.process.plm.test;
import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Graphics;
import java.awt.Insets;
import java.awt.LayoutManager;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JTextField;
import javax.swing.UIManager;
import javax.swing.plaf.basic.BasicArrowButton;
import com.teamcenter.rac.util.PropertyLayout;
public class MultiComboBox extends JComponent {
private Object[] values;
public Object[] defaultValues;
private List<ActionListener> listeners = new ArrayList<ActionListener>();
public MultiPopup popup;
public JTextField editor;
protected JButton arrowButton;
private String valueSperator;
private static final String DEFAULT_VALUE_SPERATOR = ",";
public MultiComboBox(Object[] value, Object[] defaultValue){
this(value,defaultValue,DEFAULT_VALUE_SPERATOR);
}
public MultiComboBox(Object[] value, Object[] defaultValue , String valueSperator) {
values = value;
defaultValues = defaultValue;
this.valueSperator = valueSperator;
initComponent();
}
private void initComponent() {
//暂时使用该布局,后续自己写个布局
this.setLayout(new PropertyLayout());
//this.set
popup =new MultiPopup(values,defaultValues);
popup.addActionListener(new PopupAction());
editor = new JTextField();
editor.setBackground(Color.WHITE);
editor.setEditable(false);
editor.setPreferredSize(new Dimension(150,30));
// editor.setBorder(getBorder());
editor.addMouseListener(new EditorHandler());
arrowButton = createArrowButton();
arrowButton.setPreferredSize(new Dimension(465, 50));
arrowButton.addMouseListener(new EditorHandler());
add("1.1.left.top",editor);
add("1.2.left.top",arrowButton);
//add(arrowButton);
setText() ;
}
public Object[] getSelectedValues() {
return popup.getSelectedValues();
}
public void addActionListener(ActionListener listener) {
if (!listeners.contains(listener))
listeners.add(listener);
}
public void removeActionListener(ActionListener listener) {
if (listeners.contains(listener))
listeners.remove(listener);
}
protected void fireActionPerformed(ActionEvent e) {
for (ActionListener l : listeners) {
l.actionPerformed(e);
}
}
private class PopupAction implements ActionListener{
public void actionPerformed(ActionEvent e) {
if(e.getActionCommand().equals(MultiPopup.CANCEL_EVENT)){
}else if(e.getActionCommand().equals(MultiPopup.COMMIT_EVENT)){
defaultValues = popup.getSelectedValues();
setText();
//把事件继续传递出去
fireActionPerformed(e);
}
togglePopup();
}
}
private void togglePopup(){
if(popup.isVisible()){
popup.setVisible(false);
}else{
popup.setDefaultValue(defaultValues);
popup.show(this, 0, getHeight());
}
this.setPreferredSize(new Dimension(950, 20));
}
private void setText() {
StringBuilder builder = new StringBuilder();
for(Object dv : defaultValues){
builder.append(dv);
builder.append(valueSperator);
}
editor.setText(builder.substring(0, builder.length() > 0 ? builder.length() -1 : 0).toString());
}
private class EditorHandler implements MouseListener{
public void mouseClicked(MouseEvent e) {
togglePopup();
}
public void mousePressed(MouseEvent e) {
}
public void mouseReleased(MouseEvent e) {
}
public void mouseEntered(MouseEvent e) {
}
public void mouseExited(MouseEvent e) {
}
}
public void paintComponent(Graphics g){
g.setColor(Color.white);
g.fillRect(0,0,getWidth(),getHeight());
}
protected JButton createArrowButton() {
JButton button = new BasicArrowButton(BasicArrowButton.SOUTH,
UIManager.getColor("ComboBox.buttonBackground"),
UIManager.getColor("ComboBox.buttonShadow"),
UIManager.getColor("ComboBox.buttonDarkShadow"),
UIManager.getColor("ComboBox.buttonHighlight"));
button.setName("ComboBox.arrowButton");
return button;
}
private class MulitComboboxLayout implements LayoutManager{
public void addLayoutComponent(String name, Component comp) {
// TODO Auto-generated method stub
}
public void removeLayoutComponent(Component comp) {
// TODO Auto-generated method stub
}
public Dimension preferredLayoutSize(Container parent) {
return parent.getPreferredSize();
}
public Dimension minimumLayoutSize(Container parent) {
return parent.getMinimumSize();
}
public void layoutContainer(Container parent) {
int w=parent.getWidth();
int h=parent.getHeight();
Insets insets=parent.getInsets();
h=h-insets.top-insets.bottom;
}
}
}

@ -0,0 +1,206 @@
package com.connor.renben.process.plm.test;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JPanel;
import javax.swing.JPopupMenu;
import javax.swing.JScrollPane;
import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.TreePath;
import com.connor.renben.process.plm.util.ExcelUtil07;
import com.teamcenter.rac.util.MessageBox;
public class MultiPopup extends JPopupMenu {
private List<ActionListener> listeners = new ArrayList<ActionListener>();
private Object[] values;
private Object[] defaultValues;
//private List<JCheckBox> checkBoxList = new ArrayList<JCheckBox>();
private JTree tree;
private JButton commitButton ;
private JButton cancelButton;
public static final String COMMIT_EVENT = "commit";
public static final String CANCEL_EVENT = "cancel";
public MultiPopup(Object[] value , Object[] defaultValue) {
super();
values = value;
defaultValues = defaultValue;
initComponent();
}
public void addActionListener(ActionListener listener) {
if (!listeners.contains(listener))
listeners.add(listener);
}
public void removeActionListener(ActionListener listener) {
if (listeners.contains(listener))
listeners.remove(listener);
}
private void initComponent() {
JPanel treePane = new JPanel();
JPanel buttonPane = new JPanel();
this.setLayout(new BorderLayout());
// 定义几个初始节点
File file = new File("C:\\Users\\Administrator\\Desktop\\web\\委托单下拉选项.xlsx");
DefaultMutableTreeNode parentNode = null;
try {
parentNode = ExcelUtil07.readExcelNodeByEntrustment(file, "应用领域");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
this.setPreferredSize(new Dimension(465, 400));
// DefaultMutableTreeNode parentNode = new DefaultMutableTreeNode(
// "Agile.201304.WI");
//
// DefaultMutableTreeNode iteration1 = new DefaultMutableTreeNode("迭代1");
//
// DefaultMutableTreeNode iteration2 = new DefaultMutableTreeNode("迭代2");
//
// DefaultMutableTreeNode iteration3 = new DefaultMutableTreeNode("迭代3");
//
// // 通过add方法建立树节点之间的父子关系
//
// parentNode.add(iteration1);
//
// parentNode.add(iteration2);
//
// parentNode.add(iteration3);
// 以根节点创建树
tree = new JTree(parentNode);
// 设置是否显示根节点的“展开/折叠”图标,默认是false
tree.setShowsRootHandles(true);
// 设置节点是否可见,默认是true
tree.setRootVisible(true);
treePane.setLayout(new GridLayout(0 , 1 ,3, 3));
treePane.add(new JScrollPane(tree));
// for(JCheckBox box : checkBoxList){
// checkboxPane.add(box);
// }
commitButton = new JButton("确定");
commitButton.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e) {
commit();
}
});
cancelButton = new JButton("取消");
cancelButton.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e) {
cancel();
}
});
buttonPane.add(commitButton);
buttonPane.add(cancelButton);
this.add(treePane , BorderLayout.CENTER);
this.add(buttonPane , BorderLayout.SOUTH);
}
private boolean selected(Object v) {
for(Object dv : defaultValues){
if( dv .equals(v) ){
return true;
}
}
return false;
}
protected void fireActionPerformed(ActionEvent e) {
for (ActionListener l : listeners) {
l.actionPerformed(e);
}
}
public Object[] getSelectedValues(){
List<Object> selectedValues = new ArrayList<Object>();
int[] rows = tree.getSelectionRows();
for (int i = 0; i < rows.length; i++) {
try
{
Object selectObj = tree.getPathForRow(rows[i]).getPathComponent(3);
if (selectObj instanceof DefaultMutableTreeNode) {
selectedValues.add(selectObj);
}
}
catch(Exception ex)
{
//MessageBox.post("请选择最底层节点!", "错误", MessageBox.ERROR);
}
}
return selectedValues.toArray(new Object[selectedValues.size()]);
}
public void setDefaultValue(Object[] defaultValue) {
defaultValues = defaultValue;
}
public void commit(){
fireActionPerformed(new ActionEvent(this, 0, COMMIT_EVENT));
}
public void cancel(){
fireActionPerformed(new ActionEvent(this, 0, CANCEL_EVENT));
}
}

@ -0,0 +1,18 @@
package com.connor.renben.process.plm.test;
import java.awt.Frame;
import com.teamcenter.rac.cme.bvr.create.fromtemplate.NewMEProcessDialog;
import com.teamcenter.rac.kernel.TCSession;
public class NewItemMPPDialog2 extends NewMEProcessDialog
{
public NewItemMPPDialog2(Frame frame, TCSession tcsession) {
super(frame, tcsession);
}
}

@ -0,0 +1,29 @@
package com.connor.renben.process.plm.test;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Properties;
import com.connor.renben.process.plm.util.ExcelUtil07;
import com.connor.renben.process.plm.util.TMomMethodUtil;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
public class Test {
/**
* @param args
*/
public static void main(String[] args) {
new DialogTest(null);
}
}

@ -0,0 +1,274 @@
package com.connor.renben.process.plm.test;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.sql.Blob;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.connor.renben.process.plm.sql.util.SqlUtilT;
import com.connor.renben.process.plm.tmom032.TMom032AssembleProcessFormOutputDialog;
import com.connor.renben.process.plm.util.TMomMethodUtil;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.kernel.AIFComponentContext;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCComponentDataset;
import com.teamcenter.rac.kernel.TCComponentItem;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
import com.teamcenter.rac.kernel.TCComponentItemType;
import com.teamcenter.rac.kernel.TCComponentTcFile;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCSession;
public class TimerTestHandler extends AbstractHandler {
AbstractAIFUIApplication app = AIFUtility.getCurrentApplication();
TCSession session = (TCSession) app.getSession();
String path = this.getClass().getProtectionDomain().getCodeSource().getLocation().getPath();
@Override
public Object execute(ExecutionEvent arg0) throws ExecutionException {
// readBlob("S1670_MEOP025");
// TCComponentMEOPRevision target = (TCComponentMEOPRevision) app.getTargetComponent();
// TCComponent meopRevM = null;
// String gytz = null;
// try {
// meopRevM = target.getRelatedComponent("IMAN_master_form_rev");
// gytz = meopRevM.getProperty("rb3_gytz");
// if(gytz != null && gytz != ""){
// updateProcess_Route(target.getProperty("item_id"),gytz);
// return null;
// }
// else{
// System.out.println("null");
// return null;
// }
// } catch (TCException e2) {
// // TODO Auto-generated catch block
// e2.printStackTrace();
// }
path = path.substring(1, path.lastIndexOf("/") + 1) + "集成软件/Logsystem.exe";
File file = new File(path);
if (file.exists()) {
new Thread() {
@Override
public void run() {
try {
executeCmd(path);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
super.run();
}
}.start();
}
System.out.println(path);
// 获取数据库连接
// getGYTZ("1");
return null;
}
/** @PARAM command指exe程序所在路径 **/
public static String executeCmd(String command) throws IOException {
System.err.println("Execute command : " + command);
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("cmd /c start " + command);
BufferedReader br = new BufferedReader(new InputStreamReader(process.getInputStream(), "UTF-8"));
String line = null;
StringBuilder build = new StringBuilder();
while ((line = br.readLine()) != null) {
System.err.println(line);
build.append(line);
}
return build.toString();
}
private File getGYTZ(String gytz_item_id) {
File file = null;
try {
TCComponentItemType itemType = (TCComponentItemType) this.session.getTypeComponent("Item");
TCComponentItem item = itemType.find(gytz_item_id.split("/")[0]);
TCComponentItemRevision itemRev = TMomMethodUtil.getLastItemRevision(item);
AIFComponentContext[] aifccs = itemRev.getChildren();
for (AIFComponentContext aifcc : aifccs) {
if ("RB3_AutoCAD".equals(aifcc.getComponent().getType())) {
TCComponentDataset dataSet = (TCComponentDataset) aifcc.getComponent();
TCComponentTcFile[] tcFile = dataSet.getTcFiles();
file = tcFile[0].getFmsFile();
return file;
// bytes = getBytes(file);
// getFile(bytes, "C:/", "1.dwg");
}
}
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return file;
}
private void updateProcess_Route(String meop_id, String gytz) {
File file = getGYTZ(gytz);
BufferedInputStream fis = null;
try {
fis = new BufferedInputStream(new FileInputStream(file));
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
SqlUtilT.getTCConnection();
ResultSet rs = null;
ResultSet rs1 = null;
String selectSql = "select * from rb3_process_route where rb3_meopid = '" + meop_id + "'";
// String updateSql = "update rb3_process_route set rb3_gytz_file='' where rb3_meopid = '"+meop_id+"'";
String selectForUpdateSql = "select * from rb3_process_route where rb3_meopid = '" + meop_id + "' for update";
// PreparedStatement ps = conn.prepareStatement(writeSql);
// ps.setInt(1, 7499);
// conn.setAutoCommit(false);
// ResultSet rs = ps.executeQuery();System.out.println(selectSql);
System.out.println(selectForUpdateSql);
try {
rs = SqlUtilT.read(selectSql);
if (rs != null) {
// rs2 = SqlUtilT.read(updateSql);
SqlUtilT.connection.setAutoCommit(false);
rs1 = SqlUtilT.read(selectForUpdateSql);
// rs1.next();
System.out.println(rs1.getRow());
while (rs1.next()) {
fis = new BufferedInputStream(new FileInputStream(file));
oracle.sql.BLOB image = (oracle.sql.BLOB) rs1.getBlob("rb3_gytz_file");
BufferedOutputStream bos = new BufferedOutputStream(image.getBinaryOutputStream());
int c;
// 将实际文件中的内容以二进制的形式来输出到blob对象对应的输出流中
while ((c = fis.read()) != -1) {
bos.write(c);
}
bos.close();
fis.close();
}
SqlUtilT.connection.commit();
}
} catch (SQLException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
if (rs != null) {
SqlUtilT.free(rs);
}
if (rs1 != null) {
SqlUtilT.free(rs1);
}
}
}
/**
*
*/
public void readBlob(String meop_id) {
// File file = new File();
try {
SqlUtilT.getTCConnection();
String readSql = "select * from rb3_process_route where rb3_meopid = '" + meop_id + "'";
// PreparedStatement ps = conn.prepareStatement(readSql);
// ps.setInt(1, 7369);
ResultSet rs = SqlUtilT.read(readSql);
rs.next();
Blob image = rs.getBlob("rb3_gytz_file");
// DataOutputStream dos =
// // 在FileOutputStream中指定文件输出路径
// new DataOutputStream(new FileOutputStream(7369 + "_image.jpeg"));
InputStream fis = image.getBinaryStream();
int out;
byte[] outByte = new byte[700000];
// 将blob对象输入流写入本地输出流中
while ((out = fis.read(outByte)) != -1) {
// dos.write(outByte);
getFile(outByte, "C:/", "2.dwg");
}
fis.close();
// dos.flush();
// dos.close();
rs.close();
} catch (Exception e) {
e.printStackTrace();
}
}
private byte[] getBytes(File file) {
byte[] buffer = null;
try {
FileInputStream fis = new FileInputStream(file);
ByteArrayOutputStream bos = new ByteArrayOutputStream(1000);
byte[] b = new byte[(int) file.length()];
int n;
while ((n = fis.read(b)) != -1) {
bos.write(b, 0, n);
}
fis.close();
bos.close();
buffer = bos.toByteArray();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return buffer;
}
public static void getFile(byte[] bfile, String filePath, String fileName) {
BufferedOutputStream bos = null;
FileOutputStream fos = null;
File file = null;
try {
File dir = new File(filePath);
if (!dir.exists() && dir.isDirectory()) {// 判断文件目录是否存在
dir.mkdirs();
}
file = new File(filePath + "\\" + fileName);
fos = new FileOutputStream(file);
bos = new BufferedOutputStream(fos);
bos.write(bfile);
} catch (Exception e) {
e.printStackTrace();
} finally {
if (bos != null) {
try {
bos.close();
} catch (IOException e1) {
e1.printStackTrace();
}
}
if (fos != null) {
try {
fos.close();
} catch (IOException e1) {
e1.printStackTrace();
}
}
}
}
}

@ -0,0 +1,47 @@
package com.connor.renben.process.plm.test;
import java.io.File;
import java.util.List;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.Unmarshaller;
import javax.xml.transform.stream.StreamSource;
import com.connor.renben.process.plm.bean.packageProcess.Preferences;
import com.connor.renben.process.plm.bean.packageProcess.Preferences.PackageProcess;
import com.connor.renben.process.plm.bean.packageProcess.Preferences.PackageProcess.TextFieldButton;
import com.connor.renben.process.plm.bean.packageProcess.Preferences.PackageProcess.TextFieldButton.Value;
public class getGDTask {
/**
* @param args
*/
public static void main(String[] args) {
JAXBContext context;
try {
context = JAXBContext.newInstance(Preferences.class);
Unmarshaller shaller = context.createUnmarshaller();
JAXBElement<Preferences> root = shaller.unmarshal(
new StreamSource(new File(
"C:\\Users\\Administrator\\Desktop\\PackageProcess.XML")),
Preferences.class);
Preferences electronform = root.getValue();
List<PackageProcess> PackageProcess = electronform.getPackageProcess();
for (PackageProcess PackageProcess2 : PackageProcess) {
List<TextFieldButton> TextFieldButton = PackageProcess2.getTextFieldButton();
for (TextFieldButton textFieldButton2 : TextFieldButton) {
List<Value> values = textFieldButton2.getValue();
for (Value value : values) {
System.out.println(value.getProperty1() + "===="
+ value.getProperty2() + "===="
+ value.getProperty3());
}
}
}
} catch (Exception e) {
}
}
}

@ -0,0 +1 @@
CPTJSQL=SELECT XH,KHMC,KHXMH,CPMC,KHTH,CLBZ,SJRY,CXYJ,ZXYJ,CJSJ FROM RB3_PRODUCT WHERE 1=1

@ -0,0 +1,41 @@
package com.connor.renben.process.plm.test;
import java.awt.Frame;
import com.teamcenter.rac.aif.AIFDesktop;
import com.teamcenter.rac.aif.AbstractAIFApplication;
import com.teamcenter.rac.aif.AbstractAIFCommand;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.kernel.TCSession;
public class testCommmand extends AbstractAIFCommand {
private AbstractAIFApplication app;
private TCSession session;
final AbstractAIFUIApplication localAbstractAIFUIApplication = AIFDesktop.getActiveDesktop().getCurrentApplication();
Frame frame = AIFDesktop.getActiveDesktop();
public testCommmand(AbstractAIFApplication app,TCSession session) {
this.session = session;
this.app = app;
// TODO Auto-generated constructor stub
}
@Override
public void executeModal() throws Exception {
if(frame instanceof AIFDesktop)
{
System.out.println("11234566");
}
//new TimerTest02();
new Thread() {
@Override
public void run() {
NewItemMPPDialog2 dialog = new NewItemMPPDialog2(frame, session);
dialog.showDialog();
//setRunnable(dialog);
}
}.start();
super.executeModal();
}
}

@ -0,0 +1,821 @@
package com.connor.renben.process.plm.tmom001;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.ResourceBundle;
import java.util.Map.Entry;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import com.connor.renben.process.plm.sql.util.SqlUtilT;
import com.connor.renben.process.plm.tmom014.TMom014CheckTableCommand;
import com.connor.renben.process.plm.util.ExcelUtil07;
import com.connor.renben.process.plm.util.TCUtils;
import com.connor.renben.process.plm.util.TMomFinalUtil;
import com.connor.renben.process.plm.util.TMomMethodUtil;
import com.teamcenter.rac.aif.AbstractAIFCommand;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.kernel.AIFComponentContext;
import com.teamcenter.rac.aif.kernel.InterfaceAIFComponent;
import com.teamcenter.rac.kernel.ACLLine;
import com.teamcenter.rac.kernel.TCAccessControlService;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentDataset;
import com.teamcenter.rac.kernel.TCComponentDatasetType;
import com.teamcenter.rac.kernel.TCComponentICO;
import com.teamcenter.rac.kernel.TCComponentItem;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
import com.teamcenter.rac.kernel.TCComponentItemType;
import com.teamcenter.rac.kernel.TCComponentMEOP;
import com.teamcenter.rac.kernel.TCComponentMEOPRevision;
import com.teamcenter.rac.kernel.TCComponentMEProcess;
import com.teamcenter.rac.kernel.TCComponentRole;
import com.teamcenter.rac.kernel.TCComponentType;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.kernel.ics.ICSProperty;
import com.teamcenter.rac.util.ConfirmationDialog;
import com.teamcenter.rac.util.MessageBox;
public class TMom001CXInstructCommand extends AbstractAIFCommand {
private TCSession session;
private AbstractAIFUIApplication app;
private String fileSource;
private int operateCode;
private TCComponentMEOPRevision item;//当前选中的工序
private boolean toTC;//是否输入到TC false-->导出到本地
private String url;
private String controlPlayType;//控制计划类型
private String controlPlayName;//控制计划名称
private String rb3_jqsb;
private ArrayList<ArrayList<String>> data;
public TMom001CXInstructCommand(TCSession session,
AbstractAIFUIApplication app, int operateCode, String fileSource, boolean toTC,String url,String controlPlayType) {
this.session = session;
this.app = app;
this.operateCode = operateCode;
this.fileSource = fileSource;
this.toTC = toTC;
this.url = url;
this.controlPlayType = controlPlayType;
}
@Override
public void executeModal() throws Exception{
Locale defaultLocale = Locale.getDefault();
ResourceBundle rb = ResourceBundle.getBundle("com.connor.renben.process.plm.message.Message", defaultLocale);
try {
InterfaceAIFComponent targetcomp = this.app.getTargetComponent();
item = (TCComponentMEOPRevision) targetcomp;
} catch (ClassCastException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
MessageBox.post(rb.getString("qxzgxbbhcd01_display.TITLE"), "错误", MessageBox.ERROR);
return;
}
ResultSet ac_rs = null;
try {
//从分工表里查看当前用户是否有权限
String ac_sql = "select PLMEID,PROCESSPUID,RB3_MEOPID,RB3_GYBH,RB3_GCMC,nvl(rb3_user,' ') as rb3_user,nvl(RB3_INSPECTIONUSER,' ') as RB3_INSPECTIONUSER from RB3_PERMISSIONS where RB3_MEOPID='"+item.getProperty("item_id")+"'";
System.out.println(ac_sql);
com.connor.renben.process.plm.sql.util.SqlUtilT.getTCConnection();
ac_rs = com.connor.renben.process.plm.sql.util.SqlUtilT
.read(ac_sql);
String inspectionUser = null;
while(ac_rs.next()){
inspectionUser = ac_rs.getString("RB3_INSPECTIONUSER");
}
if((inspectionUser!=null&&session.getUserName().equals(inspectionUser))||session.getUserName().equals("admin")){
TCUtils.openLogByPass(session, "导出工艺指导书");
TMomMethodUtil.setByPass(session, true);
}
TCAccessControlService tccs = session.getTCAccessControlService();
String[] privileges = {"READ","WRITE","DELETE"};
boolean[] have_privileges = tccs.checkPrivileges(item, privileges);
for(boolean have_privilege:have_privileges){
if(toTC){
if(!have_privilege){
MessageBox.post("你对\""+item+"\"没有写的权限!", "错误", MessageBox.ERROR);
return;
}
}
}
String item_id = item.getProperty("item_id");
System.out.println("item_id=>"+item_id);
// String controlPlayType = "RB3_SSCKZJH";
if(toTC)
controlPlayType = getControlType();
System.out.println("controlPlayType=========================>"+controlPlayType);
if(controlPlayType==null&&toTC){
MessageBox.post(rb.getString("wzdyfbdkzjh01_display.TITLE"), "警告", MessageBox.WARNING);
return;
}
else{
InputStream is = new FileInputStream(TMomMethodUtil.getFile(session, fileSource.split("\\.")[0],"MSExcelX"));
// is = this.getClass().getResourceAsStream(fileSource);
switch (operateCode) {
case 0:
data= getCXData(item_id,controlPlayType);
//if (toTC == false) toTC= true ;
new Thread() {
@Override
public void run() {
TMom014CheckTableCommand command = new TMom014CheckTableCommand(session, app,TMomFinalUtil.CXSJTY_CHECKTABLE, "成形首件调试记录表(通用).xlsx",item,toTC,url,controlPlayType);
try {
command.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Map<Integer,String> cx_map = new HashMap<>();
cx_map.put(TMomFinalUtil.CXSJCNCZY_CHECKTABLE, "成形首件调试记录表CNC专用.xlsx");
cx_map.put(TMomFinalUtil.CXGCJ_CHECKTABLE, "成形工序过程自检记录表(操作工).xlsx");
cx_map.put(TMomFinalUtil.CXMJ_CHECKTABLE, "成形末件记录表.xlsx");
cx_map.put(TMomFinalUtil.CXXJ_CHECKTABLE, "成形工序巡检检查表.xlsx");
for(Entry<Integer, String> set:cx_map.entrySet()){
TMom014CheckTableCommand command2 = new TMom014CheckTableCommand(session, app,set.getKey(), set.getValue(),item,toTC,url,controlPlayType);
try {
command2.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}.start();
break;
case 1:
data= getZXData(item_id,controlPlayType);
//if (toTC == false) toTC= true ;
new Thread() {
@Override
public void run() {
// Map<Integer,String> cx_map = new HashMap<>();
// cx_map.put(TMomFinalUtil.CXGCJ_CHECKTABLE, "整形工序过程自检记录表(操作工).xlsx");
// cx_map.put(TMomFinalUtil.CXMJ_CHECKTABLE, "整形末件记录表.xlsx");
// cx_map.put(TMomFinalUtil.CXXJ_CHECKTABLE, "整形工序巡检检查表.xlsx");
// for(Entry<Integer, String> set:cx_map.entrySet()){
// TMom014CheckTableCommand command2 = new TMom014CheckTableCommand(session, app,set.getKey(), set.getValue(),item,toTC,url,controlPlayType);
// try {
// command2.executeModal();
// } catch (Exception e) {
// // TODO Auto-generated catch block
// e.printStackTrace();
// }
// }
TMom014CheckTableCommand command = new TMom014CheckTableCommand(session, app,TMomFinalUtil.ZX_CHECKTABLE, "精整工序产品批量生产记录单(批准单).xlsx",item,toTC,url,controlPlayType);
try {
command.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}.start();
break;
case 2:
data = getSJData(item_id,controlPlayType);
//if (toTC == false) toTC= true ;
new Thread() {
@Override
public void run() {
TMom014CheckTableCommand command = new TMom014CheckTableCommand(session, app,20, "工序质量检查表(烧结).xlsx",item,toTC,url,controlPlayType);
try {
command.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}.start();
break;
case 6:
//20181220-ReinhartEdit
data = getRCLData(item_id,controlPlayType);
//if (toTC == false) toTC= true ;
//System.out.println("Start output step 6");
//MessageBox.post("Start output step 6", "Step", MessageBox.INFORMATION);
new Thread() {
@Override
public void run() {
Map<Integer,String> cx_map = new HashMap<>();
cx_map.put(TMomFinalUtil.MKSJ_CHECKTABLE, "盲孔感应淬火批次首件批准单.xlsx");
cx_map.put(TMomFinalUtil.MKGCJ_CHECKTABLE, "盲孔感应淬火过程检验记录表.xlsx");
cx_map.put(TMomFinalUtil.MKMJ_CHECKTABLE, "盲孔感应淬火批次末件记录单.xlsx");
for(Entry<Integer, String> set:cx_map.entrySet()){
TMom014CheckTableCommand command = new TMom014CheckTableCommand(session, app,set.getKey(), set.getValue(),item,toTC,url,controlPlayType);
try {
command.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}.start();
break;
case 10:
//20181220-ReinhartEdit
data = getRCLData(item_id,controlPlayType);
//if (toTC == false) toTC= true ;
//System.out.println("Start output step 10");
//MessageBox.post("Start output step 10", "Step", MessageBox.INFORMATION);
new Thread() {
@Override
public void run() {
Map<Integer,String> cx_map = new HashMap<>();
cx_map.put(TMomFinalUtil.MKSJ_CHECKTABLE, "盲孔感应淬火批次首件批准单.xlsx");
cx_map.put(TMomFinalUtil.MKGCJ_CHECKTABLE, "盲孔感应淬火过程检验记录表.xlsx");
cx_map.put(TMomFinalUtil.MKMJ_CHECKTABLE, "盲孔感应淬火批次末件记录单.xlsx");
for(Entry<Integer, String> set:cx_map.entrySet()){
TMom014CheckTableCommand command = new TMom014CheckTableCommand(session, app,set.getKey(), set.getValue(),item,toTC,url,controlPlayType);
try {
command.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}.start();
break;
case 3:
case 4:
case 5:
case 7:
case 8:
case 9:
case 11:
case 12:
case 13:
case 14:
case 15:
case 16:
case 17:
FileOutputStream output = new FileOutputStream(new File(
url+ fileSource));
XSSFWorkbook wb = new XSSFWorkbook(is);
is.close();
wb.write(output);
output.close();
if(operateCode==5){
new Thread() {
@Override
public void run() {
TMom001CXInstructCommand command = new TMom001CXInstructCommand(session, app,17, "外观作业指导书.xlsx",toTC,url,controlPlayType);
try {
command.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
MessageBox.post("导出作业指导书失败", "错误", MessageBox.ERROR);
}
}
}.start();
}
//生成作业指导书的同时带出检验报表
if(operateCode==6||operateCode==10)
{
//
System.out.println("Start output step 0");
//
}
//生成作业指导书的同时带出检验报表
if(operateCode==7||operateCode==8||operateCode==9||operateCode==11||operateCode==12||operateCode==13||operateCode==14||operateCode==15){
new Thread() {
@Override
public void run() {
Map<Integer,String> cx_map = new HashMap<>();
cx_map.put(TMomFinalUtil.JJGSJ_CHECKTABLE, "机加工科产品首件检查表.xlsx");
cx_map.put(TMomFinalUtil.JJGGCJ_CHECKTABLE, "机加工科产品过程质量检查表.xlsx");
cx_map.put(TMomFinalUtil.JJGMJ_CHECKTABLE, "机加工科产品末件检查表.xlsx");
for(Entry<Integer, String> set:cx_map.entrySet()){
TMom014CheckTableCommand command = new TMom014CheckTableCommand(session, app,set.getKey(), set.getValue(),item,toTC,url,controlPlayType);
try {
command.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}.start();
}
break;
default:
break;
}
new Thread() {
@Override
public void run() {
session.queueOperation(new TMom001CXInstructOperation(app, session,operateCode,fileSource,item,toTC,url+fileSource,data,controlPlayName));
}
}.start();
}
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
MessageBox.post("输出作业指导书错误!", "错误", MessageBox.ERROR);
return;
} finally {
TCUtils.closeLogByPass(session, "导出工艺指导书");
TMomMethodUtil.setByPass(session, false);
if (ac_rs != null) {
com.connor.renben.process.plm.sql.util.SqlUtilT.free(ac_rs);
}
com.connor.renben.process.plm.sql.util.SqlUtilT.freeAll();
}
try {
super.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
/**
*
* @param item_id
* @param type
* @return
*/
private ArrayList<ArrayList<String>> getCXData(String item_id,String type) {
String sj_gc_sql ="select distinct t1.plmeid,t1.rb3_meopid,rb3_qptbh,rb3_cp,t1.rb3_cpgc,rb3_clff,rb3_rl_zj,rb3_pl_zj,rb3_special,rb3_tstx,rb3_jqsb,rb3_hh from ((select plmeid,rb3_meopid,rb3_qptbh,rb3_cp,rb3_cpgc,rb3_clff ,rb3_special,rb3_tstx,rb3_jqsb,rb3_hh from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc not like '%检验(%' and rb3_smjy like '%首件%' and rb3_qptbh is not null) t1 left join (select plmeid,rb3_qptbh q1,rb3_cpgc,rb3_rl rb3_rl_zj,rb3_pl rb3_pl_zj from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc not like '%检验(%' and rb3_smjy like '%过程件%') t2 on rb3_qptbh=q1 and t1.rb3_cpgc=t2.rb3_cpgc )order by rb3_hh";//to_number(replace(rb3_qptbh,chr(10)))";
String xj_sql = "select distinct plmeid p1,rb3_qptbh,rb3_cpgc,rb3_clff,rb3_special,rb3_rl rb3_rl_xj,rb3_pl rb3_pl_xj,rb3_hh from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc like '%检验(%' order by rb3_hh";
String mj_sql = "select rb3_qptbh from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc not like '%检验(%' and rb3_smjy like '%末件%' and rb3_qptbh is not null order by rb3_qptbh";
System.out.println("sql=>"+sj_gc_sql);
System.out.println("sql=>"+xj_sql);
System.out.println("sql=>"+mj_sql);
ResultSet rs = null;
// ResultSet sj_gc_rs = null;
ResultSet xj_rs = null;
ResultSet mj_rs = null;
try {
com.connor.renben.process.plm.sql.util.SqlUtilT.getTCConnection();
rs = com.connor.renben.process.plm.sql.util.SqlUtilT
.read(sj_gc_sql);
xj_rs = com.connor.renben.process.plm.sql.util.SqlUtilT
.read(xj_sql);
mj_rs = com.connor.renben.process.plm.sql.util.SqlUtilT
.read(mj_sql);
ArrayList<ArrayList<String>> data = new ArrayList<>();
boolean have_rb3_jqsb = false;
boolean is_first = true;
ArrayList<ArrayList<String>> xj_data = new ArrayList<>();
int count = 0;
while(xj_rs.next()){
ArrayList<String> list = new ArrayList<>();
list.add(getData(xj_rs.getString("RB3_QPTBH")));
list.add(getData(xj_rs.getString("RB3_CPGC"))+"special"+getData(xj_rs.getString("RB3_SPECIAL")));
list.add(getData(xj_rs.getString("RB3_CLFF")));
String rl_xj = getData(xj_rs.getString("RB3_RL_XJ"));
String pl_xj = getData(xj_rs.getString("RB3_PL_XJ"));
list.add(rl_xj+(" ".equals(rl_xj)&&" ".equals(pl_xj)?" ":"/")+pl_xj);
xj_data.add(list);
}
ArrayList<String> mjNum = new ArrayList<>();
while(mj_rs.next()){
mjNum.add(getData(mj_rs.getString("RB3_QPTBH")));
}
ArrayList<String> qptbhs = new ArrayList<>();
while(rs.next()){
if(count==24){
System.out.println("in");
}
ArrayList<String> list = new ArrayList<>();
String qptbh = getData(rs.getString("RB3_QPTBH"));
list.add(qptbh);
list.add(getData(rs.getString("RB3_CP")));
String cpgc = getData(rs.getString("RB3_CPGC"))+"special"+" ";
list.add(cpgc);
String clff = getData(rs.getString("RB3_CLFF"));
list.add(clff);
String rl_zj = getData(rs.getString("RB3_RL_ZJ"));
String pl_zj = getData(rs.getString("RB3_PL_ZJ"));
list.add(rl_zj+"/"+pl_zj);
boolean have_cpgc = false;
for(ArrayList<String> xj_arr:xj_data){
if(xj_arr.indexOf(qptbh)!=-1){
list.add(xj_arr.get(3));
have_cpgc = true;
break;
}
}
if(!have_cpgc){
list.add("/");
}
list.add(getData(rs.getString("RB3_TSTX")));
list.add("○");
if(mjNum.indexOf(qptbh)!=-1){
list.add("△");
}
else
list.add(" ");
if(qptbh.equals("33"))
System.out.println("enter!");
checkClFF(data,list,qptbh,qptbhs,cpgc,clff,2,is_first);
is_first = false;
qptbhs.add(qptbh);
// data.add(list);
//获取生产设备
if(!have_rb3_jqsb){
rb3_jqsb = getData(rs.getString("RB3_JQSB"));
have_rb3_jqsb = true;
}
count++;
}
return data;
}
catch (Exception e) {
e.printStackTrace();
} finally {
if (rs != null) {
com.connor.renben.process.plm.sql.util.SqlUtilT.free(rs);
}
com.connor.renben.process.plm.sql.util.SqlUtilT.freeAll();
}
return null;
}
/**
*
*
* @param item_id
* @return
*/
private ArrayList<ArrayList<String>> getZXData(String item_id, String type) {
String sql = "select distinct plmeid,rb3_qptbh,rb3_cp,rb3_cpgc,rb3_clff,rb3_rl_sj,rb3_pl_sj,rb3_rl_gc,rb3_pl_gc,rb3_special,rb3_tstx,rb3_jqsb,rb3_hh from(select plmeid,rb3_qptbh,rb3_cp,rb3_cpgc,rb3_clff ,rb3_special,rb3_rl rb3_rl_sj,rb3_pl rb3_pl_sj,rb3_tstx,rb3_jqsb,rb3_hh from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc not like '%检验(%' and rb3_smjy like '%首件%' and rb3_qptbh is not null order by rb3_qptbh) t1 left join (select rb3_qptbh q1,rb3_rl rb3_rl_gc,rb3_pl rb3_pl_gc from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc not like '%检验(%' and rb3_smjy like '%过程件%') t2 on rb3_qptbh=q1 order by rb3_hh";
// String sql = "select distinct plmeid,rb3_qptbh,rb3_cp,rb3_cpgc,rb3_clff,rb3_rl,rb3_pl,rb3_special,rb3_tstx,rb3_jqsb,rb3_hh from(select plmeid,rb3_qptbh,rb3_cp,rb3_cpgc,rb3_clff ,rb3_special,rb3_tstx,rb3_jqsb,rb3_hh from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc not like '%检验(%' and rb3_smjy like '%首件%' and rb3_qptbh is not null order by rb3_qptbh) t1 left join (select rb3_qptbh q1,rb3_rl,rb3_pl from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc not like '%检验(%' and rb3_smjy like '%过程件%') t2 on rb3_qptbh=q1 order by rb3_hh";
// String xj_sql = "select distinct plmeid p1,rb3_qptbh,rb3_rl rb3_rl_xj,rb3_pl rb3_pl_xj from rb3_controlplan where rb3_controlplan.rb3_meopid='"+item_id+"' and type='"+type+"' and rb3_gcmc like '%检验(%' ";
System.out.println(sql);
// System.out.println(xj_sql);
ResultSet rs = null;
ResultSet xj_rs = null;
try {
com.connor.renben.process.plm.sql.util.SqlUtilT.getTCConnection();
rs = com.connor.renben.process.plm.sql.util.SqlUtilT
.read(sql);
// xj_rs = com.connor.renben.process.plm.sql.util.SqlUtilT
// .read(xj_sql);
ArrayList<ArrayList<String>> data = new ArrayList<>();
ArrayList<String> qptbhs = new ArrayList<>();
boolean is_first = true;
boolean have_rb3_jqsb = false;
ArrayList<ArrayList<String>> xj_data = new ArrayList<>();
// while(xj_rs.next()){
// ArrayList<String> list = new ArrayList<>();
// list.add(getData(xj_rs.getString("RB3_QPTBH")));
// String rl_xj = getData(xj_rs.getString("RB3_RL_XJ"));
// String pl_xj = getData(xj_rs.getString("RB3_PL_XJ"));
// list.add(rl_xj+(" ".equals(rl_xj)&&" ".equals(pl_xj)?" ":"/")+pl_xj);
// xj_data.add(list);
// }
while(rs.next()){
ArrayList<String> list = new ArrayList<>();
String qptbh = getData(rs.getString("RB3_QPTBH"));
list.add(qptbh);
list.add(getData(rs.getString("RB3_CP")));
String cpgc = getData(rs.getString("RB3_CPGC"));
list.add(cpgc + "special"+getData(rs.getString("RB3_SPECIAL")));
String clff = getData(rs.getString("RB3_CLFF"));
list.add(clff);
String rl_sj = getData(rs.getString("RB3_RL_SJ"));
String pl_sj = getData(rs.getString("RB3_PL_SJ"));
list.add(" ".equals(rl_sj)&&" ".equals(pl_sj)?" ":rl_sj+"/"+pl_sj);
String rl = getData(rs.getString("RB3_RL_GC"));
String pl = getData(rs.getString("RB3_PL_GC"));
list.add(" ".equals(rl)&&" ".equals(pl)?" ":rl+"/"+pl);
if(!(" ".equals(rl)&&" ".equals(pl)))
list.add("1件/班");
else
list.add(" ");
list.add(getData(rs.getString("RB3_TSTX")));
checkClFF(data,list,qptbh,qptbhs,cpgc,clff,2,is_first);
is_first = false;
qptbhs.add(qptbh);
// data.add(list);
if(!have_rb3_jqsb){
rb3_jqsb = getData(rs.getString("RB3_JQSB"));
have_rb3_jqsb = true;
}
}
return data;
} catch (Exception e) {
e.printStackTrace();
} finally {
if (rs != null) {
com.connor.renben.process.plm.sql.util.SqlUtilT.free(rs);
}
com.connor.renben.process.plm.sql.util.SqlUtilT.freeAll();
}
return null;
}
/**
*
* @param rs
* @return
* @throws SQLException
*/
private ArrayList<ArrayList<String>> getSJData(String item_id,String type) throws SQLException {
String sj_sql = "select * from RB3_CONTROLPLAN where rb3_meopid='"+ item_id + "' and type='"+type+"' and RB3_GCMC not like '检验(%' and rb3_gc is null and rb3_qptbh is not null order by rb3_hh";
System.out.println(sj_sql);
ResultSet rs = null;
try {
com.connor.renben.process.plm.sql.util.SqlUtilT.getTCConnection();
rs = com.connor.renben.process.plm.sql.util.SqlUtilT
.read(sj_sql);
ArrayList<ArrayList<String>> data = new ArrayList<>();
ArrayList<String> qptbhs = new ArrayList<>();
boolean have_rb3_jqsb = false;
boolean is_first = true;
while (rs.next()) {
ArrayList<String> array_SJ = new ArrayList<>();
if (rs.getString("RB3_QPTBH") != null) {
String qptbh = getData(rs.getString("RB3_QPTBH"));
array_SJ.add(qptbh);
array_SJ.add(getData(rs.getString("RB3_CP")));
String cpgc = getData(rs.getString("RB3_CPGC"));
array_SJ.add(cpgc + "special"+getData(rs.getString("RB3_SPECIAL")));
String clff = getData(rs.getString("RB3_CLFF"));
array_SJ.add(clff);
String rl = getData(rs.getString("RB3_RL"));
String pl = getData(rs.getString("RB3_PL"));
array_SJ.add(rl+(" ".equals(rl)&&" ".equals(pl)?" ":"/")+pl);
array_SJ.add(getData(rs.getString("RB3_TSTX")));
checkClFF(data,array_SJ,qptbh,qptbhs,cpgc,clff,2,is_first);
is_first = false;
qptbhs.add(qptbh);
if(!have_rb3_jqsb){
rb3_jqsb = getData(rs.getString("RB3_JQSB"));
have_rb3_jqsb = true;
}
}
}
return data;
} catch (Exception e) {
e.printStackTrace();
} finally {
if (rs != null) {
com.connor.renben.process.plm.sql.util.SqlUtilT.free(rs);
}
com.connor.renben.process.plm.sql.util.SqlUtilT.freeAll();
}
return null;
// TODO Auto-generated method stub
}
/**
*
* @param rs
* @return
* @throws SQLException
*/
private ArrayList<ArrayList<String>> getRCLData(String item_id,String type) throws SQLException {
//String st_sql = "select * from RB3_CONTROLPLAN where rb3_meopid='"+ item_id + "' and type='"+type+"' and RB3_GCMC like '%热处理%' and rb3_SMJY like '%设备参数调整%' order by rb3_hh ";
String st_sql = "select * from RB3_CONTROLPLAN where rb3_meopid='"+ item_id + "' and type='"+type+"' and rb3_SMJY like '%设备参数调整%' order by rb3_hh ";
//MessageBox.post(st_sql, "SQL", MessageBox.WARNING);
System.out.println(st_sql);
ResultSet rs = null;
int RowNum = 0;
try {
com.connor.renben.process.plm.sql.util.SqlUtilT.getTCConnection();
rs = com.connor.renben.process.plm.sql.util.SqlUtilT
.read(st_sql);
ArrayList<ArrayList<String>> data = new ArrayList<>();
ArrayList<String> qptbhs = new ArrayList<>();
boolean have_rb3_jqsb = false;
boolean is_first = true;
while (rs.next()) {
RowNum = RowNum +1;
ArrayList<String> array_ST = new ArrayList<>();
if (rs.getString("RB3_GC") != null) {
String qptbh = getData(rs.getString("RB3_QPTBH"));
array_ST.add(qptbh);
array_ST.add(getData(rs.getString("RB3_GC")));
String cpgc = getData(rs.getString("RB3_CPGC"));
array_ST.add(cpgc +getData(rs.getString("RB3_SPECIAL")));
String clff = getData(rs.getString("RB3_CLFF"));
array_ST.add(clff);
String rl = getData(rs.getString("RB3_RL"));
String pl = getData(rs.getString("RB3_PL"));
array_ST.add(rl+(" ".equals(rl)&&" ".equals(pl)?" ":"/")+pl);
array_ST.add(getData(rs.getString("RB3_TSTX")));
checkClFF(data,array_ST,qptbh,qptbhs,cpgc,clff,2,is_first);
is_first = false;
qptbhs.add(qptbh);
if(!have_rb3_jqsb){
rb3_jqsb = getData(rs.getString("RB3_JQSB"));
have_rb3_jqsb = true;
}
}
}
if(RowNum == 0)
{
MessageBox.post("Have No Records", "Info", MessageBox.INFORMATION);
}
return data;
} catch (Exception e) {
e.printStackTrace();
} finally {
if (rs != null) {
com.connor.renben.process.plm.sql.util.SqlUtilT.free(rs);
}
com.connor.renben.process.plm.sql.util.SqlUtilT.freeAll();
}
return null;
// TODO Auto-generated method stub
}
/**
* //判断一个检测项目是否有多个检测工具
* @param data
* @param list
* @param qptbh
* @param qptbhs
* @param clff
* @param
* @param i
* @param is_first
*/
private void checkClFF(ArrayList<ArrayList<String>> data,
ArrayList<String> list, String qptbh, ArrayList<String> qptbhs,
String cpgc, String clff, int i, boolean is_first) {
boolean do_add = false;
if(!is_first){
if(qptbhs.indexOf(qptbh)!=-1){
for(ArrayList<String> arr:data){
if(arr.get(0).equals(qptbh)){
if(!arr.get(i).equals(cpgc)){
do_add = true;
}
}
}
}
else
data.add(list);
if(do_add){
data.add(list);
do_add = false;
}
}
else
data.add(list);
}
private static String getData(String str){
if(str!=null)
{
if(str.indexOf("\n") > 0 && str.indexOf("\r") > 0)
{
return str.split("\n")[0].split("\r")[0].replace(" ", "");
}
else if(str.indexOf("\n") > 0)
{
return str.split("\n")[0].replace(" ", "");
}
else if(str.indexOf("\r") > 0)
{
return str.split("\r")[0].replace(" ", "");
}
else
{
return str;
}
}
return " ";
}
/**
*
* @param item2
* @return
* @throws Exception
*/
private String getControlType() throws Exception {
String kzjhType = null;
TCComponent[] its = item.whereUsed(TCComponent.WHERE_USED_ALL);
TCComponentItemRevision tccir = (TCComponentItemRevision) its[0];
AIFComponentContext[] aifccs = tccir.whereReferenced();
for (AIFComponentContext aifcc_MEOP : aifccs) {
if (aifcc_MEOP.getComponent() instanceof TCComponentMEProcess) {
TCComponentMEProcess tccmep = (TCComponentMEProcess) aifcc_MEOP.getComponent();
AIFComponentContext[] tccmepChildrens = tccmep.getChildren();
for (AIFComponentContext tccmepChildren : tccmepChildrens) {
if (tccmepChildren.getComponent() instanceof TCComponentItem) {
TCComponentItem kzjh = (TCComponentItem) tccmepChildren.getComponent();
String itemType = kzjh.getType();
System.out.println("kzjh=========================>"+kzjh);
if(toTC){
if ("RB3_SCKZJH".equals(itemType))
//判断是否为生产控制计划
if(kzjh.getReleasedItemRevisions().length!=0){
controlPlayName = getLatesReleasedItemRevision(kzjh).getProperty("object_string");
kzjhType=itemType;
}
if ("RB3_SSCKZJH".equals(itemType))
//判断是否为试生产控制计划
if(kzjh.getReleasedItemRevisions().length!=0)
if(!"RB3_SCKZJH".equals(kzjhType)){
controlPlayName = getLatesReleasedItemRevision(kzjh).getProperty("object_string");
kzjhType=itemType;
}
if ("RB3_YJKZJH".equals(itemType))
//判断是否为样件控制计划
if(kzjh.getReleasedItemRevisions().length!=0)
if(kzjhType==null){
controlPlayName = getLatesReleasedItemRevision(kzjh).getProperty("object_string");
kzjhType=itemType;
}
System.out.println("kzjhType========================>"+kzjhType);
}
else{
if ("RB3_SCKZJH".equals(itemType))
//判断是否为生产控制计划
kzjhType=itemType;
if ("RB3_SSCKZJH".equals(itemType))
//判断是否为试生产控制计划
if(!"RB3_SCKZJH".equals(kzjhType))
kzjhType=itemType;
if ("RB3_YJKZJH".equals(itemType))
//判断是否为样件控制计划
if(kzjhType==null)
kzjhType=itemType;
}
}
}
}
}
return kzjhType;
}
/**
*
* @param item
* @return
* @throws NumberFormatException
* @throws TCException
*/
private TCComponentItemRevision getLatesReleasedItemRevision(
TCComponentItem item) throws Exception {
int revision_id = 0;
TCComponentItemRevision latestReleaseItemRevion = new TCComponentItemRevision();
TCComponentItemRevision[] itemRevisions = item.getReleasedItemRevisions();
// if(itemRevisions.length==1){
// latestReleaseItemRevion = itemRevisions[0];
// }
// else{
for(TCComponentItemRevision itemRevision : itemRevisions){
int current_revision_id = Integer.parseInt(itemRevision.getProperty("current_revision_id"));
if(current_revision_id >= revision_id){
revision_id = current_revision_id;
latestReleaseItemRevion = itemRevision;
}
}
// }
return latestReleaseItemRevion;
}
}

@ -0,0 +1,265 @@
package com.connor.renben.process.plm.tmom001;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Locale;
import java.util.ResourceBundle;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFileChooser;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JTextField;
import com.connor.renben.process.plm.bean.CXListBean;
import com.teamcenter.rac.aif.AbstractAIFDialog;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.kernel.AIFComponentContext;
import com.teamcenter.rac.aif.kernel.InterfaceAIFComponent;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentItem;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
import com.teamcenter.rac.kernel.TCComponentMEOPRevision;
import com.teamcenter.rac.kernel.TCComponentMEProcess;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
import com.teamcenter.rac.util.PropertyLayout;
public class TMom001CXInstructDialog extends AbstractAIFDialog implements ActionListener {
private AbstractAIFUIApplication app;
private TCSession session;
private int operateCode;
private String fileSource;
private TCComponentMEOPRevision item;
private JFileChooser jfc;
private JButton okButton;
private JButton celButton;
private JButton fileButton;
private JTextField pathText;
private JTextField fleName;
private JPanel panel1;
private JPanel panel2;
private JPanel panel3;
private JPanel rootPanel;
private JRadioButton radioBtn1;
private JRadioButton radioBtn2;
private ButtonGroup bg;
private boolean have_ssckzjh;
private boolean have_sckzjh;
public TMom001CXInstructDialog() {
super(false);
}
public TMom001CXInstructDialog(AbstractAIFUIApplication app,
TCSession session, int operateCode, String fileSource) {
super(false);
this.app = app;
this.session = session;
this.operateCode = operateCode;
this.fileSource = fileSource;
// this.item = item;
init();
}
public void init() {
getControlType();
this.setPreferredSize(new Dimension(480, 150));
//获取国际化语言
Locale defaultLocale=Locale.getDefault();
ResourceBundle rb=ResourceBundle.getBundle("com.connor.renben.process.plm.message.Message",defaultLocale);
this.setTitle(rb.getString("dc_display.TITLE")+fileSource.split("\\.")[0]);
jfc = new JFileChooser();
jfc.setCurrentDirectory(new File("c:\\"));// 文件选择器的初始目录定为d盘
okButton = new JButton(rb.getString("qd_display.TITLE"));
celButton = new JButton(rb.getString("qx_display.TITLE"));
fileButton = new JButton("...");
radioBtn1 = new JRadioButton(rb.getString("ssckzjh_display.TITLE"),true);
radioBtn2 = new JRadioButton(rb.getString("sckzjh_display.TITLE"));
ButtonGroup bg = new ButtonGroup();
bg.add(radioBtn1);
bg.add(radioBtn2);
fileButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
selectFileButtonEvent(e);
}
});
okButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
try {
okEvent(e);
// MessageBox.post("导出报表成功", "成功", MessageBox.INFORMATION);
} catch (IOException e1) {
MessageBox.post("导出报表失败", "失败", MessageBox.ERROR);
e1.printStackTrace();
}
}
});
celButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
celEvent(e);
}
});
pathText = new JTextField(30);
pathText.setText("C:");
panel1 = new JPanel(new PropertyLayout());
panel1.add("1.1.right.top.preferred.preferred", new JLabel(" "));
panel1.add("2.1.right.top.preferred.preferred", new JLabel(rb.getString("xzwjj_display.TITLE")));
panel1.add("2.2.left.top.preferred.preferred", pathText);
panel1.add("2.3.left.top.preferred.preferred", fileButton);
panel2 = new JPanel(new FlowLayout());
panel2.add(okButton);
panel2.add(new JLabel(" "));
panel2.add(celButton);
if(have_ssckzjh&&have_sckzjh){
panel3 = new JPanel(new FlowLayout());
panel3.add(radioBtn1);
panel3.add(radioBtn2);
}
rootPanel = new JPanel(new BorderLayout());
rootPanel.add(panel1, BorderLayout.CENTER);
rootPanel.add(panel2, BorderLayout.SOUTH);
if(have_ssckzjh&&have_sckzjh){
rootPanel.add(panel3, BorderLayout.NORTH);
}
this.add(rootPanel, "Center");
this.pack();
this.centerToScreen();
this.showDialog();
}
/**
*
*
* @param e
* @throws IOException
*/
public void okEvent(ActionEvent e) throws IOException {
String kzjhType = null;
if(have_ssckzjh&&have_sckzjh)
kzjhType = this.radioBtn1.isSelected()?"RB3_SSCKZJH":"RB3_SCKZJH";
else if(have_ssckzjh)
kzjhType = "RB3_SSCKZJH";
else{
kzjhType = "RB3_SCKZJH";
}
TMom001CXInstructCommand command = new TMom001CXInstructCommand(session, app,operateCode, fileSource,false,this.pathText.getText()+"\\",kzjhType);
try {
command.executeModal();
} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
// System.out.println(this.pathText.getText());
this.dispose();
}
/**
*
*
* @param e
*/
public void celEvent(ActionEvent e) {
this.dispose();
}
/**
*
*
* @param e
*/
public void selectFileButtonEvent(ActionEvent e) {
jfc.setFileSelectionMode(1);// 设定只能选择到文件夹
int state = jfc.showOpenDialog(null);// 此句是打开文件选择器界面的触发语句
if (state == 1) {
return;
} else {
File f = jfc.getSelectedFile();// f为选择到的目录
pathText.setText(f.getAbsolutePath());
}
}
@Override
public void actionPerformed(ActionEvent arg0) {
// TODO Auto-generated method stub
}
/**
*
* @param item2
* @return
* @throws Exception
*/
private void getControlType() {
try {
String kzjhType = null;
InterfaceAIFComponent targetcomp = this.app.getTargetComponent();
try {
item = (TCComponentMEOPRevision) targetcomp;
} catch (Exception e) {
// TODO Auto-generated catch block
MessageBox.post("请选择工序版本后传递!", "错误", MessageBox.ERROR);
e.printStackTrace();
}
TCComponent[] its = item.whereUsed(TCComponent.WHERE_USED_ALL);
TCComponentItemRevision tccir = (TCComponentItemRevision) its[0];
AIFComponentContext[] aifccs = tccir.whereReferenced();
for (AIFComponentContext aifcc_MEOP : aifccs) {
if (aifcc_MEOP.getComponent() instanceof TCComponentMEProcess) {
TCComponentItem tccmep = (TCComponentItem) aifcc_MEOP.getComponent();
AIFComponentContext[] tccmepChildrens = tccmep.getChildren();
for (AIFComponentContext tccmepChildren : tccmepChildrens) {
String type = tccmepChildren.getComponent().getType();
if (tccmepChildren.getComponent() instanceof TCComponentItem) {
TCComponentItem kzjh = (TCComponentItem) tccmepChildren.getComponent();
String itemType = kzjh.getType();
if ("RB3_SCKZJH".equals(itemType)){
// //判断是否为生产控制计划
// kzjhType=itemType;
have_sckzjh = true;
}
if ("RB3_SSCKZJH".equals(itemType)) {
//判断是否为试生产控制计划
if(!"RB3_SCKZJH".equals(kzjhType))
// kzjhType=itemType;
have_ssckzjh = true;
}
}
}
}
}
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}

@ -0,0 +1,122 @@
package com.connor.renben.process.plm.tmom001;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.connor.renben.process.plm.util.TMomFinalUtil;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
public class TMom001CXInstructHandler extends AbstractHandler {
@Override
public Object execute(ExecutionEvent arg0) throws ExecutionException {
String commandId = arg0.getCommand().getId();
int operateCode = -1;
String fileSource = null;
switch (commandId) {
case "com.connor.renben.process.plm.commands.CXInstructionOutputCommand":
operateCode = TMomFinalUtil.CX_INSTRUCTION;
fileSource="成形作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.ZXInstructionOutputCommand":
operateCode = TMomFinalUtil.ZX_INSTRUCTION;
fileSource="整形作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.SJInstructionOutputCommand":
operateCode = TMomFinalUtil.SJ_INSTRUCTION;
fileSource = "烧结作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.PSInstructionOutputCommand":
operateCode = TMomFinalUtil.PS_INSTRUCTION;
fileSource = "喷砂作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.GSInstructionOutputCommand":
operateCode = TMomFinalUtil.GS_INSTRUCTION;
fileSource = "光饰作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.STInstructionOutputCommand":
operateCode = TMomFinalUtil.ST_INSTRUCTION;
fileSource = "ST处理作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.EldecRCLInstructionOutputCommand":
operateCode = TMomFinalUtil.ELDECRCL_INSTRUCTION;
fileSource = "Eldec热处理工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.BZDXMJInstructionOutputCommand":
operateCode = TMomFinalUtil.BZDXMJ_INSTRUCTION;
fileSource = "半自动修毛机工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.GSJInstructionOutputCommand":
operateCode = TMomFinalUtil.GSJ_INSTRUCTION;
fileSource = "攻丝机工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.JJG1InstructionOutputCommand":
operateCode = TMomFinalUtil.JJG_INSTRUCTION;
fileSource = "机加工工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.JJG2InstructionOutputCommand":
operateCode = TMomFinalUtil.JJG_INSTRUCTION;
fileSource = "机加工工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.PTRCLInstructionOutputCommand":
operateCode = TMomFinalUtil.PTRCL_INSTRUCTION;
fileSource = "普通热处理工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.TZInstructionOutputCommand":
operateCode = TMomFinalUtil.TZ_INSTRUCTION;
fileSource = "台钻工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.TGSXMJInstructionOutputCommand":
operateCode = TMomFinalUtil.TGSXMJ_INSTRUCTION;
fileSource = "通过式修毛机工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.TYMCInstructionOutputCommand":
operateCode = TMomFinalUtil.TYMC_INSTRUCTION;
fileSource = "通用磨床工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.WXMInstructionOutputCommand":
operateCode = TMomFinalUtil.WXM_INSTRUCTION;
fileSource = "无心磨工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.YZInstructionOutputCommand":
operateCode = TMomFinalUtil.YZ_INSTRUCTION;
fileSource = "压装工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.TSInstructionOutputCommand":
operateCode = TMomFinalUtil.TS_INSTRUCTION;
fileSource = "探伤作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CCInstructionOutputCommand":
operateCode = TMomFinalUtil.CC_INSTRUCTION;
fileSource = "车床工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.JGZXInstructionOutputCommand":
operateCode = TMomFinalUtil.JGZX_INSTRUCTION;
fileSource = "加工中心工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.WGInstructionOutputCommand":
operateCode = TMomFinalUtil.WG_INSTRUCTION;
fileSource = "外观指导书.xlsx";
break;
default:
break;
}
AbstractAIFUIApplication app = AIFUtility.getCurrentApplication();
TCSession session = (TCSession) app.getSession();
// new TMom001CXInstructDialog(app,session,operateCode,fileSource);
TMom001CXInstructCommand command = new TMom001CXInstructCommand(session, app,operateCode, fileSource,true,"D:\\",null);
try {
command.executeModal();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
MessageBox.post("导出作业指导书失败", "错误", MessageBox.ERROR);
}
return null;
}
}

@ -0,0 +1,578 @@
package com.connor.renben.process.plm.tmom001;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import com.connor.renben.process.plm.util.ExcelUtil07;
import com.connor.renben.process.plm.util.TCUtils;
import com.connor.renben.process.plm.util.TMomMethodUtil;
import com.teamcenter.rac.aif.AbstractAIFOperation;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aif.kernel.AIFComponentContext;
import com.teamcenter.rac.kernel.TCComponent;
import com.teamcenter.rac.kernel.TCComponentBOMLine;
import com.teamcenter.rac.kernel.TCComponentBOMWindow;
import com.teamcenter.rac.kernel.TCComponentBOMWindowType;
import com.teamcenter.rac.kernel.TCComponentDataset;
import com.teamcenter.rac.kernel.TCComponentDatasetType;
import com.teamcenter.rac.kernel.TCComponentICO;
import com.teamcenter.rac.kernel.TCComponentItem;
import com.teamcenter.rac.kernel.TCComponentItemRevision;
import com.teamcenter.rac.kernel.TCComponentItemType;
import com.teamcenter.rac.kernel.TCComponentMEOPRevision;
import com.teamcenter.rac.kernel.TCComponentMEProcess;
import com.teamcenter.rac.kernel.TCComponentTcFile;
import com.teamcenter.rac.kernel.TCComponentType;
import com.teamcenter.rac.kernel.TCException;
import com.teamcenter.rac.kernel.TCPreferenceService;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.kernel.ics.ICSProperty;
import com.teamcenter.rac.util.ConfirmationDialog;
import com.teamcenter.rac.util.MessageBox;
public class TMom001CXInstructOperation extends AbstractAIFOperation {
private AbstractAIFUIApplication app;
private TCSession session;
private int operateCode;
private String fileSource;
private String fileOutUrl;
private String meop_id;
private String meop_name;
private TCComponentMEOPRevision item;
private boolean toTC;
private String controlType;
private String controlPlayName;
Map<String, Object> map_CellNameAndProp = new HashMap<String,Object>();
Map<String,Object> map_ItemAndProp = new HashMap<String,Object>();
Map<String,String> map_CellnameAndValue =new HashMap<String,String>();
ArrayList<String> product_Props = new ArrayList<>();
ArrayList<String> productRevM_Props = new ArrayList<>();
ArrayList<String> product_CellNames = new ArrayList<>();
ArrayList<String> productRevM_CellNames = new ArrayList<>();
ArrayList<ArrayList<String>> data;
private List<String> productNameList24 = new ArrayList<String>();
private List<String> productNameList18 = new ArrayList<String>();
public TMom001CXInstructOperation(AbstractAIFUIApplication app,
TCSession session, int operateCode, String fileSource, TCComponentMEOPRevision item, boolean toTC,String fileOutUrl, ArrayList<ArrayList<String>> data, String controlPlayName) {
this.app = app;
this.session = session;
this.operateCode = operateCode;
this.fileSource = fileSource;
this.fileOutUrl = fileOutUrl;
this.item = item;
this.toTC = toTC;
this.data = data;
this.controlPlayName = controlPlayName;
// this.is = is;
}
@Override
public void executeOperation() throws Exception {
writeProp();
if(toTC){
for (String key : map_CellnameAndValue.keySet()) {
System.out.println(key + ":" + map_CellnameAndValue.get(key));
}
//在"TC"中生成作业指导书
//MessageBox.post("在TC中生成作业指导书!!!!!", "Step", MessageBox.INFORMATION);
createCXZYZDS();
}
else{
//MessageBox.post("不在TC中生成作业指导书!!!!!", "Step", MessageBox.INFORMATION);
for (String key : map_CellnameAndValue.keySet()) {
System.out.println(key + ":" + map_CellnameAndValue.get(key));
}
File newFile = new File(TMomMethodUtil.getFile(session, fileSource.split("\\.")[0], "MSExcelX").getPath());
InputStream is = new FileInputStream(newFile);
byte[] model_file_byte = new byte[is.available()];
is.read(model_file_byte);
is.close();
OutputStream os = new FileOutputStream(fileOutUrl);
os.write(model_file_byte);
os.close();
// setVersionNum(itme.getLatestItemRevision());
map_CellnameAndValue.put("版本", " ");
File model_flie = new File(fileOutUrl);
writeToFile(model_flie,true);
//作业指导书导出到本地
ExcelUtil07.writeExcelWithCellName(model_flie,fileOutUrl,map_CellnameAndValue,operateCode,meop_name);
MessageBox.post("导出"+fileSource.split("\\.")[0]+"", "成功", MessageBox.INFORMATION);
}
System.out.println("over");
TCUtils.closeLogByPass(session, "导出工艺指导书");
TMomMethodUtil.setByPass(session, false);
}
/**
*
* @throws Exception
*/
//获取TC上的属性写入到excel
private void writeProp(){
// TODO Auto-generated method stub
getEquipmentValues();
try {
getCellNameAndProp();
meop_id = item.getProperty("item_id");
meop_name = item.getProperty("object_name");
if(operateCode!=0&&operateCode!=1&&operateCode!=2&&operateCode!=3&&operateCode!=4&&operateCode!=5&&operateCode!=16&&operateCode!=17)
map_CellnameAndValue.put("工序名称", meop_name.split("/")[0]);
//工序版本表单
if(fileSource.indexOf("工艺")!=-1){
if(operateCode!=7&&operateCode!=8&&operateCode!=11&&operateCode!=12&&operateCode!=14){
TCComponent itemRevM = item.getRelatedComponents("IMAN_master_form_rev")[0];
map_CellnameAndValue.put("加工程序", itemRevM.getProperty("rb3_jgcx"));
if(operateCode==6||operateCode==10){
map_CellnameAndValue.put("线圈型号", itemRevM.getProperty("rb3_xqxh"));
map_CellnameAndValue.put("淬火液型号", itemRevM.getProperty("rb3_zhyxh"));
}
}
}
TCComponent[] its;
its = item.whereUsed(TCComponent.WHERE_USED_ALL);
TCComponentItemRevision tccir= (TCComponentItemRevision) its[0];
AIFComponentContext[] aifccs = tccir.whereReferenced();
for(AIFComponentContext aifcc_MEOP:aifccs){
TCComponentMEProcess tccmep = (TCComponentMEProcess) aifcc_MEOP.getComponent();
AIFComponentContext[] aifcc_MEPs = tccmep.whereReferenced();
if(operateCode!=17)
getMEToolList(map_CellnameAndValue, tccmep, meop_id);
for(AIFComponentContext aifcc_MEP:aifcc_MEPs){
String aifcc_MEP_Type = aifcc_MEP.getComponent().getType();
if("RB3_Product".equals(aifcc_MEP_Type)){
TCComponentItem product = (TCComponentItem) aifcc_MEP.getComponent();
ArrayList<String> product_Properties = (ArrayList<String>)map_ItemAndProp.get(aifcc_MEP_Type);
for(int i = 0 ; i < product_Properties.size() ; i++){
map_CellnameAndValue.put(product_CellNames.get(i), product.getProperty(product_Properties.get(i)));
TCComponentItemRevision productRev = product.getLatestItemRevision();
TCComponent prodectRevM = productRev.getRelatedComponent("IMAN_master_form_rev");
ArrayList<String> productRevM_Properties = (ArrayList<String>)map_ItemAndProp.get(prodectRevM.getType());
for(int j = 0; j < productRevM_Properties.size() ; j++){
map_CellnameAndValue.put(productRevM_CellNames.get(j), prodectRevM.getProperty(productRevM_Properties.get(j)));
}
// map_CellnameAndValue.put(productRevM_CellNames.get(0), prodectRevM.getProperty(productRevM_Properties.get(0)));
}
break;
}
}
break;
}
} catch (TCException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}catch(Exception e){
e.printStackTrace();
MessageBox.post("请选择工序对象后传递!", "错误", MessageBox.ERROR);
}
}
/**
*
* @param item
* @param meop_idid
* @return
*/
private void getMEToolList(Map<String,String> map,TCComponentItem item, String meop_id){
try {
int daopianNum = 0;
int daoganNum = 0;
StringBuilder scsb = new StringBuilder();//生产设备
StringBuilder gylc = new StringBuilder();//工艺流程
TCComponentBOMWindow bomWindow = null;
TCComponentBOMWindowType bomWindowType = (TCComponentBOMWindowType) session
.getTypeComponent("BOMWindow");
bomWindow = bomWindowType.create(null);
TCComponentBOMLine topline = bomWindow.setWindowTopLine(item,
item.getLatestItemRevision(), null, null);
bomWindow.lock();
topline.lock();
AIFComponentContext[] childrens = topline.getChildren();
for (AIFComponentContext children : childrens) {
TCComponentBOMLine subline=((TCComponentBOMLine) children.getComponent());
if(operateCode!=0&&operateCode!=1&&operateCode!=2&&operateCode!=3&&operateCode!=4&&operateCode!=5&&operateCode!=17){
if(gylc.length()!=0)
gylc.append("-");
gylc.append(subline.getProperty("bl_rev_object_name").split("/")[0]);
map.put("工艺流程",gylc.toString());
}
if(meop_id.equals(subline.getProperty("bl_item_item_id"))){
AIFComponentContext[] sublineChildrens = subline.getChildren();
Map<String,StringBuilder> sbjt = new HashMap<>();
for(AIFComponentContext sublineChildren:sublineChildrens){
TCComponent meTool = (TCComponent) sublineChildren.getComponent();
String meToolName= meTool.getProperty("bl_item_fnd0IcsClassNames");
if("成形压机".equals(meToolName)||"整形压机".equals(meToolName)||"车床".equals(meToolName)||"加工中心".equals(meToolName)||"烧结炉".equals(meToolName)||"真空炉".equals(meToolName)||"ST".equals(meToolName)||"喷砂机".equals(meToolName)||"滚光机".equals(meToolName)||"消磁设备".equals(meToolName)||"清洗设备".equals(meToolName)||"热处理".equals(meToolName)||"磨床".equals(meToolName)||"修毛机".equals(meToolName)){
String str = meTool.getProperty("bl_item_object_name");
String[] keyAndValue = str.split("/");
if(keyAndValue.length>1){
String map_key = keyAndValue[0];
String map_value = keyAndValue[1];
if(sbjt.containsKey(map_key))
sbjt.put(map_key, sbjt.get(map_key).append(",").append(map_value));
else
sbjt.put(map_key, new StringBuilder (map_value));
}
else
if(!sbjt.containsKey(str)){
sbjt.put(str, null);
}
}
if(operateCode==9){
if("刀片".equals(meToolName)){
daopianNum++;
map.put("刀片"+daopianNum, meTool.getProperty("bl_rev_object_name"));
}
if("刀杆".equals(meToolName)){
daoganNum++;
map.put("刀杆"+daoganNum, meTool.getProperty("bl_rev_object_name"));
}
}
if(operateCode==7||operateCode==8||operateCode==9||operateCode==11||operateCode==15)
if("车床夹具".equals(meToolName)||"加工中心夹具".equals(meToolName)){
map.put("夹具", meTool.getProperty("bl_rev_object_name"));
}
}
for(String key:sbjt.keySet()){
if(scsb.length()!=0)
scsb.append(";");
if(sbjt.get(key)!=null)
scsb.append(key+"/"+sbjt.get(key));
else
scsb.append(key);
}
map.put("生产设备", scsb.toString());
// }
}
}
} catch (Exception e) {
// TODO: handle exception
MessageBox.post(e.toString(), "错误", MessageBox.ERROR);
e.printStackTrace();
}
}
/**
*
* @param itemType
* @return
*/
private void getCellNameAndProp() {
TCPreferenceService service = this.session.getPreferenceService();
String[] props = service.getStringArray(TCPreferenceService.TC_preference_site, "Cust_CellNames_Props");
Map<String,String> option_map = new HashMap<>();
option_map.put("产品属性", "RB3_Product");
option_map.put("产品版本表单", "RB3_ProductRevisionMaster");
for(String prop : props){
if(option_map.containsKey(prop.split(":")[0])){
for(String cellNameAndProp :prop.split(":")[1].split("/")){
String cellName = cellNameAndProp.split("@")[0];
String property = null;
String all_Property = cellNameAndProp.split("@")[1];
if(option_map.get(prop.split(":")[0]).equals(all_Property.split("-")[0])){
property = all_Property.split("-")[1];
if("RB3_Product".equals(option_map.get(prop.split(":")[0]))){
product_Props.add(property);
product_CellNames.add(cellName);
}
if("RB3_ProductRevisionMaster".equals(option_map.get(prop.split(":")[0]))){
productRevM_Props.add(property);
productRevM_CellNames.add(cellName);
}
map_CellNameAndProp.put(cellName, property);
}
}
}
// if("产品版本表单".equals(prop.split(":")[0])){
// for(String cellNameAndProp :prop.split(":")[1].split("/")){
// String cellName = cellNameAndProp.split("@")[0];
// String property = null;
// String all_Property = cellNameAndProp.split("@")[1];
// if("RB3_ProductRevisionMaster".equals(all_Property.split("-")[0])){
// property = all_Property.split("-")[1];
// productRevM_Props.add(property);
// productRevM_CellNames.add(cellName);
// map_CellNameAndProp.put(cellName, property);
// }
//
// }
// }
}
map_ItemAndProp.put("RB3_Product",product_Props);
map_ItemAndProp.put("RB3_ProductRevisionMaster",productRevM_Props);
}
private void createCXZYZDS() {
try {
TCComponent[] zyzdss = item
.getRelatedComponents("RB3_zuoyezhidaoshu");
boolean have_zyzds = false;
String itemName = map_CellnameAndValue.get("产品代号")+fileSource.split("\\.")[0];
for (TCComponent zyzds : zyzdss) {
TCComponentItem zyzds_final = null;
if ("RB3_ZYZDS".equals(zyzds.getType())) {
if(zyzds.getProperty("object_name").indexOf(fileSource.split("\\.")[0])!=-1){
zyzds_final = (TCComponentItem) zyzds;
zyzds_final.getLatestItemRevision().getRelatedComponent("IMAN_master_form_rev").setProperty("rb3_source",controlPlayName);
outputExcel(zyzds_final,itemName);
have_zyzds = true;
}
}
}
if(!have_zyzds){
TCComponentItemType ccomponentitemtype = (TCComponentItemType)session.getTypeComponent("RB3_ZYZDS");
TCComponentType uom = this.session.getTypeComponent("UnitOfMeasure");
TCComponent[] uoms = uom.extent();
// TCComponentItem oldItem = ccomponentitemtype.create("WI99999999","00","RB3_ZYZDS","TEST","",uoms[0]);
TCComponentItem newItem1 = null;
TCComponentItem newItem2 = null;
if(itemName.indexOf("成形")!=-1){
newItem1 = ccomponentitemtype.create(ccomponentitemtype.getNewID(),"00","RB3_ZYZDS",itemName+"(手拿式)","",uoms[0]);
newItem2 = ccomponentitemtype.create(ccomponentitemtype.getNewID(),"00","RB3_ZYZDS",itemName+"(自动连线)","",uoms[0]);
createGYJT(newItem1,ccomponentitemtype,itemName,uoms);
item.add("RB3_zuoyezhidaoshu", newItem1);
outputExcel(newItem1,itemName);
createGYJT(newItem2,ccomponentitemtype,itemName,uoms);
item.add("RB3_zuoyezhidaoshu", newItem2);
outputExcel(newItem2,itemName);
new File(fileOutUrl).delete();
}
else if(itemName.indexOf("整形")!=-1){
newItem1 = ccomponentitemtype.create(ccomponentitemtype.getNewID(),"00","RB3_ZYZDS",itemName+"(自动版)","",uoms[0]);
item.add("RB3_zuoyezhidaoshu", newItem1);
outputExcel(newItem1,itemName);
newItem2 = ccomponentitemtype.create(ccomponentitemtype.getNewID(),"00","RB3_ZYZDS",itemName+"(手动版)","",uoms[0]);
item.add("RB3_zuoyezhidaoshu", newItem2);
outputExcel(newItem2,itemName);
}
else{
newItem1 = ccomponentitemtype.create(ccomponentitemtype.getNewID(),"00","RB3_ZYZDS",itemName,"",uoms[0]);
item.add("RB3_zuoyezhidaoshu", newItem1);
outputExcel(newItem1,itemName);
}
newItem1.getLatestItemRevision().getRelatedComponent("IMAN_master_form_rev").setProperty("rb3_source",controlPlayName);
if(newItem2!=null)
newItem2.getLatestItemRevision().getRelatedComponent("IMAN_master_form_rev").setProperty("rb3_source",controlPlayName);
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
/**
*
* @param uoms
* @param itemName
* @param ccomponentitemtype
* @throws TCException
*/
private void createGYJT(TCComponentItem newItem, TCComponentItemType ccomponentitemtype, String itemName, TCComponent[] uoms) throws TCException {
if(operateCode==0){
String as1[] = { TMomMethodUtil.getFile(session, "工艺简图模板","RB3_AutoCAD").getPath()};// 文件的物理路径
String as2[] = { "RB3_dwg" };
String as3[] = { "RB3_AutoCAD" };
String as4[] = { "Plain" };
TCComponentDatasetType tccomponentDatasetType = (TCComponentDatasetType) session
.getTypeComponent("Dataset");
TCComponentDataset tccomponentDataset = tccomponentDatasetType
.create(map_CellnameAndValue.get("产品代号")+"成形密度和尺寸指导书.dwg", "RB3_dwg",
"RB3_AutoCAD");
tccomponentDataset.setFiles(as1, as3, as4, as2);
newItem.getLatestItemRevision().add("TC_Attaches", tccomponentDataset);
}
}
/**
*
* @param itme
* @param itemName
* @throws Exception
*/
private void outputExcel(TCComponentItem itme, String itemName) throws Exception{
AIFComponentContext[] zyzdsChildrens = itme.getLatestItemRevision().getChildren();
boolean have_Excel = false;
for(AIFComponentContext zyzdsChildren:zyzdsChildrens){
if("MSExcelX".equals(zyzdsChildren.getComponent().getType())){
have_Excel = true;
int getConfir = ConfirmationDialog.post(" ", fileSource.split("\\.")[0]+"已存在!是否覆盖?");
if(getConfir==ConfirmationDialog.YES){
TCComponentDataset dateSet = (TCComponentDataset) zyzdsChildren.getComponent();
TCComponentTcFile[] tcFile = dateSet.getTcFiles();
writeToFile(tcFile[0].getFmsFile(),false);
}
else{
return;
}
}
}
if(!have_Excel){
File newFile = new File(TMomMethodUtil.getFile(session, fileSource.split("\\.")[0], "MSExcelX").getPath());
MessageBox.post(fileSource, "fileSource", MessageBox.WARNING);
InputStream is = new FileInputStream(newFile);
byte[] model_file_byte = new byte[is.available()];
is.read(model_file_byte);
is.close();
OutputStream os = new FileOutputStream(fileOutUrl);
os.write(model_file_byte);
os.close();
setVersionNum(itme.getLatestItemRevision());
File model_flie = new File(fileOutUrl);
//MessageBox.post("生成TC文件", " ", MessageBox.WARNING);
writeToFile(model_flie,true);
//MessageBox.post("生成本地文件!", " ", MessageBox.WARNING);
ExcelUtil07.writeExcelWithCellName(model_flie,fileOutUrl,map_CellnameAndValue,operateCode,meop_name);
// String as1[] = { TMomMethodUtil.getFile(session, fileSource.split("\\.")[0], "MSExcelX").getPath()};// 文件的物理路径
// String as1[] = { "C:\\成形作业指导书.xlsx"};// 文件的物理路径
String as2[] = { "excel" };
String as3[] = { "MSExcelX" };
String as4[] = { "Plain" };
TCComponentDatasetType tccomponentDatasetType = (TCComponentDatasetType) session
.getTypeComponent("Dataset");
TCComponentDataset tccomponentDataset = tccomponentDatasetType
.create(fileSource, "excel",
"MSExcelX");
tccomponentDataset.setFiles(new String[]{fileOutUrl}, as3, as4, as2);
itme.getLatestItemRevision().getProperty("current_revision_id");
itme.getLatestItemRevision().add("TC_Attaches",
tccomponentDataset);
MessageBox.post("已生成"+fileSource.split("\\.")[0]+"", " ", MessageBox.INFORMATION);
}
}
//写入文件
private void writeToFile(File file ,boolean is_first) throws IOException {
file.setWritable(true);
boolean isMark = is_first ;
if(data!=null){
if(fileSource.indexOf("成形")!=-1){
ExcelUtil07.writeExcelForCX(file.getPath(), file, data, 7, 7);
isMark = true ;
}
if(fileSource.indexOf("整形")!=-1){
ExcelUtil07.writeExcelForZX(file.getPath(), file, data, 6, 9);//行 ,列
isMark = true ;
}
if(fileSource.indexOf("烧结")!=-1){
ExcelUtil07.writeExcelForSJ(file.getPath(), file, data, productNameList24, productNameList18);
isMark = true ;
}
if(fileSource.indexOf("热处理")!=-1){
//MessageBox.post("Start output step 9", "Step", MessageBox.WARNING);
ExcelUtil07.writeExcelForRCL(file.getPath(), file, data, 26, 3);//26 3
isMark = true ;
}
}
//if(isMark)
//{
// MessageBox.post("is true", "debug", MessageBox.WARNING);
//}
//if(!is_first){
if(!isMark){
//System.out.println("Start output step 100 ");
//MessageBox.post("Start output step 100", "Step", MessageBox.WARNING);
ExcelUtil07.writeExcelWithCellName(file,file.getPath(),map_CellnameAndValue,operateCode,meop_name);
}
}
/**
*
*/
private void getEquipmentValues() {
// TODO Auto-generated method stub
try {
//获取工序下的BOM
TCComponent[] components = item.getRelatedComponents("ps_children");
if(components.length>0)
{
for (int j = 0; j < components.length; j++) {
String name = null;
String size = null;
TCComponent subChildrenline = components[j];
if(subChildrenline.getType().indexOf("Equipment") >= 0)
{
TCComponentICO[] icos = ((TCComponentItemRevision)subChildrenline).getItem().getLatestItemRevision()
.getClassificationObjects();
if (icos.length > 0) {
ICSProperty[] descriptions = icos[0]
.getICSProperties(true);
for (int k = 0; k < descriptions.length; k++) {
if (descriptions[k].getId() == 1012 && descriptions[k].getValue() != null
&& !descriptions[k].getValue().equals("")) {
name = descriptions[k].getValue().toString();
}
if(descriptions[k].getId() == 1013 && descriptions[k].getValue() != null
&& !descriptions[k].getValue().equals(""))
{
size = descriptions[k].getValue().toString();
}
}
}
}
if(name != null && size.equals("24寸"))
{
if(name.indexOf("-") >= 0)
{
productNameList24.add(name.split("-")[0]);
}
else
{
productNameList24.add(name);
}
}
else if(name != null && size.equals("18寸"))
{
if(name.indexOf("-") >= 0)
{
productNameList18.add(name.split("-")[0]);
}
else
{
productNameList18.add(name);
}
}
}
}
} catch (Exception e) {
// TODO: handle exception;
e.printStackTrace();
}
}
//获取版本号
public String setVersionNum(TCComponentItemRevision itemRev) throws TCException, IOException{
String VerNum = itemRev.getProperty("current_revision_id");
InputStream is = new FileInputStream(fileOutUrl);
XSSFWorkbook wb = new XSSFWorkbook(is);
is.close();
ExcelUtil07.writeExcelWithOneCellName(wb, "版本", VerNum);
OutputStream os = new FileOutputStream(new File(fileOutUrl));
wb.write(os);
os.close();
return null;
}
}

@ -0,0 +1,118 @@
package com.connor.renben.process.plm.tmom001;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import com.connor.renben.process.plm.util.TMomFinalUtil;
import com.teamcenter.rac.aif.AbstractAIFUIApplication;
import com.teamcenter.rac.aifrcp.AIFUtility;
import com.teamcenter.rac.kernel.TCAccessControlService;
import com.teamcenter.rac.kernel.TCSession;
import com.teamcenter.rac.util.MessageBox;
public class TMom001CheckCXInstructHandler extends AbstractHandler {
@Override
public Object execute(ExecutionEvent arg0) throws ExecutionException {
String commandId = arg0.getCommand().getId();
int operateCode = -1;
String fileSource = null;
switch (commandId) {
case "com.connor.renben.process.plm.commands.CheckCXInstructionOutputCommand":
operateCode = TMomFinalUtil.CX_INSTRUCTION;
fileSource="成形作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckZXInstructionOutputCommand":
operateCode = TMomFinalUtil.ZX_INSTRUCTION;
fileSource="整形作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckSJInstructionOutputCommand":
operateCode = TMomFinalUtil.SJ_INSTRUCTION;
fileSource = "烧结作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckPSInstructionOutputCommand":
operateCode = TMomFinalUtil.PS_INSTRUCTION;
fileSource = "喷砂作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckGSInstructionOutputCommand":
operateCode = TMomFinalUtil.GS_INSTRUCTION;
fileSource = "光饰作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckSTInstructionOutputCommand":
operateCode = TMomFinalUtil.ST_INSTRUCTION;
fileSource = "ST处理作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckEldecRCLInstructionOutputCommand":
operateCode = TMomFinalUtil.ELDECRCL_INSTRUCTION;
fileSource = "Eldec热处理工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckBZDXMJInstructionOutputCommand":
operateCode = TMomFinalUtil.BZDXMJ_INSTRUCTION;
fileSource = "半自动修毛机工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckGSJInstructionOutputCommand":
operateCode = TMomFinalUtil.GSJ_INSTRUCTION;
fileSource = "攻丝机工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckJJG1InstructionOutputCommand":
operateCode = TMomFinalUtil.JJG_INSTRUCTION;
fileSource = "机加工工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckJJG2InstructionOutputCommand":
operateCode = TMomFinalUtil.JJG_INSTRUCTION;
fileSource = "机加工工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckPTRCLInstructionOutputCommand":
operateCode = TMomFinalUtil.PTRCL_INSTRUCTION;
fileSource = "普通热处理工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckTZInstructionOutputCommand":
operateCode = TMomFinalUtil.TZ_INSTRUCTION;
fileSource = "台钻工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckTGSXMJInstructionOutputCommand":
operateCode = TMomFinalUtil.TGSXMJ_INSTRUCTION;
fileSource = "通过式修毛机工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckTYMCInstructionOutputCommand":
operateCode = TMomFinalUtil.TYMC_INSTRUCTION;
fileSource = "通用磨床工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckWXMInstructionOutputCommand":
operateCode = TMomFinalUtil.WXM_INSTRUCTION;
fileSource = "无心磨工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckYZInstructionOutputCommand":
operateCode = TMomFinalUtil.YZ_INSTRUCTION;
fileSource = "压装工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckTSInstructionOutputCommand":
operateCode = TMomFinalUtil.TS_INSTRUCTION;
fileSource = "探伤作业指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckCCInstructionOutputCommand":
operateCode = TMomFinalUtil.CC_INSTRUCTION;
fileSource = "车床工艺指导书.xlsx";
break;
case "com.connor.renben.process.plm.commands.CheckJGZXInstructionOutputCommand":
operateCode = TMomFinalUtil.JGZX_INSTRUCTION;
fileSource = "加工中心工艺指导书.xlsx";
break;
default:
break;
}
AbstractAIFUIApplication app = AIFUtility.getCurrentApplication();
TCSession session = (TCSession) app.getSession();
new TMom001CXInstructDialog(app,session,operateCode,fileSource);
// TMom001CXInstructCommand command = new TMom001CXInstructCommand(session, app,operateCode, fileSource,true,"E:\\_");
// try {
// command.executeModal();
// } catch (Exception e) {
// // TODO Auto-generated catch block
// e.printStackTrace();
// MessageBox.post("导出作业指导书失败", "错误", MessageBox.ERROR);
// }
return null;
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save