package group import ( "fmt" ) // StationCalcTaskKey 测点计算任务KEY type StationCalcTaskKey struct { StationId int TaskId string } // GroupCalcTaskKey 分组计算任务KEY type GroupCalcTaskKey struct { GroupId int TaskId string } func (key *GroupCalcTaskKey) R() string { return fmt.Sprintf("[GroupCalcTaskKey: %d %s] ", key.GroupId, key.TaskId) }