Energy Consumption Evaluation for Wireless SensorNetwork Nodes Based on Queuing Petri Net