初始化CRICS
This commit is contained in:
25
Service/Implement/PowerSupplyControlManager.cs
Normal file
25
Service/Implement/PowerSupplyControlManager.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using Domain;
|
||||
using RCUHost;
|
||||
|
||||
namespace Service.Implement
|
||||
{
|
||||
public class PowerSupplyControlManager : IPowerSupplyControlManager
|
||||
{
|
||||
public IPowerSupplyControlReceiver PowerSupplyControlReceiver { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发送主机电源控制
|
||||
/// </summary>
|
||||
/// <param name="host">主机</param>
|
||||
/// <param name="ctrl">电源控制</param>
|
||||
public void SendCtrl(Host host, PowerSupplyCtrl ctrl)
|
||||
{
|
||||
PowerSupplyControlReceiver.SendCtrl(host, ctrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user