public void InsertNetworkUtilization(ServiceTask NICTask) { if (NICTask == null) { return; } mNetworkUtilization = new NetworkUtilization(); mNetworkUtilization.PlannedWorkPattern = BehaviorExecutePattern.Asynchronization; NICTask.Add(mNetworkUtilization); }
public NetworkUtilization GetNetworkUtilization() { mNetworkUtilization = new NetworkUtilization(); mNetworkUtilization.PlannedWorkPattern = BehaviorExecutePattern.Asynchronization; return mNetworkUtilization; }