Пример #1
0
 public void buttonShortPress(byte buttonNumber, BaseStationButton button)
 {
     msclPINVOKE.BaseStationConfig_buttonShortPress__SWIG_1(swigCPtr, buttonNumber, BaseStationButton.getCPtr(button));
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
        public BaseStationButton getButtonShortPress(byte buttonNumber)
        {
            BaseStationButton ret = new BaseStationButton(msclPINVOKE.BaseStation_getButtonShortPress(swigCPtr, buttonNumber), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
        public BaseStationButton buttonLongPress(byte buttonNumber)
        {
            BaseStationButton ret = new BaseStationButton(msclPINVOKE.BaseStationConfig_buttonLongPress__SWIG_0(swigCPtr, buttonNumber), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BaseStationButton obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }