public void AnnullValuesTest()
 {
     BranchReactanceDataManager target = new BranchReactanceDataManager(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     actual = target.AnnullValues();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Example #2
0
        private void AnnullCurrentValues()
        {
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Annulling all current values...");

            NodeActiveLoadDataManager nodeActiveLoadDataManager = new NodeActiveLoadDataManager();
            AppendMessageToActionInformation(nodeActiveLoadDataManager.AnnullValues());
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Current node active loads are annulled.");

            NodeReactiveLoadDataManager nodeReactiveLoadDataManager = new NodeReactiveLoadDataManager();
            AppendMessageToActionInformation(nodeReactiveLoadDataManager.AnnullValues());
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Current node reactive loads are annulled.");

            BranchResistanceDataManager branchResistanceDataManager = new BranchResistanceDataManager();
            AppendMessageToActionInformation(branchResistanceDataManager.AnnullValues());
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Current branch resistances are annulled.");

            BranchReactanceDataManager branchReactanceDataManager = new BranchReactanceDataManager();
            AppendMessageToActionInformation(branchReactanceDataManager.AnnullValues());
            AppendMessageToActionInformation(System.DateTime.Now.ToLongDateString() + " - " + System.DateTime.Now.ToLongTimeString() + ": " + "Current branch reactances are annulled.");

            AppendMessageToActionInformation("\r\nAll current values annulled. \nSmart Grid is stopped.");
        }