diff --git a/FryPot_DosingSystem/Control/DosingLogicControl.cs b/FryPot_DosingSystem/Control/DosingLogicControl.cs
index 3f7ba180..a9feba2a 100644
--- a/FryPot_DosingSystem/Control/DosingLogicControl.cs
+++ b/FryPot_DosingSystem/Control/DosingLogicControl.cs
@@ -5,6 +5,7 @@ using BPASmartClient.CustomResource.Pages.Model;
using BPASmartClient.Helper;
using BPASmartClient.HubHelper;
using FryPot_DosingSystem.Model;
+using FryPot_DosingSystem.ViewModel;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
@@ -14,6 +15,7 @@ using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
+using System.Windows.Media;
namespace FryPot_DosingSystem.Control
{
@@ -38,6 +40,10 @@ namespace FryPot_DosingSystem.Control
/// 全局变量对象声明
///
GlobalVariable globalVar;
+ ///
+ /// 线体状态对象声明
+ ///
+ HardWareStatusViewModel hardWareStatusModel;
#region 上位机内部变量
//int lineAlarm = 0;//线体故障信号 1:无故障 -1:故障
@@ -55,6 +61,7 @@ namespace FryPot_DosingSystem.Control
public DosingLogicControl()
{
globalVar = new GlobalVariable();
+ hardWareStatusModel = HardWareStatusViewModel.GetInstance;
ActionManage.GetInstance.Register(new Action