Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
familyMart_takeaway
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guanghui.cui
familyMart_takeaway
Commits
571786e4
Commit
571786e4
authored
Apr 24, 2018
by
guanghui.cui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加版本号信息
parent
1e682164
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
src/main.cpp
+6
-1
No files found.
src/main.cpp
View file @
571786e4
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
INITIALIZE_EASYLOGGINGPP
INITIALIZE_EASYLOGGINGPP
#define VERSION "1.0.2" //版本号
std
::
string
g_init_data
;
std
::
string
g_init_data
;
std
::
string
g_init_data_ods_back
;
std
::
string
g_init_data_ods_back
;
...
@@ -238,8 +239,12 @@ void* listen_pos_func(void* arg)
...
@@ -238,8 +239,12 @@ void* listen_pos_func(void* arg)
// }
// }
int
main
()
int
main
(
int
argc
,
char
*
argv
[]
)
{
{
if
(
2
==
argc
&&
0
==
strcmp
(
"-v"
,
argv
[
1
]))
{
printf
(
"version:%s
\n
"
,
VERSION
);
return
0
;
}
/* Mark
/* Mark
* 与ODS通信全部加数据头(长度)
* 与ODS通信全部加数据头(长度)
* 与POS通信全部不加数据头
* 与POS通信全部不加数据头
...
...
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