Commit b909fba1 by qlintonger xeno

feat: 新增双向对比基本算法逻辑

parent 09a08709
...@@ -69,6 +69,10 @@ ...@@ -69,6 +69,10 @@
<PARA>Ref. EM TASK 71-00-02-000-026-B00 (A5-PPBU) - Remove The EBU Fan Case Brackets, Removal-026.</PARA> <PARA>Ref. EM TASK 71-00-02-000-026-B00 (A5-PPBU) - Remove The EBU Fan Case Brackets, Removal-026.</PARA>
</L2ITEM> </L2ITEM>
<L2ITEM> <L2ITEM>
<PARAC>拆卸EBU风扇机匣支架,按EM TASK 71-00-02-000-026-B00--EDC。</PARAC>
<PARA>Ref. EM TASK 71-00-02-000-026-B00 (A5-PPBU) - Remove The EBU Fan Case Brackets, Removal-026--EDC.</PARA>
</L2ITEM>
<L2ITEM>
<PARAC>拆卸低压中压机匣支架,按EM TASK 71-00-02-000-027-B00。</PARAC> <PARAC>拆卸低压中压机匣支架,按EM TASK 71-00-02-000-027-B00。</PARAC>
<PARA>Ref. EM TASK 71-00-02-000-027-B00 (A5-PPBU) - Remove The LP Compressor/Intermediate Case Brackets, Removal-027.</PARA> <PARA>Ref. EM TASK 71-00-02-000-027-B00 (A5-PPBU) - Remove The LP Compressor/Intermediate Case Brackets, Removal-027.</PARA>
</L2ITEM> </L2ITEM>
......
...@@ -9,17 +9,17 @@ ...@@ -9,17 +9,17 @@
<CEP> <CEP>
<EFFECT EFFRG="001999"></EFFECT> <EFFECT EFFRG="001999"></EFFECT>
<TITLEC>发动机QEC拆卸(V2500-A5系列)</TITLEC> <TITLEC>发动机QEC拆卸(V2500-A5系列)</TITLEC>
<TITLE>Remove the Engine's QEC(V2500-A5 series)</TITLE> <TITLE>Remove the Engine's QEC(V2500-A5 series)123</TITLE>
<TOPIC CK-LEVEL="C"> <TOPIC CK-LEVEL="C">
<TITLEC>飞机/发动机基本信息123</TITLEC> <TITLEC>飞机/发动机基本信息</TITLEC>
<TITLE>AIRCRAFT/ENGINE INFORMATION</TITLE> <TITLE>AIRCRAFT/ENGINE INFORMATION</TITLE>
<STEP CK-LEVEL="C"> <STEP CK-LEVEL="C">
<EFFECT EFFRG="001999"></EFFECT> <EFFECT EFFRG="001999"></EFFECT>
<RECORD-LINE> <!-- <RECORD-LINE>-->
<PARAC>发动机序号</PARAC> <!-- <PARAC>发动机序号</PARAC>-->
<PARA>Engine SN</PARA> <!-- <PARA>Engine SN</PARA>-->
<RECORD></RECORD> <!-- <RECORD></RECORD>-->
</RECORD-LINE> <!-- </RECORD-LINE>-->
<NOTE> <NOTE>
<PARAC>开始工作前请记录。</PARAC> <PARAC>开始工作前请记录。</PARAC>
<PARA>Please record before starting work.</PARA> <PARA>Please record before starting work.</PARA>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</STEP> </STEP>
<STEP CK-LEVEL="C"> <STEP CK-LEVEL="C">
<EFFECT EFFRG="001999"></EFFECT> <EFFECT EFFRG="001999"></EFFECT>
<PARAC>按照EB-2020-V250-70-201最新版,完成发动机的出库检查---修改1</PARAC> <PARAC>按照EB-2020-V250-70-201最新版,完成发动机的出库检查。</PARAC>
<PARA>Finish the engine outgoing check ref thelatest version of EB-2020-V250-70-201.</PARA> <PARA>Finish the engine outgoing check ref thelatest version of EB-2020-V250-70-201.</PARA>
<SIGNOFF/> <SIGNOFF/>
</STEP> </STEP>
...@@ -69,6 +69,10 @@ ...@@ -69,6 +69,10 @@
<PARA>Ref. EM TASK 71-00-02-000-026-B00 (A5-PPBU) - Remove The EBU Fan Case Brackets, Removal-026.</PARA> <PARA>Ref. EM TASK 71-00-02-000-026-B00 (A5-PPBU) - Remove The EBU Fan Case Brackets, Removal-026.</PARA>
</L2ITEM> </L2ITEM>
<L2ITEM> <L2ITEM>
<PARAC>拆卸EBU风扇机匣支架,按EM TASK 71-00-02-000-026-B00--EDC。</PARAC>
<PARA>Ref. EM TASK 71-00-02-000-026-B00 (A5-PPBU) - Remove The EBU Fan Case Brackets, Removal-026--EDC.</PARA>
</L2ITEM>
<L2ITEM>
<PARAC>拆卸低压中压机匣支架,按EM TASK 71-00-02-000-027-B00。</PARAC> <PARAC>拆卸低压中压机匣支架,按EM TASK 71-00-02-000-027-B00。</PARAC>
<PARA>Ref. EM TASK 71-00-02-000-027-B00 (A5-PPBU) - Remove The LP Compressor/Intermediate Case Brackets, Removal-027.</PARA> <PARA>Ref. EM TASK 71-00-02-000-027-B00 (A5-PPBU) - Remove The LP Compressor/Intermediate Case Brackets, Removal-027.</PARA>
</L2ITEM> </L2ITEM>
...@@ -286,10 +290,10 @@ ...@@ -286,10 +290,10 @@
<PARAC>发动机QEC零件故检,清洗,集件和导线修理</PARAC> <PARAC>发动机QEC零件故检,清洗,集件和导线修理</PARAC>
<PARA>Remove the Engine's QEC</PARA> <PARA>Remove the Engine's QEC</PARA>
<LIST1> <LIST1>
<!-- <L1ITEM>--> <L1ITEM>
<!-- <PARAC>使用清洗剂清洗拆下QEC件</PARAC>--> <PARAC>使用清洗剂清洗拆下QEC件</PARAC>
<!-- <PARA>Clean all QEC parts with cleanser.</PARA>--> <PARA>Clean all QEC parts with cleanser.</PARA>
<!-- </L1ITEM>--> </L1ITEM>
<L1ITEM> <L1ITEM>
<PARAC>检查右侧空气系统管路,对开口处堵上堵盖。参考EM 71-00-02。</PARAC> <PARAC>检查右侧空气系统管路,对开口处堵上堵盖。参考EM 71-00-02。</PARAC>
<PARA>Inspect the air system tubes which installed on the engine&rsquo;s right side, Ref EM manual 71-00-02.</PARA> <PARA>Inspect the air system tubes which installed on the engine&rsquo;s right side, Ref EM manual 71-00-02.</PARA>
...@@ -314,10 +318,10 @@ ...@@ -314,10 +318,10 @@
<PARAC>目视检查IDG。对开口处堵上堵盖。</PARAC> <PARAC>目视检查IDG。对开口处堵上堵盖。</PARAC>
<PARA>Visual inspect IDG.</PARA> <PARA>Visual inspect IDG.</PARA>
</L1ITEM> </L1ITEM>
<!-- <L1ITEM>--> <L1ITEM>
<!-- <PARAC>目视检查液压泵。</PARAC>--> <PARAC>目视检查液压泵。</PARAC>
<!-- <PARA>Visual inspect hydraulic pump.</PARA>--> <PARA>Visual inspect hydraulic pump.</PARA>
<!-- </L1ITEM>--> </L1ITEM>
<L1ITEM> <L1ITEM>
<PARAC>目视检查高压活门。对开口处堵上堵盖。</PARAC> <PARAC>目视检查高压活门。对开口处堵上堵盖。</PARAC>
<PARA>Visual inspect high pressure bleed valve.</PARA> <PARA>Visual inspect high pressure bleed valve.</PARA>
......
...@@ -7,11 +7,12 @@ import {nodeSet} from '@/views/editor/constants/nodeParsed.ts' ...@@ -7,11 +7,12 @@ import {nodeSet} from '@/views/editor/constants/nodeParsed.ts'
const p = new Processing() const p = new Processing()
// @ts-ignore // @ts-ignore
window.$p = function() { window.$p = function() {
p.dualCompareFromString( let nodeV = p.dualCompareFromString(
TextA, TextA,
TextB, TextB,
nodeSet nodeSet
) )
console.log('v-h', nodeV)
} }
export const XMLProcessing: Plugin = function(app) { export const XMLProcessing: Plugin = function(app) {
app.provide('xmlProcessing', p); app.provide('xmlProcessing', p);
......
...@@ -5,4 +5,22 @@ export type TreeRenderResult = { ...@@ -5,4 +5,22 @@ export type TreeRenderResult = {
hash: string, hash: string,
index: number, index: number,
chained: number[] chained: number[]
}
export type TreeRenderResultFlatted = {
key: string,
label: string,
hash: string,
index: number,
chained: number[]
}
export type OldTreeModification = {
Changed: TreeRenderResultFlatted[],
Deleted: TreeRenderResultFlatted[]
}
export type NewTreeModification = {
Added: TreeRenderResultFlatted[],
Changed: TreeRenderResultFlatted[],
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment