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
0
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 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,9 +772,12 @@ function roadcongest(eventObj, msg){
}
roadnumberstringLength
=
roadnumberstring
.
length
;
if
(
roadnumberstringLength
!=
0
){
iscount
=
(
roadnumberstringLength
%
5
);
for
(
var
i
=
0
;
i
<
(
5
-
iscount
);
i
++
){
roadnumberstring
[
roadnumberstringLength
+
i
]
=
"Out of range"
;
roadnumberstring
[
roadnumberstringLength
]
=
"이상입니다."
;
index
=
(
roadnumberstringLength
%
5
);
if
(
index
!=
0
){
for
(
var
i
=
1
;
i
<=
(
4
-
index
);
i
++
){
roadnumberstring
[
roadnumberstringLength
+
i
]
=
"Out of range"
;
}
}
}
...
...
Please
register
or
login
to post a comment