Toggle navigation
Toggle navigation
This project
Loading...
Sign in
최현영
/
Expresswayinfo24
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
4
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
최현영
2020-06-07 12:35:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4f5a27546ce950362d8e0809d799228b3dca4178
4f5a2754
1 parent
1a594678
Finally Highway congest function Fixed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
whereur/app.js
whereur/app.js
View file @
4f5a275
...
...
@@ -747,6 +747,7 @@ function roadcongest(eventObj, msg){
var
jsonForcongest
=
obj
;
var
number
=
msg
.
replace
(
'번'
,
''
).
trim
();
var
iscount
=
0
;
var
index
=
0
;
console
.
log
(
number
);
count
=
0
;
console
.
log
(
count
);
...
...
@@ -771,11 +772,14 @@ function roadcongest(eventObj, msg){
}
roadnumberstringLength
=
roadnumberstring
.
length
;
if
(
roadnumberstringLength
!=
0
){
iscount
=
(
roadnumberstringLength
%
5
);
for
(
var
i
=
0
;
i
<
(
5
-
iscount
);
i
++
){
roadnumberstring
[
roadnumberstringLength
]
=
"이상입니다."
;
index
=
(
roadnumberstringLength
%
5
);
if
(
index
!=
0
){
for
(
var
i
=
1
;
i
<=
(
4
-
index
);
i
++
){
roadnumberstring
[
roadnumberstringLength
+
i
]
=
"Out of range"
;
}
}
}
if
(
roadnumberstringLength
==
0
){
var
Notfoundroadnumberstring
=
"검색하신 노선에서 발견된 정체구간은 없습니다."
;
...
...
Please
register
or
login
to post a comment