示例#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);
        }
示例#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);
        }