初始化CRICS
This commit is contained in:
25
Service/Implement/TvControlManager.cs
Normal file
25
Service/Implement/TvControlManager.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 TvControlManager : ITvControlManager
|
||||
{
|
||||
public ITVControlReceiver TVControlReceiver { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发送电视按键
|
||||
/// </summary>
|
||||
/// <param name="host">主机</param>
|
||||
/// <param name="key">按键</param>
|
||||
public void SendKey(Host host,TvKey key)
|
||||
{
|
||||
TVControlReceiver.SendKey(host, key);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user