Exemplo n.º 1
0
        public void load(String fileName)
        {
            eventRootFolder = System.IO.Path.GetDirectoryName(fileName);
            ked = IO.loadXML(fileName);

            loadIndexEvent();
            _fileLoaded = true;
        }
Exemplo n.º 2
0
 private void saveData()
 {
     KinectEventData ked = new KinectEventData();
     ked.set(device_id, date, duration, sequenceNumber, kinectEventIndexFileName);
     String fileName = date.ToString(KinectEventData.dateFormatStyle) + KinectEventData.extension;
     String relativefileName = Path.Combine(recordDirecotory, fileName);
     makeSaveDir();
     IO.saveXML(ked, relativefileName);
 }
Exemplo n.º 3
0
 public static void saveXML(KinectEventData ked, String fileName)
 {
     saveXMLSerial((object)ked, fileName);
 }