mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
35 lines
No EOL
761 B
C#
35 lines
No EOL
761 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Threading;
|
|
using System.Windows.Controls;
|
|
|
|
namespace Cosmos.VS.Windows
|
|
{
|
|
public class DebuggerUC : UserControl
|
|
{
|
|
protected byte[] mData = new byte[0];
|
|
|
|
public CosmosWindowsPackage Package { get; set; }
|
|
|
|
public virtual void Update(string aTag, byte[] aData)
|
|
{
|
|
mData = aData;
|
|
DoUpdate(aTag);
|
|
}
|
|
|
|
protected virtual void DoUpdate(string aTag)
|
|
{
|
|
}
|
|
|
|
public virtual byte[] GetCurrentState()
|
|
{
|
|
return mData;
|
|
}
|
|
public virtual void SetCurrentState(byte[] aData)
|
|
{
|
|
Update(null, aData);
|
|
}
|
|
}
|
|
} |