示例#1
0
    protected void loginInternal()
    {
        if (isOnline())
        {
            return;
        }

        string licensePath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);

        licensePath = Path.Combine(licensePath, "3rdparty");

        Logger.Info("login");

        _currentLvStruct = _lv.LoginLiveTiming(_bewerbnr, _login, _password, licensePath);

        if (_currentLvStruct.Fehlermeldung != "ok")
        {
            throw new Exception("Login error: " + _currentLvStruct.Fehlermeldung);
        }

        _isOnline = true;

        startLiveTiming();
    }
示例#2
0
 public LTTransferTiming(rmlt.LiveTiming lv, rmlt.LiveTiming.rmltStruct lvStruct, string dg, string data)
     : base(lv, lvStruct, "timing")
 {
     _dg   = dg;
     _data = data;
 }
示例#3
0
 public LTTransferStartList(rmlt.LiveTiming lv, rmlt.LiveTiming.rmltStruct lvStruct, string dg, string data)
     : base(lv, lvStruct, "startlist")
 {
     _dg   = dg;
     _data = data;
 }
示例#4
0
 public LTTransferParticpants(rmlt.LiveTiming lv, rmlt.LiveTiming.rmltStruct lvStruct, string data)
     : base(lv, lvStruct, "particpants")
 {
     _data = data;
 }
示例#5
0
 public LTTransferStatus(rmlt.LiveTiming lv, rmlt.LiveTiming.rmltStruct lvStruct, string status)
     : base(lv, lvStruct, "status")
 {
     _data = status;
 }
示例#6
0
 protected LTTransfer(rmlt.LiveTiming lv, rmlt.LiveTiming.rmltStruct currentLvStruct, string type)
 {
     _lv = lv;
     _currentLvStruct = currentLvStruct;
     _type            = type;
 }