Ejemplo n.º 1
0
        public void ServiceToolParamUpdatedCallbak(Service_Tool_Comms.Protocal.Packet Pkt)
        {
            if (Pkt.ParameterId != Service_Tool_Comms.Protocal.Types.ParamID.Get_Checkpoint_Object &&
               Pkt.ParameterId != Service_Tool_Comms.Protocal.Types.ParamID.Get_Checkpoint_Value)
            {
               // UpdateNode(Pkt.NodeId);
            }

            if (Pkt.ParameterId == Service_Tool_Comms.Protocal.Types.ParamID.Get_Device_Type)
            {

            }

            if (Pkt.ParameterId == Service_Tool_Comms.Protocal.Types.ParamID.Get_Checkpoint_Count)
            {

            }

            if (Pkt.ParameterId == Service_Tool_Comms.Protocal.Types.ParamID.Get_App_Name)
            {

            }

            if (Pkt.ParameterId == Service_Tool_Comms.Protocal.Types.ParamID.Get_SerialNum)
            {

            }

            if (Pkt.ParameterId == Service_Tool_Comms.Protocal.Types.ParamID.Get_Checksum)
            {

            }
        }
Ejemplo n.º 2
0
        public void ServiceToolCheckpointObjectUpdated(Service_Tool_Comms.Protocal.CheckPoint Chk)
        {
            /*Re Populate The Checkpoint LIst*/
            cmbCheckpoints.Items.Clear();

            foreach (CheckPoint C in ServiceTool.CheckpointObjectData)
            {
                cmbCheckpoints.Items.Add(C);
            }
        }
Ejemplo n.º 3
0
 public Packet(Byte nodeid, Service_Tool_Comms.Protocal.Types.PacketReqType reqtype, Service_Tool_Comms.Protocal.Types.ParamID paramid, UInt32 DataValue)
 {
     Init_Packet(nodeid, reqtype, paramid);
     AddDataToPacket(DataValue);
 }