jym

package
v0.0.0-...-a11b62f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2021 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// JycsHeader 交易码数表头
	JycsHeader = `` /* 1552-byte string literal not displayed */

)

Variables

View Source
var (
	// JycsWidth 交易参数表单位元宽度
	JycsWidth = map[string]float64{
		"A":     44,
		"B:C":   7,
		"D":     21,
		"E":     7,
		"F:V":   13,
		"W":     22,
		"X:Y":   9,
		"Z":     17,
		"AA":    33,
		"AB":    40,
		"AC:AD": 14,
		"AE":    0,
	}
	// ROOT 交易码参数工作目录
	ROOT *path.Path
	// Today 当前日期
	Today string
)

Functions

func BackupJycs

func BackupJycs()

BackupJycs 导出交易参数

func InitJym

func InitJym()

InitJym 初始化交易码相关表结构

func LoadCdjy

func LoadCdjy(info os.FileInfo, r io.Reader, ver string) *load.Loader

LoadCdjy 导入交易码文件

func LoadJycs

func LoadJycs()

LoadJycs 导入交易码参数

func LoadJym

func LoadJym(info os.FileInfo, r io.Reader, ver string) *load.Loader

LoadJym 导入交易码文件

func LoadJyz

func LoadJyz(info os.FileInfo, r io.Reader, ver string) *load.Loader

LoadJyz 导入交易组

func LoadMenu

func LoadMenu(info os.FileInfo, r io.Reader, ver string) *load.Loader

LoadMenu 导入科目

func LoadShbs

func LoadShbs(info os.FileInfo, r io.Reader, ver string) *load.Loader

LoadShbs 导入交易码文件

func Main

func Main()

Main jy 程序入口

func Publish

func Publish()

Publish 发布最新的投产参数

func UpdateJycs

func UpdateJycs()

UpdateJycs 更新交易码参数

Types

type MenuReader struct {
	// contains filtered or unexported fields
}

MenuReader 读取菜单文件

func (l *MenuReader) ReadAll(dt text.Data)

ReadAll 读取数据

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL