Commit c76515f2 authored by supermikii's avatar supermikii
Browse files

modify demo3 minor fix

parent a13ea884
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -917,14 +917,15 @@ func stateTransferPOST(w http.ResponseWriter, r *http.Request) {
			return
		}

	}

	appActivityLogs = append(appActivityLogs, "=== Receive device "+targetContextState.Device+" context (state="+counter+") [200]")

		// Update ams pan// Default device status & state set to 0
		trackDevices = append(trackDevices, targetContextState.Device)

	}

	terminalDeviceState[targetContextState.Device] = targetContextState.Counter

	appActivityLogs = append(appActivityLogs, "=== Receive device "+targetContextState.Device+" context (state="+counter+") [200]")

	w.WriteHeader(http.StatusOK)
}