C# Class Sconit_SD.Utility

Exibir arquivo Open project: Novthirteen/yfkey-scms

Public Methods

Method 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

Method 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 method

分步取消
public static CancelOperation ( Resolver resolver ) : void
resolver Resolver
return void

FormatExMessage() public static method

public static FormatExMessage ( string message ) : string
message string
return string

IsDecimal() public static method

public static IsDecimal ( string str ) : bool
str string
return bool

IsHasTransformerDetail() public static method

public static IsHasTransformerDetail ( Resolver resolver ) : bool
resolver Resolver
return bool

Md5() public static method

public static Md5 ( string originalPassword ) : string
originalPassword string
return string

MergeResolver() public static method

public static MergeResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
resolver Resolver
originalResolver Resolver
return Resolver

ProcessOriginalResolver() public static method

public static ProcessOriginalResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
resolver Resolver
originalResolver Resolver
return Resolver

RenderDataGridBackColor() public static method

public static RenderDataGridBackColor ( System.Windows.Forms.DataGrid dataGrid ) : System.Windows.Forms.DataGrid
dataGrid System.Windows.Forms.DataGrid
return System.Windows.Forms.DataGrid

ShowMessageBox() public static method

public static ShowMessageBox ( string message ) : void
message string
return void

SumCurrentQty() public static method

public static SumCurrentQty ( Transformer transformerArray ) : Sconit_SMARTDEVICE.SconitWS.Transformer[]
transformerArray Sconit_SMARTDEVICE.SconitWS.Transformer
return Sconit_SMARTDEVICE.SconitWS.Transformer[]

ValidatorDecimal() public static method

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