Files
quantconnect--lean/Common/Packets/SystemDebugPacket.cs
2017-02-24 17:51:57 -05:00

29 lines
812 B
C#

namespace QuantConnect.Packets
{
/// <summary>
/// Debug packets generated by Lean
/// </summary>
public class SystemDebugPacket : DebugPacket
{
/// <summary>
/// Default constructor for JSON
/// </summary>
public SystemDebugPacket()
: base (PacketType.SystemDebug)
{ }
/// <summary>
/// Create a new instance of the system debug packet
/// </summary>
public SystemDebugPacket(int projectId, string algorithmId, string compileId, string message, bool toast = false)
: base(PacketType.SystemDebug)
{
ProjectId = projectId;
Message = message;
CompileId = compileId;
AlgorithmId = algorithmId;
Toast = toast;
}
}
}