示例#1
0
        private async void EventPumpStatus(object sender, PumpStatusEventArgs e)
        {
            boosterState = e.Status;
            motorState   = e.Status;

            await connection.InvokeAsync("SetStates", motorState, boosterState);
        }
示例#2
0
 private void _isisPie_OnPumpStatus(object sender, PumpStatusEventArgs e)
 {
     // Contents of this function have to send to BackOffice Cloud
     Debug.WriteLine("Send to BO Cloud: Pump Status");
 }