diff --git a/web/new website/GaugGroup.js b/web/new website/GaugGroup.js
new file mode 100644
index 0000000..47434ef
--- /dev/null
+++ b/web/new website/GaugGroup.js
@@ -0,0 +1,41 @@
+class GaugeGroup {
+ constructor(nodeId, gaugesCount) {
+ this.nodeId = nodeId;
+ this.gaugesCount = gaugesCount;
+ this.maxGaugeValue = 100; // Maximum value the gauge can display
+
+ // Create a new div element
+ this.element = document.createElement("div");
+ this.element.className = "gaugeGroup";
+
+ // Set the HTML of the new div
+ this.element.innerHTML = `
+
Gauge Group for Node ${this.nodeId}
+
+ ${Array(this.gaugesCount).fill().map((_, i) => `
+
+
+

+
+
+
0
+
+
+
+ `).join('')}
+
+ `;
+
+ // Append the new div to the body
+ document.body.appendChild(this.element);
+ }
+
+ updateGauge(gaugeId, value) {
+ const needle = document.getElementById(`needle${this.nodeId}_${gaugeId}`);
+ const gaugeText = document.getElementById(`gaugeText${this.nodeId}_${gaugeId}`);
+ const rotationDegree = ((value / this.maxGaugeValue) * 180) - 90; // Convert value to degree (-90 to 90)
+
+ needle.style.transform = `rotate(${rotationDegree}deg)`;
+ gaugeText.textContent = value; // Update the text
+ }
+}
\ No newline at end of file
diff --git a/web/new website/gauge.js b/web/new website/gauge.js
deleted file mode 100644
index 5a6e9cc..0000000
--- a/web/new website/gauge.js
+++ /dev/null
@@ -1,9 +0,0 @@
-function updateGauge(gaugeId, value) {
- const needle = document.getElementById(`needle${gaugeId}`);
- const gaugeText = document.getElementById(`gaugeText${gaugeId}`);
- const maxGaugeValue = 100; // Maximum value the gauge can display
- const rotationDegree = ((value / maxGaugeValue) * 180) - 90; // Convert value to degree (-90 to 90)
-
- needle.style.transform = `rotate(${rotationDegree}deg)`;
- gaugeText.textContent = value; // Update the text
-}
\ No newline at end of file