Spaces:
Running
Running
can you add specific equipment models and specific components to look at - Follow Up Deployment
Browse files- index.html +104 -2
index.html
CHANGED
|
@@ -168,6 +168,19 @@
|
|
| 168 |
'car': {
|
| 169 |
name: 'Automobile',
|
| 170 |
description: 'Cars, trucks, motorcycles and other vehicles',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 171 |
commonSymptoms: [
|
| 172 |
'Engine won\'t start',
|
| 173 |
'Strange noises',
|
|
@@ -200,6 +213,19 @@
|
|
| 200 |
'jet-engine': {
|
| 201 |
name: 'Jet Engine',
|
| 202 |
description: 'Aircraft propulsion systems and turbines',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
commonSymptoms: [
|
| 204 |
'Loss of thrust',
|
| 205 |
'Excessive vibration',
|
|
@@ -226,6 +252,19 @@
|
|
| 226 |
'computer': {
|
| 227 |
name: 'Computer System',
|
| 228 |
description: 'PCs, servers, networking equipment',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 229 |
commonSymptoms: [
|
| 230 |
'Won\'t power on',
|
| 231 |
'Blue screen errors',
|
|
@@ -252,6 +291,19 @@
|
|
| 252 |
'medical': {
|
| 253 |
name: 'Medical Equipment',
|
| 254 |
description: 'Diagnostic machines, monitors, and devices',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
commonSymptoms: [
|
| 256 |
'Inaccurate readings',
|
| 257 |
'Device not powering on',
|
|
@@ -278,6 +330,19 @@
|
|
| 278 |
'industrial': {
|
| 279 |
name: 'Industrial Machinery',
|
| 280 |
description: 'Manufacturing and production equipment',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 281 |
commonSymptoms: [
|
| 282 |
'Unexpected shutdowns',
|
| 283 |
'Excessive vibration',
|
|
@@ -385,11 +450,48 @@
|
|
| 385 |
document.getElementById('results-placeholder').classList.add('hidden');
|
| 386 |
document.getElementById('results-container').classList.remove('hidden');
|
| 387 |
|
| 388 |
-
// Set results title
|
| 389 |
document.getElementById('results-title').textContent = `Troubleshooting ${equipmentData[selectedEquipment].name}`;
|
| 390 |
|
| 391 |
-
//
|
| 392 |
const resultsContainer = document.getElementById('results-content');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 393 |
resultsContainer.innerHTML = '';
|
| 394 |
|
| 395 |
// Split symptoms by commas or other separators
|
|
|
|
| 168 |
'car': {
|
| 169 |
name: 'Automobile',
|
| 170 |
description: 'Cars, trucks, motorcycles and other vehicles',
|
| 171 |
+
models: [
|
| 172 |
+
'Toyota Camry (2015-2023)',
|
| 173 |
+
'Ford F-150 (2018-2023)',
|
| 174 |
+
'Honda Civic (2016-2023)',
|
| 175 |
+
'Chevrolet Silverado (2019-2023)'
|
| 176 |
+
],
|
| 177 |
+
keyComponents: [
|
| 178 |
+
'Engine Control Module (ECM)',
|
| 179 |
+
'Transmission',
|
| 180 |
+
'Fuel Injection System',
|
| 181 |
+
'Braking System',
|
| 182 |
+
'Electrical System'
|
| 183 |
+
],
|
| 184 |
commonSymptoms: [
|
| 185 |
'Engine won\'t start',
|
| 186 |
'Strange noises',
|
|
|
|
| 213 |
'jet-engine': {
|
| 214 |
name: 'Jet Engine',
|
| 215 |
description: 'Aircraft propulsion systems and turbines',
|
| 216 |
+
models: [
|
| 217 |
+
'GE CF6-80',
|
| 218 |
+
'Pratt & Whitney PW4000',
|
| 219 |
+
'Rolls-Royce Trent 700',
|
| 220 |
+
'CFM International CFM56'
|
| 221 |
+
],
|
| 222 |
+
keyComponents: [
|
| 223 |
+
'Fan Blades',
|
| 224 |
+
'Compressor Section',
|
| 225 |
+
'Combustion Chamber',
|
| 226 |
+
'Turbine Section',
|
| 227 |
+
'Fuel Nozzles'
|
| 228 |
+
],
|
| 229 |
commonSymptoms: [
|
| 230 |
'Loss of thrust',
|
| 231 |
'Excessive vibration',
|
|
|
|
| 252 |
'computer': {
|
| 253 |
name: 'Computer System',
|
| 254 |
description: 'PCs, servers, networking equipment',
|
| 255 |
+
models: [
|
| 256 |
+
'Dell PowerEdge R740',
|
| 257 |
+
'HP ProLiant DL380',
|
| 258 |
+
'Lenovo ThinkSystem SR650',
|
| 259 |
+
'Cisco UCS C240 M5'
|
| 260 |
+
],
|
| 261 |
+
keyComponents: [
|
| 262 |
+
'CPU',
|
| 263 |
+
'RAM',
|
| 264 |
+
'Storage Drives',
|
| 265 |
+
'Power Supply Unit',
|
| 266 |
+
'Network Interface Cards'
|
| 267 |
+
],
|
| 268 |
commonSymptoms: [
|
| 269 |
'Won\'t power on',
|
| 270 |
'Blue screen errors',
|
|
|
|
| 291 |
'medical': {
|
| 292 |
name: 'Medical Equipment',
|
| 293 |
description: 'Diagnostic machines, monitors, and devices',
|
| 294 |
+
models: [
|
| 295 |
+
'GE Healthcare CARESCAPE B650',
|
| 296 |
+
'Philips IntelliVue MX800',
|
| 297 |
+
'Siemens MAGNETOM Vida',
|
| 298 |
+
'Drager Infinity Delta'
|
| 299 |
+
],
|
| 300 |
+
keyComponents: [
|
| 301 |
+
'Patient Monitoring Sensors',
|
| 302 |
+
'Imaging Components',
|
| 303 |
+
'Control Processors',
|
| 304 |
+
'Power Distribution Units',
|
| 305 |
+
'Communication Modules'
|
| 306 |
+
],
|
| 307 |
commonSymptoms: [
|
| 308 |
'Inaccurate readings',
|
| 309 |
'Device not powering on',
|
|
|
|
| 330 |
'industrial': {
|
| 331 |
name: 'Industrial Machinery',
|
| 332 |
description: 'Manufacturing and production equipment',
|
| 333 |
+
models: [
|
| 334 |
+
'Fanuc Robodrill',
|
| 335 |
+
'Haas VF-2SS',
|
| 336 |
+
'Mazak VARIAXIS i-700',
|
| 337 |
+
'Okuma GENOS M560-V'
|
| 338 |
+
],
|
| 339 |
+
keyComponents: [
|
| 340 |
+
'CNC Controller',
|
| 341 |
+
'Spindle Motor',
|
| 342 |
+
'Linear Guides',
|
| 343 |
+
'Hydraulic System',
|
| 344 |
+
'Coolant System'
|
| 345 |
+
],
|
| 346 |
commonSymptoms: [
|
| 347 |
'Unexpected shutdowns',
|
| 348 |
'Excessive vibration',
|
|
|
|
| 450 |
document.getElementById('results-placeholder').classList.add('hidden');
|
| 451 |
document.getElementById('results-container').classList.remove('hidden');
|
| 452 |
|
| 453 |
+
// Set results title and show equipment info
|
| 454 |
document.getElementById('results-title').textContent = `Troubleshooting ${equipmentData[selectedEquipment].name}`;
|
| 455 |
|
| 456 |
+
// Show equipment models and components
|
| 457 |
const resultsContainer = document.getElementById('results-content');
|
| 458 |
+
|
| 459 |
+
const infoCard = document.createElement('div');
|
| 460 |
+
infoCard.className = 'fade-in bg-blue-50 p-4 rounded-lg border border-blue-200 mb-4';
|
| 461 |
+
|
| 462 |
+
const modelsTitle = document.createElement('h4');
|
| 463 |
+
modelsTitle.className = 'font-medium text-blue-700 mb-1';
|
| 464 |
+
modelsTitle.textContent = 'Common Models:';
|
| 465 |
+
infoCard.appendChild(modelsTitle);
|
| 466 |
+
|
| 467 |
+
const modelsList = document.createElement('div');
|
| 468 |
+
modelsList.className = 'flex flex-wrap gap-2 mb-3';
|
| 469 |
+
|
| 470 |
+
equipmentData[selectedEquipment].models.forEach(model => {
|
| 471 |
+
const tag = document.createElement('div');
|
| 472 |
+
tag.className = 'bg-blue-100 text-blue-800 text-sm px-3 py-1 rounded-full';
|
| 473 |
+
tag.textContent = model;
|
| 474 |
+
modelsList.appendChild(tag);
|
| 475 |
+
});
|
| 476 |
+
infoCard.appendChild(modelsList);
|
| 477 |
+
|
| 478 |
+
const componentsTitle = document.createElement('h4');
|
| 479 |
+
componentsTitle.className = 'font-medium text-blue-700 mb-1';
|
| 480 |
+
componentsTitle.textContent = 'Key Components:';
|
| 481 |
+
infoCard.appendChild(componentsTitle);
|
| 482 |
+
|
| 483 |
+
const componentsList = document.createElement('div');
|
| 484 |
+
componentsList.className = 'flex flex-wrap gap-2';
|
| 485 |
+
|
| 486 |
+
equipmentData[selectedEquipment].keyComponents.forEach(component => {
|
| 487 |
+
const tag = document.createElement('div');
|
| 488 |
+
tag.className = 'bg-blue-100 text-blue-800 text-sm px-3 py-1 rounded-full';
|
| 489 |
+
tag.textContent = component;
|
| 490 |
+
componentsList.appendChild(tag);
|
| 491 |
+
});
|
| 492 |
+
infoCard.appendChild(componentsList);
|
| 493 |
+
|
| 494 |
+
resultsContainer.appendChild(infoCard);
|
| 495 |
resultsContainer.innerHTML = '';
|
| 496 |
|
| 497 |
// Split symptoms by commas or other separators
|