123456789101112131415161718192021222324252627282930313233 |
- package oam
- import (
- "ipsomc/module/ps/psmodel"
- "ipsomc/public"
- )
- type OamReport struct {
- }
- const (
- ORDER_REPORT_UDP_HEART = 0x0201
- )
- func (obj *OamReport) OamReportCmd(stHeadModel *psmodel.PS_HEAD_T, wCommand uint16, dataList []byte, wLen uint16) error {
- switch wCommand {
- case ORDER_REPORT_UDP_HEART:
- public.PublicHeartMapAddItem(stHeadModel.StVpHead.ProjectID, stHeadModel.StVpHead.DeviceID)
- default:
- break
- }
- return nil
- }
|