Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
TDLCloud
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WitCloud
TDLCloud
Commits
4703944b
Commit
4703944b
authored
Jun 27, 2018
by
zhuangzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6.27--修改线路,仓库,常用地址的经度正则校验,增加错误信息的英文提示
parent
75f2203e
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
259 additions
and
107 deletions
+259
-107
MyWebMvcConfigurer.java
src/main/java/com/example/tdl/config/MyWebMvcConfigurer.java
+5
-3
MqttListener.java
src/main/java/com/example/tdl/mqtt/MqttListener.java
+0
-1
DataUtil.java
src/main/java/com/example/tdl/util/DataUtil.java
+4
-0
HttpRequester.java
src/main/java/com/example/tdl/util/HttpRequester.java
+16
-16
CircuitController.java
src/main/java/com/example/tdl/web/CircuitController.java
+5
-5
DataController.java
src/main/java/com/example/tdl/web/DataController.java
+4
-4
LoginController.java
src/main/java/com/example/tdl/web/LoginController.java
+1
-1
RoleController.java
src/main/java/com/example/tdl/web/RoleController.java
+2
-2
TransferModelConfigController.java
...va/com/example/tdl/web/TransferModelConfigController.java
+1
-1
UserAddressController.java
src/main/java/com/example/tdl/web/UserAddressController.java
+12
-3
WarehouseController.java
src/main/java/com/example/tdl/web/WarehouseController.java
+80
-54
application-docker.properties
src/main/resources/application-docker.properties
+6
-0
application.properties
src/main/resources/application.properties
+1
-5
messages_en.properties
src/main/resources/i18n/messages_en.properties
+88
-1
messages_ja.properties
src/main/resources/i18n/messages_ja.properties
+18
-0
messages_zh_CN.properties
src/main/resources/i18n/messages_zh_CN.properties
+16
-11
No files found.
src/main/java/com/example/tdl/config/MyWebMvcConfigurer.java
View file @
4703944b
...
...
@@ -22,12 +22,14 @@ public class MyWebMvcConfigurer extends WebMvcConfigurerAdapter {
@Override
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
registry
.
addInterceptor
(
loginInterceptor
()).
excludePathPatterns
(
"/alarmLog/**"
)
registry
.
addInterceptor
(
loginInterceptor
())
.
excludePathPatterns
(
"/alarmLog/addAlarmLog"
)
.
excludePathPatterns
(
"/login/**"
);
registry
.
addInterceptor
(
permissionInterceptor
())
.
excludePathPatterns
(
"/login/**"
)
.
excludePathPatterns
(
"/alarmLog/add"
)
.
excludePathPatterns
(
"/side/**"
);
.
excludePathPatterns
(
"/alarmLog/addAlarmLog"
)
.
excludePathPatterns
(
"/side/**"
)
.
excludePathPatterns
(
"/test"
);
super
.
addInterceptors
(
registry
);
}
...
...
src/main/java/com/example/tdl/mqtt/MqttListener.java
View file @
4703944b
...
...
@@ -156,7 +156,6 @@ public class MqttListener implements MqttCallback {
if
(
SN
.
matches
(
"^[0-9]*$"
)){
try
{
Integer
flag
=
parseData
(
Message
,
SN
,
Type
);
// System.out.print(System.currentTimeMillis()+"------"+flag +"------");
String
ConfigData
;
Future
<
String
>
result
=
null
;
GWConfigWorker
gcconfig
=
null
;
...
...
src/main/java/com/example/tdl/util/DataUtil.java
View file @
4703944b
...
...
@@ -224,4 +224,8 @@ public class DataUtil {
logger
.
info
(
System
.
currentTimeMillis
()-
tm
+
"-------tn"
);
return
historyDataList
;
}
}
src/main/java/com/example/tdl/util/HttpRequester.java
View file @
4703944b
...
...
@@ -71,18 +71,19 @@ public class HttpRequester {
BufferedReader
in
=
null
;
try
{
URL
realUrl
=
new
URL
(
url
);
// 打开和URL之间的连接
URLConnection
connection
=
realUrl
.
openConnection
();
// 设置通用的请求属性
connection
.
setRequestProperty
(
"accept"
,
"*/*"
);
connection
.
setRequestProperty
(
"connection"
,
"Keep-Alive"
);
connection
.
setRequestProperty
(
"Content-Type"
,
"application/json; charset=utf-8"
);
connection
.
setRequestProperty
(
"user-agent"
,
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)"
);
connection
.
setConnectTimeout
(
5000
);
connection
.
setReadTimeout
(
20000
);
// 建立实际的连接
connection
.
connect
();
// 定义 BufferedReader输入流来读取URL的响应
in
=
new
BufferedReader
(
new
InputStreamReader
(
connection
.
getInputStream
()));
StringBuffer
sb
=
new
StringBuffer
();
String
line
;
...
...
@@ -93,9 +94,8 @@ public class HttpRequester {
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
logger
.
info
(
e
.
toString
());
}
// 使用finally块来关闭输入流
finally
{
}
finally
{
try
{
if
(
in
!=
null
)
{
in
.
close
();
...
...
@@ -123,27 +123,27 @@ public class HttpRequester {
//设置连接超时时间和读取超时时间
conn
.
setConnectTimeout
(
10000
);
conn
.
setReadTimeout
(
10000
);
conn
.
setRequestProperty
(
"Content-Type"
,
"application/x-www-form-urlencoded"
);
//连接服务器
conn
.
setRequestProperty
(
"accept"
,
"*/*"
);
conn
.
setRequestProperty
(
"connection"
,
"Keep-Alive"
);
conn
.
setRequestProperty
(
"Content-Type"
,
"application/json; charset=utf-8"
);
conn
.
setRequestProperty
(
"user-agent"
,
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)"
);
conn
.
connect
();
// 取得输入流,并使用Reader读取
in
=
new
BufferedReader
(
new
InputStreamReader
(
conn
.
getInputStream
(),
"UTF-8"
));
String
line
;
while
((
line
=
in
.
readLine
())
!=
null
)
{
result
.
append
(
line
);
}
conn
.
disconnect
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
//关闭输入流
finally
{
}
finally
{
try
{
if
(
in
!=
null
){
in
.
close
();
}
}
catch
(
IOException
ex
){
}
catch
(
IOException
ex
){
ex
.
printStackTrace
();
}
}
...
...
src/main/java/com/example/tdl/web/CircuitController.java
View file @
4703944b
...
...
@@ -631,7 +631,7 @@ public class CircuitController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"startLng"
));
return
gson
.
toJson
(
fb
);
}
if
(!
addCircuitVo
.
getStartAddressVo
().
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
addCircuitVo
.
getStartAddressVo
().
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongStartLng"
));
return
gson
.
toJson
(
fb
);
...
...
@@ -694,7 +694,7 @@ public class CircuitController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"addressVoLng"
));
return
gson
.
toJson
(
fb
);
}
if
(!
addCircuitVo
.
getAddressVoList
().
get
(
i
).
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
addCircuitVo
.
getAddressVoList
().
get
(
i
).
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongaddressVoLng"
));
return
gson
.
toJson
(
fb
);
...
...
@@ -768,7 +768,7 @@ public class CircuitController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"endLng"
));
return
gson
.
toJson
(
fb
);
}
if
(!
addCircuitVo
.
getEndAddressVo
().
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
addCircuitVo
.
getEndAddressVo
().
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongEndLng"
));
return
gson
.
toJson
(
fb
);
...
...
@@ -1047,7 +1047,7 @@ public class CircuitController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"startLng"
));
return
gson
.
toJson
(
fb
);
}
if
(!
addCircuitVo
.
getStartAddressVo
().
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
addCircuitVo
.
getStartAddressVo
().
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongStartLng"
));
return
gson
.
toJson
(
fb
);
...
...
@@ -1092,7 +1092,7 @@ public class CircuitController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"endLng"
));
return
gson
.
toJson
(
fb
);
}
if
(!
addCircuitVo
.
getEndAddressVo
().
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
addCircuitVo
.
getEndAddressVo
().
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongEndLng"
));
return
gson
.
toJson
(
fb
);
...
...
src/main/java/com/example/tdl/web/DataController.java
View file @
4703944b
...
...
@@ -213,7 +213,6 @@ public class DataController {
@ApiImplicitParam
(
paramType
=
"header"
,
name
=
"AccountLanguage"
,
value
=
"language"
,
required
=
false
,
dataType
=
"String"
),
})
public
Object
getHistoryData
(
@RequestBody
String
transportationNo
,
HttpServletRequest
request
)
{
long
time
=
System
.
currentTimeMillis
();
String
token
=
request
.
getHeader
(
"Account_token"
);
String
datum
=
tokenRedisService
.
get
(
"TOKEN_"
+
token
);
UserRedisVo
user
=
gson
.
fromJson
(
datum
,
UserRedisVo
.
class
);
...
...
@@ -296,10 +295,8 @@ public class DataController {
if
(
count
>
500
)
{
if
(
resultCircuitVo
.
getEndTime
()
!=
null
&&
resultCircuitVo
.
getEndTime
()
!=
0
)
{
sql
=
DataUtil
.
getSQL
(
gatewayVo
.
getgSN
(),
list
.
get
(
j
),
device
,
devList
.
get
(
i
),
startTime
,
resultCircuitVo
.
getEndTime
()
*
1000000
l
);
// sql = "SELECT "+list.get(j)+" FROM \"tdl_policy\".\""+device+"\" where \"tdl\"='"+devList.get(i)+"' and time >="+startTime + " and time<="+resultCircuitVo.getEndTime() *1000000l+" ORDER BY time ";
}
else
{
sql
=
DataUtil
.
getSQL
(
gatewayVo
.
getgSN
(),
list
.
get
(
j
),
device
,
devList
.
get
(
i
),
startTime
,
System
.
currentTimeMillis
()
*
1000000
l
);
// sql = "SELECT "+list.get(j)+" FROM \"tdl_policy\".\""+device+"\" where \"tdl\"='"+devList.get(i)+"' and time >="+startTime + " ORDER BY time";
}
QueryResult
queryResult
=
influxDBTemplate
.
query
(
new
Query
(
sql
,
database
));
if
(
queryResult
.
getResults
()
!=
null
)
{
...
...
@@ -326,7 +323,6 @@ public class DataController {
dataVo
.
setDataList
(
historyDataVoList
);
dataVoList
.
add
(
dataVo
);
}
logger
.
info
(
System
.
currentTimeMillis
()-
time
+
"-----time"
);
return
gson
.
toJson
(
dataVoList
);
}
...
...
@@ -379,6 +375,8 @@ public class DataController {
return
DataUtil
.
getData
(
transportationNo
,
request
,
i18n
,
user
.
getCompanyNo
(),
circuitService
,
tdlLogService
,
influxDBTemplate
,
database
,
"\"h\""
);
}
//获取倾斜度数据
@ApiOperation
(
value
=
"获取倾斜度数据"
,
notes
=
"获取倾斜度数据"
)
@PostMapping
(
"/getTiltAngle"
)
...
...
@@ -637,6 +635,8 @@ public class DataController {
return
historyDataList
;
}
}
// 获取历史数据
...
...
src/main/java/com/example/tdl/web/LoginController.java
View file @
4703944b
...
...
@@ -80,7 +80,7 @@ public class LoginController {
String
token
=
DigestUtils
.
md5Hex
(
System
.
currentTimeMillis
()
+
userVo
.
getUserName
());
UserRedisVo
redisVo
=
new
UserRedisVo
(
userVo
.
getUserName
(),
userVo
.
getUserNumber
(),
userVo
.
getNickName
(),
userVo
.
getEmail
(),
userVo
.
getPhone
(),
userVo
.
getRoleName
(),
userVo
.
getCompanyName
(),
userVo
.
getCompanyNo
());
//将用户数据保存到redis中
userTokenService
.
hmSet
(
userVo
.
getUserNumber
(),
"TOKEN_"
+
token
,
System
.
currentTimeMillis
()+
""
);
userTokenService
.
setHash
(
userVo
.
getUserNumber
(),
"TOKEN_"
+
token
,
System
.
currentTimeMillis
()+
""
,
60
*
60
*
24
);
tokenRedisService
.
set
(
"TOKEN_"
+
token
,
gson
.
toJson
(
redisVo
),
60
*
30
);
String
ip
=
((
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
()).
getRequest
().
getRemoteAddr
();
int
a
=
loginLogService
.
addLoginLog
(
new
LoginLog
(
loginUserVo
.
getUserName
(),
System
.
currentTimeMillis
(),
ip
));
...
...
src/main/java/com/example/tdl/web/RoleController.java
View file @
4703944b
...
...
@@ -278,7 +278,7 @@ public class RoleController {
ms
.
put
(
"msg"
,
map
.
get
(
"msg"
));
if
(
ms
.
get
(
"msg"
).
equals
(
"删除角色成功"
)){
fb
.
setCode
(
1
);
fb
.
setMessage
(
ms
.
get
(
"msg"
).
toString
(
));
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"deleteSuccess"
));
}
else
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
ms
.
get
(
"msg"
).
toString
());
...
...
@@ -286,7 +286,7 @@ public class RoleController {
}
catch
(
Exception
e
){
e
.
printStackTrace
();
fb
.
setCode
(
0
);
fb
.
setMessage
(
"删除失败"
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"deleteFailure"
)
);
}
return
gson
.
toJson
(
fb
);
}
...
...
src/main/java/com/example/tdl/web/TransferModelConfigController.java
View file @
4703944b
...
...
@@ -145,7 +145,7 @@ public class TransferModelConfigController {
fb
.
setMessage
(
"经度不能为空"
);
return
gson
.
toJson
(
fb
);
}
if
(!
updateTransferModelConfigVo
.
getInfo
().
get
(
i
).
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
updateTransferModelConfigVo
.
getInfo
().
get
(
i
).
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
"经度的范围为-180~180"
);
return
gson
.
toJson
(
fb
);
...
...
src/main/java/com/example/tdl/web/UserAddressController.java
View file @
4703944b
...
...
@@ -125,7 +125,7 @@ public class UserAddressController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"lng"
));
return
gson
.
toJson
(
fb
);
}
if
(!
addUserAddressVo
.
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
addUserAddressVo
.
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongLng"
));
return
gson
.
toJson
(
fb
);
...
...
@@ -135,6 +135,11 @@ public class UserAddressController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"repeatedName"
));
return
gson
.
toJson
(
fb
);
}
if
(
StringUtils
.
isEmpty
(
addUserAddressVo
.
getPostCode
())){
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"postCode"
));
return
gson
.
toJson
(
fb
);
}
Map
<
Object
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"userNumber"
,
user
.
getUserNumber
());
map
.
put
(
"name"
,
addUserAddressVo
.
getName
());
...
...
@@ -219,17 +224,21 @@ public class UserAddressController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"lng"
));
return
gson
.
toJson
(
fb
);
}
if
(!
updateUserAddressVo
.
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
updateUserAddressVo
.
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongLng"
));
return
gson
.
toJson
(
fb
);
}
if
(
StringUtils
.
isEmpty
(
updateUserAddressVo
.
getPostCode
())){
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"postCode"
));
return
gson
.
toJson
(
fb
);
}
if
(!
updateUserAddressVo
.
getOldName
().
equals
(
updateUserAddressVo
.
getName
())
&&
userAddressService
.
getByUserNumberAndName
(
user
.
getUserNumber
(),
updateUserAddressVo
.
getName
())!=
null
){
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"modifiedRepeatedName"
));
return
gson
.
toJson
(
fb
);
}
Map
<
Object
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"userNumber"
,
user
.
getUserNumber
());
map
.
put
(
"oldName"
,
updateUserAddressVo
.
getOldName
());
...
...
src/main/java/com/example/tdl/web/WarehouseController.java
View file @
4703944b
...
...
@@ -72,6 +72,8 @@ public class WarehouseController {
private
final
static
String
database
=
"original"
;
//查询所有仓库信息
@ApiOperation
(
value
=
"查询所有仓库信息"
,
notes
=
"查询所有仓库信息,返回值说明:"
+
" warehouseName:仓库名,"
+
...
...
@@ -108,6 +110,8 @@ public class WarehouseController {
return
warehouseService
.
getAll
(
userRedisVo
.
getCompanyNo
());
}
//根据条件查询仓库信息
@ApiOperation
(
value
=
"根据条件查询仓库信息"
,
notes
=
"根据条件查询仓库信息,传值说明:"
+
" warehouseName:仓库名,"
+
...
...
@@ -170,6 +174,8 @@ public class WarehouseController {
return
warehouseService
.
getAllByTerm
(
warehouseTermVo
);
}
//获取仓库以及设备数据
@ApiOperation
(
value
=
"获取仓库以及设备数据"
,
notes
=
"获取仓库以及设备数据,传值说明:"
+
" warehouseName:仓库名,"
+
...
...
@@ -496,7 +502,7 @@ public class WarehouseController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongLat"
));
return
gson
.
toJson
(
fb
);
}
if
(!
addWarehouseVo
.
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
addWarehouseVo
.
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongLng"
));
return
gson
.
toJson
(
fb
);
...
...
@@ -684,7 +690,7 @@ public class WarehouseController {
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongLat"
));
return
gson
.
toJson
(
fb
);
}
if
(!
updateWarehouseVo
.
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
1
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
if
(!
updateWarehouseVo
.
getLng
().
matches
(
"^-?(([1-9]\\d?)((\\.\\d{1,6})?)|(1[
0
-7]\\d)((\\.\\d{1,6})?)|180)$"
))
{
fb
.
setCode
(
0
);
fb
.
setMessage
(
i18n
.
getMessage
(
request
,
"wrongLng"
));
return
gson
.
toJson
(
fb
);
...
...
@@ -1173,6 +1179,7 @@ public class WarehouseController {
}
//生成仓库编号
public
String
getWarehouseNo
(
String
companyNo
){
String
warehouseNo
=
"WH"
+
System
.
currentTimeMillis
()
;
...
...
@@ -1185,6 +1192,7 @@ public class WarehouseController {
return
warehouseNo
;
}
public
List
<
WarehouseTimeAndDataVo
>
getData
(
QueryResult
queryResult
){
List
<
List
<
Object
>>
values
=
getValues
(
queryResult
);
List
<
WarehouseTimeAndDataVo
>
historyDataList
=
new
ArrayList
<>();
...
...
@@ -1197,6 +1205,8 @@ public class WarehouseController {
return
historyDataList
;
}
public
List
<
WarehouseTimeAndDataVo
>
getDatas
(
QueryResult
queryResult
){
List
<
List
<
Object
>>
values
=
getValues
(
queryResult
);
List
<
WarehouseTimeAndDataVo
>
historyDataList
=
new
ArrayList
<>();
...
...
@@ -1209,6 +1219,8 @@ public class WarehouseController {
return
historyDataList
;
}
//解析数据格式
public
List
<
List
<
Object
>>
getValues
(
QueryResult
queryResult
){
List
<
List
<
Object
>>
values
=
new
ArrayList
<>();
...
...
@@ -1224,6 +1236,8 @@ public class WarehouseController {
return
values
;
}
//解析时间
public
String
parseTime
(
String
time
){
String
dateResult
=
null
;
...
...
@@ -1238,6 +1252,8 @@ public class WarehouseController {
return
dateResult
;
}
//将utc时间转换成时间戳
public
static
String
dateToStamp
(
String
s
)
throws
ParseException
{
Date
date
=
null
;
...
...
@@ -1249,6 +1265,8 @@ public class WarehouseController {
return
String
.
valueOf
(
date
.
getTime
());
}
public
SimpleWarehouseVo
dataData
(
QueryResult
queryResult
){
SimpleWarehouseVo
simpleWarehouseVo
=
new
SimpleWarehouseVo
();
List
<
List
<
Object
>>
value
=
new
ArrayList
<>();
...
...
@@ -1278,6 +1296,8 @@ public class WarehouseController {
return
simpleWarehouseVo
;
}
public
String
getValue
(
List
<
Double
>
data
){
String
s
=
""
;
Collections
.
sort
(
data
);
...
...
@@ -1305,63 +1325,67 @@ public class WarehouseController {
}
}
public
TdlDataVo
parseData
(
QueryResult
queryResult
,
String
humidityMax
,
String
humidityMin
,
String
tempMax
,
String
tempMin
){
TdlDataVo
tdlDataVo
=
new
TdlDataVo
();
List
<
List
<
Object
>>
values
=
new
ArrayList
<>();
for
(
QueryResult
.
Result
result
:
queryResult
.
getResults
()){
if
(
result
.
getSeries
()
!=
null
){
for
(
QueryResult
.
Series
series
:
result
.
getSeries
())
{
if
(
series
!=
null
){
public
TdlDataVo
parseData
(
QueryResult
queryResult
,
String
humidityMax
,
String
humidityMin
,
String
tempMax
,
String
tempMin
){
TdlDataVo
tdlDataVo
=
new
TdlDataVo
();
List
<
List
<
Object
>>
values
=
new
ArrayList
<>();
for
(
QueryResult
.
Result
result
:
queryResult
.
getResults
()){
if
(
result
.
getSeries
()
!=
null
){
for
(
QueryResult
.
Series
series
:
result
.
getSeries
())
{
if
(
series
!=
null
){
values
=
series
.
getValues
();
}
else
{
continue
;
}
}
}
else
{
continue
;
}
}
List
<
GraphicDataVo
>
graphicDataList
=
new
ArrayList
<>();
GraphicDataVo
temp
=
new
GraphicDataVo
();
temp
.
setDescption
(
"temp"
);
temp
.
setMax
(
tempMax
);
temp
.
setMin
(
tempMin
);
List
<
HistoryData
>
tempData
=
new
ArrayList
<>();
GraphicDataVo
hum
=
new
GraphicDataVo
();
hum
.
setDescption
(
"humidity"
);
hum
.
setMin
(
humidityMin
);
hum
.
setMax
(
humidityMax
);
List
<
HistoryData
>
humpData
=
new
ArrayList
<>();
List
<
TdlDataVo
.
HistoryDataVo
>
historyDataList
=
new
ArrayList
<>();
for
(
int
i
=
0
,
length
=
values
.
size
();
i
<
length
;
i
++){
TdlDataVo
.
HistoryDataVo
historyDataVo
=
new
TdlDataVo
.
HistoryDataVo
();
historyDataVo
.
setHumidity
(
values
.
get
(
i
).
get
(
2
)==
null
?
""
:
values
.
get
(
i
).
get
(
2
).
toString
()
);
historyDataVo
.
setTemp
(
values
.
get
(
i
).
get
(
1
)==
null
?
""
:
values
.
get
(
i
).
get
(
1
).
toString
()
);
String
time
=
UTCToCST
(
values
.
get
(
i
).
get
(
0
).
toString
());
historyDataVo
.
setTime
(
Long
.
valueOf
(
time
));
historyDataList
.
add
(
historyDataVo
);
HistoryData
tem
=
new
HistoryData
();
tem
.
setTime
(
time
);
tem
.
setValue
(
values
.
get
(
i
).
get
(
1
)==
null
?
""
:
values
.
get
(
i
).
get
(
1
).
toString
());
tempData
.
add
(
tem
);
HistoryData
hump
=
new
HistoryData
();
hump
.
setTime
(
time
);
hump
.
setValue
(
values
.
get
(
i
).
get
(
2
)==
null
?
""
:
values
.
get
(
i
).
get
(
2
).
toString
());
humpData
.
add
(
hump
);
if
(
i
==
length
-
1
){
}
else
{
continue
;
}
}
}
else
{
continue
;
}
}
List
<
GraphicDataVo
>
graphicDataList
=
new
ArrayList
<>();
GraphicDataVo
temp
=
new
GraphicDataVo
();
temp
.
setDescption
(
"temp"
);
temp
.
setMax
(
tempMax
);
temp
.
setMin
(
tempMin
);
List
<
HistoryData
>
tempData
=
new
ArrayList
<>();
GraphicDataVo
hum
=
new
GraphicDataVo
();
hum
.
setDescption
(
"humidity"
);
hum
.
setMin
(
humidityMin
);
hum
.
setMax
(
humidityMax
);
List
<
HistoryData
>
humpData
=
new
ArrayList
<>();
List
<
TdlDataVo
.
HistoryDataVo
>
historyDataList
=
new
ArrayList
<>();
for
(
int
i
=
0
,
length
=
values
.
size
();
i
<
length
;
i
++){
TdlDataVo
.
HistoryDataVo
historyDataVo
=
new
TdlDataVo
.
HistoryDataVo
();
historyDataVo
.
setHumidity
(
values
.
get
(
i
).
get
(
2
)==
null
?
""
:
values
.
get
(
i
).
get
(
2
).
toString
()
);
historyDataVo
.
setTemp
(
values
.
get
(
i
).
get
(
1
)==
null
?
""
:
values
.
get
(
i
).
get
(
1
).
toString
()
);
String
time
=
UTCToCST
(
values
.
get
(
i
).
get
(
0
).
toString
());
historyDataVo
.
setTime
(
Long
.
valueOf
(
time
));
historyDataList
.
add
(
historyDataVo
);
HistoryData
tem
=
new
HistoryData
();
tem
.
setTime
(
time
);
tem
.
setValue
(
values
.
get
(
i
).
get
(
1
)==
null
?
""
:
values
.
get
(
i
).
get
(
1
).
toString
());
tempData
.
add
(
tem
);
HistoryData
hump
=
new
HistoryData
();
hump
.
setTime
(
time
);
hump
.
setValue
(
values
.
get
(
i
).
get
(
2
)==
null
?
""
:
values
.
get
(
i
).
get
(
2
).
toString
());
humpData
.
add
(
hump
);
if
(
i
==
length
-
1
){
tdlDataVo
.
setHumidity
(
values
.
get
(
i
).
get
(
2
)==
null
?
""
:
values
.
get
(
i
).
get
(
2
).
toString
());
tdlDataVo
.
setTemp
(
values
.
get
(
i
).
get
(
1
)==
null
?
""
:
values
.
get
(
i
).
get
(
1
).
toString
());
}
}
temp
.
setHistoryDataList
(
tempData
);
hum
.
setHistoryDataList
(
humpData
);
graphicDataList
.
add
(
temp
);
graphicDataList
.
add
(
hum
);
tdlDataVo
.
setHistoryDataList
(
historyDataList
);
tdlDataVo
.
setGraphicDataList
(
graphicDataList
);
return
tdlDataVo
;
}
}
temp
.
setHistoryDataList
(
tempData
);
hum
.
setHistoryDataList
(
humpData
);
graphicDataList
.
add
(
temp
);
graphicDataList
.
add
(
hum
);
tdlDataVo
.
setHistoryDataList
(
historyDataList
);
tdlDataVo
.
setGraphicDataList
(
graphicDataList
);
return
tdlDataVo
;
}
public
String
UTCToCST
(
String
UTCStr
)
{
Date
date
=
null
;
try
{
...
...
@@ -1381,4 +1405,6 @@ public class WarehouseController {
//format的格式可以任意
return
String
.
valueOf
(
calendar
.
getTimeInMillis
());
}
}
src/main/resources/application-docker.properties
View file @
4703944b
...
...
@@ -27,3 +27,9 @@ spring.influxdb.url=http://housetest-influxdb:8086
#tdl.mqtt.port = 8883
#tdl.mqtt.username = logistics
#tdl.mqtt.password = logistics37774020
#
#tdl.core.add =http://logisticscore-java:8079/witium/addMount
#tdl.core.delete =http://logisticscore-java:8079/witium/delMount
#
#mqtt.userName = wtlogistics
#
mqtt.password
=
wtlogistics
\ No newline at end of file
src/main/resources/application.properties
View file @
4703944b
...
...
@@ -68,11 +68,7 @@ mqtt.userName = ugen
mqtt.password
=
ugen
#tdl.core.add =http://logisticscore-java:8079/witium/addMount
#tdl.core.delete =http://logisticscore-java:8079/witium/delMount
#
#mqtt.userName = wtlogistics
#mqtt.password = wtlogistics
src/main/resources/i18n/messages_en.properties
View file @
4703944b
...
...
@@ -160,4 +160,91 @@ sql=SQLException
badSql
=
BadSqlGrammarException
error
=
The server code has been exceptions, please contact the administrator
wrongTemp
=
The upper limit of temperature should not be less than the limit of temperature
wrongHumidity
=
The lower humidity limit is not greater than the upper limit of humidity
\ No newline at end of file
wrongHumidity
=
The lower humidity limit is not greater than the upper limit of humidity
nonexistentTruck
=
The plate number doesn't exist
repeateAlias
=
The company name must not repeat
alias
=
The company name must not be null
regionNo
=
Region's serial name must not be null
regionName
=
Region's name must not be null
addRegionSuccess
=
Added the region successfully
addRegionFailure
=
Failed to add the region
updateRegionSuccess
=
Modified the region successfully
updateRegionFailure
=
Failed to modify the region
deleteRegionSuccess
=
Deleted the region successfully
deleteRegionFailure
=
Failed to delete the region
repetitionRegionName
=
The region name is repeat
useingRegion
=
The region is being used
carNo
=
Truck's plate number must not be null
type
=
The vehicle type must not be null
repetitionCarNo
=
Truck's plate number is repeat
addCarSuccess
=
Added the vehicle successfully
addCarFailure
=
Failed to add the vehicle
updateCarSuccess
=
Modified the vehicle successfully
updateCarFailure
=
Failed to modify the vehicle
deleteCarSuccess
=
Deleted the vehicle successfully
deleteCarFailure
=
Failed to delete the vehicle
gatewaySN
=
The gateway number can not be empty
gatewaySNRule
=
The gateway number must be 8 digits
gatewayName
=
The gateway name can not be empty
gatewayType
=
The gateway type can not be empty
badGatewayType
=
The gateway type must be English or numeric
gatewayModelName
=
The template name can not be empty
existModelName
=
The template does not exist
repeatedSN
=
The added gateway has already existed
existGateway
=
The gateway does not exist
addGatewaySuccess
=
You have added the gateway successfully
updateGatewaySuccess
=
You have modified gateway successfully
updateGatewayFailure
=
Failed to modify the gateway
updateGatewayByModelSuccess
=
You have modified the device successfully through a template
deleteGatewaySuccess
=
You have deleted the gateway successfully
isState
=
The gateway is being mounted
beingUsed
=
The gateway is being used
updateGatewayCompanySuccess
=
Gateway to distribute company success
updateGatewayCompanyFailure
=
Failed to assign the gateway to the company
TDLSN
=
Sensor's serial number must not be null
TDLName
=
Sensor's name must not be null
updateTDLSuccess
=
Modified the sensor successfully
updateTDLFailure
=
Failed to modify the sensor
deleteTDLSuccess
=
Deleted the gateway successfully
deleteTDLFailure
=
updateTDLCompanySuccess
=
Allocate sensor to the company successfully
updateTDLCompanyFailure
=
Failed to allocate the sensor to the company
warehouseName
=
Warehouse's name must not be null
property
=
Warehouse's property must not be null
wrongProperty
=
Please enter the correct property
warehouseType
=
Warehouse's type must not be null
wrongWarehouseType
=
Please enter the correct warehouse type
hardwareLevel
=
Hardware class must not be null
wrongHardwareLevel
=
Please select the correct hardware class
areaIndoor
=
The indoor flat area must not be null
areaRack
=
The storage shelves area must not be null
areaOutdoor
=
The outdoor area must not be null
areaPlanIndoor
=
The total indoor area must not be null
office
=
The office must not be null
timeZone
=
The time zone must not be null
repeateWarehouseName
=
The warehosue name must not repeat
addWarehouseSuccess
=
Added the warehouse successfully
addWarehouseFailure
=
Failed to add the warehouse
warehouseNo
=
The warehouse serial number must not be null
modifiedWarehouseSuccess
=
Modified the warehouse successfully
modifiedWarehouseFailure
=
Failed to modify the warehouse
Nonexistent
=
The warehouse doesn't exist
deleteWarehouseSuccess
=
Delete the warehouse successfully
deleteWarehouseFailure
=
Failed to warehouse the warehouse
bindingGatewaySuccess
=
Paired the gateway successfully
bindingGatewayFailure
=
Failed to paire the gateway
addAlarmContactsSuccess
=
Added the emergency contact successfully
addAlarmContactsFailure
=
Failed to add the emergeny contact
NonexistentUser
=
The user doesn't exist
repeatedRole
=
The role already exists
usedRole
=
The user is being used
addRoleSuccess
=
Added the user successfully
addRoleFailure
=
Failed to add the user
updateSuccess
=
Modified the user successfully
updateFailure
=
Failed to modify the user
deleteSuccess
=
Deleted the user successfully
deleteFailure
=
Failed to delete the user
adminInoperable
=
You can't operate the administrator account
downloadStartTime
=
Query start time must not be null
downloadEndTime
=
Query end time must not be null
TDL
=
Sensor's serial number must not be null
\ No newline at end of file
src/main/resources/i18n/messages_ja.properties
View file @
4703944b
...
...
@@ -161,3 +161,21 @@ badSql=\u30C7\u30FC\u30BF\u306E\u7570\u5E38
error
=
\u
30B5
\u
30FC
\u
30D0
\u
30FC
\u
30B3
\u
30FC
\u
30C9
\u
304C
\u7570\u
5E38
\u
306B
\u
767A
\u
751F
\u3057\u
305F
\u5834\u5408\u3001\u
7BA1
\u7406\u8005\u
306B
\u9023\u
7D61
\u3057\u3066\u
304F
\u3060\u3055\u3044
wrongTemp
=
\u
6E29
\u
5EA6
\u
4E0B
\u9650\u3088\u
308A
\u
306A
\u3044\u
6E29
\u
5EA6
\u
306E
\u
4E0A
\u9650
wrongHumidity
=
\u
6E7F
\u
5EA6
\u
306E
\u
4E0A
\u9650\u
306F
\u
6E7F
\u
5EA6
\u
306E
\u
4E0B
\u9650\u3088\u
308A
\u
5C0F
\u3055\u
304F
\u
306F
\u3042\u
308A
\u
307E
\u
305B
\u3093
gatewaySN
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
756A
\u
53F7
\u3092\u5165\u
529B
\u3057\u3066\u
304F
\u3060\u3055\u3044\u3002
gatewaySNRule
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
756A
\u
53F7
\u
306F8
\u6841\u3067\u
306A
\u3051\u
308C
\u3070\u
306A
\u
308A
\u
307E
\u
305B
\u3093
gatewayName
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
306E
\u
540D
\u
524D
\u3092\u5165\u
529B
\u3057\u3066\u
304F
\u3060\u3055\u3044
gatewayType
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
306E
\u
30BF
\u
30A4
\u
30D7
\u3092\u5165\u
529B
\u3057\u3066\u
304F
\u3060\u3055\u3044\u3002
badGatewayType
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
30BF
\u
30A4
\u
30D7
\u
306F
\u
82F1
\u
8A9E
\u
307E
\u
305F
\u
306F
\u6570\u
5B57
\u3067\u
306A
\u3051\u
308C
\u3070\u
306A
\u
308A
\u
307E
\u
305B
\u3093
gatewayModelName
=
\u
30C6
\u
30F3
\u
30D7
\u
30EC
\u
30FC
\u
30C8
\u
540D
\u3092\u5165\u
529B
\u3057\u3066\u
304F
\u3060\u3055\u3044
existModelName
=
\u
30C6
\u
30F3
\u
30D7
\u
30EC
\u
30FC
\u
30C8
\u
540D
\u
304C
\u
65E2
\u
306B
\u
5B58
\u5728\u3057\u3066\u3044\u
307E
\u3059
repeatedSN
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
304C
\u
65E2
\u
306B
\u
5B58
\u5728\u3057\u3066\u3044\u
307E
\u3059
existGateway
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
304C
\u
5B58
\u5728\u3057\u3066\u3044\u
307E
\u
305B
\u3093
addGatewaySuccess
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u3092\u
8FFD
\u
52A0
\u6210\u
529F
updateGatewaySuccess
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
4FEE
\u
6B63
\u6210\u
529F
updateGatewayFailure
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
4FEE
\u
6B63
\u5931\u6557
updateGatewayByModelSuccess
=
\u
30C6
\u
30F3
\u
30D7
\u
30EC
\u
30FC
\u
30C8
\u3092\u
4F7F
\u7528\u3057\u3066\u
30C7
\u
30D0
\u
30A4
\u
30B9
\u3092\u
6B63
\u
5E38
\u
306B
\u5909\u
66F4
\u3059\u
308B
deleteGatewaySuccess
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
524A
\u9664\u6210\u
529F
isState
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
306F
\u
307B
\u
304B
\u
306E
\u
30EB
\u
30FC
\u
30C8
\u
306B
\u5229\u7528\u3057\u3066\u3044\u
307E
\u3059
beingUsed
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u
304C
\u
4F7F
\u7528\u3055\u
308C
\u3066\u3044\u
307E
\u3059
updateGatewayCompanySuccess
=
\u
4F1A
\u
793E
\u
306E
\u6210\u
529F
\u3092\u
914D
\u
308B
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
updateGatewayCompanyFailure
=
\u
30B2
\u
30FC
\u
30C8
\u
30A6
\u
30A7
\u
30A4
\u3092\u
4F1A
\u
793E
\u
306B
\u5272\u
308A
\u
5F53
\u3066\u
308B
\u3053\u3068\u
304C
\u3067\u
304D
\u
307E
\u
305B
\u3093\u3067\u3057\u
305F
src/main/resources/i18n/messages_zh_CN.properties
View file @
4703944b
...
...
@@ -94,7 +94,7 @@ startCircuitSuccess = \u7EBF\u8DEF\u5F00\u59CB\u8FD0\u8F93\u6210\u529F
startCircuitFailure
=
\u
7EBF
\u
8DEF
\u
5F00
\u
59CB
\u
8FD0
\u
8F93
\u5931\u
8D25
#\u516C\u53F8
companyName
=
\u
516C
\u
53F8
\u
540D
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
alias
=
\u
5
22B
\u
540D
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
alias
=
\u
5
16C
\u
53F8
\u
7B80
\u
79F0
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
country
=
\u
56FD
\u
5BB6
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
city
=
\u
57CE
\u
5E02
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
addressDetail
=
\u5177\u
4F53
\u5730\u5740\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
...
...
@@ -102,7 +102,7 @@ tel = \u8054\u7CFB\u7535\u8BDD\u4E0D\u80FD\u4E3A\u7A7A
manager
=
\u
8D1F
\u
8D23
\u
4EBA
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
wrongTel
=
\u
624B
\u
673A
\u
53F7
\u
4E0D
\u
89C4
\u8303
repeateCompanyName
=
\u
516C
\u
53F8
\u
540D
\u
4E0D
\u
80FD
\u
91CD
\u
590D
repeateAlias
=
\u
5
22B
\u
540D
\u
4E0D
\u
80FD
\u
91CD
\u
590D
repeateAlias
=
\u
5
16C
\u
53F8
\u
7B80
\u
79F0
\u
4E0D
\u
80FD
\u
91CD
\u
590D
addCompanySuccess
=
\u
6DFB
\u
52A0
\u
516C
\u
53F8
\u6210\u
529F
addCompanyFailure
=
\u
6DFB
\u
52A0
\u
516C
\u
53F8
\u5931\u
8D25
companyNo
=
\u
516C
\u
53F8
\u
7F16
\u
53F7
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
...
...
@@ -126,6 +126,7 @@ lat = \u7EAC\u5EA6\u4E0D\u80FD\u4E3A\u7A7A
wrongLat
=
\u
7EAC
\u
5EA6
\u7684\u8303\u
56F4
\u
4E3A-90~90
lng
=
\u
7ECF
\u
5EA6
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
wrongLng
=
\u
7ECF
\u
5EA6
\u7684\u8303\u
56F4
\u
4E3A-180~180
postCode
=
\u
90AE
\u
7F16
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
repeatedName
=
\u
6DFB
\u
52A0
\u7684\u
5E38
\u7528\u5730\u5740\u
522B
\u
540D
\u
4E0D
\u
80FD
\u
91CD
\u
590D
addAddressSuccess
=
\u
6DFB
\u
52A0
\u7528\u6237\u
5E38
\u7528\u5730\u5740\u6210\u
529F
addAddressFailure
=
\u
6DFB
\u
52A0
\u7528\u6237\u
5E38
\u7528\u5730\u5740\u5931\u
8D25
...
...
@@ -190,10 +191,10 @@ deleteCarSuccess=\u8F66\u8F86\u5220\u9664\u6210\u529F
deleteCarFailure
=
\u
8F66
\u
8F86
\u5220\u9664\u5931\u
8D25
#\u7F51\u5173
gatewaySN
=
\u
7F51
\u5173\u
5E8F
\u5217\u
53F7
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
gatewaySNRule
=
gateway
\u
7F16
\u
53F7
\u
5FC5
\u
987B
\u
662F8
\u
4F4D
\u6570\u
5B57
gatewaySNRule
=
\u
7F51
\u5173
\u
7F16
\u
53F7
\u
5FC5
\u
987B
\u
662F8
\u
4F4D
\u6570\u
5B57
gatewayName
=
\u
7F51
\u5173\u
540D
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
gatewayType
=
\u
7F51
\u5173\u
7C7B
\u
578B
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
badGatewayType
=
\u
7F51
\u5173\u
7C7B
\u
578B
\u
4E0D
\u
80FD
\u
5B58
\u5728\u
4E2D
\u658
7
badGatewayType
=
\u
7F51
\u5173\u
7C7B
\u
578B
\u
5FC5
\u
987B
\u
662F
\u
82F1
\u6587\u6216\u8005\u6570\u
5B5
7
gatewayModelName
=
\u
7F51
\u5173\u
6A21
\u
677F
\u
540D
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
existModelName
=
\u
8BE5
\u
6A21
\u
677F
\u
4E0D
\u
5B58
\u5728
repeatedSN
=
\u
6DFB
\u
52A0
\u7684\u
7F51
\u5173\u
5DF2
\u
5B58
\u5728
...
...
@@ -210,12 +211,12 @@ updateGatewayCompanyFailure=\u7F51\u5173\u5206\u914D\u516C\u53F8\u5931\u8D25
#TDL
TDLSN
=
\u
4F20
\u
611F
\u5668\u
7F16
\u
53F7
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
TDLName
=
\u
4F20
\u
611F
\u5668\u
540D
\u
5B57
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
updateTDLSuccess
=
\u
4FEE
\u6539\u
7F51
\u5173
\u6210\u
529F
updateTDLSuccess
=
\u
4FEE
\u6539\u
4F20
\u
611F
\u5668
\u6210\u
529F
updateTDLFailure
=
\u
4FEE
\u6539\u
7F51
\u5173\u5931\u
8D25
deleteTDLSuccess
=
\u5220\u9664\u
7F51
\u5173
\u6210\u
529F
deleteTDLFailure
=
\u5220\u9664\u
7F51
\u5173
\u5931\u
8D25
updateTDLCompanySuccess
=
\u
7F51
\u5173
\u5206\u
914D
\u
516C
\u
53F8
\u6210\u
529F
updateTDLCompanyFailure
=
\u
7F51
\u5173
\u5206\u
914D
\u
516C
\u
53F8
\u5931\u
8D25
deleteTDLSuccess
=
\u5220\u9664\u
4F20
\u
611F
\u5668
\u6210\u
529F
deleteTDLFailure
=
\u5220\u9664\u
4F20
\u
611F
\u5668
\u5931\u
8D25
updateTDLCompanySuccess
=
\u
4F20
\u
611F
\u5668
\u5206\u
914D
\u
516C
\u
53F8
\u6210\u
529F
updateTDLCompanyFailure
=
\u
4F20
\u
611F
\u5668
\u5206\u
914D
\u
516C
\u
53F8
\u5931\u
8D25
#\u4ED3\u5E93
warehouseName
=
\u
4ED3
\u
5E93
\u
540D
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
property
=
\u
4ED3
\u
5E93
\u
5C5E
\u6027\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
...
...
@@ -237,8 +238,8 @@ warehouseNo=\u4ED3\u5E93\u7F16\u53F7\u4E0D\u80FD\u4E3A\u7A7A
modifiedWarehouseSuccess
=
\u
4FEE
\u6539\u
4ED3
\u
5E93
\u6210\u
529F
modifiedWarehouseFailure
=
\u
4FEE
\u6539\u
4ED3
\u
5E93
\u5931\u
8D25
Nonexistent
=
\u
8BE5
\u
4ED3
\u
5E93
\u
4E0D
\u
5B58
\u5728
deleteWarehouseSuccess
=
\u
4FEE
\u6539
\u
4ED3
\u
5E93
\u6210\u
529F
deleteWarehouseFailure
=
\u
4FEE
\u6539
\u
4ED3
\u
5E93
\u5931\u
8D25
deleteWarehouseSuccess
=
\u
5220\u9664
\u
4ED3
\u
5E93
\u6210\u
529F
deleteWarehouseFailure
=
\u
5220\u9664
\u
4ED3
\u
5E93
\u5931\u
8D25
bindingGatewaySuccess
=
\u
7ED1
\u
5B9A
\u
7F51
\u5173\u6210\u
529F
bindingGatewayFailure
=
\u
7ED1
\u
5B9A
\u
7F51
\u5173\u5931\u
8D25
addAlarmContactsSuccess
=
\u
6DFB
\u
52A0
\u
7D27
\u6025\u8054\u
7CFB
\u
4EBA
\u6210\u
529F
...
...
@@ -259,3 +260,7 @@ downloadStartTime=\u67E5\u8BE2\u5F00\u59CB\u65F6\u95F4\u4E0D\u80FD\u4E3A\u7A7A
downloadEndTime
=
\u
67E5
\u
8BE2
\u
7ED3
\u
675F
\u
65F6
\u
95F4
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
#\u4F20\u611F\u5668
TDL
=
\u
4F20
\u
611F
\u5668\u
7F16
\u
53F7
\u
4E0D
\u
80FD
\u
4E3A
\u
7A7A
systemManage
=
\u
7CFB
\u
7EDF
\u
7BA1
\u7406\u5458
superManage
=
\u
8D85
\u
7EA7
\u
7BA1
\u7406\u5458
warehouse
=
\u
4ED3
\u
5E93
\u
7BA1
\u7406\u5458
transportManage
=
\u
8FD0
\u
8F93
\u
7BA1
\u7406\u5458
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment