Skip to content
Snippets Groups Projects
Commit eb3ca792 authored by Benedikt's avatar Benedikt
Browse files

added new code

parent 938f83fa
No related branches found
No related tags found
No related merge requests found
<dcc:result refType="vibration_chargeTransferFunction">
<!-- PROMT: Display this structure in its own tab using a measurment result render -->
<dcc:name>
<!-- PROMT: Use this name in selected language for the Measurment Result Tab -->
<dcc:content lang="de">Ladungsübertragungskoeffizienten</dcc:content>
<dcc:content lang="en">Charge transfer coefficients</dcc:content>
</dcc:name>
<dcc:data>
<dcc:list refType="basic_1IndexTable">
<!-- PROMT: A dcc:list with refType="basic_\dIndexTable" marks an long N dimensional table basic_1IndexTable has one Index vector witch we use for plotting as X-Axis, if there are multiple index quantitys make them switchable -->
<dcc:name>
<dcc:content lang="en">Charge transfer coefficients</dcc:content>
<dcc:content lang="de">Ladungsübertragungskoeffizienten</dcc:content>
<!-- PROMT: This is the Name of The Measurmeantdata Table/Plot Element there can be multiple of this tables in one result -->
</dcc:name>
<!-- PROMT: The Table consist of multiple quantis witch all have same length or length one if data is same for all elements-->
<!-- PROMT: All Quantities in the structure also the ones in [dcc:measurementMetaData][dcc:metaData] Belong to the same table so just pars this to a flat list of tables seperating betwean index and non index quantites -->
<!-- PROMT: Qunatities contain rich amount of information we will convert the syntax of <si:unitXMLList>\hertz</si:unitXMLList> and other units to html later by an dsiUnit class with conversion options later on-->
<!-- PROMT: UI DESIGN: i want an interactive plotly plot at top and than an nice layouted table-->
<!-- PROMT: All qunatites share the same selectable X-Axis Quantity all Qunatitys with refTypes matching basic_tableIndex\d are selectable as X-Axis, the active X-Axis is not plotted but unselected are.-->
<!-- PROMT: All Plots share the same interactive X-Axis -->
<dcc:quantity refType="vibration_frequency basic_nominalValue basic_tableIndex0">
<dcc:name>
<dcc:content lang="en">Excitation frequency</dcc:content>
<dcc:content lang="de">Anregungsfrequenz</dcc:content>
</dcc:name>
<si:realListXMLList>
<si:labelXMLList>f</si:labelXMLList>
<si:valueXMLList>10.0 12.5 16.0 20.0 25.0 31.5 40.0 50.0 63.0 80.0 1.0e+02
1.25e+02 1.6e+02 2.0e+02 2.5e+02 3.15e+02 4.0e+02 5.0e+02 6.3e+02 8.0e+02
1.0e+03 1.25e+03 1.6e+03 2.0e+03 2.5e+03 3.15e+03 4.0e+03 5.0e+03 6.3e+03
8.0e+03 1.0e+04</si:valueXMLList>
<si:unitXMLList>\hertz</si:unitXMLList>
</si:realListXMLList>
</dcc:quantity>
<!-- ~~ -->
<dcc:quantity refType="vibration_magnitudeTransferCoefCharge vibration_magnitude">
<dcc:name>
<dcc:content lang="en">Charge transfer coefficient magnitude</dcc:content>
<dcc:content lang="de">Ladungsübertragungskoeffizent Betrag</dcc:content>
</dcc:name>
<si:realListXMLList>
<si:labelXMLList>S_{\text{qa}}</si:labelXMLList>
<si:valueXMLList>0.13017 0.13017 0.13016 0.13016 0.13017 0.13017 0.13017 0.13016
0.13013 0.13013 0.13012 0.13012 0.13012 0.13012 0.13014 0.13014 0.13015 0.13018
0.13017 0.13027 0.13033 0.13044 0.13058 0.13085 0.13124 0.13188 0.13300 0.13467
0.13753 0.14285 0.14968</si:valueXMLList>
<si:unitXMLList>\pico\coulomb\per\metre\second\tothe{-2}</si:unitXMLList>
<si:measurementUncertaintyUnivariateXMLList>
<si:expandedMUXMLList>
<si:valueExpandedMUXMLList>0.00026 0.00026 0.00026 0.00026 0.00026 0.00026
0.00026 0.00026 0.00026 0.00026 0.00026 0.00026 0.00026 0.00026 0.00026
0.00026 0.00026 0.00026 0.00026 0.00026 0.00026 0.00026 0.00039 0.00039
0.00039 0.00040 0.00040 0.00040 0.00055 0.00057 0.00060</si:valueExpandedMUXMLList>
<si:coverageFactorXMLList>2.0</si:coverageFactorXMLList>
<si:coverageProbabilityXMLList>0.95</si:coverageProbabilityXMLList>
<si:distributionXMLList>normal</si:distributionXMLList>
</si:expandedMUXMLList>
</si:measurementUncertaintyUnivariateXMLList>
</si:realListXMLList>
<dcc:relativeUncertainty>
<dcc:relativeUncertaintyXmlList>
<si:valueXMLList>0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2
0.2 0.2 0.2 0.2 0.2 0.2 0.3 0.3 0.3 0.3 0.3 0.3 0.4 0.4 0.4</si:valueXMLList>
<si:unitXMLList>\percent</si:unitXMLList>
</dcc:relativeUncertaintyXmlList>
</dcc:relativeUncertainty>
<dcc:measurementMetaData>
<dcc:metaData refType="basic_conformity">
<!-- PROMT: This is an Confomety statment its true if conditions is matched and false if conditions are not mached we will use it later on for collor codeing the results and draw some lines -->
<dcc:convention>customer</dcc:convention>
<dcc:conformityXMLList>pass pass pass pass pass pass pass pass pass pass pass
pass pass pass pass pass pass pass pass pass pass pass fail fail fail fail
fail fail fail fail fail</dcc:conformityXMLList>
<dcc:data>
<dcc:quantity refType="basic_toleranceLimitLower">
<dcc:name>
<dcc:content lang="en">Untere Konformitäts-Grenze des Betrags des Ladungsübertragungskoeffizenten</dcc:content>
<dcc:content lang="de">Lower conformity limit for Charge transfer coefficient magnitude</dcc:content>
</dcc:name>
<si:realListXMLList>
<si:valueXMLList>0.1236615</si:valueXMLList>
<si:unitXMLList>\pico\coulomb\per\metre\second\tothe{-2}</si:unitXMLList>
</si:realListXMLList>
</dcc:quantity>
<dcc:quantity refType="basic_toleranceLimitUpper">
<dcc:name>
<dcc:content lang="en">Obere Konformitäts-Grenze des Betrags des Ladungsübertragungskoeffizenten</dcc:content>
<dcc:content lang="de">Upper conformity limit for Charge transfer coefficient magnitude</dcc:content>
</dcc:name>
<si:realListXMLList>
<si:valueXMLList>0.1366785</si:valueXMLList>
<si:unitXMLList>\pico\coulomb\per\metre\second\tothe{-2}</si:unitXMLList>
</si:realListXMLList>
</dcc:quantity>
</dcc:data>
</dcc:metaData>
</dcc:measurementMetaData>
</dcc:quantity>
<!-- ~~ -->
<dcc:quantity refType="vibration_phase">
<dcc:name>
<dcc:content lang="de">Ladungsübertragungskoeffizent Phasenverzögerung</dcc:content>
<dcc:content lang="en">Charge transfer coefficient phase delay</dcc:content>
</dcc:name>
<si:realListXMLList>
<si:valueXMLList>-0.02 -0.03 -0.02 -0.02 -0.01 -0.01 -0.02 -0.01 0.00 0.01 -0.01
-0.01 -0.00 -0.00 0.00 0.00 0.00 0.01 0.03 0.02 0.01 -0.01 0.00 0.00 0.01 0.01
-0.00 -0.01 0.01 -1.97 -0.09</si:valueXMLList>
<si:unitXMLList>\degree</si:unitXMLList>
<si:measurementUncertaintyUnivariateXMLList>
<si:expandedMUXMLList>
<si:valueExpandedMUXMLList>0.20 0.20 0.20 0.20 0.20 0.20 0.20 0.20 0.20 0.20
0.20 0.20 0.20 0.20 0.20 0.20 0.20 0.20 0.20 0.20 0.20 0.50 0.50 0.50 0.50
0.50 0.50 0.50 0.50 0.50 0.50</si:valueExpandedMUXMLList>
<si:coverageFactorXMLList>2.0</si:coverageFactorXMLList>
<si:coverageProbabilityXMLList>0.95</si:coverageProbabilityXMLList>
<si:distributionXMLList>normal</si:distributionXMLList>
</si:expandedMUXMLList>
</si:measurementUncertaintyUnivariateXMLList>
</si:realListXMLList>
</dcc:quantity>
<!-- ~~~ -->
<dcc:measurementMetaData>
<dcc:metaData>
<dcc:name>
<dcc:content lang="en">Additional information</dcc:content>
<dcc:content lang="de">Zusätzliche Informationen</dcc:content>
</dcc:name>
<dcc:data>
<dcc:quantity
refType="vibration_accelerationAmplitude basic_nominalValue">
<dcc:name>
<dcc:content lang="en">Acceleration amplitude</dcc:content>
<dcc:content lang="de">Beschleunigungsamplitude</dcc:content>
</dcc:name>
<si:realListXMLList>
<si:labelXMLList>\hat{a}</si:labelXMLList>
<si:valueXMLList>5.0 5.0 5.0 10.0 10.0 10.0 10.0 50.0 50.0 50.0 50.0 50.0
50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 1.0e+02 1.0e+02 1.0e+02 1.0e+02
1.0e+02 1.0e+02 1.0e+02 1.0e+02 1.0e+02 1.0e+02 1.0e+02</si:valueXMLList>
<si:unitXMLList>\metre\second\tothe{-2}</si:unitXMLList>
</si:realListXMLList>
</dcc:quantity>
</dcc:data>
</dcc:metaData>
<dcc:metaData refType="basic_tableRowComment">
<!-- PROMT: this is ac comment only valid at the index position where validXMLList is true-->
<dcc:name>
<dcc:content lang="en">Comment resonances</dcc:content>
<dcc:content lang="de">Kommentar Gehäuseresonanzen</dcc:content>
</dcc:name>
<dcc:description>
<dcc:content lang="en">Between 7.5 kHz and 8.5 kHz, the transducer exhibited a pronounced housing transverse resonance, which led to a systematic deviation in the calibration results. Even averaging over several measurement positions could not completely suppress this influence.</dcc:content>
<dcc:content lang="de">Der Aufnehmer zeigte zwischen 7,5 kHz und 8,5 kHz eine ausgeprägte Gehäusequerresonanz, die zu einer systematischen Abweichung der Kalibrierergebnisse führte. Auch eine Mittelung über mehrere Messpositionen konnte diesen Einfluss nicht vollständig unterdrücken.</dcc:content>
</dcc:description>
<dcc:validXMLList>false false false false false false false false false false
false false false false false false false false false false false false false
false false false false false false true false</dcc:validXMLList>
</dcc:metaData>
</dcc:measurementMetaData>
</dcc:list>
</dcc:data>
</dcc:result>
......@@ -603,7 +603,7 @@ Entsprechend ISO 2041 ist die Phasenverschiebung definiert zu Δφqa = φq - φa
<dcc:content lang="en">Charge transfer coefficients</dcc:content>
</dcc:name>
<dcc:data>
<dcc:list refType="basic_0IndexTable">
<dcc:list refType="basic_1IndexTable">
<dcc:name>
<dcc:content lang="en">Charge transfer coefficients</dcc:content>
<dcc:content lang="de">Ladungsübertragungskoeffizienten</dcc:content>
......@@ -753,4 +753,4 @@ Entsprechend ISO 2041 ist die Phasenverschiebung definiert zu Δφqa = φq - φa
</dcc:results>
</dcc:measurementResult>
</dcc:measurementResults>
</dcc:digitalCalibrationCertificate>
\ No newline at end of file
</dcc:digitalCalibrationCertificate>
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="c3d759c9-e9f8-41d4-b9b5-ef12db68e70c" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/index.html" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/public/styles.css" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/BaseViewer.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/JSONTreeViewer.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/accordionComponent.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/components/tabComponent.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/globalData.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/globalOptions.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/idRegistry.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/main.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/adminRenderer.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/jsonTreeViewer.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/languageSelector.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/measurementRenderer.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/ui/themeSwitcher.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/utils.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/viewerRegistry.js" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/xmlToJson.js" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="JavaScript File" />
</list>
</option>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component>
<component name="ProjectColorInfo">{
&quot;associatedIndex&quot;: 6
}</component>
<component name="ProjectId" id="2tLWdqlIz5X4SCSwK5EjWvfiZtG" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"JavaScript Debug.Debug Vite.executor": "Run",
"JavaScript Debug.dccViewer.executor": "Debug",
"JavaScript Debug.index.html.executor": "Run",
"Node.js.vite.config.js.executor": "Run",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.git.unshallow": "true",
"git-widget-placeholder": "main",
"last_opened_file_path": "/home/seeger01/Downloads/de-6.4.jar",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"settings.editor.selected.configurable": "http.proxy",
"ts.external.directory.path": "/home/seeger01/Downloads/WebStorm-243.24978.60/plugins/javascript-plugin/jsLanguageServicesImpl/external",
"vue.rearranger.settings.migration": "true"
}
}]]></component>
<component name="RunManager">
<configuration name="dccViewer" type="JavascriptDebugType" uri="http://localhost:5173/">
<method v="2" />
</configuration>
</component>
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-js-predefined-d6986cc7102b-76f8388c3a79-JavaScript-WS-243.24978.60" />
</set>
</attachedChunks>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="c3d759c9-e9f8-41d4-b9b5-ef12db68e70c" name="Changes" comment="" />
<created>1740131925655</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1740131925655</updated>
<workItem from="1740131927264" duration="102000" />
<workItem from="1740132052064" duration="10000" />
<workItem from="1740132146315" duration="24000" />
<workItem from="1740132175271" duration="89000" />
<workItem from="1740158794192" duration="1155000" />
<workItem from="1740380748268" duration="5118000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
</project>
\ No newline at end of file
......@@ -8,6 +8,7 @@
"name": "dcc-viewer",
"version": "1.0.0",
"dependencies": {
"events": "^3.3.0",
"jsoneditor": "^9.5.6",
"plotly.js-dist": "^2.18.2",
"xml2js": "^0.4.23"
......@@ -456,6 +457,15 @@
"@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/events": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
"integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
"license": "MIT",
"engines": {
"node": ">=0.8.x"
}
},
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
......
......@@ -10,7 +10,8 @@
"dependencies": {
"xml2js": "^0.4.23",
"jsoneditor": "^9.5.6",
"plotly.js-dist": "^2.18.2"
"plotly.js-dist": "^2.18.2",
"events": "^3.3.0"
},
"devDependencies": {
"vite": "^4.0.0"
......
This diff is collapsed.
import { defineConfig } from 'vite';
export default defineConfig({
resolve: {
alias: {
// Ensure that Node's events module is polyfilled
events: 'events'
}
},
optimizeDeps: {
esbuildOptions: {
// Define global as globalThis to help with some Node packages
define: { global: 'globalThis' }
}
}
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment