예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

            this.Kran.setSideView(this.AnsichtSeite);

            //this.client.BaseAddress = new Uri("http://10.10.18.221:53161/");
            //this.client.BaseAddress = new Uri("http://localhost:53161/");
            this.client.BaseAddress = new Uri("http://10.8.0.69:53161/");

            client.Timeout = TimeSpan.FromSeconds(2);


            band = new Laufband();
            kranarm = new Kran(Kran, AnsichtSeite, 40.0, 70.0, 70.0, this.band);
            

            GetCranePositionOnce();

            this.kranarm.kranSeite.fertig += this.ArrivedAtBottom;

            //GetCranHightAsync();

            //Console.WriteLine("{0}", ablageplatz[0]);
        }
예제 #2
0
        public kranSeitsicht(Seitenansicht seit, double x, double y, Kran arm)
        {
            this.seitSicht = seit;
            this.xKoordinate = x;
            this.yKoordiante = y;

            erstelleKran();

            this.kranarmKlasse = arm;
        }