Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-charging-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9d207828
authored
Nov 08, 2023
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
调整测试用例
1 parent
d7bd42c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/ParamSettingTest.java
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/TimeSettingTest.java
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/ParamSettingTest.java
View file @
9d20782
...
...
@@ -37,7 +37,7 @@ public class ParamSettingTest {
ProxyInfo
proxyInfo
=
ProxyHelper
.
getProxyInfo
(
host
);
if
(
proxyInfo
!=
null
)
{
ParamSettingReqData
data
=
new
ParamSettingReqData
();
data
.
setP
ointId
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
data
.
getPoint
Id
()));
data
.
setP
ileId
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
data
.
getPile
Id
()));
data
.
setAuthStatus
((
byte
)
0
);
data
.
setMaxPower
((
byte
)
100
);
...
...
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/TimeSettingTest.java
View file @
9d20782
...
...
@@ -46,7 +46,7 @@ public class TimeSettingTest {
String
cp56Time2a
=
ByteUtils
.
cp56Time2a
(
date
);
TimeSettingReqData
data
=
new
TimeSettingReqData
();
data
.
setP
ointId
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
data
.
getPoint
Id
()));
data
.
setP
ileId
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
data
.
getPile
Id
()));
data
.
setTime
(
HexUtil
.
decodeHex
(
cp56Time2a
));
System
.
out
.
println
(
"Cp56Time2a: "
+
cp56Time2a
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment