Пример #1
0
 public static void SaveMiniYoungerSockData(YoungerSockModel m)
 {
     Save("PlotX_you", m.PlotX);
     Save("PlotY_you", m.PlotY);
     Make("CurrentRow_you");
     Make("CurrentSize_you");
 }
Пример #2
0
        public static YoungerSockModel GetSavedYoungerSockModelData()
        {
            YoungerSockModel m;
            double           plotx = GetDouble("PlotX_you");
            double           ploty = GetDouble("PlotY_you");
            int size = GetInt("CurrentSize_you");
            int row  = GetInt("CurrentRow_you");

            m             = new YoungerSockModel(plotx, ploty);
            m.CurrentSize = size;
            m.CurrentRow  = row;
            return(m);
        }