Exemplo n.º 1
0
 /// <summary>
 /// Binding公共信息:车号,炉号,物理地址,灯状态,三个计数,联锁信息value
 /// </summary>
 /// <param name="main"></param>
 /// <param name="car1"></param>
 /// <param name="car2"></param>
 private void UnitBinding(CommonTitle main, Vehicle car1, Vehicle car2)
 {
     CarCellBinding(main.CarNum, "CarNum", car1, car2);
     CarCellBinding(main.RoomNum, "RoomNum", car1, car2);
     DataReadCellBinding(main.Addr, "PhysicalAddr", car1, car2);
     DataReadCellBinding(main.Light, "LightStatus", car1, car2);
     DataReadCellBinding(main.DecodeCount, "DecodeCount", car1, car2);
     DataReadCellBinding(main.PLCCount, "PLCCount", car1, car2);
     DataReadCellBinding(main.TouchCount, "TouchCount", car1, car2);
     TogetherInfoCellBinding(main.TogetherInfo, "TogetherInfoValue", car1, car2);
 }
Exemplo n.º 2
0
 private void CommonTitles(CommonTitle title)
 {
     Titles(title.CarNum, "车号");
     Titles(title.RoomNum, "炉号");
     Titles(title.Addr, "物理地址");
     Titles(title.Light, "灯状态");
     Titles(title.DecodeCount, "Decode");
     Titles(title.PLCCount, "PLC");
     Titles(title.TouchCount, "Touch");
     Titles(title.TogetherInfo, "TogetherInfo");
 }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tjc = ((WGPM.R.UI.VehicalsData.CommonTitle)(target));
                return;

            case 2:
                this.tAskPush = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 3:
                this.tDoorOpen = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 4:
                this.tPushLock = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 5:
                this.tPickDoorLock = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 6:
                this.tPushBegin = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 7:
                this.tPushEnd = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 8:
                this.tPingBegin = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 9:
                this.tPingEnd = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 10:
                this.tPushForward = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 11:
                this.tPause = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 12:
                this.tPushEndFlag = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 13:
                this.tPMDoorOpen = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 14:
                this.tPushCur = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 15:
                this.tPingCur = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 16:
                this.tPushPole = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 17:
                this.tPingPole = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 18:
                this.ljc = ((WGPM.R.UI.VehicalsData.CommonTitle)(target));
                return;

            case 19:
                this.lAllowPush = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 20:
                this.lDoorOpen = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 21:
                this.lTroughLock = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 22:
                this.lPickDoor = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 23:
                this.lBan = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 24:
                this.xjc = ((WGPM.R.UI.VehicalsData.CommonTitle)(target));
                return;

            case 25:
                this.xAllowPush = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 26:
                this.xCanReady = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 27:
                this.xCanNum = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 28:
                this.xDry = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 29:
                this.xBan = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 30:
                this.xFstCan = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 31:
                this.xSecCan = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 32:
                this.mc = ((WGPM.R.UI.VehicalsData.CommonTitle)(target));
                return;

            case 33:
                this.mStokingLock = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 34:
                this.mAskPing = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 35:
                this.mSleeveReady = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 36:
                this.mLidOpen = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 37:
                this.mGateSegmentOpen = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 38:
                this.mExhaustDuctReady = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 39:
                this.mStokingBegin = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 40:
                this.mStokingEnd = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 41:
                this.mGetLidTogether = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 42:
                this.mVFDRuning = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 43:
                this.mSpiral1 = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 44:
                this.mSpiral2 = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 45:
                this.mSpiral3 = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;

            case 46:
                this.mSpiral4 = ((WGPM.R.UI.VehicalsData.Node)(target));
                return;
            }
            this._contentLoaded = true;
        }