Commit 57b7ac39 authored by 潘栩锋's avatar 潘栩锋 🚴

修复 称重单组分 客户端 无法加载weighter.weightSystemClient.json

parent cf066b8e
...@@ -61,9 +61,10 @@ namespace FLY.Weight2.Client ...@@ -61,9 +61,10 @@ namespace FLY.Weight2.Client
Init(); Init();
} }
public WeightSystemServiceClient(UInt32 serviceId, string connName) : base(serviceId) { public WeightSystemServiceClient(UInt32 serviceId, string connName) : base(serviceId) {
Init();
ConnName = connName; ConnName = connName;
filePath = connName + "." +filePath; filePath = connName + "." + filePath;
Init();
FObjServiceClientManager.Instance.Connect_to_Another_OBJSys(connName, this); FObjServiceClientManager.Instance.Connect_to_Another_OBJSys(connName, this);
} }
......
...@@ -237,12 +237,6 @@ namespace FLY.Weight2.Common ...@@ -237,12 +237,6 @@ namespace FLY.Weight2.Common
[Description("PID调节 xxx")] [Description("PID调节 xxx")]
public float PIDAdjust{ get; set; } public float PIDAdjust{ get; set; }
/// <summary>
/// 层用料(kg) xxx.x
/// </summary>
[Description("层用料(kg) xxx.x")]
public float Consume{ get; set; }
/// <summary> /// <summary>
/// 螺杆缺料!! /// 螺杆缺料!!
/// </summary> /// </summary>
......
...@@ -1580,33 +1580,6 @@ ...@@ -1580,33 +1580,6 @@
"OwnerName": "Items[4]", "OwnerName": "Items[4]",
"PropertyName": "PIDAdjust" "PropertyName": "PIDAdjust"
}, },
{
"DeviceIndex": 0,
"Mode": "4",
"Addr": 15378,
"Type": "float",
"Scale": 1.0,
"OwnerName": "Items[0]",
"PropertyName": "Consume"
},
{
"DeviceIndex": 0,
"Mode": "4",
"Addr": 15380,
"Type": "float",
"Scale": 1.0,
"OwnerName": "Items[1]",
"PropertyName": "Consume"
},
{
"DeviceIndex": 0,
"Mode": "4",
"Addr": 15382,
"Type": "float",
"Scale": 1.0,
"OwnerName": "Items[2]",
"PropertyName": "Consume"
},
{ {
"DeviceIndex": 0, "DeviceIndex": 0,
"Mode": "0", "Mode": "0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment