Exemple #1
0
        public string DoCompute()
        {
            Variables.SetCurrValue(Parameters);

            var list = Compute.Split(new char[] { ' ' });
            var cmd  = "";

            foreach (var strcommand in list)
            {
                var calculateResult = BleEditor.ValueCalculate.Calculate(strcommand, double.NaN, null, Variables);
                cmd += calculateResult.S ?? calculateResult.D.ToString();
            }
            Variables.CopyToPrev();
            return(cmd);
        }