示例#1
0
文件: Lap.cs 项目: qurat231/legacy
    public int GetMood(int mood, int moodled)
    {
        int moody;

        moody = LibLap.mood_get_mood(_addr, mood, moodled);
        return(moody);
    }
示例#2
0
文件: Lap.cs 项目: qurat231/legacy
 public void SetMood(int mood, int val1, int val2, int val3, int val4)
 {
     LibLap.mood_set_mood(_addr, mood, val1, val2, val3, val4);
 }
示例#3
0
文件: Lap.cs 项目: qurat231/legacy
 public void lampe(int nr, int val)
 {
     LibLap.lampe_set_lampe(_addr, nr, val);
 }
示例#4
0
文件: Lap.cs 项目: qurat231/legacy
 public CanConnection(string host, int port)
 {
     _conn = LibLap.cann_connect(host, port);
     LibLap.can_init(_conn);
 }
示例#5
0
文件: Lap.cs 项目: qurat231/legacy
 public int GetPong()
 {
     return(LibLap.lap_getpong(_addr));
 }
示例#6
0
文件: Lap.cs 项目: qurat231/legacy
 public void PingDevice()
 {
     LibLap.lap_ping(_addr);
 }
示例#7
0
文件: Lap.cs 项目: qurat231/legacy
 public void SetScroll(string String)
 {
     LibLap.borg_scroll_borg(_addr, String);
     LibLap.borg_fire_borg(_addr);
 }