/// <summary> /// 原始物理工作范围 /// </summary> /// <returns></returns> private Dictionary <CDeviceStatusDto, CScope> GetPhyscScope() { Dictionary <CDeviceStatusDto, CScope> dicPhyscScope = new Dictionary <CDeviceStatusDto, CScope>(); foreach (CDeviceStatusDto smg in mEtvList) { CScope physScope; if (smg.region == 1) //TV4、5、6 { physScope = new CScope(Etv2LefPhysCol, Etv2RightPhysCol); } else //TV1、2、3 { physScope = new CScope(Etv1LefPhysCol, Etv1RightPhysCol); } dicPhyscScope.Add(smg, physScope); } return(dicPhyscScope); }
public TvMaxScope(CDeviceStatusDto pTV, IList <CDeviceStatusDto> pTvList, CScope physScope) { cETV = pTV; etvList = pTvList; mPhysicWorkScope = physScope; }