Exemple #1
0
        public override string ToLongString()
        {
            string res = this.ToString();

            foreach (DataItem a in lst)
            {
                res += '\n' + a.ToString();
            }
            return(res);
        }
Exemple #2
0
        public void AddDefaults()
        {
            int    count = 6;
            string str   = "hn";

            for (int i = 0; i < count; i++)
            {
                float step = i * 0.5f + 0.5f;
                str += "a";
                V3DataOnGrid     new1 = new V3DataOnGrid(str, new DateTime(2020, 11, 29), new Grid1D(step, 5), new Grid1D(step, 5));
                V3DataCollection new2 = new V3DataCollection(str, new DateTime(2020, 10, 10));
                new1.InitRandom(0.0f, 10.0f);
                new2.InitRandom(5, step * 5, step * 5, 0.0f, 10.0f);
                lst.Add(new1);
                lst.Add(new2);
            }
        }