namespace BusinessObjects.BusinessObjects;

public enum WsMessageType
{
    WriteLog = 0,
    ClearLog = 1,
    GetAllText = 2,
    InsertPosition = 3,
    UpdatePosition = 4,
    RemovePosition = 5,
    GetAllPositions = 6,
    GetAllPerformance = 7,
    ChartValue = 8,
    ChartDone = 9,
    GetAllCapital = 10,
    GetLevels = 11,
    GetCryptoPositions = 12,
    UpdateCryptoPosition = 13,
    UpdateBalance = 14
}

public class WsMessage
{
    public virtual WsMessageType Type { get; set; }
    public virtual long chartId { get; set; }
    public virtual string From { get; set; }
    public virtual string Message { get; set; }
}
