diff --git a/Release/database/XNSim.db b/Release/database/XNSim.db index 3b232e4..1f099b0 100644 Binary files a/Release/database/XNSim.db and b/Release/database/XNSim.db differ diff --git a/XNSimHtml/components/configuration-config.js b/XNSimHtml/components/configuration-config.js new file mode 100644 index 0000000..9772f79 --- /dev/null +++ b/XNSimHtml/components/configuration-config.js @@ -0,0 +1,1046 @@ +/** + * @class ConfigurationConfig + * @classdesc 构型配置开发组件,采用卡片风格,展示机型信息和构型信息。 + * @extends HTMLElement + */ +class ConfigurationConfig extends HTMLElement { + constructor() { + super(); + this.attachShadow({ mode: 'open' }); + this.currentView = 'planes'; // 'planes' 或 'configurations' 或 'editor' + this.selectedPlane = null; + this.selectedConfiguration = null; + this.userAccessLevel = 0; // 添加用户权限级别属性 + + /** + * 初始化DOM结构,采用卡片风格,展示机型信息和构型信息。 + */ + this.shadowRoot.innerHTML = ` + +