public ServiceForm(TrafficCollectionModel model) : this() { this.m_Model = model; this.m_ServiceControl = new ServiceControl(new UnionPsService(), model, FormOpenType.New); this.Init(); this.Text = NetWorkType.LTE.ToString() + " " + TrafficModelResource.TRAFFICMODEL_SERVICE + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY; }
public ServiceForm(Service p_Service, TrafficCollectionModel model) : this() { this.m_Model = model; this.m_IsNodeAdd = true; this.modServiceName = p_Service.Name; this.m_ServiceControl = new ServiceControl(p_Service, model, FormOpenType.Property); this.Init(); this.Text = this.m_ServiceControl.UnionPsService.Name + " " + TrafficModelResource.TRAFFICMODEL_PROPERTY; }