Ejemplo n.º 1
0
        /// <inheritdoc/>
        public override String ToString()
        {
            var result = new StringBuilder();

            result.Append("[EventState:event=");
            result.Append(_event.ToString());
            result.Append(",type=");
            result.Append(CurrentEventType.ToString());
            result.Append(",value=");
            result.Append(Format.FormatDouble(_value, 2));
            result.Append(",compare=");
            result.Append(Format.FormatDouble(CompareValue, 2));
            result.Append(",calc=");
            result.Append(IsCalculated ? "y" : "n");
            result.Append("]");
            return(result.ToString());
        }
Ejemplo n.º 2
0
 public CurrentEventArgs(CurrentEventType type, List <Order> list = null, string message = null)
 {
     EventType = type;
     Message   = message;
     OrderList = list ?? new List <Order>();
 }