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 Kran(KranDarstellung drauf, Seitenansicht seit, double x, double y, double z, Laufband band)
        {
            this.draufsicht = drauf;
            this.seitsicht = seit;
            this.xKoordinate = x;
            this.yKoordinate = y;
            this.zKoordinate = z;

            this.band = band;

            this.kranDrauf = new kranDraufsicht(this.draufsicht, x, y);
            this.kranSeite = new kranSeitsicht(this.seitsicht, x, z, this);
            this.kisteKran = null;
        }
示例#3
0
        public Kisten(KranDarstellung drauf, Seitenansicht seit, double x, double y, double z, int kisteID, Laufband band)
        {
            this.seitSicht = seit;
            this.draufSicht = drauf;
            this.kisteID = kisteID;

            this.band = band;

            this.xKoordinate = x;
            this.yKoordinate = y;
            this.zKoordinate = z;

            erstelleKisten();
        }