示例#1
0
 //POST /currentstatus
 //This method will update the latest status to the value in the JSON payload sent to the service
 public void UpdateStatusData(StatusData statusData)
 {
     if (statusData != null)
     {
         if (statusData.Status != null)
         {
             myStatus = statusData.Status;
         }
     }
 }
 //POST /currentstatus
 //This method will update the latest status to the value in the JSON payload sent to the service
 public void UpdateStatusData(StatusData statusData)
 {
     if (statusData != null)
     {
         if (statusData.Status != null)
         {
             myStatus = statusData.Status;
         }
     }
 }