public static void SendVibEffect(int id, int weight) { if (mLastVibStrength[id] != weight) { mLastVibStrength[id] = weight; LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_VibratorNormal, (int)LiMoConstant.ChairVibratorNormal.cEvent_Param_VibratorPlay, id, weight); } }
public static void SendVibEffectAllChair(int weight, int Duration) { LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_VibratorNormal, (int)LiMoConstant.ChairVibratorNormal.cEvent_Param_VibratorPlay, (int)LiMoConstant.ChairVibratorID.c_VIBID_Chair_ALL, weight, Duration); }
public static void SendVibEffect(int id, int weight, int Duration) { LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_VibratorNormal, (int)LiMoConstant.ChairVibratorNormal.cEvent_Param_VibratorPlay, id, weight, Duration); }
public static void StopMotion() { LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_Motion, LiMoConstant.KEvent_Param1_Stop); }
public static void StopArm() { LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_ARM, LiMoConstant.KEvent_Param1_Stop); }