Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinAdapter ¶
type BinAdapter interface {
// WriteRawSignal AD値を受信する
WriteRawSignal(ctx context.Context, rcvSuccess <-chan bool, stg *model.Setting) error
}
func NewBinAdapter ¶
func NewBinAdapter(c socket.Conn, p parser.Parser, w io.ReadWriteSeeker) BinAdapter
type CSVWriterGroup ¶
type TxtAdapter ¶
type TxtAdapter interface {
StartRec(recTime time.Duration, recDateTime time.Time) error
EndRec() error
GetStatus() (model.Status, error)
WriteTrendData(ctx context.Context, rcvSuccess chan<- bool, w CSVWriterGroup, at model.AnalysisType) error
GetSetting() (*model.Setting, error)
}
TxtAdapter テキストデータでトレンドデータの受信やコマンドの送受信をする
func NewTxtAdapter ¶
func NewTxtAdapter(c socket.Conn, s scanner.CustomScanner, p parser.Parser) TxtAdapter
Click to show internal directories.
Click to hide internal directories.