Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
A
AnchorCollect
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hywang
AnchorCollect
Commits
387f4f1d
Commit
387f4f1d
authored
Sep 26, 2022
by
hywang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.切掉扫到的rfid标签的第一位
parent
52860942
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
build.gradle
app/build.gradle
+2
-2
BasicsCollectVM.java
...om/phlx/anchorcollect/ui/fragment/vm/BasicsCollectVM.java
+1
-1
WeightManVM.java
...va/com/phlx/anchorcollect/ui/fragment/vm/WeightManVM.java
+1
-1
LoginVM.java
...rc/main/java/com/phlx/anchorcollect/ui/login/LoginVM.java
+2
-2
No files found.
app/build.gradle
View file @
387f4f1d
...
...
@@ -9,8 +9,8 @@ android {
applicationId
"com.phlx.anchorcollect"
minSdkVersion
21
targetSdkVersion
29
versionCode
2
versionName
"1.0.
1
"
versionCode
3
versionName
"1.0.
2
"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
app/src/main/java/com/phlx/anchorcollect/ui/fragment/vm/BasicsCollectVM.java
View file @
387f4f1d
...
...
@@ -479,7 +479,7 @@ public class BasicsCollectVM extends BaseViewModel<Repository> implements OnInve
if
(
msg
.
what
==
0x333
)
{
InventoryData
inventoryData
=
(
InventoryData
)
msg
.
obj
;
if
(
inventoryData
.
getDataLength
()
>
0
&&
inventoryData
.
getEpcLength
()
>
0
)
{
String
epc
=
TextUtil
.
byteToHexString
(
inventoryData
.
getEPC_Data
(),
inventoryData
.
getEpcLength
());
String
epc
=
TextUtil
.
byteToHexString
(
inventoryData
.
getEPC_Data
(),
inventoryData
.
getEpcLength
())
.
substring
(
1
)
;
String
tid
=
TextUtil
.
byteToHexString
(
inventoryData
.
getData
(),
inventoryData
.
getDataLength
());
soundPool
.
play
(
musicId
.
get
(
1
),
1
,
1
,
0
,
0
,
1
);
App
.
getInstance
().
getLinkage
().
stopInventory
();
...
...
app/src/main/java/com/phlx/anchorcollect/ui/fragment/vm/WeightManVM.java
View file @
387f4f1d
...
...
@@ -577,7 +577,7 @@ public class WeightManVM extends BaseViewModel<Repository> implements OnInventor
if
(
msg
.
what
==
0x333
)
{
InventoryData
inventoryData
=
(
InventoryData
)
msg
.
obj
;
if
(
inventoryData
.
getDataLength
()
>
0
&&
inventoryData
.
getEpcLength
()
>
0
)
{
String
epc
=
TextUtil
.
byteToHexString
(
inventoryData
.
getEPC_Data
(),
inventoryData
.
getEpcLength
());
String
epc
=
TextUtil
.
byteToHexString
(
inventoryData
.
getEPC_Data
(),
inventoryData
.
getEpcLength
())
.
substring
(
1
)
;
String
tid
=
TextUtil
.
byteToHexString
(
inventoryData
.
getData
(),
inventoryData
.
getDataLength
());
soundPool
.
play
(
musicId
.
get
(
1
),
1
,
1
,
0
,
0
,
1
);
App
.
getInstance
().
getLinkage
().
stopInventory
();
...
...
app/src/main/java/com/phlx/anchorcollect/ui/login/LoginVM.java
View file @
387f4f1d
...
...
@@ -77,8 +77,8 @@ public class LoginVM extends BaseViewModel<Repository> {
// userName.set("dzy");
// password.set("123456");
userName
.
set
(
"ewei"
);
password
.
set
(
"123456"
);
//
userName.set("ewei");
//
password.set("123456");
}
//清除用户名的点击事件
...
...
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