12/9/2025 10:06:31 AM - === NEW updateCompleteAsset REQUEST ===
12/9/2025 10:06:31 AM - Hostname: TEST
12/9/2025 10:06:31 AM - Serial: TEST123
12/9/2025 10:06:31 AM - PC Type: 
12/9/2025 10:06:31 AM - PC record created/updated. machineid: 5838
12/9/2025 10:30:37 AM - === NEW updateCompleteAsset REQUEST ===
12/9/2025 10:30:37 AM - Hostname: TESTHT
12/9/2025 10:30:37 AM - Serial: TESTHT123
12/9/2025 10:30:37 AM - PC Type: HeatTreat
12/9/2025 10:30:37 AM - Unknown pcType 'HeatTreat' for pctypeid, defaulting to Standard (1)
12/9/2025 10:30:37 AM - Mapped pcType 'HeatTreat' to pctypeid: 1
12/9/2025 10:30:37 AM - PC record created/updated. machineid: 5839
12/9/2025 10:31:10 AM - === NEW updateCompleteAsset REQUEST ===
12/9/2025 10:31:10 AM - Hostname: TESTHT
12/9/2025 10:31:10 AM - Serial: TESTHT123
12/9/2025 10:31:10 AM - PC Type: HeatTreat
12/9/2025 10:31:10 AM - Unknown pcType 'HeatTreat' for pctypeid, defaulting to Standard (1)
12/9/2025 10:31:10 AM - Mapped pcType 'HeatTreat' to pctypeid: 1
12/9/2025 10:31:10 AM - PC record created/updated. machineid: 5840
12/9/2025 10:32:05 AM - === NEW updateCompleteAsset REQUEST ===
12/9/2025 10:32:05 AM - Hostname: TESTHT
12/9/2025 10:32:05 AM - Serial: TESTHT123
12/9/2025 10:32:05 AM - PC Type: HeatTreat
12/9/2025 10:32:05 AM - Mapped pcType 'HeatTreat' to pctypeid: 9
12/9/2025 10:32:05 AM - PC record created/updated. machineid: 5841
12/9/2025 10:40:33 AM - === NEW updateCompleteAsset REQUEST ===
12/9/2025 10:40:33 AM - Hostname: GFG48DW2ESF
12/9/2025 10:40:33 AM - Serial: FG48DW2
12/9/2025 10:40:33 AM - PC Type: HeatTreat
12/9/2025 10:40:34 AM - Mapped pcType 'HeatTreat' to pctypeid: 9
12/9/2025 10:40:34 AM - PC record created/updated. machineid: 5268
12/9/2025 10:40:34 AM - CreatePCMachineRelationship: Executing SQL: SELECT machineid FROM machines WHERE machinenumber = '6603' AND pctypeid IS NULL
12/9/2025 10:40:34 AM - CreatePCMachineRelationship: Found equipment machineid=174 for machine number: 6603
12/9/2025 10:40:34 AM - CreatePCMachineRelationship: Creating relationship PC 5268 -> Controls -> Equipment 174
12/9/2025 10:40:34 AM - CreatePCMachineRelationship: Checking for duplicate: SELECT relationshipid FROM machinerelationships WHERE machineid = 5268 AND related_machineid = 174 AND relationshiptypeid = 3
12/9/2025 10:40:34 AM - CreatePCMachineRelationship: No duplicate found, proceeding with INSERT
12/9/2025 10:40:34 AM - Created Controls relationship: Equipment 174 controlled by PC 5268
12/9/2025 10:40:34 AM - PC-Machine relationship created: True
12/9/2025 10:40:34 AM - SaveInstalledApps: machineid=5268, raw JSON length=94
12/9/2025 10:40:34 AM - SaveInstalledApps: Parsed 2 apps
12/9/2025 10:40:34 AM - SaveInstalledApps: Saved 2 apps
12/9/2025 10:40:34 AM - Installed apps saved: 2
12/9/2025 10:47:04 AM - === NEW updateCompleteAsset REQUEST ===
12/9/2025 10:47:04 AM - Hostname: TESTPC
12/9/2025 10:47:04 AM - Serial: TEST123
12/9/2025 10:47:04 AM - PC Type: HeatTreat
12/9/2025 10:47:04 AM - PC record created/updated. machineid: 5842
