예제 #1
0
 public void MonitorAllInputValues(float[] inputData, ISubspacer subspacer)
 {
     if (inputData.Length > this.MAX_VARIABLES)
     {
         MyLog.ERROR.WriteLine("input data have too many dimensions " + inputData.Length
                               + ", increase maxVariables (current=" + this.MAX_VARIABLES + ")");
         return;
     }
     for (int i = 0; i < inputData.Length; i++)
     {
         m_vars[i].RegisterValue((int)inputData[i], i, this);
     }
     VarHistory.RegisterChanges();
 }
예제 #2
0
 public void MonitorAllInputValues(float[] inputData, ISubspacer subspacer)
 {
     if (inputData.Length > this.MAX_VARIABLES)
     {
         MyLog.ERROR.WriteLine("input data have too many dimensions " + inputData.Length
             + ", increase maxVariables (current=" + this.MAX_VARIABLES + ")");
         return;
     }
     for (int i = 0; i < inputData.Length; i++)
     {
         m_vars[i].RegisterValue(inputData[i], i, this);
     }
     VarHistory.RegisterChanges();
 }