Beispiel #1
0
        public bool SetDisplayImage <T>(T img, int index = 0)
        {
            DataWapper data2 = new DataWapper();

            if (!data2.SetData(img))
            {
                return(false);
            }
            displays_[index] = data2;
            return(true);
        }
Beispiel #2
0
        public bool SetData <T>(string val_name, T data)
        {
            DataWapper data2 = new DataWapper();

            if (!data2.SetData(data))
            {
                return(false);
            }
            datas_[val_name] = data2;
            return(true);
        }