handleControlPackage method

void handleControlPackage(
  1. DataPackage package
)

Implementation

void handleControlPackage(DataPackage package)
{
  ControlPackage ctrlPackage = package.controlVal;
  if(this._onControlPackageFunction != null)
  {
    this._onControlPackageFunction!(package);
  }
  // switch(ctrlPackage.ctrlType)
  // {
  //   case CtrlType.
  // };

}