コード例 #1
0
        private void buttonSave_Click(object sender, EventArgs e)
        {
            DataFuser    df   = new DataFuser(this.handGeometryAttributes);
            string       data = df.FuseHandGeometryData();
            OutputterTxt ot   = new OutputterTxt();

            //ot.SaveTrainningData(data);
            ot.SaveTestingData(data);
        }
コード例 #2
0
        public void SaveUserData(string dataType, bool bFuse)
        {
            OutputterTxt ot       = new OutputterTxt();
            string       userData = "";

            try
            {
                DataFuser df = new DataFuser(UserData.Instance);

                userData = df.FuseData(dataType, bFuse);
                ot.SaveData(dataType, userData);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Error: " + ex.Message);
            }
        }