Esempio n. 1
0
        public void TestGetMeterStateByType()
        {
            MeterConnectStateService   service   = new MeterConnectStateService();
            MeterConnectStateViewModel ViewModel = service.GetViewModel("000001G001", "01000", "1");

            Console.WriteLine(UtilTest.GetJson(ViewModel));
        }
Esempio n. 2
0
        public void TestGetMeterStateByUser()
        {
            MeterConnectStateService   service   = new MeterConnectStateService();
            MeterConnectStateViewModel ViewModel = service.GetViewModelByUserName("admin");

            Console.WriteLine(UtilTest.GetJson(ViewModel));
        }