This commit is contained in:
50
Service/HardwareService.cs
Normal file
50
Service/HardwareService.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using MembranePoreTester.Models;
|
||||
|
||||
namespace MembranePoreTester.Services
|
||||
{
|
||||
public class HardwareService : IHardwareService
|
||||
{
|
||||
public DeviceDataModel LoadDeviceData()
|
||||
{
|
||||
// TODO: 实现硬件读取逻辑
|
||||
throw new NotImplementedException("请在此处实现硬件读取逻辑");
|
||||
}
|
||||
|
||||
public void SaveDeviceData(DeviceDataModel data)
|
||||
{
|
||||
// TODO: 实现硬件保存逻辑
|
||||
throw new NotImplementedException("请在此处实现硬件保存逻辑");
|
||||
}
|
||||
|
||||
public void Reset()
|
||||
{
|
||||
// TODO: 实现复位指令
|
||||
throw new NotImplementedException("请在此处实现复位指令");
|
||||
}
|
||||
|
||||
public void OpenLeftEye()
|
||||
{
|
||||
// TODO: 实现左眼开指令
|
||||
throw new NotImplementedException("请在此处实现左眼开指令");
|
||||
}
|
||||
|
||||
public void OpenRightEye()
|
||||
{
|
||||
// TODO: 实现右眼开指令
|
||||
throw new NotImplementedException("请在此处实现右眼开指令");
|
||||
}
|
||||
|
||||
public void ReverseMotor()
|
||||
{
|
||||
// TODO: 实现电机反转
|
||||
throw new NotImplementedException("请在此处实现电机反转");
|
||||
}
|
||||
|
||||
public void ForwardMotor()
|
||||
{
|
||||
// TODO: 实现电机正转
|
||||
throw new NotImplementedException("请在此处实现电机正转");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user