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

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

parent cf066b8e
......@@ -61,9 +61,10 @@ namespace FLY.Weight2.Client
Init();
}
public WeightSystemServiceClient(UInt32 serviceId, string connName) : base(serviceId) {
Init();
ConnName = connName;
filePath = connName + "." +filePath;
filePath = connName + "." + filePath;
Init();
FObjServiceClientManager.Instance.Connect_to_Another_OBJSys(connName, this);
}
......
......@@ -237,12 +237,6 @@ namespace FLY.Weight2.Common
[Description("PID调节 xxx")]
public float PIDAdjust{ get; set; }
/// <summary>
/// 层用料(kg) xxx.x
/// </summary>
[Description("层用料(kg) xxx.x")]
public float Consume{ get; set; }
/// <summary>
/// 螺杆缺料!!
/// </summary>
......
......@@ -1580,33 +1580,6 @@
"OwnerName": "Items[4]",
"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,
"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