Table of Contents

Class NewStyleRollCallWindow

Namespace
Ink_Canvas
Assembly
InkCanvasForClass.dll

新点名UI风格的窗口

public class NewStyleRollCallWindow : Window, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector
Inheritance
NewStyleRollCallWindow
Implements
Inherited Members

Constructors

NewStyleRollCallWindow()

public NewStyleRollCallWindow()

NewStyleRollCallWindow(Settings, bool)

public NewStyleRollCallWindow(Settings settings, bool isSingleDraw = false)

Parameters

settings Settings
isSingleDraw bool

NewStyleRollCallWindow(bool)

public NewStyleRollCallWindow(bool isSingleDraw)

Parameters

isSingleDraw bool

Methods

InitializeComponent()

InitializeComponent

public void InitializeComponent()

SelectNamesWithML(List<string>, int, Random)

使用机器学习算法选择点名人员,避免最近重复

public static List<string> SelectNamesWithML(List<string> availableNames, int count, Random random)

Parameters

availableNames List<string>

可用名单

count int

需要选择的人数

random Random

随机数生成器

Returns

List<string>

选择的人员名单

UpdateRollCallHistory(List<string>)

更新点名历史记录

public static void UpdateRollCallHistory(List<string> selectedNames)

Parameters

selectedNames List<string>