C# Class Sconit_SD.Utility

Afficher le fichier Open project: Novthirteen/yfkey-scms

Méthodes publiques

Méthode Description
CancelOperation ( Resolver resolver ) : void

分步取消

FormatExMessage ( string message ) : string
IsDecimal ( string str ) : bool
IsHasTransformerDetail ( Resolver resolver ) : bool
Md5 ( string originalPassword ) : string
MergeResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
ProcessOriginalResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
RenderDataGridBackColor ( System.Windows.Forms.DataGrid dataGrid ) : System.Windows.Forms.DataGrid
ShowMessageBox ( string message ) : void
SumCurrentQty ( Transformer transformerArray ) : Sconit_SMARTDEVICE.SconitWS.Transformer[]
ValidatorDecimal ( object sender, KeyPressEventArgs e ) : void

Private Methods

Méthode Description
AccumlationCurrentQty ( Resolver resolver ) : decimal
AccumlationCurrentQty ( TransformerDetail transformerDetails ) : decimal
AddTransformerDetail ( Resolver resolver, TransformerDetail transformerDetail ) : void
AddTransformerDetail ( Transformer transformer, TransformerDetail transformerDetail ) : void
CancelRepackOperation ( Resolver resolver ) : void

翻箱取消操作

CheckMatchHuExist ( Resolver resolver ) : void
CheckMatchHuExist ( Resolver resolver, string huId ) : void
CopyProperty ( object sourceObj, object targetObj ) : void
DeepCopyResolver ( Resolver sourceResolver, Resolver targetResolver ) : void
FindMaxSeq ( Transformer transformers ) : int
FindMaxSeqTransformerDetailRowAndColumnIndex ( Transformer transformerList ) : int[]

查找最大序号的TransformerDetail所在的行和列

GetSumCartons ( TransformerDetail transformerDetails ) : int
ProcessTransformer ( Transformer transformerList ) : void

Method Details

CancelOperation() public static méthode

分步取消
public static CancelOperation ( Resolver resolver ) : void
resolver Resolver
Résultat void

FormatExMessage() public static méthode

public static FormatExMessage ( string message ) : string
message string
Résultat string

IsDecimal() public static méthode

public static IsDecimal ( string str ) : bool
str string
Résultat bool

IsHasTransformerDetail() public static méthode

public static IsHasTransformerDetail ( Resolver resolver ) : bool
resolver Resolver
Résultat bool

Md5() public static méthode

public static Md5 ( string originalPassword ) : string
originalPassword string
Résultat string

MergeResolver() public static méthode

public static MergeResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
resolver Resolver
originalResolver Resolver
Résultat Resolver

ProcessOriginalResolver() public static méthode

public static ProcessOriginalResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
resolver Resolver
originalResolver Resolver
Résultat Resolver

RenderDataGridBackColor() public static méthode

public static RenderDataGridBackColor ( System.Windows.Forms.DataGrid dataGrid ) : System.Windows.Forms.DataGrid
dataGrid System.Windows.Forms.DataGrid
Résultat System.Windows.Forms.DataGrid

ShowMessageBox() public static méthode

public static ShowMessageBox ( string message ) : void
message string
Résultat void

SumCurrentQty() public static méthode

public static SumCurrentQty ( Transformer transformerArray ) : Sconit_SMARTDEVICE.SconitWS.Transformer[]
transformerArray Sconit_SMARTDEVICE.SconitWS.Transformer
Résultat Sconit_SMARTDEVICE.SconitWS.Transformer[]

ValidatorDecimal() public static méthode

public static ValidatorDecimal ( object sender, KeyPressEventArgs e ) : void
sender object
e System.Windows.Forms.KeyPressEventArgs
Résultat void