using System; using System.Collections.Generic; using System.Text; namespace VeederRoot_ATG_Console.MessageEntity.Outgoing { /// /// i|I602 /// public class QueryTankProductLabelRequest : OutgoingMessageBase { /// /// /// /// /// 0 indicates all tanks public QueryTankProductLabelRequest(MessageFormat messageFormat , int tankNumber) : base(messageFormat, FuncCode.QueryTankProductLabel, tankNumber.ToString()) { if (tankNumber < 0 || tankNumber > 99) throw new ArgumentOutOfRangeException("Valid tank number is range from 0 to 99"); //base.FunctionCodeRaw = base.FunctionCodeRaw.Substring(0, 4) + tankNumber.ToString().PadLeft(2, '0'); } } }