public SmartPlugPoweredOffAndOnEventArgs(RpmSmartPlugs plugType, string ipAddress, string plugName, double power, DateTime poweredOff, DateTime poweredOn)
 {
     PlugType   = plugType;
     IpAddress  = ipAddress;
     PlugName   = plugName;
     Power      = power;
     PoweredOff = poweredOff;
     PoweredOn  = poweredOn;
 }
Esempio n. 2
0
 public RpmSmartPlugCommunicationException(string message, RpmSmartPlugs plugType, string ipAddress, Exception innerException) : base(message, innerException)
 {
     PlugType  = plugType;
     IpAddress = ipAddress;
 }
Esempio n. 3
0
 public RpmSmartPlugCommunicationException(RpmSmartPlugs plugType, string ipAddress)
 {
     PlugType  = plugType;
     IpAddress = ipAddress;
 }