Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hemei
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
hemei
Commits
b3d1346e
Commit
b3d1346e
authored
May 17, 2022
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 称重 N组份 生成 时异常
parent
80e25321
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
53 deletions
+2
-53
FLY.Weight.UI.Server.csproj
...Y.Weight/FLY.Weight.UI.Server/FLY.Weight.UI.Server.csproj
+0
-1
PLCGroup.cs
Project.FLY.Weight/FLY.Weight.UI.Server/PLCGroup.cs
+0
-51
WdSetup.xaml.cs
Project.FLY.Weight/FLY.Weight.UI.Server/WdSetup.xaml.cs
+2
-1
No files found.
Project.FLY.Weight/FLY.Weight.UI.Server/FLY.Weight.UI.Server.csproj
View file @
b3d1346e
...
...
@@ -74,7 +74,6 @@
<Compile
Include=
"PgMain.xaml.cs"
>
<DependentUpon>
PgMain.xaml
</DependentUpon>
</Compile>
<Compile
Include=
"PLCGroup.cs"
/>
<Compile
Include=
"WdSetup.xaml.cs"
>
<DependentUpon>
WdSetup.xaml
</DependentUpon>
</Compile>
...
...
Project.FLY.Weight/FLY.Weight.UI.Server/PLCGroup.cs
deleted
100644 → 0
View file @
80e25321
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
FLY.Weight.UI.Server
{
public
class
PLCGroup
{
public
class
PLCDevice
{
public
string
EP
;
}
public
class
PLCVariable
{
/// <summary>
/// 设备序号
/// </summary>
public
int
DeviceIndex
;
/// <summary>
/// 0,1,3,4
/// </summary>
public
string
Mode
;
/// <summary>
/// 地址
/// </summary>
public
int
Addr
;
/// <summary>
/// 类型 只有 bool 才对应 bool, 其它数值类型 都转为 float
/// </summary>
public
string
Type
;
/// <summary>
/// 放大倍数
/// </summary>
public
double
Scale
;
/// <summary>
/// 属性拥有者名称
/// </summary>
public
string
OwnerName
;
/// <summary>
/// 属性名称
/// </summary>
public
string
PropertyName
;
}
public
List
<
PLCDevice
>
Devices
=
new
List
<
PLCDevice
>();
public
List
<
PLCVariable
>
Variables
=
new
List
<
PLCVariable
>();
}
}
Project.FLY.Weight/FLY.Weight.UI.Server/WdSetup.xaml.cs
View file @
b3d1346e
using
FLY.OBJComponents.Common
;
using
FLY.Modbus
;
using
FLY.OBJComponents.Common
;
using
FLY.Weight.IService
;
using
FLY.Weight.Server
;
using
System
;
...
...
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