Пример #1
0
        public ResCfgVo(string res_id_, string path_, string suffix_, ResType resType_, ResLocation location_)
        {
            res_id   = res_id_;
            location = location_;

            res_type = resType_;
            path     = path_;
            suffix   = suffix_;
        }
Пример #2
0
        public UserMapViewModel(string name, double latittude, double longtitude)
        {
            RestaurantLocations = new ObservableCollection <ResLocation>();
            Name       = name;
            Latitude   = latittude;
            Longtitude = longtitude;
            ResLocation tempLocation = new ResLocation()
            {
                Address = name, Description = name, RestaurantPosition = new Position(latittude, longtitude)
            };
            ResLocation tempLocation1 = new ResLocation()
            {
                Address = "Zouz Cafe", Description = "Zouz Cafe", RestaurantPosition = new Position(-37.851136, 145.1040768)
            };

            RestaurantLocations.Add(tempLocation);
            RestaurantLocations.Add(tempLocation1);
        }