Esempio n. 1
0
 private static void ClearHistoricValues(string portName, SmlComServiceClient proxy, Guid clientGuid)
 {
     Console.WriteLine("Erasing historic values.");
     proxy.WriteEraseHistoricEnergy(clientGuid, portList.FirstOrDefault(m => m.ComPortName == portName));
     Console.WriteLine();
 }