Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jyzb_local_platform
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
赵剑炜
jyzb_local_platform
Commits
4384e118
Commit
4384e118
authored
Nov 14, 2023
by
Seniorious
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
10b4ecba
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
16 行增加
和
10 行删除
+16
-10
APIs.csproj
WebApiNET6-master/APIs/APIs.csproj
+6
-0
appsettings.json
WebApiNET6-master/APIs/appsettings.json
+4
-4
RabbitMQCustomContext.cs
WebApiNET6-master/Common/Utility/RabbitMQ/RabbitMQCustomContext.cs
+0
-2
RecordsReq.cs
WebApiNET6-master/Models/ReqModel/RecordsReq.cs
+2
-1
LogDetail.cs
WebApiNET6-master/Models/Table/LogDetail.cs
+2
-3
LogService.cs
WebApiNET6-master/Services/LogService.cs
+2
-0
没有找到文件。
WebApiNET6-master/APIs/APIs.csproj
View file @
4384e118
...
@@ -37,6 +37,12 @@
...
@@ -37,6 +37,12 @@
</ItemGroup>
</ItemGroup>
<ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Update="Properties\launchSettings.json">
<None Update="Properties\launchSettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</None>
...
...
WebApiNET6-master/APIs/appsettings.json
View file @
4384e118
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
"Launch"
:
"http://*:5233;http://*:5243"
,
"Launch"
:
"http://*:5233;http://*:5243"
,
"AllowedHosts"
:
"*"
,
"AllowedHosts"
:
"*"
,
"ConnectionStrings"
:
{
"ConnectionStrings"
:
{
"MySQL"
:
"server=1
27.0.0.1;port=3306;Database=xuzhou_new
;Uid=root;Pwd=123456;"
"MySQL"
:
"server=1
92.168.3.128;port=3306;Database=xuzhou
;Uid=root;Pwd=123456;"
//RabbitMQ配置
//RabbitMQ配置
},
},
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
//密码
//密码
"Password"
:
"123456"
,
"Password"
:
"123456"
,
//ip地址,多个时以英文“
,
”分割
//ip地址,多个时以英文“
,
”分割
"HostName"
:
"1
27.0.0.1
"
,
"HostName"
:
"1
92.168.3.188
"
,
//端口
//端口
"Port"
:
5672
,
"Port"
:
5672
,
//虚拟队列名称
//虚拟队列名称
...
@@ -28,13 +28,13 @@
...
@@ -28,13 +28,13 @@
//虚拟交换机名称
//虚拟交换机名称
"ExchangeName"
:
"uploadRecords"
"ExchangeName"
:
"uploadRecords"
},
},
"RabbitMQConfigCreate"
:
{
//生产者消息队列,后期可以建设多个队列名称
"RabbitMQConfigCreate"
:
{
//生产者消息队列,后期可以建设多个队列名称
//用户名
//用户名
"UserName"
:
"root"
,
"UserName"
:
"root"
,
//密码
//密码
"Password"
:
"123456"
,
"Password"
:
"123456"
,
//ip地址,多个时以英文“
,
”分割
//ip地址,多个时以英文“
,
”分割
"HostName"
:
"1
27.0.0.1
"
,
"HostName"
:
"1
92.168.3.188
"
,
//端口
//端口
"Port"
:
5672
,
"Port"
:
5672
,
//虚拟队列名称
//虚拟队列名称
...
...
WebApiNET6-master/Common/Utility/RabbitMQ/RabbitMQCustomContext.cs
View file @
4384e118
...
@@ -31,8 +31,6 @@ namespace Common.Utility.RabbitMQ
...
@@ -31,8 +31,6 @@ namespace Common.Utility.RabbitMQ
{
{
try
try
{
{
//创建连接对象工厂
//创建连接对象工厂
factory
=
new
ConnectionFactory
()
factory
=
new
ConnectionFactory
()
{
{
...
...
WebApiNET6-master/Models/ReqModel/RecordsReq.cs
View file @
4384e118
...
@@ -30,7 +30,7 @@ namespace Common.Utility.Model
...
@@ -30,7 +30,7 @@ namespace Common.Utility.Model
public
String
?
equipmentSize
{
get
;
set
;
}
public
String
?
equipmentSize
{
get
;
set
;
}
public
int
?
outInState
{
get
;
set
;
}
public
int
?
outInState
{
get
;
set
;
}
public
int
?
errorState
{
get
;
set
;
}
public
int
?
errorState
{
get
;
set
;
}
public
string
?
errorMsg
{
get
;
set
;
}
}
}
public
class
CarList
public
class
CarList
...
@@ -41,6 +41,7 @@ namespace Common.Utility.Model
...
@@ -41,6 +41,7 @@ namespace Common.Utility.Model
public
int
?
outInState
{
get
;
set
;
}
public
int
?
outInState
{
get
;
set
;
}
public
String
?
errorState
{
get
;
set
;
}
public
String
?
errorState
{
get
;
set
;
}
public
string
?
errorMsg
{
get
;
set
;
}
}
}
}
}
WebApiNET6-master/Models/Table/LogDetail.cs
View file @
4384e118
...
@@ -19,7 +19,6 @@ namespace Models.Table
...
@@ -19,7 +19,6 @@ namespace Models.Table
[
SugarColumn
(
ColumnName
=
"summary_id"
)]
[
SugarColumn
(
ColumnName
=
"summary_id"
)]
public
int
summaryId
{
get
;
set
;
}
public
int
summaryId
{
get
;
set
;
}
public
String
epc
{
get
;
set
;
}
public
String
epc
{
get
;
set
;
}
[
SugarColumn
(
ColumnName
=
"equipment_name"
)]
[
SugarColumn
(
ColumnName
=
"equipment_name"
)]
public
String
?
equipmentName
{
get
;
set
;
}
public
String
?
equipmentName
{
get
;
set
;
}
...
@@ -31,7 +30,7 @@ namespace Models.Table
...
@@ -31,7 +30,7 @@ namespace Models.Table
public
int
?
state
{
get
;
set
;
}
public
int
?
state
{
get
;
set
;
}
[
SugarColumn
(
ColumnName
=
"car_id"
)]
[
SugarColumn
(
ColumnName
=
"car_id"
)]
public
int
?
carid
{
get
;
set
;
}
public
int
?
carid
{
get
;
set
;
}
[
SugarColumn
(
ColumnName
=
"error_msg"
)]
public
string
?
errorMsg
{
get
;
set
;
}
}
}
}
}
WebApiNET6-master/Services/LogService.cs
View file @
4384e118
...
@@ -42,6 +42,7 @@ namespace Services
...
@@ -42,6 +42,7 @@ namespace Services
logdetail
.
createTime
=
DateTime
.
Now
;
logdetail
.
createTime
=
DateTime
.
Now
;
logdetail
.
updateTime
=
DateTime
.
Now
;
logdetail
.
updateTime
=
DateTime
.
Now
;
logdetail
.
state
=
item
.
outInState
;
logdetail
.
state
=
item
.
outInState
;
logdetail
.
errorMsg
=
item
.
errorMsg
;
log
.
DetailList
.
Add
(
logdetail
);
log
.
DetailList
.
Add
(
logdetail
);
}
}
}
}
...
@@ -55,6 +56,7 @@ namespace Services
...
@@ -55,6 +56,7 @@ namespace Services
logdetail
.
equipmentName
=
item
.
carName
;
logdetail
.
equipmentName
=
item
.
carName
;
logdetail
.
equipmentSize
=
item
.
carNumber
;
logdetail
.
equipmentSize
=
item
.
carNumber
;
logdetail
.
state
=
item
.
outInState
;
logdetail
.
state
=
item
.
outInState
;
logdetail
.
errorMsg
=
item
.
errorMsg
;
log
.
DetailList
.
Add
(
logdetail
);
log
.
DetailList
.
Add
(
logdetail
);
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论