using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ips.Sps.TskResults.Commands { public class DrawLineMessage { public DrawLineMessage() { } public long PosId { get; private set; } public long PesId { get; private set; } public bool UseRef { get; private set; } public bool DfoLine { get; private set; } public static DrawLineMessage CreateByPos(long posId, bool useRef) { DrawLineMessage cmd = new DrawLineMessage(); cmd.PosId = posId; cmd.UseRef = useRef; return cmd; } public static DrawLineMessage CreateByPes(long pesId, bool useRef, bool dfoLine = false) { DrawLineMessage cmd = new DrawLineMessage(); cmd.PesId = pesId; cmd.UseRef = useRef; cmd.DfoLine = dfoLine; return cmd; } } }