コード例 #1
0
 public OpenFiveForLeakRightMenu()
 {
     Id          = Services.MenuIdAssgin.MenuOpenLightLoopFiveForLeakRightMenuId;
     Description = "线路合闸部件,执行线路5合闸,ID为" + Services.MenuIdAssgin.MenuOpenLightLoopFiveForLeakRightMenuId +
                   ",类型为漏电右键菜单。";
     Tag           = "合闸_线路5";
     this.Text     = "合闸_线路5";
     this.Tooltips = "合闸_线路5";
     OpenClose     = 1;
     LeakLineId.Add(5);
 }
コード例 #2
0
 public CloseFiveForLeakRightMenu()
 {
     Id = Services.MenuIdAssgin.MenuCloseLightLoopFiveForLeakRightMenuId;
     Description = "线路分闸部件,执行线路5分闸,ID为" + Services.MenuIdAssgin.MenuCloseLightLoopFiveForLeakRightMenuId +
                 ",类型为漏电右键菜单。";
     Tag = "分闸_线路5";
     this.Text = "分闸_线路5";
     this.Tooltips = "分闸_线路5";
     OpenClose = 2;
     LeakLineId.Add(5);
 }
コード例 #3
0
 public OpenThreeForLeakRightMenu()
 {
     Id          = Services.MenuIdAssgin.MenuOpenLightLoopThreeForLeakRightMenuId;                         // Infrastructure.IdAssign.MenuIdAssign.OpenLightLoopThreeForTmlRightMenuId;
     Description = "线路合闸部件,执行线路3合闸,ID为" + Services.MenuIdAssgin.MenuOpenLightLoopThreeForLeakRightMenuId + // Infrastructure.IdAssign.MenuIdAssign.OpenLightLoopThreeForTmlRightMenuId +
                   ",类型为漏电右键菜单。";
     Tag           = "合闸_线路3";
     this.Text     = "合闸_线路3";
     this.Tooltips = "合闸_线路3";
     OpenClose     = 1;
     LeakLineId.Add(3);
 }
コード例 #4
0
 public CloseTwoForLeakRightMenu()
 {
     Id = Services.MenuIdAssgin.MenuCloseLightLoopTwoForLeakRightMenuId;// Infrastructure.IdAssign.MenuIdAssign.CloseLightLoopTwoForTmlRightMenuId;
     Description = "线路分闸部件,执行线路2分闸,ID为" + Services.MenuIdAssgin.MenuCloseLightLoopTwoForLeakRightMenuId +// Infrastructure.IdAssign.MenuIdAssign.CloseLightLoopTwoForTmlRightMenuId +
                 ",类型为漏电右键菜单。";
     Tag = "分闸_线路2";
     this.Text = "分闸_线路2";
     this.Tooltips = "分闸_线路2";
     OpenClose = 2;
     LeakLineId.Add(2);
 }