multiple bugfixes from 20 Apr 2020 to 7 jan 2023
This commit is contained in:
parent
902e04c7e6
commit
63d062c4a7
122 changed files with 13163 additions and 12361 deletions
|
|
@ -210,12 +210,12 @@ refresh()
|
|||
this.mb = ' '
|
||||
}
|
||||
|
||||
this.socket_Ing = this.injectData.getSocket_gps();
|
||||
//io.connect('https://www.oneqlik.in/gps', { secure: true, rejectUnauthorized: false, transports: ["polling"], upgrade: false });
|
||||
// this.socket_Ing = this.injectData.getSocket_gps();
|
||||
// //io.connect('https://www.oneqlik.in/gps', { secure: true, rejectUnauthorized: false, transports: ["polling"], upgrade: false });
|
||||
|
||||
this.socket_Ing.on('connect', function(this){
|
||||
// this.socket_Ing.on('connect', function(this){
|
||||
|
||||
});
|
||||
// });
|
||||
// this.Load = true;
|
||||
|
||||
// var secretKey = 'adnateIOTtrackeR';
|
||||
|
|
@ -408,7 +408,7 @@ Ing_Status(){
|
|||
|
||||
for(var y=0; y<this.final.length; y++){
|
||||
// this.socket_Ing.emit('acc',this.final[y].Device_ID )
|
||||
this.socket_Ing.on(this.final[y].Device_ID+'acc', this.accListener(y,this.final[y]))
|
||||
// this.socket_Ing.on(this.final[y].Device_ID+'acc', this.accListener(y,this.final[y]))
|
||||
// this.socket_Ing.on(this.final[y].Device_ID+'acc',function(d1,d2,d3,d4,d5){
|
||||
// console.log("d1,d2,d3,d4,d5",d1,d2,d3,d4,d5);
|
||||
// });
|
||||
|
|
@ -470,13 +470,13 @@ getrequest(para){
|
|||
this.supAdm = this.useridd;
|
||||
}
|
||||
|
||||
let socket_Ing = this.injectData.getSocket_gps();
|
||||
io.connect('https://www.oneqlik.in/gps', { secure: true, rejectUnauthorized: false, transports: ["websocket", "polling"], upgrade: false });
|
||||
// let socket_Ing = this.injectData.getSocket_gps();
|
||||
// io.connect('https://www.oneqlik.in/gps', { secure: true, rejectUnauthorized: false, transports: ["websocket", "polling"], upgrade: false });
|
||||
|
||||
socket_Ing.on('connect', function(this){
|
||||
// socket_Ing.on('connect', function(this){
|
||||
|
||||
|
||||
});
|
||||
// });
|
||||
|
||||
|
||||
// this.injectData.getGroupData(this.emailid,this.useridd).subscribe(resp=>{
|
||||
|
|
@ -505,12 +505,12 @@ getrequest(para){
|
|||
// });
|
||||
}
|
||||
ngOnDestroy() {
|
||||
for (var e = 0; e < this.ing_Arr.length; e++){
|
||||
// console.log(this.ing_Arr[e])
|
||||
// for (var e = 0; e < this.ing_Arr.length; e++){
|
||||
// // console.log(this.ing_Arr[e])
|
||||
|
||||
this.socket_Ing.removeAllListeners(this.ing_Arr[e])
|
||||
}
|
||||
this.socket_Ing.removeAllListeners()
|
||||
// this.socket_Ing.removeAllListeners(this.ing_Arr[e])
|
||||
// }
|
||||
// this.socket_Ing.removeAllListeners()
|
||||
}
|
||||
|
||||
showd(d){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue