Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Client.SamplePackages.V4.0
Project
Overview
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
陶然
Kivii.Client.SamplePackages.V4.0
Commits
3d731fa2
Commit
3d731fa2
authored
Jul 12, 2023
by
任天宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
c62d85f5
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
6 deletions
+8
-6
F2.ico
Src/F2.ico
+0
-0
FrmMain.Designer.cs
Src/FrmMain.Designer.cs
+1
-1
FrmMain.cs
Src/FrmMain.cs
+2
-2
FrmMain.resx
Src/FrmMain.resx
+0
-0
Kivii.Client.SamplePackages.V4.0.csproj
Src/Kivii.Client.SamplePackages.V4.0.csproj
+2
-1
AssemblyInfo.cs
Src/Properties/AssemblyInfo.cs
+2
-2
RestfulRequests.cs
Src/Requests/RestfulRequests.cs
+1
-0
No files found.
Src/F2.ico
0 → 100644
View file @
3d731fa2
File added
Src/FrmMain.Designer.cs
View file @
3d731fa2
...
@@ -602,7 +602,7 @@
...
@@ -602,7 +602,7 @@
this
.
Controls
.
Add
(
this
.
plLeft
);
this
.
Controls
.
Add
(
this
.
plLeft
);
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Icon
=
((
System
.
Drawing
.
Icon
)(
resources
.
GetObject
(
"$this.Icon"
)));
this
.
Name
=
"FrmMain"
;
this
.
Name
=
"FrmMain"
;
this
.
Text
=
"样品入箱客户端 1.
4(23.7.8
0 CP2101)"
;
this
.
Text
=
"样品入箱客户端 1.
5(23.7.12
0 CP2101)"
;
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmMain_Load
);
this
.
Load
+=
new
System
.
EventHandler
(
this
.
FrmMain_Load
);
this
.
plLeft
.
ResumeLayout
(
false
);
this
.
plLeft
.
ResumeLayout
(
false
);
this
.
gbInfo
.
ResumeLayout
(
false
);
this
.
gbInfo
.
ResumeLayout
(
false
);
...
...
Src/FrmMain.cs
View file @
3d731fa2
...
@@ -489,13 +489,13 @@ namespace Kivii.Client.SamplePackages
...
@@ -489,13 +489,13 @@ namespace Kivii.Client.SamplePackages
try
try
{
{
_tmr
?.
Stop
();
//先停止定时器,防止重复触发
_tmr
?.
Stop
();
//先停止定时器,防止重复触发
var
epc
=
ReaderInstance
.
ReadEpc
();
Thread
.
Sleep
(
50
);
//给下一个写卡让出时间
var
tid
=
ReaderInstance
.
ReadTid
();
//先读取Tid,即RFID标签的唯一标识
var
tid
=
ReaderInstance
.
ReadTid
();
//先读取Tid,即RFID标签的唯一标识
if
(
string
.
IsNullOrEmpty
(
tid
))
//如果没有,那么就是没卡,直接返回
if
(
string
.
IsNullOrEmpty
(
tid
))
//如果没有,那么就是没卡,直接返回
{
{
return
;
return
;
}
}
Thread
.
Sleep
(
50
);
//给下一个写卡让出时间
var
epc
=
ReaderInstance
.
ReadEpc
();
samplePrepackaging
(
tid
,
epc
);
samplePrepackaging
(
tid
,
epc
);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
...
...
Src/FrmMain.resx
View file @
3d731fa2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Src/Kivii.Client.SamplePackages.V4.0.csproj
View file @
3d731fa2
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<WarningLevel>
4
</WarningLevel>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
</PropertyGroup>
<PropertyGroup>
<PropertyGroup>
<ApplicationIcon>
F.ico
</ApplicationIcon>
<ApplicationIcon>
F
2
.ico
</ApplicationIcon>
</PropertyGroup>
</PropertyGroup>
<PropertyGroup>
<PropertyGroup>
<ApplicationManifest>
app.manifest
</ApplicationManifest>
<ApplicationManifest>
app.manifest
</ApplicationManifest>
...
@@ -105,6 +105,7 @@
...
@@ -105,6 +105,7 @@
<None
Include=
"Resources\一体机开发包.zip"
/>
<None
Include=
"Resources\一体机开发包.zip"
/>
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<Content
Include=
"F2.ico"
/>
<EmbeddedResource
Include=
"Basic.dll"
>
<EmbeddedResource
Include=
"Basic.dll"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</EmbeddedResource>
</EmbeddedResource>
...
...
Src/Properties/AssemblyInfo.cs
View file @
3d731fa2
...
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
...
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2023.7
08
0")]
[assembly: AssemblyVersion("5.4.2023.7
12
0")]
[assembly: AssemblyFileVersion("5.4.2023.7
08
0")]
[assembly: AssemblyFileVersion("5.4.2023.7
12
0")]
Src/Requests/RestfulRequests.cs
View file @
3d731fa2
...
@@ -25,6 +25,7 @@ namespace Kivii.Samples.Transforms
...
@@ -25,6 +25,7 @@ namespace Kivii.Samples.Transforms
public
class
SampleQuery
:
IReturn
<
RestfulQueryResponse
<
Sample
>>
public
class
SampleQuery
:
IReturn
<
RestfulQueryResponse
<
Sample
>>
{
{
public
Guid
PackageKvid
{
get
;
set
;
}
public
Guid
PackageKvid
{
get
;
set
;
}
public
string
OrderBy
{
get
;
set
;
}
=
"BizId"
;
}
}
[
Route
(
Configs
.
RouteSamplePrePackaging
)]
[
Route
(
Configs
.
RouteSamplePrePackaging
)]
...
...
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