private Station(CommunicationDSC.StationRow currSDsc, ref int cVConstrain) { createdStations.Add((uint)currSDsc.StationID, this); foreach (CommunicationDSC.GroupsRow currGDsc in currSDsc.GetGroupsRows()) { myGgroupsList.Add(new Group(currGDsc, this, myDataDescriptionsList, ref cVConstrain)); } //Statistics myStatistics = new Diagnostic.Station(currSDsc) { priority = highPriority }; }
internal static void InitByStationId (CommunicationDSC.StationDataTable myStationDataConfigTab, long StationId, ref int cVConstrain) { CommunicationDSC.StationRow currSDsc = myStationDataConfigTab.FindByStationID(StationId); Station currSt = new Station(currSDsc, ref cVConstrain); }