Refactor code structure for improved readability and maintainability
This commit is contained in:
20
DaireApplication/ViewModels/HoldingRegister.cs
Normal file
20
DaireApplication/ViewModels/HoldingRegister.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DaireApplication.ViewModels
|
||||
{
|
||||
public class HoldingRegister
|
||||
{
|
||||
public ushort resetError { get; set; } = 0;
|
||||
public ushort hvOut { get; set; } = 0;
|
||||
public ushort lvOut { get; set; } = 0;
|
||||
public ushort motor { get; set; } = 0;
|
||||
public int setTemp1 { get; set; } = -10000;
|
||||
public int setTemp2 { get; set; } = -10000;
|
||||
public int setTemp3 { get; set; } = -10000;
|
||||
public int setTemp4 { get; set; } = -10000;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user