示例#1
0
        public void CanDiagRepSend(
            string Trig,
            UInt32 SendCanId,
            List <Byte> SendData,
            double RepTime,
            CanDataMask DataMask            = null,
            List <CanDataMask> DataMaskList = null,
            UInt32 SendNta       = CanDiagSendCommand.NoValue,
            UInt32 ResponseCanId = CanDiagSendCommand.NoValue,
            UInt32 ResponseNta   = CanDiagSendCommand.NoValue,
            string Stop          = null
            )
        {
            CanDiagSendCommand cmd = new CanDiagSendCommand(
                inSendCanId: SendCanId,
                inSendNta: SendNta,
                inSendDataList: SendData,
                inDataMask: DataMask,
                inDataMaskList: DataMaskList,
                inResponseCanId: ResponseCanId,
                inResponseNta: ResponseNta,
                inRepeatTime: RepTime,
                inStop: Stop
                );

            PublicController.Instance.Register(Trig, cmd);
        }
示例#2
0
        public void CanDiagSend(
            string Trig,
            UInt32 SendCanId,
            List <Byte> SendData,
            CanDataMask DataMask            = null,
            List <CanDataMask> DataMaskList = null,
            UInt32 SendNta               = CanDiagSendCommand.NoValue,
            UInt32 ResponseCanId         = CanDiagSendCommand.NoValue,
            UInt32 ResponseNta           = CanDiagSendCommand.NoValue,
            string ResponseDataArrayName = null,
            string Next = null
            )
        {
            CanDiagSendCommand cmd = new CanDiagSendCommand(
                inSendCanId: SendCanId,
                inSendDataList: SendData,
                inDataMask: DataMask,
                inDataMaskList: DataMaskList,
                inSendNta: SendNta,
                inResponseCanId: ResponseCanId,
                inResponseNta: ResponseNta,
                inResponseDataArrayName: ResponseDataArrayName,
                inNext: Next
                );

            PublicController.Instance.Register(Trig, cmd);
        }