public void Request_VersionNumber(Byte NodeId)
 {
     /*Create A Version Number Request*/
     Packet Pkt = new Packet(NodeId, Types.PacketReqType.Get_Parrameter, Types.ParamID.Get_App_Variosn);
     EnquePacket(Pkt);
 }
        private void EnquePacket(Packet Pkt)
        {
            Byte PktId;
            CanMsg Msg = new CanMsg();

            /*Enque The Packet*/
            PktId = Que.AddPacketToQue(Pkt);

            /*Tx The Packet*/
            Msg.Id = (int)Pkt.PacketMsgId;
            Msg.Dlc = 0x08;
            Msg.Flags = 0x04;
            Msg.Data = Pkt.PacketMsgData;

            if (Msg.Data.Length < 8)
            {
                throw new Exception("Bad Data Lenght");
            }

            /*Tx The Message*/
            if (Callback != null)
            {
                Callback(Msg, 0);
            }
        }
 public void Request_SerialNum(Byte NodeId)
 {
     /*Create A Device Type Request*/
     Packet Pkt = new Packet(NodeId, Types.PacketReqType.Get_Parrameter, Types.ParamID.Get_SerialNum);
     EnquePacket(Pkt);
 }
 public void Request_NodeIds()
 {
     /*Create A Checkpoint Object Request*/
     Packet Pkt = new Packet(Types.BROADCAST_NODE_ID, Types.PacketReqType.Get_Parrameter, Types.ParamID.Get_Node_ID);
     EnquePacket(Pkt);
 }
 public void Request_CheckpointValue(CheckPoint Chk)
 {
     Packet Pkt = new Packet(Chk.NodeId, Types.PacketReqType.Get_Parrameter, Types.ParamID.Get_Checkpoint_Value,Chk.Id);
     EnquePacket(Pkt);
 }
 public void Request_CheckpointObject(Byte NodeId, UInt32 CheckpointId)
 {
     /*Create A Checkpoint Object Request*/
     Packet Pkt = new Packet(NodeId, Types.PacketReqType.Get_Parrameter, Types.ParamID.Get_Checkpoint_Object,CheckpointId);
     EnquePacket(Pkt);
 }
 public void Request_CheckpointCount(Byte NodeId)
 {
     /*Create A Device Type Request*/
     Packet Pkt = new Packet(NodeId, Types.PacketReqType.Get_Parrameter, Types.ParamID.Get_Checkpoint_Count);
     EnquePacket(Pkt);
 }