Пример #1
0
        private static void OnChanged(object source, FileSystemEventArgs e)
        {
            previous = actual; // posúvam sa v čase
            actual   = new ActualLogData();
            if (actual.state)
            {
                if (actual.weight > ignoreMax && !isRecording)
                {
                    initRecord();
                }

                if (isRecording)
                {
                    Achp.i.myVahaWrite(actual.weight, true);
                    xml.add(actual);
                    stopOnEscape();
                }
                else
                {
                    Achp.i.myVahaWrite(actual.weight, false);
                }
            }
        }
Пример #2
0
 public void add(ActualLogData f)
 {
     _list.Add(f);
 }