public ProjectDetails(ProjectsList.ProjectFiles p)
 {
     InitializeComponent();
     if (p != null)
     {
         lbl1.Content = p.Title;
         lbl2.Content = p.AccsTime;
         lbl3.Content = p.Attr;
         lbl4.Content = p.BeaconCount;
         _coordinate  = new Coordinate(p);
     }
 }
Beispiel #2
0
        public Coordinate(ProjectsList.ProjectFiles p)
        {
            InitializeComponent();

            string projectPath = p.FullPath;
            int    length      = projectPath.IndexOf(".rvt");

            projectPath  = projectPath.Substring(0, length);
            Project.Path = projectPath;
            _json        = new Json();
            _xml         = new Xml();
            _beaconData  = new BeaconData();
            _config      = new Config();
            _usedData    = new UsedData();
            _qrCode      = new QRCode();
        }