mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
35 lines
857 B
C#
35 lines
857 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Controls;
|
|
|
|
namespace Cosmos.VS.Windows
|
|
{
|
|
public class DebuggerChannelUC: UserControl
|
|
{
|
|
protected Cosmos_VS_WindowsPackage mPackage;
|
|
public Cosmos_VS_WindowsPackage Package
|
|
{
|
|
get
|
|
{
|
|
return mPackage;
|
|
}
|
|
set
|
|
{
|
|
mPackage = value;
|
|
}
|
|
}
|
|
|
|
protected virtual void HandleChannelMessage(byte aChannel, byte aCommand, byte[] aData)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void HandleChannelMessage(ushort aChannelAndCommand, byte[] aData)
|
|
{
|
|
HandleChannelMessage((byte)(aChannelAndCommand >> 8), (byte)(aChannelAndCommand & 0xFF), aData);
|
|
}
|
|
}
|
|
}
|