|
@@ -490,7 +490,7 @@ int32_t net_service::parse_data_anchor_opt(const std::shared_ptr<client>& clt, z
|
|
|
//site_ptr->m_device_type_id = (power>>3)&0x07;
|
|
|
site_ptr->m_net_device_status = (((power>>3)&0x07) == 0 ? 0: 1);
|
|
|
|
|
|
- if(!check_message_time(clt, site_ptr, &site_tm, site_ct, power)){
|
|
|
+ /*if(!check_message_time(clt, site_ptr, &site_tm, site_ct, power)){
|
|
|
// 分站时间异常,直接校时
|
|
|
//switch(site_ptr->m_device_type_id)
|
|
|
switch(site_ptr->m_net_device_status)
|
|
@@ -507,7 +507,7 @@ int32_t net_service::parse_data_anchor_opt(const std::shared_ptr<client>& clt, z
|
|
|
}
|
|
|
|
|
|
return -1;
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
if(clt->type()!=2){
|
|
|
site_ptr->set_client(clt);
|