Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 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);
 }
Beispiel #4
0
 public static void StopMotion()
 {
     LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_Motion, LiMoConstant.KEvent_Param1_Stop);
 }
Beispiel #5
0
 public static void StopArm()
 {
     LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_ARM, LiMoConstant.KEvent_Param1_Stop);
 }