home.js
-
[PipingModel] Home.js 설정PTC/Vuforia 2022. 5. 17. 16:01
// Create gauge1 as an app parameter and bind to gauge. This will create a random number in the range (20, 61) every 3 seconds var tick=0; $interval(function() { $scope.app.params.gauge1 = Math.floor(Math.random() * 41) + 123 } ,1000); var tick=0; $interval(function() { $scope.app.params.gauge2 = Math.floor(Math.random() * 3) + 156 } ,3000); var tick=0; $interval(function() { $scope.app.params.g..