Zeus

Forum Replies Created

Viewing 15 posts - 76 through 90 (of 156 total)
  • Author
    Posts
  • in reply to: communicate device by 4G DTU #9616
    Zeus
    Participant

    Hi,
    That is the solution. The 4G DTU contains the config.

    in reply to: communicate device by 4G DTU #9612
    Zeus
    Participant

    Looks good. I will try. That’s a good idea.

    in reply to: communicate device by 4G DTU #9603
    Zeus
    Participant

    Hi,
    You did not get my point. I tried all modes. they are all not working correctly. By IP is not the solution and the other two modes are also not the solution

    in reply to: communicate device by 4G DTU #9600
    Zeus
    Participant

    Yes, The DTU module is a TCP client and the line is a TCP server. you can see it in my question.

    • This reply was modified 3 years, 11 months ago by Zeus.
    in reply to: communicate device by 4G DTU #9598
    Zeus
    Participant

    Hi,
    Random IP address is disgusting.

    in reply to: communicate device by 4G DTU #9597
    Zeus
    Participant

    Hi,
    Yes. There is a config in the DTU module. TCP Server IP address and port.

    in reply to: communicate device by 4G DTU #9593
    Zeus
    Participant

    It won’t work. I saw the source code.
    Both of the modes below could not deal with that.

    protected bool BindConnByFirstPackage(TcpConnection tcpConn, string firstPackage)
    protected void BindConnByDeviceLibrary(TcpConnection tcpConn, KPLogic kpLogic)

    in reply to: communicate device by 4G DTU #9589
    Zeus
    Participant

    Hi both,
    The DTU has a random IP address. So we could not connect it by IP.
    There is a way to handle it but it’s stupid. Config each line a TCP port.

    in reply to: configure input channels through a web application #9564
    Zeus
    Participant

    Hi,
    Thanks.

    in reply to: 报警里的 Undefined是什么意思 #9553
    Zeus
    Participant

    66666

    in reply to: 报警里的 Undefined是什么意思 #9477
    Zeus
    Participant

    你是轮询么?是不是用了串口服务器

    in reply to: 报警里的 Undefined是什么意思 #9385
    Zeus
    Participant

    你可以在公式里对state进行赋值 代码含义如下

    /// <summary>
    /// Не определён
    /// </summary>
    public const int Undefined = 0;
    /// <summary>
    /// Определён
    /// </summary>
    public const int Defined = 1;
    /// <summary>
    /// Архивный
    /// </summary>
    public const int Archival = 2;
    /// <summary>
    /// Ошибка в формуле
    /// </summary>
    public const int FormulaError = 3;
    /// <summary>
    /// Изменён
    /// </summary>
    public const int Changed = 4;
    /// <summary>
    /// Недостоверен
    /// </summary>
    public const int Unreliable = 5;

    /// <summary>
    /// Аварийное занижение
    /// </summary>
    public const int LowCrash = 11;
    /// <summary>
    /// Занижение
    /// </summary>
    public const int Low = 12;
    /// <summary>
    /// Нормализация
    /// </summary>
    public const int Normal = 13;
    /// <summary>
    /// Завышение
    /// </summary>
    public const int High = 14;
    /// <summary>
    /// Аварийное завышение
    /// </summary>
    public const int HighCrash = 15;

    /// <summary>
    /// Вход разрешён
    /// </summary>
    public const int InPermitted = 101;
    /// <summary>
    /// Выход разрешён
    /// </summary>
    public const int OutPermitted = 102;
    /// <summary>
    /// Доступ запрещён
    /// </summary>
    public const int AccessDenied = 103;
    /// <summary>
    /// Повреждение ШС
    /// </summary>
    public const int WireBreak = 111;
    /// <summary>
    /// Снят с охраны
    /// </summary>
    public const int Disarm = 112;
    /// <summary>
    /// Поставлен на охрану
    /// </summary>
    public const int Arm = 113;
    /// <summary>
    /// Тревога
    /// </summary>
    public const int Alarm = 114;

    in reply to: opc da do not work #9358
    Zeus
    Participant

    Hi,
    It works. Thanks!

    in reply to: 报警里的 Undefined是什么意思 #9349
    Zeus
    Participant

    数据 有value 和status 0代表undefined

    in reply to: 报警里的 Undefined是什么意思 #9340
    Zeus
    Participant

    方便发一下截图么? undefined 是数据的状态

Viewing 15 posts - 76 through 90 (of 156 total)