Ejemplo n.º 1
0
 public MonitoringMessageBuilder(Guid customerId, DateTime reportedDate)
 {
     _message = new MonitoringMessage
     {
         CustomerId        = customerId,
         ProviderDeviceId  = Guid.NewGuid().ToString(),
         DealerId          = Guid.NewGuid(),
         DeviceDescription = "Brother MFC 8two9",
         DeviceModelNumber = "MFC829",
         LastReportedAt    = reportedDate,
         TimeStamp         = DateTime.UtcNow
     };
 }
Ejemplo n.º 2
0
 public MonitoringMessageBuilder(Guid customerId, DateTime reportedDate)
 {
     _message = new MonitoringMessage
     {
         CustomerId = customerId,
         ProviderDeviceId = Guid.NewGuid().ToString(),
         DealerId = Guid.NewGuid(),
         DeviceDescription = "Brother MFC 8two9",
         DeviceModelNumber = "MFC829",
         LastReportedAt = reportedDate,
         TimeStamp = DateTime.UtcNow
     };
 }