74 lines
3.0 KiB
JavaScript
74 lines
3.0 KiB
JavaScript
const byId = (id) => document.getElementById(id);
|
|
|
|
export const dom = {
|
|
statusText: byId("statusText"),
|
|
sourceList: byId("sourceList"),
|
|
nodeTree: byId("nodeTree"),
|
|
pointList: byId("pointList"),
|
|
pointsPageInfo: byId("pointsPageInfo"),
|
|
selectedCount: byId("selectedCount"),
|
|
selectedPointCount: byId("selectedPointCount"),
|
|
pointFilterSummary: byId("pointFilterSummary"),
|
|
clearEquipmentFilterBtn: byId("clearEquipmentFilter"),
|
|
pointSourceSelect: byId("pointSourceSelect"),
|
|
pointSourceNodeCount: byId("pointSourceNodeCount"),
|
|
openPointModalBtn: byId("openPointModal"),
|
|
logView: byId("logView"),
|
|
chartCanvas: byId("chartCanvas"),
|
|
chartTitle: byId("chartTitle"),
|
|
chartSummary: byId("chartSummary"),
|
|
pointModal: byId("pointModal"),
|
|
sourceModal: byId("sourceModal"),
|
|
equipmentModal: byId("equipmentModal"),
|
|
pointBindingModal: byId("pointBindingModal"),
|
|
batchBindingModal: byId("batchBindingModal"),
|
|
apiDocDrawer: byId("apiDocDrawer"),
|
|
sourceForm: byId("sourceForm"),
|
|
sourceId: byId("sourceId"),
|
|
sourceName: byId("sourceName"),
|
|
sourceEndpoint: byId("sourceEndpoint"),
|
|
sourceEnabled: byId("sourceEnabled"),
|
|
sourceResetBtn: byId("sourceReset"),
|
|
equipmentForm: byId("equipmentForm"),
|
|
equipmentId: byId("equipmentId"),
|
|
equipmentCode: byId("equipmentCode"),
|
|
equipmentName: byId("equipmentName"),
|
|
equipmentKind: byId("equipmentKind"),
|
|
equipmentDescription: byId("equipmentDescription"),
|
|
equipmentResetBtn: byId("equipmentReset"),
|
|
equipmentKeyword: byId("equipmentKeyword"),
|
|
equipmentList: byId("equipmentList"),
|
|
closeEquipmentModalBtn: byId("closeEquipmentModal"),
|
|
pointBindingForm: byId("pointBindingForm"),
|
|
bindingPointId: byId("bindingPointId"),
|
|
bindingPointName: byId("bindingPointName"),
|
|
bindingEquipmentId: byId("bindingEquipmentId"),
|
|
bindingSignalRole: byId("bindingSignalRole"),
|
|
batchBindingForm: byId("batchBindingForm"),
|
|
batchBindingSummary: byId("batchBindingSummary"),
|
|
batchBindingEquipmentId: byId("batchBindingEquipmentId"),
|
|
batchBindingSignalRole: byId("batchBindingSignalRole"),
|
|
apiDocToc: byId("apiDocToc"),
|
|
apiDocContent: byId("apiDocContent"),
|
|
openApiDocBtn: byId("openApiDoc"),
|
|
closeApiDocBtn: byId("closeApiDoc"),
|
|
refreshChartBtn: byId("refreshChart"),
|
|
prevPointsBtn: byId("prevPoints"),
|
|
nextPointsBtn: byId("nextPoints"),
|
|
refreshEquipmentBtn: byId("refreshEquipmentBtn"),
|
|
newEquipmentBtn: byId("newEquipmentBtn"),
|
|
browseNodesBtn: byId("browseNodes"),
|
|
refreshTreeBtn: byId("refreshTree"),
|
|
createPointsBtn: byId("createPoints"),
|
|
closeModalBtn: byId("closeModal"),
|
|
openSourceFormBtn: byId("openSourceForm"),
|
|
closeSourceModalBtn: byId("closeSourceModal"),
|
|
clearPointBindingBtn: byId("clearPointBinding"),
|
|
closePointBindingModalBtn: byId("closePointBindingModal"),
|
|
toggleAllPoints: byId("toggleAllPoints"),
|
|
openBatchBindingBtn: byId("openBatchBinding"),
|
|
clearSelectedPointsBtn: byId("clearSelectedPoints"),
|
|
closeBatchBindingModalBtn: byId("closeBatchBindingModal"),
|
|
clearBatchBindingBtn: byId("clearBatchBinding"),
|
|
};
|