Commit 1769ba24 authored by 潘栩锋's avatar 潘栩锋 🚴

和美安装包_v6.22.5 -20210529

parent fdd69281
...@@ -10,10 +10,10 @@ namespace FLY.FeedbackRenZiJia.Common ...@@ -10,10 +10,10 @@ namespace FLY.FeedbackRenZiJia.Common
{ {
static ERRNOs() static ERRNOs()
{ {
ERRNO_PLC_DISCONNECTED = new ERRNO() { Code = 255, Descrption = "风环 PLC连接断开" }; ERRNO_PLC_DISCONNECTED = new ERRNO() { Code = 65535, Descrption = "风环 PLC连接断开" };
#region 收卷 #region 收卷
ERRNO_NO_FAN = new ERRNO() { Code = 0, Descrption = "风机没开,不能加热" , OffIsError=true}; ERRNO_NO_FAN = new ERRNO() { Code = 0, Descrption = "风机没开,不能加热" };
ERRNO_OPEN_CIRCUIT = new ERRNO() { Code = 1, Descrption = "加热棒断路" }; ERRNO_OPEN_CIRCUIT = new ERRNO() { Code = 1, Descrption = "加热棒断路" };
ERRNO_SHORT_CIRCUIT = new ERRNO() { Code = 2, Descrption = "加热控制板短路" }; ERRNO_SHORT_CIRCUIT = new ERRNO() { Code = 2, Descrption = "加热控制板短路" };
ERRNO_POWER_OFF = new ERRNO() { Code = 3, Descrption = "电源没开启或电流计损坏" }; ERRNO_POWER_OFF = new ERRNO() { Code = 3, Descrption = "电源没开启或电流计损坏" };
......
...@@ -502,7 +502,7 @@ namespace FLY.Thick.BlowingScan.Server ...@@ -502,7 +502,7 @@ namespace FLY.Thick.BlowingScan.Server
Misc.BindingOperations.SetBinding(initParam, nameof(initParam.VScan), gmRenZiJiaScan, nameof(gmRenZiJiaScan.Velocity)); Misc.BindingOperations.SetBinding(initParam, nameof(initParam.VScan), gmRenZiJiaScan, nameof(gmRenZiJiaScan.Velocity));
Misc.BindingOperations.SetBinding(gmRenZiJiaScan.mPDetect, nameof(gmRenZiJiaScan.mPDetect.RollPerimeter), initParam, nameof(initParam.MmOfR), BindingOperations.BindingMode.TwoWay); Misc.BindingOperations.SetBinding(gmRenZiJiaScan.mPDetect, nameof(gmRenZiJiaScan.mPDetect.RollPerimeter), initParam, nameof(initParam.MmOfR), BindingOperations.BindingMode.TwoWay);
Misc.BindingOperations.SetBinding(gmRenZiJiaScan, nameof(gmRenZiJiaScan.mPDetect.FilmVelocity), dynArea, nameof(dynArea.FilmVelocity)); Misc.BindingOperations.SetBinding(gmRenZiJiaScan.mPDetect, nameof(gmRenZiJiaScan.mPDetect.FilmVelocity), dynArea, nameof(dynArea.FilmVelocity));
dynArea.NBolts = gmRenZiJiaScan.NBolts; dynArea.NBolts = gmRenZiJiaScan.NBolts;
dynArea.FirstBoltNo = 1; dynArea.FirstBoltNo = 1;
......
using FLY.OBJComponents.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FLY.Weight.Common
{
public static class ERRNOs
{
static ERRNOs()
{
ERRNO_PLC_DISCONNECTED = new ERRNO() { Code = 255, Descrption = "称重 PLC连接断开" };
ERRNO_PLC_REG = new ERRNO() { Code = 0, Descrption = "通过 PLC寄存器 触发的报警信息" };
}
/// <summary>
/// PLC连接断开
/// </summary>
public static ERRNO ERRNO_PLC_DISCONNECTED;
/// <summary>
/// 通过 PLC寄存器 触发的报警信息
/// </summary>
public static ERRNO ERRNO_PLC_REG;
}
}
...@@ -829,86 +829,86 @@ namespace FLY.Weight.Common ...@@ -829,86 +829,86 @@ namespace FLY.Weight.Common
public float BinAlarmSet_6{ get; set; } public float BinAlarmSet_6{ get; set; }
/// <summary> /// <summary>
/// No.1料仓缺料报警 /// 1#料仓缺料报警
/// </summary> /// </summary>
[Description("No.1料仓缺料报警")] [Description("1#料仓缺料报警")]
[IsError()] [IsError()]
public bool IsErrorOfLack_1{ get; set; } public bool IsErrorOfLack_1{ get; set; }
/// <summary> /// <summary>
/// No.2料仓缺料报警 /// 2#料仓缺料报警
/// </summary> /// </summary>
[Description("No.2料仓缺料报警")] [Description("2#料仓缺料报警")]
[IsError()] [IsError()]
public bool IsErrorOfLack_2{ get; set; } public bool IsErrorOfLack_2{ get; set; }
/// <summary> /// <summary>
/// No.3料仓缺料报警 /// 3#料仓缺料报警
/// </summary> /// </summary>
[Description("No.3料仓缺料报警")] [Description("3#料仓缺料报警")]
[IsError()] [IsError()]
public bool IsErrorOfLack_3{ get; set; } public bool IsErrorOfLack_3{ get; set; }
/// <summary> /// <summary>
/// No.4料仓缺料报警 /// 4#料仓缺料报警
/// </summary> /// </summary>
[Description("No.4料仓缺料报警")] [Description("4#料仓缺料报警")]
[IsError()] [IsError()]
public bool IsErrorOfLack_4{ get; set; } public bool IsErrorOfLack_4{ get; set; }
/// <summary> /// <summary>
/// No.5料仓缺料报警 /// 5#料仓缺料报警
/// </summary> /// </summary>
[Description("No.5料仓缺料报警")] [Description("5#料仓缺料报警")]
[IsError()] [IsError()]
public bool IsErrorOfLack_5{ get; set; } public bool IsErrorOfLack_5{ get; set; }
/// <summary> /// <summary>
/// No.6料仓缺料报警 /// 6#料仓缺料报警
/// </summary> /// </summary>
[Description("No.6料仓缺料报警")] [Description("6#料仓缺料报警")]
[IsError()] [IsError()]
public bool IsErrorOfLack_6{ get; set; } public bool IsErrorOfLack_6{ get; set; }
/// <summary> /// <summary>
/// No.1料斗加料异常 /// 1#料斗加料异常
/// </summary> /// </summary>
[Description("No.1料斗加料异常")] [Description("1#料斗加料异常")]
[IsError()] [IsError()]
public bool IsErrorOfAdd_1{ get; set; } public bool IsErrorOfAdd_1{ get; set; }
/// <summary> /// <summary>
/// No.2料斗加料异常 /// 2#料斗加料异常
/// </summary> /// </summary>
[Description("No.2料斗加料异常")] [Description("2#料斗加料异常")]
[IsError()] [IsError()]
public bool IsErrorOfAdd_2{ get; set; } public bool IsErrorOfAdd_2{ get; set; }
/// <summary> /// <summary>
/// No.3料斗加料异常 /// 3#料斗加料异常
/// </summary> /// </summary>
[Description("No.3料斗加料异常")] [Description("3#料斗加料异常")]
[IsError()] [IsError()]
public bool IsErrorOfAdd_3{ get; set; } public bool IsErrorOfAdd_3{ get; set; }
/// <summary> /// <summary>
/// No.4料斗加料异常 /// 4#料斗加料异常
/// </summary> /// </summary>
[Description("No.4料斗加料异常")] [Description("4#料斗加料异常")]
[IsError()] [IsError()]
public bool IsErrorOfAdd_4{ get; set; } public bool IsErrorOfAdd_4{ get; set; }
/// <summary> /// <summary>
/// No.5料斗加料异常 /// 5#料斗加料异常
/// </summary> /// </summary>
[Description("No.5料斗加料异常")] [Description("5#料斗加料异常")]
[IsError()] [IsError()]
public bool IsErrorOfAdd_5{ get; set; } public bool IsErrorOfAdd_5{ get; set; }
/// <summary> /// <summary>
/// No.6料斗加料异常 /// 6#料斗加料异常
/// </summary> /// </summary>
[Description("No.6料斗加料异常")] [Description("63料斗加料异常")]
[IsError()] [IsError()]
public bool IsErrorOfAdd_6{ get; set; } public bool IsErrorOfAdd_6{ get; set; }
...@@ -999,6 +999,47 @@ namespace FLY.Weight.Common ...@@ -999,6 +999,47 @@ namespace FLY.Weight.Common
[IsError()] [IsError()]
public bool IsErrorOfBinLack{ get; set; } public bool IsErrorOfBinLack{ get; set; }
/// <summary>
/// 1#配料偏差大
/// </summary>
[Description("1#配料偏差大")]
[IsError()]
public bool IsErrorOfDosing_1 { get; set; }
/// <summary>
/// 2#配料偏差大
/// </summary>
[Description("2#配料偏差大")]
[IsError()]
public bool IsErrorOfDosing_2 { get; set; }
/// <summary>
/// 3#配料偏差大
/// </summary>
[Description("3#配料偏差大")]
[IsError()]
public bool IsErrorOfDosing_3 { get; set; }
/// <summary>
/// 4#配料偏差大
/// </summary>
[Description("4#配料偏差大")]
[IsError()]
public bool IsErrorOfDosing_4 { get; set; }
/// <summary>
/// 5#配料偏差大
/// </summary>
[Description("5#配料偏差大")]
[IsError()]
public bool IsErrorOfDosing_5 { get; set; }
/// <summary>
/// 6#配料偏差大
/// </summary>
[Description("6#配料偏差大")]
[IsError()]
public bool IsErrorOfDosing_6 { get; set; }
#endregion #endregion
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
<Compile Include="IService\IBulkDbMixService.cs" /> <Compile Include="IService\IBulkDbMixService.cs" />
<Compile Include="IService\IBulkDbFlowService.cs" /> <Compile Include="IService\IBulkDbFlowService.cs" />
<Compile Include="OBJ_INTERFACE\OBJ_INTERFACE.cs" /> <Compile Include="OBJ_INTERFACE\OBJ_INTERFACE.cs" />
<Compile Include="Common\ERRNOs.cs" />
<Compile Include="Common\WeighterC.cs" /> <Compile Include="Common\WeighterC.cs" />
<Compile Include="Client\WeightSystemServiceClient.cs" /> <Compile Include="Client\WeightSystemServiceClient.cs" />
<Compile Include="IService\IWeightSystemService.cs" /> <Compile Include="IService\IWeightSystemService.cs" />
......
...@@ -121,7 +121,7 @@ namespace FLY.Weight.Server ...@@ -121,7 +121,7 @@ namespace FLY.Weight.Server
{ {
for (int i = 0; i < ItemsCnt; i++) for (int i = 0; i < ItemsCnt; i++)
{ {
Items[i].IsAlarmReseted = false; Items[i].IsAlarmReseted = true;
} }
} }
}); });
...@@ -140,7 +140,7 @@ namespace FLY.Weight.Server ...@@ -140,7 +140,7 @@ namespace FLY.Weight.Server
//Test(); //Test();
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------
//添加任务 //添加任务
...@@ -156,7 +156,11 @@ namespace FLY.Weight.Server ...@@ -156,7 +156,11 @@ namespace FLY.Weight.Server
nameof(WeighterC.CurrentFlow), nameof(WeighterC.CurrentFlow),
nameof(WeighterC.ScrewPSet), nameof(WeighterC.ScrewPSet),
nameof(WeighterC.ScrewPDisp), nameof(WeighterC.ScrewPDisp),
nameof(WeighterC.ScrewMotorFreq) nameof(WeighterC.ScrewMotorFreq),
//报警复位用
nameof(WeighterC.IsAlarmReseted),
nameof(WeighterC.AlarmIsOn)
}; };
for (int j = 0; j < Items[i].BinCnt; j++) for (int j = 0; j < Items[i].BinCnt; j++)
......
Subproject commit 2d5a6d3985d9e31ec384e92f00b97075f1fb762a Subproject commit 21ae28ec4f8ada4b9caf2c829a6f40ddb0f971e0
和美安装包_v6.22.5 -20210529
1. 优化 报警码升级为 uint16
2. 优化 报警管理界面 删除 【消音】
3. 添加 称重添加 444_v3.1(偏差报警)
和美安装包_v6.22.4 -20210521
1. 修复 扫描测厚仪 主界面 FilmVelocity一直显示为0
和美安装包_v6.22.3 -20210510 和美安装包_v6.22.3 -20210510
1. 修复 扫描测厚仪 FilmVelocity 同时由两个源生成。 1. 修复 扫描测厚仪 FilmVelocity 同时由两个源生成。
2. 修复 追边,扫描测厚仪 FilmVelocity 使用了 电脑时间生成后,不准的问题。 2. 修复 追边,扫描测厚仪 FilmVelocity 使用了 电脑时间生成后,不准的问题。
......
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