You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
371 B
21 lines
371 B
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)
|
|
}
|
|
|