/// <summary> /// Performs the necessary actions after the calculation of the command data. /// </summary> public void EndCalcCmdData() { outCnlNum = 0; outCnl = null; initialCmdVal = double.NaN; initialCmdData = null; }
/// <summary> /// Performs the necessary actions before the calculation of the command data. /// </summary> public void BeginCalcCmdData(int outCnlNum, OutCnl outCnl, double initialCmdVal, byte[] initialCmdData) { this.outCnlNum = outCnlNum; this.outCnl = outCnl; this.initialCmdVal = initialCmdVal; this.initialCmdData = initialCmdData; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public OutCnlTag(OutCnl outCnl) { OutCnl = outCnl ?? throw new ArgumentNullException(nameof(outCnl)); CalcEngine = null; CalcCmdDataFunc = null; }